pic32mx330f064l.pp 1.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629
  1. unit pic32mx330f064l;
  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. RPF3R : longWord;
  6773. RPF4R : longWord;
  6774. RPF5R : longWord;
  6775. RPF6R : longWord;
  6776. RPF8R : longWord;
  6777. RPF12R : longWord;
  6778. RPF13R : longWord;
  6779. RPG0R : longWord;
  6780. RPG1R : longWord;
  6781. RPG6R : longWord;
  6782. RPG7R : longWord;
  6783. RPG8R : longWord;
  6784. RPG9R : longWord;
  6785. end;
  6786. TINT_INTCON = record
  6787. private
  6788. function getINT0EP : TBits_1; inline;
  6789. function getINT1EP : TBits_1; inline;
  6790. function getINT2EP : TBits_1; inline;
  6791. function getINT3EP : TBits_1; inline;
  6792. function getINT4EP : TBits_1; inline;
  6793. function getMVEC : TBits_1; inline;
  6794. function getSS0 : TBits_1; inline;
  6795. function getTPC : TBits_3; inline;
  6796. function getw : TBits_32; inline;
  6797. procedure setINT0EP(thebits : TBits_1); inline;
  6798. procedure setINT1EP(thebits : TBits_1); inline;
  6799. procedure setINT2EP(thebits : TBits_1); inline;
  6800. procedure setINT3EP(thebits : TBits_1); inline;
  6801. procedure setINT4EP(thebits : TBits_1); inline;
  6802. procedure setMVEC(thebits : TBits_1); inline;
  6803. procedure setSS0(thebits : TBits_1); inline;
  6804. procedure setTPC(thebits : TBits_3); inline;
  6805. procedure setw(thebits : TBits_32); inline;
  6806. public
  6807. procedure clearINT0EP; inline;
  6808. procedure clearINT1EP; inline;
  6809. procedure clearINT2EP; inline;
  6810. procedure clearINT3EP; inline;
  6811. procedure clearINT4EP; inline;
  6812. procedure clearMVEC; inline;
  6813. procedure clearSS0; inline;
  6814. procedure setINT0EP; inline;
  6815. procedure setINT1EP; inline;
  6816. procedure setINT2EP; inline;
  6817. procedure setINT3EP; inline;
  6818. procedure setINT4EP; inline;
  6819. procedure setMVEC; inline;
  6820. procedure setSS0; inline;
  6821. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  6822. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  6823. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  6824. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  6825. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  6826. property MVEC : TBits_1 read getMVEC write setMVEC;
  6827. property SS0 : TBits_1 read getSS0 write setSS0;
  6828. property TPC : TBits_3 read getTPC write setTPC;
  6829. property w : TBits_32 read getw write setw;
  6830. end;
  6831. TINT_IFS0 = record
  6832. private
  6833. function getAD1IF : TBits_1; inline;
  6834. function getCS0IF : TBits_1; inline;
  6835. function getCS1IF : TBits_1; inline;
  6836. function getCTIF : TBits_1; inline;
  6837. function getFCEIF : TBits_1; inline;
  6838. function getFSCMIF : TBits_1; inline;
  6839. function getIC1EIF : TBits_1; inline;
  6840. function getIC1IF : TBits_1; inline;
  6841. function getIC2EIF : TBits_1; inline;
  6842. function getIC2IF : TBits_1; inline;
  6843. function getIC3EIF : TBits_1; inline;
  6844. function getIC3IF : TBits_1; inline;
  6845. function getIC4EIF : TBits_1; inline;
  6846. function getIC4IF : TBits_1; inline;
  6847. function getIC5EIF : TBits_1; inline;
  6848. function getIC5IF : TBits_1; inline;
  6849. function getINT0IF : TBits_1; inline;
  6850. function getINT1IF : TBits_1; inline;
  6851. function getINT2IF : TBits_1; inline;
  6852. function getINT3IF : TBits_1; inline;
  6853. function getINT4IF : TBits_1; inline;
  6854. function getOC1IF : TBits_1; inline;
  6855. function getOC2IF : TBits_1; inline;
  6856. function getOC3IF : TBits_1; inline;
  6857. function getOC4IF : TBits_1; inline;
  6858. function getOC5IF : TBits_1; inline;
  6859. function getRTCCIF : TBits_1; inline;
  6860. function getT1IF : TBits_1; inline;
  6861. function getT2IF : TBits_1; inline;
  6862. function getT3IF : TBits_1; inline;
  6863. function getT4IF : TBits_1; inline;
  6864. function getT5IF : TBits_1; inline;
  6865. function getw : TBits_32; inline;
  6866. procedure setAD1IF(thebits : TBits_1); inline;
  6867. procedure setCS0IF(thebits : TBits_1); inline;
  6868. procedure setCS1IF(thebits : TBits_1); inline;
  6869. procedure setCTIF(thebits : TBits_1); inline;
  6870. procedure setFCEIF(thebits : TBits_1); inline;
  6871. procedure setFSCMIF(thebits : TBits_1); inline;
  6872. procedure setIC1EIF(thebits : TBits_1); inline;
  6873. procedure setIC1IF(thebits : TBits_1); inline;
  6874. procedure setIC2EIF(thebits : TBits_1); inline;
  6875. procedure setIC2IF(thebits : TBits_1); inline;
  6876. procedure setIC3EIF(thebits : TBits_1); inline;
  6877. procedure setIC3IF(thebits : TBits_1); inline;
  6878. procedure setIC4EIF(thebits : TBits_1); inline;
  6879. procedure setIC4IF(thebits : TBits_1); inline;
  6880. procedure setIC5EIF(thebits : TBits_1); inline;
  6881. procedure setIC5IF(thebits : TBits_1); inline;
  6882. procedure setINT0IF(thebits : TBits_1); inline;
  6883. procedure setINT1IF(thebits : TBits_1); inline;
  6884. procedure setINT2IF(thebits : TBits_1); inline;
  6885. procedure setINT3IF(thebits : TBits_1); inline;
  6886. procedure setINT4IF(thebits : TBits_1); inline;
  6887. procedure setOC1IF(thebits : TBits_1); inline;
  6888. procedure setOC2IF(thebits : TBits_1); inline;
  6889. procedure setOC3IF(thebits : TBits_1); inline;
  6890. procedure setOC4IF(thebits : TBits_1); inline;
  6891. procedure setOC5IF(thebits : TBits_1); inline;
  6892. procedure setRTCCIF(thebits : TBits_1); inline;
  6893. procedure setT1IF(thebits : TBits_1); inline;
  6894. procedure setT2IF(thebits : TBits_1); inline;
  6895. procedure setT3IF(thebits : TBits_1); inline;
  6896. procedure setT4IF(thebits : TBits_1); inline;
  6897. procedure setT5IF(thebits : TBits_1); inline;
  6898. procedure setw(thebits : TBits_32); inline;
  6899. public
  6900. procedure clearAD1IF; inline;
  6901. procedure clearCS0IF; inline;
  6902. procedure clearCS1IF; inline;
  6903. procedure clearCTIF; inline;
  6904. procedure clearFCEIF; inline;
  6905. procedure clearFSCMIF; inline;
  6906. procedure clearIC1EIF; inline;
  6907. procedure clearIC1IF; inline;
  6908. procedure clearIC2EIF; inline;
  6909. procedure clearIC2IF; inline;
  6910. procedure clearIC3EIF; inline;
  6911. procedure clearIC3IF; inline;
  6912. procedure clearIC4EIF; inline;
  6913. procedure clearIC4IF; inline;
  6914. procedure clearIC5EIF; inline;
  6915. procedure clearIC5IF; inline;
  6916. procedure clearINT0IF; inline;
  6917. procedure clearINT1IF; inline;
  6918. procedure clearINT2IF; inline;
  6919. procedure clearINT3IF; inline;
  6920. procedure clearINT4IF; inline;
  6921. procedure clearOC1IF; inline;
  6922. procedure clearOC2IF; inline;
  6923. procedure clearOC3IF; inline;
  6924. procedure clearOC4IF; inline;
  6925. procedure clearOC5IF; inline;
  6926. procedure clearRTCCIF; inline;
  6927. procedure clearT1IF; inline;
  6928. procedure clearT2IF; inline;
  6929. procedure clearT3IF; inline;
  6930. procedure clearT4IF; inline;
  6931. procedure clearT5IF; inline;
  6932. procedure setAD1IF; inline;
  6933. procedure setCS0IF; inline;
  6934. procedure setCS1IF; inline;
  6935. procedure setCTIF; inline;
  6936. procedure setFCEIF; inline;
  6937. procedure setFSCMIF; inline;
  6938. procedure setIC1EIF; inline;
  6939. procedure setIC1IF; inline;
  6940. procedure setIC2EIF; inline;
  6941. procedure setIC2IF; inline;
  6942. procedure setIC3EIF; inline;
  6943. procedure setIC3IF; inline;
  6944. procedure setIC4EIF; inline;
  6945. procedure setIC4IF; inline;
  6946. procedure setIC5EIF; inline;
  6947. procedure setIC5IF; inline;
  6948. procedure setINT0IF; inline;
  6949. procedure setINT1IF; inline;
  6950. procedure setINT2IF; inline;
  6951. procedure setINT3IF; inline;
  6952. procedure setINT4IF; inline;
  6953. procedure setOC1IF; inline;
  6954. procedure setOC2IF; inline;
  6955. procedure setOC3IF; inline;
  6956. procedure setOC4IF; inline;
  6957. procedure setOC5IF; inline;
  6958. procedure setRTCCIF; inline;
  6959. procedure setT1IF; inline;
  6960. procedure setT2IF; inline;
  6961. procedure setT3IF; inline;
  6962. procedure setT4IF; inline;
  6963. procedure setT5IF; inline;
  6964. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  6965. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  6966. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  6967. property CTIF : TBits_1 read getCTIF write setCTIF;
  6968. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  6969. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  6970. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  6971. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  6972. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  6973. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  6974. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  6975. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  6976. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  6977. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  6978. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  6979. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  6980. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  6981. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  6982. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  6983. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  6984. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  6985. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  6986. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  6987. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  6988. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  6989. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  6990. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  6991. property T1IF : TBits_1 read getT1IF write setT1IF;
  6992. property T2IF : TBits_1 read getT2IF write setT2IF;
  6993. property T3IF : TBits_1 read getT3IF write setT3IF;
  6994. property T4IF : TBits_1 read getT4IF write setT4IF;
  6995. property T5IF : TBits_1 read getT5IF write setT5IF;
  6996. property w : TBits_32 read getw write setw;
  6997. end;
  6998. TINT_IFS1 = record
  6999. private
  7000. function getCMP1IF : TBits_1; inline;
  7001. function getCMP2IF : TBits_1; inline;
  7002. function getCNAIF : TBits_1; inline;
  7003. function getCNBIF : TBits_1; inline;
  7004. function getCNCIF : TBits_1; inline;
  7005. function getCNDIF : TBits_1; inline;
  7006. function getCNEIF : TBits_1; inline;
  7007. function getCNFIF : TBits_1; inline;
  7008. function getCNGIF : TBits_1; inline;
  7009. function getI2C1BIF : TBits_1; inline;
  7010. function getI2C1MIF : TBits_1; inline;
  7011. function getI2C1SIF : TBits_1; inline;
  7012. function getI2C2BIF : TBits_1; inline;
  7013. function getI2C2MIF : TBits_1; inline;
  7014. function getI2C2SIF : TBits_1; inline;
  7015. function getPMPEIF : TBits_1; inline;
  7016. function getPMPIF : TBits_1; inline;
  7017. function getSPI1EIF : TBits_1; inline;
  7018. function getSPI1RXIF : TBits_1; inline;
  7019. function getSPI1TXIF : TBits_1; inline;
  7020. function getSPI2EIF : TBits_1; inline;
  7021. function getSPI2RXIF : TBits_1; inline;
  7022. function getSPI2TXIF : TBits_1; inline;
  7023. function getU1EIF : TBits_1; inline;
  7024. function getU1RXIF : TBits_1; inline;
  7025. function getU1TXIF : TBits_1; inline;
  7026. function getU2EIF : TBits_1; inline;
  7027. function getU2RXIF : TBits_1; inline;
  7028. function getU2TXIF : TBits_1; inline;
  7029. function getU3EIF : TBits_1; inline;
  7030. function getU3RXIF : TBits_1; inline;
  7031. function getw : TBits_32; inline;
  7032. procedure setCMP1IF(thebits : TBits_1); inline;
  7033. procedure setCMP2IF(thebits : TBits_1); inline;
  7034. procedure setCNAIF(thebits : TBits_1); inline;
  7035. procedure setCNBIF(thebits : TBits_1); inline;
  7036. procedure setCNCIF(thebits : TBits_1); inline;
  7037. procedure setCNDIF(thebits : TBits_1); inline;
  7038. procedure setCNEIF(thebits : TBits_1); inline;
  7039. procedure setCNFIF(thebits : TBits_1); inline;
  7040. procedure setCNGIF(thebits : TBits_1); inline;
  7041. procedure setI2C1BIF(thebits : TBits_1); inline;
  7042. procedure setI2C1MIF(thebits : TBits_1); inline;
  7043. procedure setI2C1SIF(thebits : TBits_1); inline;
  7044. procedure setI2C2BIF(thebits : TBits_1); inline;
  7045. procedure setI2C2MIF(thebits : TBits_1); inline;
  7046. procedure setI2C2SIF(thebits : TBits_1); inline;
  7047. procedure setPMPEIF(thebits : TBits_1); inline;
  7048. procedure setPMPIF(thebits : TBits_1); inline;
  7049. procedure setSPI1EIF(thebits : TBits_1); inline;
  7050. procedure setSPI1RXIF(thebits : TBits_1); inline;
  7051. procedure setSPI1TXIF(thebits : TBits_1); inline;
  7052. procedure setSPI2EIF(thebits : TBits_1); inline;
  7053. procedure setSPI2RXIF(thebits : TBits_1); inline;
  7054. procedure setSPI2TXIF(thebits : TBits_1); inline;
  7055. procedure setU1EIF(thebits : TBits_1); inline;
  7056. procedure setU1RXIF(thebits : TBits_1); inline;
  7057. procedure setU1TXIF(thebits : TBits_1); inline;
  7058. procedure setU2EIF(thebits : TBits_1); inline;
  7059. procedure setU2RXIF(thebits : TBits_1); inline;
  7060. procedure setU2TXIF(thebits : TBits_1); inline;
  7061. procedure setU3EIF(thebits : TBits_1); inline;
  7062. procedure setU3RXIF(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 setCMP1IF; inline;
  7097. procedure setCMP2IF; inline;
  7098. procedure setCNAIF; inline;
  7099. procedure setCNBIF; inline;
  7100. procedure setCNCIF; inline;
  7101. procedure setCNDIF; inline;
  7102. procedure setCNEIF; inline;
  7103. procedure setCNFIF; inline;
  7104. procedure setCNGIF; inline;
  7105. procedure setI2C1BIF; inline;
  7106. procedure setI2C1MIF; inline;
  7107. procedure setI2C1SIF; inline;
  7108. procedure setI2C2BIF; inline;
  7109. procedure setI2C2MIF; inline;
  7110. procedure setI2C2SIF; inline;
  7111. procedure setPMPEIF; inline;
  7112. procedure setPMPIF; inline;
  7113. procedure setSPI1EIF; inline;
  7114. procedure setSPI1RXIF; inline;
  7115. procedure setSPI1TXIF; inline;
  7116. procedure setSPI2EIF; inline;
  7117. procedure setSPI2RXIF; inline;
  7118. procedure setSPI2TXIF; inline;
  7119. procedure setU1EIF; inline;
  7120. procedure setU1RXIF; inline;
  7121. procedure setU1TXIF; inline;
  7122. procedure setU2EIF; inline;
  7123. procedure setU2RXIF; inline;
  7124. procedure setU2TXIF; inline;
  7125. procedure setU3EIF; inline;
  7126. procedure setU3RXIF; inline;
  7127. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  7128. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  7129. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  7130. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  7131. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  7132. property CNDIF : TBits_1 read getCNDIF write setCNDIF;
  7133. property CNEIF : TBits_1 read getCNEIF write setCNEIF;
  7134. property CNFIF : TBits_1 read getCNFIF write setCNFIF;
  7135. property CNGIF : TBits_1 read getCNGIF write setCNGIF;
  7136. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  7137. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  7138. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  7139. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  7140. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  7141. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  7142. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  7143. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  7144. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  7145. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  7146. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  7147. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  7148. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  7149. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  7150. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  7151. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  7152. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  7153. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  7154. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  7155. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  7156. property U3EIF : TBits_1 read getU3EIF write setU3EIF;
  7157. property U3RXIF : TBits_1 read getU3RXIF write setU3RXIF;
  7158. property w : TBits_32 read getw write setw;
  7159. end;
  7160. TINT_IEC0 = record
  7161. private
  7162. function getAD1IE : TBits_1; inline;
  7163. function getCS0IE : TBits_1; inline;
  7164. function getCS1IE : TBits_1; inline;
  7165. function getCTIE : TBits_1; inline;
  7166. function getFCEIE : TBits_1; inline;
  7167. function getFSCMIE : TBits_1; inline;
  7168. function getIC1EIE : TBits_1; inline;
  7169. function getIC1IE : TBits_1; inline;
  7170. function getIC2EIE : TBits_1; inline;
  7171. function getIC2IE : TBits_1; inline;
  7172. function getIC3EIE : TBits_1; inline;
  7173. function getIC3IE : TBits_1; inline;
  7174. function getIC4EIE : TBits_1; inline;
  7175. function getIC4IE : TBits_1; inline;
  7176. function getIC5EIE : TBits_1; inline;
  7177. function getIC5IE : TBits_1; inline;
  7178. function getINT0IE : TBits_1; inline;
  7179. function getINT1IE : TBits_1; inline;
  7180. function getINT2IE : TBits_1; inline;
  7181. function getINT3IE : TBits_1; inline;
  7182. function getINT4IE : TBits_1; inline;
  7183. function getOC1IE : TBits_1; inline;
  7184. function getOC2IE : TBits_1; inline;
  7185. function getOC3IE : TBits_1; inline;
  7186. function getOC4IE : TBits_1; inline;
  7187. function getOC5IE : TBits_1; inline;
  7188. function getRTCCIE : TBits_1; inline;
  7189. function getT1IE : TBits_1; inline;
  7190. function getT2IE : TBits_1; inline;
  7191. function getT3IE : TBits_1; inline;
  7192. function getT4IE : TBits_1; inline;
  7193. function getT5IE : TBits_1; inline;
  7194. function getw : TBits_32; inline;
  7195. procedure setAD1IE(thebits : TBits_1); inline;
  7196. procedure setCS0IE(thebits : TBits_1); inline;
  7197. procedure setCS1IE(thebits : TBits_1); inline;
  7198. procedure setCTIE(thebits : TBits_1); inline;
  7199. procedure setFCEIE(thebits : TBits_1); inline;
  7200. procedure setFSCMIE(thebits : TBits_1); inline;
  7201. procedure setIC1EIE(thebits : TBits_1); inline;
  7202. procedure setIC1IE(thebits : TBits_1); inline;
  7203. procedure setIC2EIE(thebits : TBits_1); inline;
  7204. procedure setIC2IE(thebits : TBits_1); inline;
  7205. procedure setIC3EIE(thebits : TBits_1); inline;
  7206. procedure setIC3IE(thebits : TBits_1); inline;
  7207. procedure setIC4EIE(thebits : TBits_1); inline;
  7208. procedure setIC4IE(thebits : TBits_1); inline;
  7209. procedure setIC5EIE(thebits : TBits_1); inline;
  7210. procedure setIC5IE(thebits : TBits_1); inline;
  7211. procedure setINT0IE(thebits : TBits_1); inline;
  7212. procedure setINT1IE(thebits : TBits_1); inline;
  7213. procedure setINT2IE(thebits : TBits_1); inline;
  7214. procedure setINT3IE(thebits : TBits_1); inline;
  7215. procedure setINT4IE(thebits : TBits_1); inline;
  7216. procedure setOC1IE(thebits : TBits_1); inline;
  7217. procedure setOC2IE(thebits : TBits_1); inline;
  7218. procedure setOC3IE(thebits : TBits_1); inline;
  7219. procedure setOC4IE(thebits : TBits_1); inline;
  7220. procedure setOC5IE(thebits : TBits_1); inline;
  7221. procedure setRTCCIE(thebits : TBits_1); inline;
  7222. procedure setT1IE(thebits : TBits_1); inline;
  7223. procedure setT2IE(thebits : TBits_1); inline;
  7224. procedure setT3IE(thebits : TBits_1); inline;
  7225. procedure setT4IE(thebits : TBits_1); inline;
  7226. procedure setT5IE(thebits : TBits_1); inline;
  7227. procedure setw(thebits : TBits_32); inline;
  7228. public
  7229. procedure clearAD1IE; inline;
  7230. procedure clearCS0IE; inline;
  7231. procedure clearCS1IE; inline;
  7232. procedure clearCTIE; inline;
  7233. procedure clearFCEIE; inline;
  7234. procedure clearFSCMIE; inline;
  7235. procedure clearIC1EIE; inline;
  7236. procedure clearIC1IE; inline;
  7237. procedure clearIC2EIE; inline;
  7238. procedure clearIC2IE; inline;
  7239. procedure clearIC3EIE; inline;
  7240. procedure clearIC3IE; inline;
  7241. procedure clearIC4EIE; inline;
  7242. procedure clearIC4IE; inline;
  7243. procedure clearIC5EIE; inline;
  7244. procedure clearIC5IE; inline;
  7245. procedure clearINT0IE; inline;
  7246. procedure clearINT1IE; inline;
  7247. procedure clearINT2IE; inline;
  7248. procedure clearINT3IE; inline;
  7249. procedure clearINT4IE; inline;
  7250. procedure clearOC1IE; inline;
  7251. procedure clearOC2IE; inline;
  7252. procedure clearOC3IE; inline;
  7253. procedure clearOC4IE; inline;
  7254. procedure clearOC5IE; inline;
  7255. procedure clearRTCCIE; inline;
  7256. procedure clearT1IE; inline;
  7257. procedure clearT2IE; inline;
  7258. procedure clearT3IE; inline;
  7259. procedure clearT4IE; inline;
  7260. procedure clearT5IE; inline;
  7261. procedure setAD1IE; inline;
  7262. procedure setCS0IE; inline;
  7263. procedure setCS1IE; inline;
  7264. procedure setCTIE; inline;
  7265. procedure setFCEIE; inline;
  7266. procedure setFSCMIE; inline;
  7267. procedure setIC1EIE; inline;
  7268. procedure setIC1IE; inline;
  7269. procedure setIC2EIE; inline;
  7270. procedure setIC2IE; inline;
  7271. procedure setIC3EIE; inline;
  7272. procedure setIC3IE; inline;
  7273. procedure setIC4EIE; inline;
  7274. procedure setIC4IE; inline;
  7275. procedure setIC5EIE; inline;
  7276. procedure setIC5IE; inline;
  7277. procedure setINT0IE; inline;
  7278. procedure setINT1IE; inline;
  7279. procedure setINT2IE; inline;
  7280. procedure setINT3IE; inline;
  7281. procedure setINT4IE; inline;
  7282. procedure setOC1IE; inline;
  7283. procedure setOC2IE; inline;
  7284. procedure setOC3IE; inline;
  7285. procedure setOC4IE; inline;
  7286. procedure setOC5IE; inline;
  7287. procedure setRTCCIE; inline;
  7288. procedure setT1IE; inline;
  7289. procedure setT2IE; inline;
  7290. procedure setT3IE; inline;
  7291. procedure setT4IE; inline;
  7292. procedure setT5IE; inline;
  7293. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  7294. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  7295. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  7296. property CTIE : TBits_1 read getCTIE write setCTIE;
  7297. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  7298. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  7299. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  7300. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  7301. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  7302. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  7303. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  7304. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  7305. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  7306. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  7307. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  7308. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  7309. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  7310. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  7311. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  7312. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  7313. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  7314. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  7315. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  7316. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  7317. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  7318. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  7319. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  7320. property T1IE : TBits_1 read getT1IE write setT1IE;
  7321. property T2IE : TBits_1 read getT2IE write setT2IE;
  7322. property T3IE : TBits_1 read getT3IE write setT3IE;
  7323. property T4IE : TBits_1 read getT4IE write setT4IE;
  7324. property T5IE : TBits_1 read getT5IE write setT5IE;
  7325. property w : TBits_32 read getw write setw;
  7326. end;
  7327. TINT_IEC1 = record
  7328. private
  7329. function getCMP1IE : TBits_1; inline;
  7330. function getCMP2IE : TBits_1; inline;
  7331. function getCNAIE : TBits_1; inline;
  7332. function getCNBIE : TBits_1; inline;
  7333. function getCNCIE : TBits_1; inline;
  7334. function getCNDIE : TBits_1; inline;
  7335. function getCNEIE : TBits_1; inline;
  7336. function getCNFIE : TBits_1; inline;
  7337. function getCNGIE : TBits_1; inline;
  7338. function getI2C1BIE : TBits_1; inline;
  7339. function getI2C1MIE : TBits_1; inline;
  7340. function getI2C1SIE : TBits_1; inline;
  7341. function getI2C2BIE : TBits_1; inline;
  7342. function getI2C2MIE : TBits_1; inline;
  7343. function getI2C2SIE : TBits_1; inline;
  7344. function getPMPEIE : TBits_1; inline;
  7345. function getPMPIE : TBits_1; inline;
  7346. function getSPI1EIE : TBits_1; inline;
  7347. function getSPI1RXIE : TBits_1; inline;
  7348. function getSPI1TXIE : TBits_1; inline;
  7349. function getSPI2EIE : TBits_1; inline;
  7350. function getSPI2RXIE : TBits_1; inline;
  7351. function getSPI2TXIE : TBits_1; inline;
  7352. function getU1EIE : TBits_1; inline;
  7353. function getU1RXIE : TBits_1; inline;
  7354. function getU1TXIE : TBits_1; inline;
  7355. function getU2EIE : TBits_1; inline;
  7356. function getU2RXIE : TBits_1; inline;
  7357. function getU2TXIE : TBits_1; inline;
  7358. function getU3EIE : TBits_1; inline;
  7359. function getU3RXIE : TBits_1; inline;
  7360. function getw : TBits_32; inline;
  7361. procedure setCMP1IE(thebits : TBits_1); inline;
  7362. procedure setCMP2IE(thebits : TBits_1); inline;
  7363. procedure setCNAIE(thebits : TBits_1); inline;
  7364. procedure setCNBIE(thebits : TBits_1); inline;
  7365. procedure setCNCIE(thebits : TBits_1); inline;
  7366. procedure setCNDIE(thebits : TBits_1); inline;
  7367. procedure setCNEIE(thebits : TBits_1); inline;
  7368. procedure setCNFIE(thebits : TBits_1); inline;
  7369. procedure setCNGIE(thebits : TBits_1); inline;
  7370. procedure setI2C1BIE(thebits : TBits_1); inline;
  7371. procedure setI2C1MIE(thebits : TBits_1); inline;
  7372. procedure setI2C1SIE(thebits : TBits_1); inline;
  7373. procedure setI2C2BIE(thebits : TBits_1); inline;
  7374. procedure setI2C2MIE(thebits : TBits_1); inline;
  7375. procedure setI2C2SIE(thebits : TBits_1); inline;
  7376. procedure setPMPEIE(thebits : TBits_1); inline;
  7377. procedure setPMPIE(thebits : TBits_1); inline;
  7378. procedure setSPI1EIE(thebits : TBits_1); inline;
  7379. procedure setSPI1RXIE(thebits : TBits_1); inline;
  7380. procedure setSPI1TXIE(thebits : TBits_1); inline;
  7381. procedure setSPI2EIE(thebits : TBits_1); inline;
  7382. procedure setSPI2RXIE(thebits : TBits_1); inline;
  7383. procedure setSPI2TXIE(thebits : TBits_1); inline;
  7384. procedure setU1EIE(thebits : TBits_1); inline;
  7385. procedure setU1RXIE(thebits : TBits_1); inline;
  7386. procedure setU1TXIE(thebits : TBits_1); inline;
  7387. procedure setU2EIE(thebits : TBits_1); inline;
  7388. procedure setU2RXIE(thebits : TBits_1); inline;
  7389. procedure setU2TXIE(thebits : TBits_1); inline;
  7390. procedure setU3EIE(thebits : TBits_1); inline;
  7391. procedure setU3RXIE(thebits : TBits_1); inline;
  7392. procedure setw(thebits : TBits_32); inline;
  7393. public
  7394. procedure clearCMP1IE; inline;
  7395. procedure clearCMP2IE; inline;
  7396. procedure clearCNAIE; inline;
  7397. procedure clearCNBIE; inline;
  7398. procedure clearCNCIE; inline;
  7399. procedure clearCNDIE; inline;
  7400. procedure clearCNEIE; inline;
  7401. procedure clearCNFIE; inline;
  7402. procedure clearCNGIE; inline;
  7403. procedure clearI2C1BIE; inline;
  7404. procedure clearI2C1MIE; inline;
  7405. procedure clearI2C1SIE; inline;
  7406. procedure clearI2C2BIE; inline;
  7407. procedure clearI2C2MIE; inline;
  7408. procedure clearI2C2SIE; inline;
  7409. procedure clearPMPEIE; inline;
  7410. procedure clearPMPIE; inline;
  7411. procedure clearSPI1EIE; inline;
  7412. procedure clearSPI1RXIE; inline;
  7413. procedure clearSPI1TXIE; inline;
  7414. procedure clearSPI2EIE; inline;
  7415. procedure clearSPI2RXIE; inline;
  7416. procedure clearSPI2TXIE; inline;
  7417. procedure clearU1EIE; inline;
  7418. procedure clearU1RXIE; inline;
  7419. procedure clearU1TXIE; inline;
  7420. procedure clearU2EIE; inline;
  7421. procedure clearU2RXIE; inline;
  7422. procedure clearU2TXIE; inline;
  7423. procedure clearU3EIE; inline;
  7424. procedure clearU3RXIE; inline;
  7425. procedure setCMP1IE; inline;
  7426. procedure setCMP2IE; inline;
  7427. procedure setCNAIE; inline;
  7428. procedure setCNBIE; inline;
  7429. procedure setCNCIE; inline;
  7430. procedure setCNDIE; inline;
  7431. procedure setCNEIE; inline;
  7432. procedure setCNFIE; inline;
  7433. procedure setCNGIE; inline;
  7434. procedure setI2C1BIE; inline;
  7435. procedure setI2C1MIE; inline;
  7436. procedure setI2C1SIE; inline;
  7437. procedure setI2C2BIE; inline;
  7438. procedure setI2C2MIE; inline;
  7439. procedure setI2C2SIE; inline;
  7440. procedure setPMPEIE; inline;
  7441. procedure setPMPIE; inline;
  7442. procedure setSPI1EIE; inline;
  7443. procedure setSPI1RXIE; inline;
  7444. procedure setSPI1TXIE; inline;
  7445. procedure setSPI2EIE; inline;
  7446. procedure setSPI2RXIE; inline;
  7447. procedure setSPI2TXIE; inline;
  7448. procedure setU1EIE; inline;
  7449. procedure setU1RXIE; inline;
  7450. procedure setU1TXIE; inline;
  7451. procedure setU2EIE; inline;
  7452. procedure setU2RXIE; inline;
  7453. procedure setU2TXIE; inline;
  7454. procedure setU3EIE; inline;
  7455. procedure setU3RXIE; inline;
  7456. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  7457. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  7458. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  7459. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  7460. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  7461. property CNDIE : TBits_1 read getCNDIE write setCNDIE;
  7462. property CNEIE : TBits_1 read getCNEIE write setCNEIE;
  7463. property CNFIE : TBits_1 read getCNFIE write setCNFIE;
  7464. property CNGIE : TBits_1 read getCNGIE write setCNGIE;
  7465. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  7466. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  7467. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  7468. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  7469. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  7470. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  7471. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  7472. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  7473. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  7474. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  7475. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  7476. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  7477. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  7478. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  7479. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  7480. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  7481. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  7482. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  7483. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  7484. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  7485. property U3EIE : TBits_1 read getU3EIE write setU3EIE;
  7486. property U3RXIE : TBits_1 read getU3RXIE write setU3RXIE;
  7487. property w : TBits_32 read getw write setw;
  7488. end;
  7489. TINT_IPC0 = record
  7490. private
  7491. function getCS0IP : TBits_3; inline;
  7492. function getCS0IS : TBits_2; inline;
  7493. function getCS1IP : TBits_3; inline;
  7494. function getCS1IS : TBits_2; inline;
  7495. function getCTIP : TBits_3; inline;
  7496. function getCTIS : TBits_2; inline;
  7497. function getINT0IP : TBits_3; inline;
  7498. function getINT0IS : TBits_2; inline;
  7499. function getw : TBits_32; inline;
  7500. procedure setCS0IP(thebits : TBits_3); inline;
  7501. procedure setCS0IS(thebits : TBits_2); inline;
  7502. procedure setCS1IP(thebits : TBits_3); inline;
  7503. procedure setCS1IS(thebits : TBits_2); inline;
  7504. procedure setCTIP(thebits : TBits_3); inline;
  7505. procedure setCTIS(thebits : TBits_2); inline;
  7506. procedure setINT0IP(thebits : TBits_3); inline;
  7507. procedure setINT0IS(thebits : TBits_2); inline;
  7508. procedure setw(thebits : TBits_32); inline;
  7509. public
  7510. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  7511. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  7512. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  7513. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  7514. property CTIP : TBits_3 read getCTIP write setCTIP;
  7515. property CTIS : TBits_2 read getCTIS write setCTIS;
  7516. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  7517. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  7518. property w : TBits_32 read getw write setw;
  7519. end;
  7520. TINT_IPC1 = record
  7521. private
  7522. function getIC1IP : TBits_3; inline;
  7523. function getIC1IS : TBits_2; inline;
  7524. function getINT1IP : TBits_3; inline;
  7525. function getINT1IS : TBits_2; inline;
  7526. function getOC1IP : TBits_3; inline;
  7527. function getOC1IS : TBits_2; inline;
  7528. function getT1IP : TBits_3; inline;
  7529. function getT1IS : TBits_2; inline;
  7530. function getw : TBits_32; inline;
  7531. procedure setIC1IP(thebits : TBits_3); inline;
  7532. procedure setIC1IS(thebits : TBits_2); inline;
  7533. procedure setINT1IP(thebits : TBits_3); inline;
  7534. procedure setINT1IS(thebits : TBits_2); inline;
  7535. procedure setOC1IP(thebits : TBits_3); inline;
  7536. procedure setOC1IS(thebits : TBits_2); inline;
  7537. procedure setT1IP(thebits : TBits_3); inline;
  7538. procedure setT1IS(thebits : TBits_2); inline;
  7539. procedure setw(thebits : TBits_32); inline;
  7540. public
  7541. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  7542. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  7543. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  7544. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  7545. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  7546. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  7547. property T1IP : TBits_3 read getT1IP write setT1IP;
  7548. property T1IS : TBits_2 read getT1IS write setT1IS;
  7549. property w : TBits_32 read getw write setw;
  7550. end;
  7551. TINT_IPC2 = record
  7552. private
  7553. function getIC2IP : TBits_3; inline;
  7554. function getIC2IS : TBits_2; inline;
  7555. function getINT2IP : TBits_3; inline;
  7556. function getINT2IS : TBits_2; inline;
  7557. function getOC2IP : TBits_3; inline;
  7558. function getOC2IS : TBits_2; inline;
  7559. function getT2IP : TBits_3; inline;
  7560. function getT2IS : TBits_2; inline;
  7561. function getw : TBits_32; inline;
  7562. procedure setIC2IP(thebits : TBits_3); inline;
  7563. procedure setIC2IS(thebits : TBits_2); inline;
  7564. procedure setINT2IP(thebits : TBits_3); inline;
  7565. procedure setINT2IS(thebits : TBits_2); inline;
  7566. procedure setOC2IP(thebits : TBits_3); inline;
  7567. procedure setOC2IS(thebits : TBits_2); inline;
  7568. procedure setT2IP(thebits : TBits_3); inline;
  7569. procedure setT2IS(thebits : TBits_2); inline;
  7570. procedure setw(thebits : TBits_32); inline;
  7571. public
  7572. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  7573. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  7574. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  7575. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  7576. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  7577. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  7578. property T2IP : TBits_3 read getT2IP write setT2IP;
  7579. property T2IS : TBits_2 read getT2IS write setT2IS;
  7580. property w : TBits_32 read getw write setw;
  7581. end;
  7582. TINT_IPC3 = record
  7583. private
  7584. function getIC3IP : TBits_3; inline;
  7585. function getIC3IS : TBits_2; inline;
  7586. function getINT3IP : TBits_3; inline;
  7587. function getINT3IS : TBits_2; inline;
  7588. function getOC3IP : TBits_3; inline;
  7589. function getOC3IS : TBits_2; inline;
  7590. function getT3IP : TBits_3; inline;
  7591. function getT3IS : TBits_2; inline;
  7592. function getw : TBits_32; inline;
  7593. procedure setIC3IP(thebits : TBits_3); inline;
  7594. procedure setIC3IS(thebits : TBits_2); inline;
  7595. procedure setINT3IP(thebits : TBits_3); inline;
  7596. procedure setINT3IS(thebits : TBits_2); inline;
  7597. procedure setOC3IP(thebits : TBits_3); inline;
  7598. procedure setOC3IS(thebits : TBits_2); inline;
  7599. procedure setT3IP(thebits : TBits_3); inline;
  7600. procedure setT3IS(thebits : TBits_2); inline;
  7601. procedure setw(thebits : TBits_32); inline;
  7602. public
  7603. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  7604. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  7605. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  7606. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  7607. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  7608. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  7609. property T3IP : TBits_3 read getT3IP write setT3IP;
  7610. property T3IS : TBits_2 read getT3IS write setT3IS;
  7611. property w : TBits_32 read getw write setw;
  7612. end;
  7613. TINT_IPC4 = record
  7614. private
  7615. function getIC4IP : TBits_3; inline;
  7616. function getIC4IS : TBits_2; inline;
  7617. function getINT4IP : TBits_3; inline;
  7618. function getINT4IS : TBits_2; inline;
  7619. function getOC4IP : TBits_3; inline;
  7620. function getOC4IS : TBits_2; inline;
  7621. function getT4IP : TBits_3; inline;
  7622. function getT4IS : TBits_2; inline;
  7623. function getw : TBits_32; inline;
  7624. procedure setIC4IP(thebits : TBits_3); inline;
  7625. procedure setIC4IS(thebits : TBits_2); inline;
  7626. procedure setINT4IP(thebits : TBits_3); inline;
  7627. procedure setINT4IS(thebits : TBits_2); inline;
  7628. procedure setOC4IP(thebits : TBits_3); inline;
  7629. procedure setOC4IS(thebits : TBits_2); inline;
  7630. procedure setT4IP(thebits : TBits_3); inline;
  7631. procedure setT4IS(thebits : TBits_2); inline;
  7632. procedure setw(thebits : TBits_32); inline;
  7633. public
  7634. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  7635. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  7636. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  7637. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  7638. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  7639. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  7640. property T4IP : TBits_3 read getT4IP write setT4IP;
  7641. property T4IS : TBits_2 read getT4IS write setT4IS;
  7642. property w : TBits_32 read getw write setw;
  7643. end;
  7644. TINT_IPC5 = record
  7645. private
  7646. function getAD1IP : TBits_3; inline;
  7647. function getAD1IS : TBits_2; inline;
  7648. function getIC5IP : TBits_3; inline;
  7649. function getIC5IS : TBits_2; inline;
  7650. function getOC5IP : TBits_3; inline;
  7651. function getOC5IS : TBits_2; inline;
  7652. function getT5IP : TBits_3; inline;
  7653. function getT5IS : TBits_2; inline;
  7654. function getw : TBits_32; inline;
  7655. procedure setAD1IP(thebits : TBits_3); inline;
  7656. procedure setAD1IS(thebits : TBits_2); inline;
  7657. procedure setIC5IP(thebits : TBits_3); inline;
  7658. procedure setIC5IS(thebits : TBits_2); inline;
  7659. procedure setOC5IP(thebits : TBits_3); inline;
  7660. procedure setOC5IS(thebits : TBits_2); inline;
  7661. procedure setT5IP(thebits : TBits_3); inline;
  7662. procedure setT5IS(thebits : TBits_2); inline;
  7663. procedure setw(thebits : TBits_32); inline;
  7664. public
  7665. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  7666. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  7667. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  7668. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  7669. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  7670. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  7671. property T5IP : TBits_3 read getT5IP write setT5IP;
  7672. property T5IS : TBits_2 read getT5IS write setT5IS;
  7673. property w : TBits_32 read getw write setw;
  7674. end;
  7675. TINT_IPC6 = record
  7676. private
  7677. function getCMP1IP : TBits_3; inline;
  7678. function getCMP1IS : TBits_2; inline;
  7679. function getFCEIP : TBits_3; inline;
  7680. function getFCEIS : TBits_2; inline;
  7681. function getFSCMIP : TBits_3; inline;
  7682. function getFSCMIS : TBits_2; inline;
  7683. function getRTCCIP : TBits_3; inline;
  7684. function getRTCCIS : TBits_2; inline;
  7685. function getw : TBits_32; inline;
  7686. procedure setCMP1IP(thebits : TBits_3); inline;
  7687. procedure setCMP1IS(thebits : TBits_2); inline;
  7688. procedure setFCEIP(thebits : TBits_3); inline;
  7689. procedure setFCEIS(thebits : TBits_2); inline;
  7690. procedure setFSCMIP(thebits : TBits_3); inline;
  7691. procedure setFSCMIS(thebits : TBits_2); inline;
  7692. procedure setRTCCIP(thebits : TBits_3); inline;
  7693. procedure setRTCCIS(thebits : TBits_2); inline;
  7694. procedure setw(thebits : TBits_32); inline;
  7695. public
  7696. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  7697. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  7698. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  7699. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  7700. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  7701. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  7702. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  7703. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  7704. property w : TBits_32 read getw write setw;
  7705. end;
  7706. TINT_IPC7 = record
  7707. private
  7708. function getCMP2IP : TBits_3; inline;
  7709. function getCMP2IS : TBits_2; inline;
  7710. function getSPI1IP : TBits_3; inline;
  7711. function getSPI1IS : TBits_2; inline;
  7712. function getU1IP : TBits_3; inline;
  7713. function getU1IS : TBits_2; inline;
  7714. function getw : TBits_32; inline;
  7715. procedure setCMP2IP(thebits : TBits_3); inline;
  7716. procedure setCMP2IS(thebits : TBits_2); inline;
  7717. procedure setSPI1IP(thebits : TBits_3); inline;
  7718. procedure setSPI1IS(thebits : TBits_2); inline;
  7719. procedure setU1IP(thebits : TBits_3); inline;
  7720. procedure setU1IS(thebits : TBits_2); inline;
  7721. procedure setw(thebits : TBits_32); inline;
  7722. public
  7723. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  7724. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  7725. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  7726. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  7727. property U1IP : TBits_3 read getU1IP write setU1IP;
  7728. property U1IS : TBits_2 read getU1IS write setU1IS;
  7729. property w : TBits_32 read getw write setw;
  7730. end;
  7731. TINT_IPC8 = record
  7732. private
  7733. function getCNIP : TBits_3; inline;
  7734. function getCNIS : TBits_2; inline;
  7735. function getI2C1IP : TBits_3; inline;
  7736. function getI2C1IS : TBits_2; inline;
  7737. function getPMPIP : TBits_3; inline;
  7738. function getPMPIS : TBits_2; inline;
  7739. function getSPI2IP : TBits_3; inline;
  7740. function getSPI2IS : TBits_2; inline;
  7741. function getw : TBits_32; inline;
  7742. procedure setCNIP(thebits : TBits_3); inline;
  7743. procedure setCNIS(thebits : TBits_2); inline;
  7744. procedure setI2C1IP(thebits : TBits_3); inline;
  7745. procedure setI2C1IS(thebits : TBits_2); inline;
  7746. procedure setPMPIP(thebits : TBits_3); inline;
  7747. procedure setPMPIS(thebits : TBits_2); inline;
  7748. procedure setSPI2IP(thebits : TBits_3); inline;
  7749. procedure setSPI2IS(thebits : TBits_2); inline;
  7750. procedure setw(thebits : TBits_32); inline;
  7751. public
  7752. property CNIP : TBits_3 read getCNIP write setCNIP;
  7753. property CNIS : TBits_2 read getCNIS write setCNIS;
  7754. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  7755. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  7756. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  7757. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  7758. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  7759. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  7760. property w : TBits_32 read getw write setw;
  7761. end;
  7762. TINT_IPC9 = record
  7763. private
  7764. function getI2C2IP : TBits_3; inline;
  7765. function getI2C2IS : TBits_2; inline;
  7766. function getU2IP : TBits_3; inline;
  7767. function getU2IS : TBits_2; inline;
  7768. function getU3IP : TBits_3; inline;
  7769. function getU3IS : TBits_2; inline;
  7770. function getU4IP : TBits_3; inline;
  7771. function getU4IS : TBits_2; inline;
  7772. function getw : TBits_32; inline;
  7773. procedure setI2C2IP(thebits : TBits_3); inline;
  7774. procedure setI2C2IS(thebits : TBits_2); inline;
  7775. procedure setU2IP(thebits : TBits_3); inline;
  7776. procedure setU2IS(thebits : TBits_2); inline;
  7777. procedure setU3IP(thebits : TBits_3); inline;
  7778. procedure setU3IS(thebits : TBits_2); inline;
  7779. procedure setU4IP(thebits : TBits_3); inline;
  7780. procedure setU4IS(thebits : TBits_2); inline;
  7781. procedure setw(thebits : TBits_32); inline;
  7782. public
  7783. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  7784. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  7785. property U2IP : TBits_3 read getU2IP write setU2IP;
  7786. property U2IS : TBits_2 read getU2IS write setU2IS;
  7787. property U3IP : TBits_3 read getU3IP write setU3IP;
  7788. property U3IS : TBits_2 read getU3IS write setU3IS;
  7789. property U4IP : TBits_3 read getU4IP write setU4IP;
  7790. property U4IS : TBits_2 read getU4IS write setU4IS;
  7791. property w : TBits_32 read getw write setw;
  7792. end;
  7793. TINT_IPC10 = record
  7794. private
  7795. function getCTMUIP : TBits_2; inline;
  7796. function getCTMUIS : TBits_3; inline;
  7797. function getDMA0IP : TBits_3; inline;
  7798. function getDMA0IS : TBits_2; inline;
  7799. function getDMA1IP : TBits_3; inline;
  7800. function getDMA1IS : TBits_2; inline;
  7801. function getU5IP : TBits_3; inline;
  7802. function getU5IS : TBits_2; inline;
  7803. function getw : TBits_32; inline;
  7804. procedure setCTMUIP(thebits : TBits_2); inline;
  7805. procedure setCTMUIS(thebits : TBits_3); inline;
  7806. procedure setDMA0IP(thebits : TBits_3); inline;
  7807. procedure setDMA0IS(thebits : TBits_2); inline;
  7808. procedure setDMA1IP(thebits : TBits_3); inline;
  7809. procedure setDMA1IS(thebits : TBits_2); inline;
  7810. procedure setU5IP(thebits : TBits_3); inline;
  7811. procedure setU5IS(thebits : TBits_2); inline;
  7812. procedure setw(thebits : TBits_32); inline;
  7813. public
  7814. property CTMUIP : TBits_2 read getCTMUIP write setCTMUIP;
  7815. property CTMUIS : TBits_3 read getCTMUIS write setCTMUIS;
  7816. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  7817. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  7818. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  7819. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  7820. property U5IP : TBits_3 read getU5IP write setU5IP;
  7821. property U5IS : TBits_2 read getU5IS write setU5IS;
  7822. property w : TBits_32 read getw write setw;
  7823. end;
  7824. TINT_IPC11 = record
  7825. private
  7826. function getDMA2IP : TBits_3; inline;
  7827. function getDMA2IS : TBits_2; inline;
  7828. function getDMA3IP : TBits_3; inline;
  7829. function getDMA3IS : TBits_2; inline;
  7830. function getw : TBits_32; inline;
  7831. procedure setDMA2IP(thebits : TBits_3); inline;
  7832. procedure setDMA2IS(thebits : TBits_2); inline;
  7833. procedure setDMA3IP(thebits : TBits_3); inline;
  7834. procedure setDMA3IS(thebits : TBits_2); inline;
  7835. procedure setw(thebits : TBits_32); inline;
  7836. public
  7837. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  7838. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  7839. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  7840. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  7841. property w : TBits_32 read getw write setw;
  7842. end;
  7843. type
  7844. TINTRegisters = record
  7845. INTCONbits : TINT_INTCON;
  7846. INTCON : longWord;
  7847. INTCONCLR : longWord;
  7848. INTCONSET : longWord;
  7849. INTCONINV : longWord;
  7850. INTSTAT : longWord;
  7851. IPTMR : longWord;
  7852. IPTMRCLR : longWord;
  7853. IPTMRSET : longWord;
  7854. IPTMRINV : longWord;
  7855. IFS0bits : TINT_IFS0;
  7856. IFS0 : longWord;
  7857. IFS0CLR : longWord;
  7858. IFS0SET : longWord;
  7859. IFS0INV : longWord;
  7860. IFS1bits : TINT_IFS1;
  7861. IFS1 : longWord;
  7862. IFS1CLR : longWord;
  7863. IFS1SET : longWord;
  7864. IFS1INV : longWord;
  7865. IFS2 : longWord;
  7866. IFS2CLR : longWord;
  7867. IFS2SET : longWord;
  7868. IFS2INV : longWord;
  7869. IEC0bits : TINT_IEC0;
  7870. IEC0 : longWord;
  7871. IEC0CLR : longWord;
  7872. IEC0SET : longWord;
  7873. IEC0INV : longWord;
  7874. IEC1bits : TINT_IEC1;
  7875. IEC1 : longWord;
  7876. IEC1CLR : longWord;
  7877. IEC1SET : longWord;
  7878. IEC1INV : longWord;
  7879. IEC2 : longWord;
  7880. IEC2CLR : longWord;
  7881. IEC2SET : longWord;
  7882. IEC2INV : longWord;
  7883. IPC0bits : TINT_IPC0;
  7884. IPC0 : longWord;
  7885. IPC0CLR : longWord;
  7886. IPC0SET : longWord;
  7887. IPC0INV : longWord;
  7888. IPC1bits : TINT_IPC1;
  7889. IPC1 : longWord;
  7890. IPC1CLR : longWord;
  7891. IPC1SET : longWord;
  7892. IPC1INV : longWord;
  7893. IPC2bits : TINT_IPC2;
  7894. IPC2 : longWord;
  7895. IPC2CLR : longWord;
  7896. IPC2SET : longWord;
  7897. IPC2INV : longWord;
  7898. IPC3bits : TINT_IPC3;
  7899. IPC3 : longWord;
  7900. IPC3CLR : longWord;
  7901. IPC3SET : longWord;
  7902. IPC3INV : longWord;
  7903. IPC4bits : TINT_IPC4;
  7904. IPC4 : longWord;
  7905. IPC4CLR : longWord;
  7906. IPC4SET : longWord;
  7907. IPC4INV : longWord;
  7908. IPC5bits : TINT_IPC5;
  7909. IPC5 : longWord;
  7910. IPC5CLR : longWord;
  7911. IPC5SET : longWord;
  7912. IPC5INV : longWord;
  7913. IPC6bits : TINT_IPC6;
  7914. IPC6 : longWord;
  7915. IPC6CLR : longWord;
  7916. IPC6SET : longWord;
  7917. IPC6INV : longWord;
  7918. IPC7bits : TINT_IPC7;
  7919. IPC7 : longWord;
  7920. IPC7CLR : longWord;
  7921. IPC7SET : longWord;
  7922. IPC7INV : longWord;
  7923. IPC8bits : TINT_IPC8;
  7924. IPC8 : longWord;
  7925. IPC8CLR : longWord;
  7926. IPC8SET : longWord;
  7927. IPC8INV : longWord;
  7928. IPC9bits : TINT_IPC9;
  7929. IPC9 : longWord;
  7930. IPC9CLR : longWord;
  7931. IPC9SET : longWord;
  7932. IPC9INV : longWord;
  7933. IPC10bits : TINT_IPC10;
  7934. IPC10 : longWord;
  7935. IPC10CLR : longWord;
  7936. IPC10SET : longWord;
  7937. IPC10INV : longWord;
  7938. IPC11bits : TINT_IPC11;
  7939. IPC11 : longWord;
  7940. IPC11CLR : longWord;
  7941. IPC11SET : longWord;
  7942. IPC11INV : longWord;
  7943. end;
  7944. TBMX_BMXCON = record
  7945. private
  7946. function getBMXARB : TBits_3; inline;
  7947. function getBMXCHEDMA : TBits_1; inline;
  7948. function getBMXERRDMA : TBits_1; inline;
  7949. function getBMXERRDS : TBits_1; inline;
  7950. function getBMXERRICD : TBits_1; inline;
  7951. function getBMXERRIS : TBits_1; inline;
  7952. function getBMXERRIXI : TBits_1; inline;
  7953. function getBMXWSDRM : TBits_1; inline;
  7954. function getw : TBits_32; inline;
  7955. procedure setBMXARB(thebits : TBits_3); inline;
  7956. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  7957. procedure setBMXERRDMA(thebits : TBits_1); inline;
  7958. procedure setBMXERRDS(thebits : TBits_1); inline;
  7959. procedure setBMXERRICD(thebits : TBits_1); inline;
  7960. procedure setBMXERRIS(thebits : TBits_1); inline;
  7961. procedure setBMXERRIXI(thebits : TBits_1); inline;
  7962. procedure setBMXWSDRM(thebits : TBits_1); inline;
  7963. procedure setw(thebits : TBits_32); inline;
  7964. public
  7965. procedure clearBMXCHEDMA; inline;
  7966. procedure clearBMXERRDMA; inline;
  7967. procedure clearBMXERRDS; inline;
  7968. procedure clearBMXERRICD; inline;
  7969. procedure clearBMXERRIS; inline;
  7970. procedure clearBMXERRIXI; inline;
  7971. procedure clearBMXWSDRM; inline;
  7972. procedure setBMXCHEDMA; inline;
  7973. procedure setBMXERRDMA; inline;
  7974. procedure setBMXERRDS; inline;
  7975. procedure setBMXERRICD; inline;
  7976. procedure setBMXERRIS; inline;
  7977. procedure setBMXERRIXI; inline;
  7978. procedure setBMXWSDRM; inline;
  7979. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  7980. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  7981. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  7982. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  7983. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  7984. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  7985. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  7986. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  7987. property w : TBits_32 read getw write setw;
  7988. end;
  7989. type
  7990. TBMXRegisters = record
  7991. BMXCONbits : TBMX_BMXCON;
  7992. BMXCON : longWord;
  7993. BMXCONCLR : longWord;
  7994. BMXCONSET : longWord;
  7995. BMXCONINV : longWord;
  7996. BMXDKPBA : longWord;
  7997. BMXDKPBACLR : longWord;
  7998. BMXDKPBASET : longWord;
  7999. BMXDKPBAINV : longWord;
  8000. BMXDUDBA : longWord;
  8001. BMXDUDBACLR : longWord;
  8002. BMXDUDBASET : longWord;
  8003. BMXDUDBAINV : longWord;
  8004. BMXDUPBA : longWord;
  8005. BMXDUPBACLR : longWord;
  8006. BMXDUPBASET : longWord;
  8007. BMXDUPBAINV : longWord;
  8008. BMXDRMSZ : longWord;
  8009. BMXPUPBA : longWord;
  8010. BMXPUPBACLR : longWord;
  8011. BMXPUPBASET : longWord;
  8012. BMXPUPBAINV : longWord;
  8013. BMXPFMSZ : longWord;
  8014. BMXBOOTSZ : longWord;
  8015. end;
  8016. TDMAC_DMACON = record
  8017. private
  8018. function getDMABUSY : TBits_1; inline;
  8019. function getON : TBits_1; inline;
  8020. function getSUSPEND : TBits_1; inline;
  8021. function getw : TBits_32; inline;
  8022. procedure setDMABUSY(thebits : TBits_1); inline;
  8023. procedure setON(thebits : TBits_1); inline;
  8024. procedure setSUSPEND(thebits : TBits_1); inline;
  8025. procedure setw(thebits : TBits_32); inline;
  8026. public
  8027. procedure clearDMABUSY; inline;
  8028. procedure clearON; inline;
  8029. procedure clearSUSPEND; inline;
  8030. procedure setDMABUSY; inline;
  8031. procedure setON; inline;
  8032. procedure setSUSPEND; inline;
  8033. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  8034. property ON : TBits_1 read getON write setON;
  8035. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  8036. property w : TBits_32 read getw write setw;
  8037. end;
  8038. TDMAC_DMASTAT = record
  8039. private
  8040. function getDMACH : TBits_3; inline;
  8041. function getRDWR : TBits_1; inline;
  8042. function getw : TBits_32; inline;
  8043. procedure setDMACH(thebits : TBits_3); inline;
  8044. procedure setRDWR(thebits : TBits_1); inline;
  8045. procedure setw(thebits : TBits_32); inline;
  8046. public
  8047. procedure clearRDWR; inline;
  8048. procedure setRDWR; inline;
  8049. property DMACH : TBits_3 read getDMACH write setDMACH;
  8050. property RDWR : TBits_1 read getRDWR write setRDWR;
  8051. property w : TBits_32 read getw write setw;
  8052. end;
  8053. TDMAC_DCRCCON = record
  8054. private
  8055. function getBITO : TBits_1; inline;
  8056. function getBYTO : TBits_2; inline;
  8057. function getCRCAPP : TBits_1; inline;
  8058. function getCRCCH : TBits_3; inline;
  8059. function getCRCEN : TBits_1; inline;
  8060. function getCRCTYP : TBits_1; inline;
  8061. function getPLEN : TBits_5; inline;
  8062. function getWBO : TBits_1; inline;
  8063. function getw : TBits_32; inline;
  8064. procedure setBITO(thebits : TBits_1); inline;
  8065. procedure setBYTO(thebits : TBits_2); inline;
  8066. procedure setCRCAPP(thebits : TBits_1); inline;
  8067. procedure setCRCCH(thebits : TBits_3); inline;
  8068. procedure setCRCEN(thebits : TBits_1); inline;
  8069. procedure setCRCTYP(thebits : TBits_1); inline;
  8070. procedure setPLEN(thebits : TBits_5); inline;
  8071. procedure setWBO(thebits : TBits_1); inline;
  8072. procedure setw(thebits : TBits_32); inline;
  8073. public
  8074. procedure clearBITO; inline;
  8075. procedure clearCRCAPP; inline;
  8076. procedure clearCRCEN; inline;
  8077. procedure clearCRCTYP; inline;
  8078. procedure clearWBO; inline;
  8079. procedure setBITO; inline;
  8080. procedure setCRCAPP; inline;
  8081. procedure setCRCEN; inline;
  8082. procedure setCRCTYP; inline;
  8083. procedure setWBO; inline;
  8084. property BITO : TBits_1 read getBITO write setBITO;
  8085. property BYTO : TBits_2 read getBYTO write setBYTO;
  8086. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  8087. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  8088. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  8089. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  8090. property PLEN : TBits_5 read getPLEN write setPLEN;
  8091. property WBO : TBits_1 read getWBO write setWBO;
  8092. property w : TBits_32 read getw write setw;
  8093. end;
  8094. type
  8095. TDMACRegisters = record
  8096. DMACONbits : TDMAC_DMACON;
  8097. DMACON : longWord;
  8098. DMACONCLR : longWord;
  8099. DMACONSET : longWord;
  8100. DMACONINV : longWord;
  8101. DMASTATbits : TDMAC_DMASTAT;
  8102. DMASTAT : longWord;
  8103. DMASTATCLR : longWord;
  8104. DMASTATSET : longWord;
  8105. DMASTATINV : longWord;
  8106. DMAADDR : longWord;
  8107. DMAADDRCLR : longWord;
  8108. DMAADDRSET : longWord;
  8109. DMAADDRINV : longWord;
  8110. DCRCCONbits : TDMAC_DCRCCON;
  8111. DCRCCON : longWord;
  8112. DCRCCONCLR : longWord;
  8113. DCRCCONSET : longWord;
  8114. DCRCCONINV : longWord;
  8115. DCRCDATA : longWord;
  8116. DCRCDATACLR : longWord;
  8117. DCRCDATASET : longWord;
  8118. DCRCDATAINV : longWord;
  8119. DCRCXOR : longWord;
  8120. DCRCXORCLR : longWord;
  8121. DCRCXORSET : longWord;
  8122. DCRCXORINV : longWord;
  8123. end;
  8124. TDMAC0_DCH0CON = record
  8125. private
  8126. function getCHAED : TBits_1; inline;
  8127. function getCHAEN : TBits_1; inline;
  8128. function getCHBUSY : TBits_1; inline;
  8129. function getCHCHN : TBits_1; inline;
  8130. function getCHCHNS : TBits_1; inline;
  8131. function getCHEDET : TBits_1; inline;
  8132. function getCHEN : TBits_1; inline;
  8133. function getCHPRI : TBits_2; inline;
  8134. function getw : TBits_32; inline;
  8135. procedure setCHAED(thebits : TBits_1); inline;
  8136. procedure setCHAEN(thebits : TBits_1); inline;
  8137. procedure setCHBUSY(thebits : TBits_1); inline;
  8138. procedure setCHCHN(thebits : TBits_1); inline;
  8139. procedure setCHCHNS(thebits : TBits_1); inline;
  8140. procedure setCHEDET(thebits : TBits_1); inline;
  8141. procedure setCHEN(thebits : TBits_1); inline;
  8142. procedure setCHPRI(thebits : TBits_2); inline;
  8143. procedure setw(thebits : TBits_32); inline;
  8144. public
  8145. procedure clearCHAED; inline;
  8146. procedure clearCHAEN; inline;
  8147. procedure clearCHBUSY; inline;
  8148. procedure clearCHCHN; inline;
  8149. procedure clearCHCHNS; inline;
  8150. procedure clearCHEDET; inline;
  8151. procedure clearCHEN; inline;
  8152. procedure setCHAED; inline;
  8153. procedure setCHAEN; inline;
  8154. procedure setCHBUSY; inline;
  8155. procedure setCHCHN; inline;
  8156. procedure setCHCHNS; inline;
  8157. procedure setCHEDET; inline;
  8158. procedure setCHEN; inline;
  8159. property CHAED : TBits_1 read getCHAED write setCHAED;
  8160. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8161. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8162. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8163. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8164. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8165. property CHEN : TBits_1 read getCHEN write setCHEN;
  8166. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8167. property w : TBits_32 read getw write setw;
  8168. end;
  8169. TDMAC0_DCH0ECON = record
  8170. private
  8171. function getAIRQEN : TBits_1; inline;
  8172. function getCABORT : TBits_1; inline;
  8173. function getCFORCE : TBits_1; inline;
  8174. function getCHAIRQ : TBits_8; inline;
  8175. function getCHSIRQ : TBits_8; inline;
  8176. function getPATEN : TBits_1; inline;
  8177. function getSIRQEN : TBits_1; inline;
  8178. function getw : TBits_32; inline;
  8179. procedure setAIRQEN(thebits : TBits_1); inline;
  8180. procedure setCABORT(thebits : TBits_1); inline;
  8181. procedure setCFORCE(thebits : TBits_1); inline;
  8182. procedure setCHAIRQ(thebits : TBits_8); inline;
  8183. procedure setCHSIRQ(thebits : TBits_8); inline;
  8184. procedure setPATEN(thebits : TBits_1); inline;
  8185. procedure setSIRQEN(thebits : TBits_1); inline;
  8186. procedure setw(thebits : TBits_32); inline;
  8187. public
  8188. procedure clearAIRQEN; inline;
  8189. procedure clearCABORT; inline;
  8190. procedure clearCFORCE; inline;
  8191. procedure clearPATEN; inline;
  8192. procedure clearSIRQEN; inline;
  8193. procedure setAIRQEN; inline;
  8194. procedure setCABORT; inline;
  8195. procedure setCFORCE; inline;
  8196. procedure setPATEN; inline;
  8197. procedure setSIRQEN; inline;
  8198. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8199. property CABORT : TBits_1 read getCABORT write setCABORT;
  8200. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8201. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8202. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8203. property PATEN : TBits_1 read getPATEN write setPATEN;
  8204. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8205. property w : TBits_32 read getw write setw;
  8206. end;
  8207. TDMAC0_DCH0INT = record
  8208. private
  8209. function getCHBCIE : TBits_1; inline;
  8210. function getCHBCIF : TBits_1; inline;
  8211. function getCHCCIE : TBits_1; inline;
  8212. function getCHCCIF : TBits_1; inline;
  8213. function getCHDDIE : TBits_1; inline;
  8214. function getCHDDIF : TBits_1; inline;
  8215. function getCHDHIE : TBits_1; inline;
  8216. function getCHDHIF : TBits_1; inline;
  8217. function getCHERIE : TBits_1; inline;
  8218. function getCHERIF : TBits_1; inline;
  8219. function getCHSDIE : TBits_1; inline;
  8220. function getCHSDIF : TBits_1; inline;
  8221. function getCHSHIE : TBits_1; inline;
  8222. function getCHSHIF : TBits_1; inline;
  8223. function getCHTAIE : TBits_1; inline;
  8224. function getCHTAIF : TBits_1; inline;
  8225. function getw : TBits_32; inline;
  8226. procedure setCHBCIE(thebits : TBits_1); inline;
  8227. procedure setCHBCIF(thebits : TBits_1); inline;
  8228. procedure setCHCCIE(thebits : TBits_1); inline;
  8229. procedure setCHCCIF(thebits : TBits_1); inline;
  8230. procedure setCHDDIE(thebits : TBits_1); inline;
  8231. procedure setCHDDIF(thebits : TBits_1); inline;
  8232. procedure setCHDHIE(thebits : TBits_1); inline;
  8233. procedure setCHDHIF(thebits : TBits_1); inline;
  8234. procedure setCHERIE(thebits : TBits_1); inline;
  8235. procedure setCHERIF(thebits : TBits_1); inline;
  8236. procedure setCHSDIE(thebits : TBits_1); inline;
  8237. procedure setCHSDIF(thebits : TBits_1); inline;
  8238. procedure setCHSHIE(thebits : TBits_1); inline;
  8239. procedure setCHSHIF(thebits : TBits_1); inline;
  8240. procedure setCHTAIE(thebits : TBits_1); inline;
  8241. procedure setCHTAIF(thebits : TBits_1); inline;
  8242. procedure setw(thebits : TBits_32); inline;
  8243. public
  8244. procedure clearCHBCIE; inline;
  8245. procedure clearCHBCIF; inline;
  8246. procedure clearCHCCIE; inline;
  8247. procedure clearCHCCIF; inline;
  8248. procedure clearCHDDIE; inline;
  8249. procedure clearCHDDIF; inline;
  8250. procedure clearCHDHIE; inline;
  8251. procedure clearCHDHIF; inline;
  8252. procedure clearCHERIE; inline;
  8253. procedure clearCHERIF; inline;
  8254. procedure clearCHSDIE; inline;
  8255. procedure clearCHSDIF; inline;
  8256. procedure clearCHSHIE; inline;
  8257. procedure clearCHSHIF; inline;
  8258. procedure clearCHTAIE; inline;
  8259. procedure clearCHTAIF; inline;
  8260. procedure setCHBCIE; inline;
  8261. procedure setCHBCIF; inline;
  8262. procedure setCHCCIE; inline;
  8263. procedure setCHCCIF; inline;
  8264. procedure setCHDDIE; inline;
  8265. procedure setCHDDIF; inline;
  8266. procedure setCHDHIE; inline;
  8267. procedure setCHDHIF; inline;
  8268. procedure setCHERIE; inline;
  8269. procedure setCHERIF; inline;
  8270. procedure setCHSDIE; inline;
  8271. procedure setCHSDIF; inline;
  8272. procedure setCHSHIE; inline;
  8273. procedure setCHSHIF; inline;
  8274. procedure setCHTAIE; inline;
  8275. procedure setCHTAIF; inline;
  8276. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8277. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8278. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8279. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8280. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8281. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8282. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8283. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8284. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8285. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8286. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8287. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8288. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8289. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8290. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8291. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8292. property w : TBits_32 read getw write setw;
  8293. end;
  8294. type
  8295. TDMAC0Registers = record
  8296. DCH0CONbits : TDMAC0_DCH0CON;
  8297. DCH0CON : longWord;
  8298. DCH0CONCLR : longWord;
  8299. DCH0CONSET : longWord;
  8300. DCH0CONINV : longWord;
  8301. DCH0ECONbits : TDMAC0_DCH0ECON;
  8302. DCH0ECON : longWord;
  8303. DCH0ECONCLR : longWord;
  8304. DCH0ECONSET : longWord;
  8305. DCH0ECONINV : longWord;
  8306. DCH0INTbits : TDMAC0_DCH0INT;
  8307. DCH0INT : longWord;
  8308. DCH0INTCLR : longWord;
  8309. DCH0INTSET : longWord;
  8310. DCH0INTINV : longWord;
  8311. DCH0SSA : longWord;
  8312. DCH0SSACLR : longWord;
  8313. DCH0SSASET : longWord;
  8314. DCH0SSAINV : longWord;
  8315. DCH0DSA : longWord;
  8316. DCH0DSACLR : longWord;
  8317. DCH0DSASET : longWord;
  8318. DCH0DSAINV : longWord;
  8319. DCH0SSIZ : longWord;
  8320. DCH0SSIZCLR : longWord;
  8321. DCH0SSIZSET : longWord;
  8322. DCH0SSIZINV : longWord;
  8323. DCH0DSIZ : longWord;
  8324. DCH0DSIZCLR : longWord;
  8325. DCH0DSIZSET : longWord;
  8326. DCH0DSIZINV : longWord;
  8327. DCH0SPTR : longWord;
  8328. DCH0SPTRCLR : longWord;
  8329. DCH0SPTRSET : longWord;
  8330. DCH0SPTRINV : longWord;
  8331. DCH0DPTR : longWord;
  8332. DCH0DPTRCLR : longWord;
  8333. DCH0DPTRSET : longWord;
  8334. DCH0DPTRINV : longWord;
  8335. DCH0CSIZ : longWord;
  8336. DCH0CSIZCLR : longWord;
  8337. DCH0CSIZSET : longWord;
  8338. DCH0CSIZINV : longWord;
  8339. DCH0CPTR : longWord;
  8340. DCH0CPTRCLR : longWord;
  8341. DCH0CPTRSET : longWord;
  8342. DCH0CPTRINV : longWord;
  8343. DCH0DAT : longWord;
  8344. DCH0DATCLR : longWord;
  8345. DCH0DATSET : longWord;
  8346. DCH0DATINV : longWord;
  8347. end;
  8348. TDMAC1_DCH1CON = record
  8349. private
  8350. function getCHAED : TBits_1; inline;
  8351. function getCHAEN : TBits_1; inline;
  8352. function getCHBUSY : TBits_1; inline;
  8353. function getCHCHN : TBits_1; inline;
  8354. function getCHCHNS : TBits_1; inline;
  8355. function getCHEDET : TBits_1; inline;
  8356. function getCHEN : TBits_1; inline;
  8357. function getCHPRI : TBits_2; inline;
  8358. function getw : TBits_32; inline;
  8359. procedure setCHAED(thebits : TBits_1); inline;
  8360. procedure setCHAEN(thebits : TBits_1); inline;
  8361. procedure setCHBUSY(thebits : TBits_1); inline;
  8362. procedure setCHCHN(thebits : TBits_1); inline;
  8363. procedure setCHCHNS(thebits : TBits_1); inline;
  8364. procedure setCHEDET(thebits : TBits_1); inline;
  8365. procedure setCHEN(thebits : TBits_1); inline;
  8366. procedure setCHPRI(thebits : TBits_2); inline;
  8367. procedure setw(thebits : TBits_32); inline;
  8368. public
  8369. procedure clearCHAED; inline;
  8370. procedure clearCHAEN; inline;
  8371. procedure clearCHBUSY; inline;
  8372. procedure clearCHCHN; inline;
  8373. procedure clearCHCHNS; inline;
  8374. procedure clearCHEDET; inline;
  8375. procedure clearCHEN; inline;
  8376. procedure setCHAED; inline;
  8377. procedure setCHAEN; inline;
  8378. procedure setCHBUSY; inline;
  8379. procedure setCHCHN; inline;
  8380. procedure setCHCHNS; inline;
  8381. procedure setCHEDET; inline;
  8382. procedure setCHEN; inline;
  8383. property CHAED : TBits_1 read getCHAED write setCHAED;
  8384. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8385. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8386. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8387. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8388. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8389. property CHEN : TBits_1 read getCHEN write setCHEN;
  8390. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8391. property w : TBits_32 read getw write setw;
  8392. end;
  8393. TDMAC1_DCH1ECON = record
  8394. private
  8395. function getAIRQEN : TBits_1; inline;
  8396. function getCABORT : TBits_1; inline;
  8397. function getCFORCE : TBits_1; inline;
  8398. function getCHAIRQ : TBits_8; inline;
  8399. function getCHSIRQ : TBits_8; inline;
  8400. function getPATEN : TBits_1; inline;
  8401. function getSIRQEN : TBits_1; inline;
  8402. function getw : TBits_32; inline;
  8403. procedure setAIRQEN(thebits : TBits_1); inline;
  8404. procedure setCABORT(thebits : TBits_1); inline;
  8405. procedure setCFORCE(thebits : TBits_1); inline;
  8406. procedure setCHAIRQ(thebits : TBits_8); inline;
  8407. procedure setCHSIRQ(thebits : TBits_8); inline;
  8408. procedure setPATEN(thebits : TBits_1); inline;
  8409. procedure setSIRQEN(thebits : TBits_1); inline;
  8410. procedure setw(thebits : TBits_32); inline;
  8411. public
  8412. procedure clearAIRQEN; inline;
  8413. procedure clearCABORT; inline;
  8414. procedure clearCFORCE; inline;
  8415. procedure clearPATEN; inline;
  8416. procedure clearSIRQEN; inline;
  8417. procedure setAIRQEN; inline;
  8418. procedure setCABORT; inline;
  8419. procedure setCFORCE; inline;
  8420. procedure setPATEN; inline;
  8421. procedure setSIRQEN; inline;
  8422. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8423. property CABORT : TBits_1 read getCABORT write setCABORT;
  8424. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8425. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8426. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8427. property PATEN : TBits_1 read getPATEN write setPATEN;
  8428. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8429. property w : TBits_32 read getw write setw;
  8430. end;
  8431. TDMAC1_DCH1INT = record
  8432. private
  8433. function getCHBCIE : TBits_1; inline;
  8434. function getCHBCIF : TBits_1; inline;
  8435. function getCHCCIE : TBits_1; inline;
  8436. function getCHCCIF : TBits_1; inline;
  8437. function getCHDDIE : TBits_1; inline;
  8438. function getCHDDIF : TBits_1; inline;
  8439. function getCHDHIE : TBits_1; inline;
  8440. function getCHDHIF : TBits_1; inline;
  8441. function getCHERIE : TBits_1; inline;
  8442. function getCHERIF : TBits_1; inline;
  8443. function getCHSDIE : TBits_1; inline;
  8444. function getCHSDIF : TBits_1; inline;
  8445. function getCHSHIE : TBits_1; inline;
  8446. function getCHSHIF : TBits_1; inline;
  8447. function getCHTAIE : TBits_1; inline;
  8448. function getCHTAIF : TBits_1; inline;
  8449. function getw : TBits_32; inline;
  8450. procedure setCHBCIE(thebits : TBits_1); inline;
  8451. procedure setCHBCIF(thebits : TBits_1); inline;
  8452. procedure setCHCCIE(thebits : TBits_1); inline;
  8453. procedure setCHCCIF(thebits : TBits_1); inline;
  8454. procedure setCHDDIE(thebits : TBits_1); inline;
  8455. procedure setCHDDIF(thebits : TBits_1); inline;
  8456. procedure setCHDHIE(thebits : TBits_1); inline;
  8457. procedure setCHDHIF(thebits : TBits_1); inline;
  8458. procedure setCHERIE(thebits : TBits_1); inline;
  8459. procedure setCHERIF(thebits : TBits_1); inline;
  8460. procedure setCHSDIE(thebits : TBits_1); inline;
  8461. procedure setCHSDIF(thebits : TBits_1); inline;
  8462. procedure setCHSHIE(thebits : TBits_1); inline;
  8463. procedure setCHSHIF(thebits : TBits_1); inline;
  8464. procedure setCHTAIE(thebits : TBits_1); inline;
  8465. procedure setCHTAIF(thebits : TBits_1); inline;
  8466. procedure setw(thebits : TBits_32); inline;
  8467. public
  8468. procedure clearCHBCIE; inline;
  8469. procedure clearCHBCIF; inline;
  8470. procedure clearCHCCIE; inline;
  8471. procedure clearCHCCIF; inline;
  8472. procedure clearCHDDIE; inline;
  8473. procedure clearCHDDIF; inline;
  8474. procedure clearCHDHIE; inline;
  8475. procedure clearCHDHIF; inline;
  8476. procedure clearCHERIE; inline;
  8477. procedure clearCHERIF; inline;
  8478. procedure clearCHSDIE; inline;
  8479. procedure clearCHSDIF; inline;
  8480. procedure clearCHSHIE; inline;
  8481. procedure clearCHSHIF; inline;
  8482. procedure clearCHTAIE; inline;
  8483. procedure clearCHTAIF; inline;
  8484. procedure setCHBCIE; inline;
  8485. procedure setCHBCIF; inline;
  8486. procedure setCHCCIE; inline;
  8487. procedure setCHCCIF; inline;
  8488. procedure setCHDDIE; inline;
  8489. procedure setCHDDIF; inline;
  8490. procedure setCHDHIE; inline;
  8491. procedure setCHDHIF; inline;
  8492. procedure setCHERIE; inline;
  8493. procedure setCHERIF; inline;
  8494. procedure setCHSDIE; inline;
  8495. procedure setCHSDIF; inline;
  8496. procedure setCHSHIE; inline;
  8497. procedure setCHSHIF; inline;
  8498. procedure setCHTAIE; inline;
  8499. procedure setCHTAIF; inline;
  8500. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8501. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8502. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8503. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8504. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8505. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8506. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8507. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8508. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8509. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8510. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8511. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8512. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8513. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8514. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8515. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8516. property w : TBits_32 read getw write setw;
  8517. end;
  8518. type
  8519. TDMAC1Registers = record
  8520. DCH1CONbits : TDMAC1_DCH1CON;
  8521. DCH1CON : longWord;
  8522. DCH1CONCLR : longWord;
  8523. DCH1CONSET : longWord;
  8524. DCH1CONINV : longWord;
  8525. DCH1ECONbits : TDMAC1_DCH1ECON;
  8526. DCH1ECON : longWord;
  8527. DCH1ECONCLR : longWord;
  8528. DCH1ECONSET : longWord;
  8529. DCH1ECONINV : longWord;
  8530. DCH1INTbits : TDMAC1_DCH1INT;
  8531. DCH1INT : longWord;
  8532. DCH1INTCLR : longWord;
  8533. DCH1INTSET : longWord;
  8534. DCH1INTINV : longWord;
  8535. DCH1SSA : longWord;
  8536. DCH1SSACLR : longWord;
  8537. DCH1SSASET : longWord;
  8538. DCH1SSAINV : longWord;
  8539. DCH1DSA : longWord;
  8540. DCH1DSACLR : longWord;
  8541. DCH1DSASET : longWord;
  8542. DCH1DSAINV : longWord;
  8543. DCH1SSIZ : longWord;
  8544. DCH1SSIZCLR : longWord;
  8545. DCH1SSIZSET : longWord;
  8546. DCH1SSIZINV : longWord;
  8547. DCH1DSIZ : longWord;
  8548. DCH1DSIZCLR : longWord;
  8549. DCH1DSIZSET : longWord;
  8550. DCH1DSIZINV : longWord;
  8551. DCH1SPTR : longWord;
  8552. DCH1SPTRCLR : longWord;
  8553. DCH1SPTRSET : longWord;
  8554. DCH1SPTRINV : longWord;
  8555. DCH1DPTR : longWord;
  8556. DCH1DPTRCLR : longWord;
  8557. DCH1DPTRSET : longWord;
  8558. DCH1DPTRINV : longWord;
  8559. DCH1CSIZ : longWord;
  8560. DCH1CSIZCLR : longWord;
  8561. DCH1CSIZSET : longWord;
  8562. DCH1CSIZINV : longWord;
  8563. DCH1CPTR : longWord;
  8564. DCH1CPTRCLR : longWord;
  8565. DCH1CPTRSET : longWord;
  8566. DCH1CPTRINV : longWord;
  8567. DCH1DAT : longWord;
  8568. DCH1DATCLR : longWord;
  8569. DCH1DATSET : longWord;
  8570. DCH1DATINV : longWord;
  8571. end;
  8572. TDMAC2_DCH2CON = record
  8573. private
  8574. function getCHAED : TBits_1; inline;
  8575. function getCHAEN : TBits_1; inline;
  8576. function getCHBUSY : TBits_1; inline;
  8577. function getCHCHN : TBits_1; inline;
  8578. function getCHCHNS : TBits_1; inline;
  8579. function getCHEDET : TBits_1; inline;
  8580. function getCHEN : TBits_1; inline;
  8581. function getCHPRI : TBits_2; inline;
  8582. function getw : TBits_32; inline;
  8583. procedure setCHAED(thebits : TBits_1); inline;
  8584. procedure setCHAEN(thebits : TBits_1); inline;
  8585. procedure setCHBUSY(thebits : TBits_1); inline;
  8586. procedure setCHCHN(thebits : TBits_1); inline;
  8587. procedure setCHCHNS(thebits : TBits_1); inline;
  8588. procedure setCHEDET(thebits : TBits_1); inline;
  8589. procedure setCHEN(thebits : TBits_1); inline;
  8590. procedure setCHPRI(thebits : TBits_2); inline;
  8591. procedure setw(thebits : TBits_32); inline;
  8592. public
  8593. procedure clearCHAED; inline;
  8594. procedure clearCHAEN; inline;
  8595. procedure clearCHBUSY; inline;
  8596. procedure clearCHCHN; inline;
  8597. procedure clearCHCHNS; inline;
  8598. procedure clearCHEDET; inline;
  8599. procedure clearCHEN; inline;
  8600. procedure setCHAED; inline;
  8601. procedure setCHAEN; inline;
  8602. procedure setCHBUSY; inline;
  8603. procedure setCHCHN; inline;
  8604. procedure setCHCHNS; inline;
  8605. procedure setCHEDET; inline;
  8606. procedure setCHEN; inline;
  8607. property CHAED : TBits_1 read getCHAED write setCHAED;
  8608. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8609. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8610. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8611. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8612. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8613. property CHEN : TBits_1 read getCHEN write setCHEN;
  8614. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8615. property w : TBits_32 read getw write setw;
  8616. end;
  8617. TDMAC2_DCH2ECON = record
  8618. private
  8619. function getAIRQEN : TBits_1; inline;
  8620. function getCABORT : TBits_1; inline;
  8621. function getCFORCE : TBits_1; inline;
  8622. function getCHAIRQ : TBits_8; inline;
  8623. function getCHSIRQ : TBits_8; inline;
  8624. function getPATEN : TBits_1; inline;
  8625. function getSIRQEN : TBits_1; inline;
  8626. function getw : TBits_32; inline;
  8627. procedure setAIRQEN(thebits : TBits_1); inline;
  8628. procedure setCABORT(thebits : TBits_1); inline;
  8629. procedure setCFORCE(thebits : TBits_1); inline;
  8630. procedure setCHAIRQ(thebits : TBits_8); inline;
  8631. procedure setCHSIRQ(thebits : TBits_8); inline;
  8632. procedure setPATEN(thebits : TBits_1); inline;
  8633. procedure setSIRQEN(thebits : TBits_1); inline;
  8634. procedure setw(thebits : TBits_32); inline;
  8635. public
  8636. procedure clearAIRQEN; inline;
  8637. procedure clearCABORT; inline;
  8638. procedure clearCFORCE; inline;
  8639. procedure clearPATEN; inline;
  8640. procedure clearSIRQEN; inline;
  8641. procedure setAIRQEN; inline;
  8642. procedure setCABORT; inline;
  8643. procedure setCFORCE; inline;
  8644. procedure setPATEN; inline;
  8645. procedure setSIRQEN; inline;
  8646. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8647. property CABORT : TBits_1 read getCABORT write setCABORT;
  8648. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8649. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8650. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8651. property PATEN : TBits_1 read getPATEN write setPATEN;
  8652. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8653. property w : TBits_32 read getw write setw;
  8654. end;
  8655. TDMAC2_DCH2INT = record
  8656. private
  8657. function getCHBCIE : TBits_1; inline;
  8658. function getCHBCIF : TBits_1; inline;
  8659. function getCHCCIE : TBits_1; inline;
  8660. function getCHCCIF : TBits_1; inline;
  8661. function getCHDDIE : TBits_1; inline;
  8662. function getCHDDIF : TBits_1; inline;
  8663. function getCHDHIE : TBits_1; inline;
  8664. function getCHDHIF : TBits_1; inline;
  8665. function getCHERIE : TBits_1; inline;
  8666. function getCHERIF : TBits_1; inline;
  8667. function getCHSDIE : TBits_1; inline;
  8668. function getCHSDIF : TBits_1; inline;
  8669. function getCHSHIE : TBits_1; inline;
  8670. function getCHSHIF : TBits_1; inline;
  8671. function getCHTAIE : TBits_1; inline;
  8672. function getCHTAIF : TBits_1; inline;
  8673. function getw : TBits_32; inline;
  8674. procedure setCHBCIE(thebits : TBits_1); inline;
  8675. procedure setCHBCIF(thebits : TBits_1); inline;
  8676. procedure setCHCCIE(thebits : TBits_1); inline;
  8677. procedure setCHCCIF(thebits : TBits_1); inline;
  8678. procedure setCHDDIE(thebits : TBits_1); inline;
  8679. procedure setCHDDIF(thebits : TBits_1); inline;
  8680. procedure setCHDHIE(thebits : TBits_1); inline;
  8681. procedure setCHDHIF(thebits : TBits_1); inline;
  8682. procedure setCHERIE(thebits : TBits_1); inline;
  8683. procedure setCHERIF(thebits : TBits_1); inline;
  8684. procedure setCHSDIE(thebits : TBits_1); inline;
  8685. procedure setCHSDIF(thebits : TBits_1); inline;
  8686. procedure setCHSHIE(thebits : TBits_1); inline;
  8687. procedure setCHSHIF(thebits : TBits_1); inline;
  8688. procedure setCHTAIE(thebits : TBits_1); inline;
  8689. procedure setCHTAIF(thebits : TBits_1); inline;
  8690. procedure setw(thebits : TBits_32); inline;
  8691. public
  8692. procedure clearCHBCIE; inline;
  8693. procedure clearCHBCIF; inline;
  8694. procedure clearCHCCIE; inline;
  8695. procedure clearCHCCIF; inline;
  8696. procedure clearCHDDIE; inline;
  8697. procedure clearCHDDIF; inline;
  8698. procedure clearCHDHIE; inline;
  8699. procedure clearCHDHIF; inline;
  8700. procedure clearCHERIE; inline;
  8701. procedure clearCHERIF; inline;
  8702. procedure clearCHSDIE; inline;
  8703. procedure clearCHSDIF; inline;
  8704. procedure clearCHSHIE; inline;
  8705. procedure clearCHSHIF; inline;
  8706. procedure clearCHTAIE; inline;
  8707. procedure clearCHTAIF; inline;
  8708. procedure setCHBCIE; inline;
  8709. procedure setCHBCIF; inline;
  8710. procedure setCHCCIE; inline;
  8711. procedure setCHCCIF; inline;
  8712. procedure setCHDDIE; inline;
  8713. procedure setCHDDIF; inline;
  8714. procedure setCHDHIE; inline;
  8715. procedure setCHDHIF; inline;
  8716. procedure setCHERIE; inline;
  8717. procedure setCHERIF; inline;
  8718. procedure setCHSDIE; inline;
  8719. procedure setCHSDIF; inline;
  8720. procedure setCHSHIE; inline;
  8721. procedure setCHSHIF; inline;
  8722. procedure setCHTAIE; inline;
  8723. procedure setCHTAIF; inline;
  8724. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8725. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8726. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8727. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8728. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8729. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8730. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8731. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8732. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8733. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8734. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8735. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8736. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8737. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8738. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8739. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8740. property w : TBits_32 read getw write setw;
  8741. end;
  8742. type
  8743. TDMAC2Registers = record
  8744. DCH2CONbits : TDMAC2_DCH2CON;
  8745. DCH2CON : longWord;
  8746. DCH2CONCLR : longWord;
  8747. DCH2CONSET : longWord;
  8748. DCH2CONINV : longWord;
  8749. DCH2ECONbits : TDMAC2_DCH2ECON;
  8750. DCH2ECON : longWord;
  8751. DCH2ECONCLR : longWord;
  8752. DCH2ECONSET : longWord;
  8753. DCH2ECONINV : longWord;
  8754. DCH2INTbits : TDMAC2_DCH2INT;
  8755. DCH2INT : longWord;
  8756. DCH2INTCLR : longWord;
  8757. DCH2INTSET : longWord;
  8758. DCH2INTINV : longWord;
  8759. DCH2SSA : longWord;
  8760. DCH2SSACLR : longWord;
  8761. DCH2SSASET : longWord;
  8762. DCH2SSAINV : longWord;
  8763. DCH2DSA : longWord;
  8764. DCH2DSACLR : longWord;
  8765. DCH2DSASET : longWord;
  8766. DCH2DSAINV : longWord;
  8767. DCH2SSIZ : longWord;
  8768. DCH2SSIZCLR : longWord;
  8769. DCH2SSIZSET : longWord;
  8770. DCH2SSIZINV : longWord;
  8771. DCH2DSIZ : longWord;
  8772. DCH2DSIZCLR : longWord;
  8773. DCH2DSIZSET : longWord;
  8774. DCH2DSIZINV : longWord;
  8775. DCH2SPTR : longWord;
  8776. DCH2SPTRCLR : longWord;
  8777. DCH2SPTRSET : longWord;
  8778. DCH2SPTRINV : longWord;
  8779. DCH2DPTR : longWord;
  8780. DCH2DPTRCLR : longWord;
  8781. DCH2DPTRSET : longWord;
  8782. DCH2DPTRINV : longWord;
  8783. DCH2CSIZ : longWord;
  8784. DCH2CSIZCLR : longWord;
  8785. DCH2CSIZSET : longWord;
  8786. DCH2CSIZINV : longWord;
  8787. DCH2CPTR : longWord;
  8788. DCH2CPTRCLR : longWord;
  8789. DCH2CPTRSET : longWord;
  8790. DCH2CPTRINV : longWord;
  8791. DCH2DAT : longWord;
  8792. DCH2DATCLR : longWord;
  8793. DCH2DATSET : longWord;
  8794. DCH2DATINV : longWord;
  8795. end;
  8796. TDMAC3_DCH3CON = record
  8797. private
  8798. function getCHAED : TBits_1; inline;
  8799. function getCHAEN : TBits_1; inline;
  8800. function getCHBUSY : TBits_1; inline;
  8801. function getCHCHN : TBits_1; inline;
  8802. function getCHCHNS : TBits_1; inline;
  8803. function getCHEDET : TBits_1; inline;
  8804. function getCHEN : TBits_1; inline;
  8805. function getCHPRI : TBits_2; inline;
  8806. function getw : TBits_32; inline;
  8807. procedure setCHAED(thebits : TBits_1); inline;
  8808. procedure setCHAEN(thebits : TBits_1); inline;
  8809. procedure setCHBUSY(thebits : TBits_1); inline;
  8810. procedure setCHCHN(thebits : TBits_1); inline;
  8811. procedure setCHCHNS(thebits : TBits_1); inline;
  8812. procedure setCHEDET(thebits : TBits_1); inline;
  8813. procedure setCHEN(thebits : TBits_1); inline;
  8814. procedure setCHPRI(thebits : TBits_2); inline;
  8815. procedure setw(thebits : TBits_32); inline;
  8816. public
  8817. procedure clearCHAED; inline;
  8818. procedure clearCHAEN; inline;
  8819. procedure clearCHBUSY; inline;
  8820. procedure clearCHCHN; inline;
  8821. procedure clearCHCHNS; inline;
  8822. procedure clearCHEDET; inline;
  8823. procedure clearCHEN; inline;
  8824. procedure setCHAED; inline;
  8825. procedure setCHAEN; inline;
  8826. procedure setCHBUSY; inline;
  8827. procedure setCHCHN; inline;
  8828. procedure setCHCHNS; inline;
  8829. procedure setCHEDET; inline;
  8830. procedure setCHEN; inline;
  8831. property CHAED : TBits_1 read getCHAED write setCHAED;
  8832. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  8833. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  8834. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  8835. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  8836. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  8837. property CHEN : TBits_1 read getCHEN write setCHEN;
  8838. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  8839. property w : TBits_32 read getw write setw;
  8840. end;
  8841. TDMAC3_DCH3ECON = record
  8842. private
  8843. function getAIRQEN : TBits_1; inline;
  8844. function getCABORT : TBits_1; inline;
  8845. function getCFORCE : TBits_1; inline;
  8846. function getCHAIRQ : TBits_8; inline;
  8847. function getCHSIRQ : TBits_8; inline;
  8848. function getPATEN : TBits_1; inline;
  8849. function getSIRQEN : TBits_1; inline;
  8850. function getw : TBits_32; inline;
  8851. procedure setAIRQEN(thebits : TBits_1); inline;
  8852. procedure setCABORT(thebits : TBits_1); inline;
  8853. procedure setCFORCE(thebits : TBits_1); inline;
  8854. procedure setCHAIRQ(thebits : TBits_8); inline;
  8855. procedure setCHSIRQ(thebits : TBits_8); inline;
  8856. procedure setPATEN(thebits : TBits_1); inline;
  8857. procedure setSIRQEN(thebits : TBits_1); inline;
  8858. procedure setw(thebits : TBits_32); inline;
  8859. public
  8860. procedure clearAIRQEN; inline;
  8861. procedure clearCABORT; inline;
  8862. procedure clearCFORCE; inline;
  8863. procedure clearPATEN; inline;
  8864. procedure clearSIRQEN; inline;
  8865. procedure setAIRQEN; inline;
  8866. procedure setCABORT; inline;
  8867. procedure setCFORCE; inline;
  8868. procedure setPATEN; inline;
  8869. procedure setSIRQEN; inline;
  8870. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  8871. property CABORT : TBits_1 read getCABORT write setCABORT;
  8872. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  8873. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  8874. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  8875. property PATEN : TBits_1 read getPATEN write setPATEN;
  8876. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  8877. property w : TBits_32 read getw write setw;
  8878. end;
  8879. TDMAC3_DCH3INT = record
  8880. private
  8881. function getCHBCIE : TBits_1; inline;
  8882. function getCHBCIF : TBits_1; inline;
  8883. function getCHCCIE : TBits_1; inline;
  8884. function getCHCCIF : TBits_1; inline;
  8885. function getCHDDIE : TBits_1; inline;
  8886. function getCHDDIF : TBits_1; inline;
  8887. function getCHDHIE : TBits_1; inline;
  8888. function getCHDHIF : TBits_1; inline;
  8889. function getCHERIE : TBits_1; inline;
  8890. function getCHERIF : TBits_1; inline;
  8891. function getCHSDIE : TBits_1; inline;
  8892. function getCHSDIF : TBits_1; inline;
  8893. function getCHSHIE : TBits_1; inline;
  8894. function getCHSHIF : TBits_1; inline;
  8895. function getCHTAIE : TBits_1; inline;
  8896. function getCHTAIF : TBits_1; inline;
  8897. function getw : TBits_32; inline;
  8898. procedure setCHBCIE(thebits : TBits_1); inline;
  8899. procedure setCHBCIF(thebits : TBits_1); inline;
  8900. procedure setCHCCIE(thebits : TBits_1); inline;
  8901. procedure setCHCCIF(thebits : TBits_1); inline;
  8902. procedure setCHDDIE(thebits : TBits_1); inline;
  8903. procedure setCHDDIF(thebits : TBits_1); inline;
  8904. procedure setCHDHIE(thebits : TBits_1); inline;
  8905. procedure setCHDHIF(thebits : TBits_1); inline;
  8906. procedure setCHERIE(thebits : TBits_1); inline;
  8907. procedure setCHERIF(thebits : TBits_1); inline;
  8908. procedure setCHSDIE(thebits : TBits_1); inline;
  8909. procedure setCHSDIF(thebits : TBits_1); inline;
  8910. procedure setCHSHIE(thebits : TBits_1); inline;
  8911. procedure setCHSHIF(thebits : TBits_1); inline;
  8912. procedure setCHTAIE(thebits : TBits_1); inline;
  8913. procedure setCHTAIF(thebits : TBits_1); inline;
  8914. procedure setw(thebits : TBits_32); inline;
  8915. public
  8916. procedure clearCHBCIE; inline;
  8917. procedure clearCHBCIF; inline;
  8918. procedure clearCHCCIE; inline;
  8919. procedure clearCHCCIF; inline;
  8920. procedure clearCHDDIE; inline;
  8921. procedure clearCHDDIF; inline;
  8922. procedure clearCHDHIE; inline;
  8923. procedure clearCHDHIF; inline;
  8924. procedure clearCHERIE; inline;
  8925. procedure clearCHERIF; inline;
  8926. procedure clearCHSDIE; inline;
  8927. procedure clearCHSDIF; inline;
  8928. procedure clearCHSHIE; inline;
  8929. procedure clearCHSHIF; inline;
  8930. procedure clearCHTAIE; inline;
  8931. procedure clearCHTAIF; inline;
  8932. procedure setCHBCIE; inline;
  8933. procedure setCHBCIF; inline;
  8934. procedure setCHCCIE; inline;
  8935. procedure setCHCCIF; inline;
  8936. procedure setCHDDIE; inline;
  8937. procedure setCHDDIF; inline;
  8938. procedure setCHDHIE; inline;
  8939. procedure setCHDHIF; inline;
  8940. procedure setCHERIE; inline;
  8941. procedure setCHERIF; inline;
  8942. procedure setCHSDIE; inline;
  8943. procedure setCHSDIF; inline;
  8944. procedure setCHSHIE; inline;
  8945. procedure setCHSHIF; inline;
  8946. procedure setCHTAIE; inline;
  8947. procedure setCHTAIF; inline;
  8948. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  8949. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  8950. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  8951. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  8952. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  8953. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  8954. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  8955. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  8956. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  8957. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  8958. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  8959. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  8960. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  8961. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  8962. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  8963. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  8964. property w : TBits_32 read getw write setw;
  8965. end;
  8966. type
  8967. TDMAC3Registers = record
  8968. DCH3CONbits : TDMAC3_DCH3CON;
  8969. DCH3CON : longWord;
  8970. DCH3CONCLR : longWord;
  8971. DCH3CONSET : longWord;
  8972. DCH3CONINV : longWord;
  8973. DCH3ECONbits : TDMAC3_DCH3ECON;
  8974. DCH3ECON : longWord;
  8975. DCH3ECONCLR : longWord;
  8976. DCH3ECONSET : longWord;
  8977. DCH3ECONINV : longWord;
  8978. DCH3INTbits : TDMAC3_DCH3INT;
  8979. DCH3INT : longWord;
  8980. DCH3INTCLR : longWord;
  8981. DCH3INTSET : longWord;
  8982. DCH3INTINV : longWord;
  8983. DCH3SSA : longWord;
  8984. DCH3SSACLR : longWord;
  8985. DCH3SSASET : longWord;
  8986. DCH3SSAINV : longWord;
  8987. DCH3DSA : longWord;
  8988. DCH3DSACLR : longWord;
  8989. DCH3DSASET : longWord;
  8990. DCH3DSAINV : longWord;
  8991. DCH3SSIZ : longWord;
  8992. DCH3SSIZCLR : longWord;
  8993. DCH3SSIZSET : longWord;
  8994. DCH3SSIZINV : longWord;
  8995. DCH3DSIZ : longWord;
  8996. DCH3DSIZCLR : longWord;
  8997. DCH3DSIZSET : longWord;
  8998. DCH3DSIZINV : longWord;
  8999. DCH3SPTR : longWord;
  9000. DCH3SPTRCLR : longWord;
  9001. DCH3SPTRSET : longWord;
  9002. DCH3SPTRINV : longWord;
  9003. DCH3DPTR : longWord;
  9004. DCH3DPTRCLR : longWord;
  9005. DCH3DPTRSET : longWord;
  9006. DCH3DPTRINV : longWord;
  9007. DCH3CSIZ : longWord;
  9008. DCH3CSIZCLR : longWord;
  9009. DCH3CSIZSET : longWord;
  9010. DCH3CSIZINV : longWord;
  9011. DCH3CPTR : longWord;
  9012. DCH3CPTRCLR : longWord;
  9013. DCH3CPTRSET : longWord;
  9014. DCH3CPTRINV : longWord;
  9015. DCH3DAT : longWord;
  9016. DCH3DATCLR : longWord;
  9017. DCH3DATSET : longWord;
  9018. DCH3DATINV : longWord;
  9019. end;
  9020. TPCACHE_CHECON = record
  9021. private
  9022. function getCHECOH : TBits_1; inline;
  9023. function getDCSZ : TBits_2; inline;
  9024. function getPFMWS : TBits_3; inline;
  9025. function getPREFEN : TBits_2; inline;
  9026. function getw : TBits_32; inline;
  9027. procedure setCHECOH(thebits : TBits_1); inline;
  9028. procedure setDCSZ(thebits : TBits_2); inline;
  9029. procedure setPFMWS(thebits : TBits_3); inline;
  9030. procedure setPREFEN(thebits : TBits_2); inline;
  9031. procedure setw(thebits : TBits_32); inline;
  9032. public
  9033. procedure clearCHECOH; inline;
  9034. procedure setCHECOH; inline;
  9035. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  9036. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  9037. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  9038. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  9039. property w : TBits_32 read getw write setw;
  9040. end;
  9041. TPCACHE_CHETAG = record
  9042. private
  9043. function getLLOCK : TBits_1; inline;
  9044. function getLTAG : TBits_20; inline;
  9045. function getLTAGBOOT : TBits_1; inline;
  9046. function getLTYPE : TBits_1; inline;
  9047. function getLVALID : TBits_1; inline;
  9048. function getw : TBits_32; inline;
  9049. procedure setLLOCK(thebits : TBits_1); inline;
  9050. procedure setLTAG(thebits : TBits_20); inline;
  9051. procedure setLTAGBOOT(thebits : TBits_1); inline;
  9052. procedure setLTYPE(thebits : TBits_1); inline;
  9053. procedure setLVALID(thebits : TBits_1); inline;
  9054. procedure setw(thebits : TBits_32); inline;
  9055. public
  9056. procedure clearLLOCK; inline;
  9057. procedure clearLTAGBOOT; inline;
  9058. procedure clearLTYPE; inline;
  9059. procedure clearLVALID; inline;
  9060. procedure setLLOCK; inline;
  9061. procedure setLTAGBOOT; inline;
  9062. procedure setLTYPE; inline;
  9063. procedure setLVALID; inline;
  9064. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  9065. property LTAG : TBits_20 read getLTAG write setLTAG;
  9066. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  9067. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  9068. property LVALID : TBits_1 read getLVALID write setLVALID;
  9069. property w : TBits_32 read getw write setw;
  9070. end;
  9071. TPCACHE_ANSELA = record
  9072. private
  9073. function getANSA10 : TBits_1; inline;
  9074. function getANSA9 : TBits_1; inline;
  9075. function getw : TBits_32; inline;
  9076. procedure setANSA10(thebits : TBits_1); inline;
  9077. procedure setANSA9(thebits : TBits_1); inline;
  9078. procedure setw(thebits : TBits_32); inline;
  9079. public
  9080. procedure clearANSA10; inline;
  9081. procedure clearANSA9; inline;
  9082. procedure setANSA10; inline;
  9083. procedure setANSA9; inline;
  9084. property ANSA10 : TBits_1 read getANSA10 write setANSA10;
  9085. property ANSA9 : TBits_1 read getANSA9 write setANSA9;
  9086. property w : TBits_32 read getw write setw;
  9087. end;
  9088. TPCACHE_TRISA = record
  9089. private
  9090. function getTRISA0 : TBits_1; inline;
  9091. function getTRISA1 : TBits_1; inline;
  9092. function getTRISA10 : TBits_1; inline;
  9093. function getTRISA14 : TBits_1; inline;
  9094. function getTRISA15 : TBits_1; inline;
  9095. function getTRISA2 : TBits_1; inline;
  9096. function getTRISA3 : TBits_1; inline;
  9097. function getTRISA4 : TBits_1; inline;
  9098. function getTRISA5 : TBits_1; inline;
  9099. function getTRISA6 : TBits_1; inline;
  9100. function getTRISA7 : TBits_1; inline;
  9101. function getTRISA9 : TBits_1; inline;
  9102. function getw : TBits_32; inline;
  9103. procedure setTRISA0(thebits : TBits_1); inline;
  9104. procedure setTRISA1(thebits : TBits_1); inline;
  9105. procedure setTRISA10(thebits : TBits_1); inline;
  9106. procedure setTRISA14(thebits : TBits_1); inline;
  9107. procedure setTRISA15(thebits : TBits_1); inline;
  9108. procedure setTRISA2(thebits : TBits_1); inline;
  9109. procedure setTRISA3(thebits : TBits_1); inline;
  9110. procedure setTRISA4(thebits : TBits_1); inline;
  9111. procedure setTRISA5(thebits : TBits_1); inline;
  9112. procedure setTRISA6(thebits : TBits_1); inline;
  9113. procedure setTRISA7(thebits : TBits_1); inline;
  9114. procedure setTRISA9(thebits : TBits_1); inline;
  9115. procedure setw(thebits : TBits_32); inline;
  9116. public
  9117. procedure clearTRISA0; inline;
  9118. procedure clearTRISA10; inline;
  9119. procedure clearTRISA14; inline;
  9120. procedure clearTRISA15; inline;
  9121. procedure clearTRISA1; inline;
  9122. procedure clearTRISA2; inline;
  9123. procedure clearTRISA3; inline;
  9124. procedure clearTRISA4; inline;
  9125. procedure clearTRISA5; inline;
  9126. procedure clearTRISA6; inline;
  9127. procedure clearTRISA7; inline;
  9128. procedure clearTRISA9; inline;
  9129. procedure setTRISA0; inline;
  9130. procedure setTRISA10; inline;
  9131. procedure setTRISA14; inline;
  9132. procedure setTRISA15; inline;
  9133. procedure setTRISA1; inline;
  9134. procedure setTRISA2; inline;
  9135. procedure setTRISA3; inline;
  9136. procedure setTRISA4; inline;
  9137. procedure setTRISA5; inline;
  9138. procedure setTRISA6; inline;
  9139. procedure setTRISA7; inline;
  9140. procedure setTRISA9; inline;
  9141. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  9142. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  9143. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  9144. property TRISA14 : TBits_1 read getTRISA14 write setTRISA14;
  9145. property TRISA15 : TBits_1 read getTRISA15 write setTRISA15;
  9146. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  9147. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  9148. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  9149. property TRISA5 : TBits_1 read getTRISA5 write setTRISA5;
  9150. property TRISA6 : TBits_1 read getTRISA6 write setTRISA6;
  9151. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  9152. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  9153. property w : TBits_32 read getw write setw;
  9154. end;
  9155. type
  9156. TPCACHERegisters = record
  9157. CHECONbits : TPCACHE_CHECON;
  9158. CHECON : longWord;
  9159. CHECONCLR : longWord;
  9160. CHECONSET : longWord;
  9161. CHECONINV : longWord;
  9162. CHEACC : longWord;
  9163. CHEACCCLR : longWord;
  9164. CHEACCSET : longWord;
  9165. CHEACCINV : longWord;
  9166. CHETAGbits : TPCACHE_CHETAG;
  9167. CHETAG : longWord;
  9168. CHETAGCLR : longWord;
  9169. CHETAGSET : longWord;
  9170. CHETAGINV : longWord;
  9171. CHEMSK : longWord;
  9172. CHEMSKCLR : longWord;
  9173. CHEMSKSET : longWord;
  9174. CHEMSKINV : longWord;
  9175. CHEW0 : longWord;
  9176. CHEW1 : longWord;
  9177. CHEW2 : longWord;
  9178. CHEW3 : longWord;
  9179. CHELRU : longWord;
  9180. CHEHIT : longWord;
  9181. CHEMIS : longWord;
  9182. RESERVED1 : longWord;
  9183. CHEPFABT : longWord;
  9184. ANSELAbits : TPCACHE_ANSELA;
  9185. ANSELA : longWord;
  9186. ANSELACLR : longWord;
  9187. ANSELASET : longWord;
  9188. ANSELAINV : longWord;
  9189. TRISAbits : TPCACHE_TRISA;
  9190. TRISA : longWord;
  9191. TRISACLR : longWord;
  9192. TRISASET : longWord;
  9193. TRISAINV : longWord;
  9194. end;
  9195. TPORTA_PORTA = record
  9196. private
  9197. function getRA0 : TBits_1; inline;
  9198. function getRA1 : TBits_1; inline;
  9199. function getRA10 : TBits_1; inline;
  9200. function getRA14 : TBits_1; inline;
  9201. function getRA15 : TBits_1; inline;
  9202. function getRA2 : TBits_1; inline;
  9203. function getRA3 : TBits_1; inline;
  9204. function getRA4 : TBits_1; inline;
  9205. function getRA5 : TBits_1; inline;
  9206. function getRA6 : TBits_1; inline;
  9207. function getRA7 : TBits_1; inline;
  9208. function getRA9 : TBits_1; inline;
  9209. function getw : TBits_32; inline;
  9210. procedure setRA0(thebits : TBits_1); inline;
  9211. procedure setRA1(thebits : TBits_1); inline;
  9212. procedure setRA10(thebits : TBits_1); inline;
  9213. procedure setRA14(thebits : TBits_1); inline;
  9214. procedure setRA15(thebits : TBits_1); inline;
  9215. procedure setRA2(thebits : TBits_1); inline;
  9216. procedure setRA3(thebits : TBits_1); inline;
  9217. procedure setRA4(thebits : TBits_1); inline;
  9218. procedure setRA5(thebits : TBits_1); inline;
  9219. procedure setRA6(thebits : TBits_1); inline;
  9220. procedure setRA7(thebits : TBits_1); inline;
  9221. procedure setRA9(thebits : TBits_1); inline;
  9222. procedure setw(thebits : TBits_32); inline;
  9223. public
  9224. procedure clearRA0; inline;
  9225. procedure clearRA10; inline;
  9226. procedure clearRA14; inline;
  9227. procedure clearRA15; inline;
  9228. procedure clearRA1; inline;
  9229. procedure clearRA2; inline;
  9230. procedure clearRA3; inline;
  9231. procedure clearRA4; inline;
  9232. procedure clearRA5; inline;
  9233. procedure clearRA6; inline;
  9234. procedure clearRA7; inline;
  9235. procedure clearRA9; inline;
  9236. procedure setRA0; inline;
  9237. procedure setRA10; inline;
  9238. procedure setRA14; inline;
  9239. procedure setRA15; inline;
  9240. procedure setRA1; inline;
  9241. procedure setRA2; inline;
  9242. procedure setRA3; inline;
  9243. procedure setRA4; inline;
  9244. procedure setRA5; inline;
  9245. procedure setRA6; inline;
  9246. procedure setRA7; inline;
  9247. procedure setRA9; inline;
  9248. property RA0 : TBits_1 read getRA0 write setRA0;
  9249. property RA1 : TBits_1 read getRA1 write setRA1;
  9250. property RA10 : TBits_1 read getRA10 write setRA10;
  9251. property RA14 : TBits_1 read getRA14 write setRA14;
  9252. property RA15 : TBits_1 read getRA15 write setRA15;
  9253. property RA2 : TBits_1 read getRA2 write setRA2;
  9254. property RA3 : TBits_1 read getRA3 write setRA3;
  9255. property RA4 : TBits_1 read getRA4 write setRA4;
  9256. property RA5 : TBits_1 read getRA5 write setRA5;
  9257. property RA6 : TBits_1 read getRA6 write setRA6;
  9258. property RA7 : TBits_1 read getRA7 write setRA7;
  9259. property RA9 : TBits_1 read getRA9 write setRA9;
  9260. property w : TBits_32 read getw write setw;
  9261. end;
  9262. 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);
  9263. TPortA_bitset = set of TPortA_bits;
  9264. TPORTA_LATA = record
  9265. private
  9266. function getLATA0 : TBits_1; inline;
  9267. function getLATA1 : TBits_1; inline;
  9268. function getLATA10 : TBits_1; inline;
  9269. function getLATA14 : TBits_1; inline;
  9270. function getLATA15 : TBits_1; inline;
  9271. function getLATA2 : TBits_1; inline;
  9272. function getLATA3 : TBits_1; inline;
  9273. function getLATA4 : TBits_1; inline;
  9274. function getLATA5 : TBits_1; inline;
  9275. function getLATA6 : TBits_1; inline;
  9276. function getLATA7 : TBits_1; inline;
  9277. function getLATA9 : TBits_1; inline;
  9278. function getw : TBits_32; inline;
  9279. procedure setLATA0(thebits : TBits_1); inline;
  9280. procedure setLATA1(thebits : TBits_1); inline;
  9281. procedure setLATA10(thebits : TBits_1); inline;
  9282. procedure setLATA14(thebits : TBits_1); inline;
  9283. procedure setLATA15(thebits : TBits_1); inline;
  9284. procedure setLATA2(thebits : TBits_1); inline;
  9285. procedure setLATA3(thebits : TBits_1); inline;
  9286. procedure setLATA4(thebits : TBits_1); inline;
  9287. procedure setLATA5(thebits : TBits_1); inline;
  9288. procedure setLATA6(thebits : TBits_1); inline;
  9289. procedure setLATA7(thebits : TBits_1); inline;
  9290. procedure setLATA9(thebits : TBits_1); inline;
  9291. procedure setw(thebits : TBits_32); inline;
  9292. public
  9293. procedure clearLATA0; inline;
  9294. procedure clearLATA10; inline;
  9295. procedure clearLATA14; inline;
  9296. procedure clearLATA15; inline;
  9297. procedure clearLATA1; inline;
  9298. procedure clearLATA2; inline;
  9299. procedure clearLATA3; inline;
  9300. procedure clearLATA4; inline;
  9301. procedure clearLATA5; inline;
  9302. procedure clearLATA6; inline;
  9303. procedure clearLATA7; inline;
  9304. procedure clearLATA9; inline;
  9305. procedure setLATA0; inline;
  9306. procedure setLATA10; inline;
  9307. procedure setLATA14; inline;
  9308. procedure setLATA15; inline;
  9309. procedure setLATA1; inline;
  9310. procedure setLATA2; inline;
  9311. procedure setLATA3; inline;
  9312. procedure setLATA4; inline;
  9313. procedure setLATA5; inline;
  9314. procedure setLATA6; inline;
  9315. procedure setLATA7; inline;
  9316. procedure setLATA9; inline;
  9317. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  9318. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  9319. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  9320. property LATA14 : TBits_1 read getLATA14 write setLATA14;
  9321. property LATA15 : TBits_1 read getLATA15 write setLATA15;
  9322. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  9323. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  9324. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  9325. property LATA5 : TBits_1 read getLATA5 write setLATA5;
  9326. property LATA6 : TBits_1 read getLATA6 write setLATA6;
  9327. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  9328. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  9329. property w : TBits_32 read getw write setw;
  9330. end;
  9331. TPORTA_ODCA = record
  9332. private
  9333. function getODCA0 : TBits_1; inline;
  9334. function getODCA1 : TBits_1; inline;
  9335. function getODCA10 : TBits_1; inline;
  9336. function getODCA14 : TBits_1; inline;
  9337. function getODCA15 : TBits_1; inline;
  9338. function getODCA2 : TBits_1; inline;
  9339. function getODCA3 : TBits_1; inline;
  9340. function getODCA4 : TBits_1; inline;
  9341. function getODCA5 : TBits_1; inline;
  9342. function getODCA6 : TBits_1; inline;
  9343. function getODCA7 : TBits_1; inline;
  9344. function getODCA9 : TBits_1; inline;
  9345. function getw : TBits_32; inline;
  9346. procedure setODCA0(thebits : TBits_1); inline;
  9347. procedure setODCA1(thebits : TBits_1); inline;
  9348. procedure setODCA10(thebits : TBits_1); inline;
  9349. procedure setODCA14(thebits : TBits_1); inline;
  9350. procedure setODCA15(thebits : TBits_1); inline;
  9351. procedure setODCA2(thebits : TBits_1); inline;
  9352. procedure setODCA3(thebits : TBits_1); inline;
  9353. procedure setODCA4(thebits : TBits_1); inline;
  9354. procedure setODCA5(thebits : TBits_1); inline;
  9355. procedure setODCA6(thebits : TBits_1); inline;
  9356. procedure setODCA7(thebits : TBits_1); inline;
  9357. procedure setODCA9(thebits : TBits_1); inline;
  9358. procedure setw(thebits : TBits_32); inline;
  9359. public
  9360. procedure clearODCA0; inline;
  9361. procedure clearODCA10; inline;
  9362. procedure clearODCA14; inline;
  9363. procedure clearODCA15; inline;
  9364. procedure clearODCA1; inline;
  9365. procedure clearODCA2; inline;
  9366. procedure clearODCA3; inline;
  9367. procedure clearODCA4; inline;
  9368. procedure clearODCA5; inline;
  9369. procedure clearODCA6; inline;
  9370. procedure clearODCA7; inline;
  9371. procedure clearODCA9; inline;
  9372. procedure setODCA0; inline;
  9373. procedure setODCA10; inline;
  9374. procedure setODCA14; inline;
  9375. procedure setODCA15; inline;
  9376. procedure setODCA1; inline;
  9377. procedure setODCA2; inline;
  9378. procedure setODCA3; inline;
  9379. procedure setODCA4; inline;
  9380. procedure setODCA5; inline;
  9381. procedure setODCA6; inline;
  9382. procedure setODCA7; inline;
  9383. procedure setODCA9; inline;
  9384. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  9385. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  9386. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  9387. property ODCA14 : TBits_1 read getODCA14 write setODCA14;
  9388. property ODCA15 : TBits_1 read getODCA15 write setODCA15;
  9389. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  9390. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  9391. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  9392. property ODCA5 : TBits_1 read getODCA5 write setODCA5;
  9393. property ODCA6 : TBits_1 read getODCA6 write setODCA6;
  9394. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  9395. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  9396. property w : TBits_32 read getw write setw;
  9397. end;
  9398. TPORTA_CNPUA = record
  9399. private
  9400. function getCNPUA0 : TBits_1; inline;
  9401. function getCNPUA1 : TBits_1; inline;
  9402. function getCNPUA10 : TBits_1; inline;
  9403. function getCNPUA14 : TBits_1; inline;
  9404. function getCNPUA15 : TBits_1; inline;
  9405. function getCNPUA2 : TBits_1; inline;
  9406. function getCNPUA3 : TBits_1; inline;
  9407. function getCNPUA4 : TBits_1; inline;
  9408. function getCNPUA5 : TBits_1; inline;
  9409. function getCNPUA6 : TBits_1; inline;
  9410. function getCNPUA7 : TBits_1; inline;
  9411. function getCNPUA9 : TBits_1; inline;
  9412. function getw : TBits_32; inline;
  9413. procedure setCNPUA0(thebits : TBits_1); inline;
  9414. procedure setCNPUA1(thebits : TBits_1); inline;
  9415. procedure setCNPUA10(thebits : TBits_1); inline;
  9416. procedure setCNPUA14(thebits : TBits_1); inline;
  9417. procedure setCNPUA15(thebits : TBits_1); inline;
  9418. procedure setCNPUA2(thebits : TBits_1); inline;
  9419. procedure setCNPUA3(thebits : TBits_1); inline;
  9420. procedure setCNPUA4(thebits : TBits_1); inline;
  9421. procedure setCNPUA5(thebits : TBits_1); inline;
  9422. procedure setCNPUA6(thebits : TBits_1); inline;
  9423. procedure setCNPUA7(thebits : TBits_1); inline;
  9424. procedure setCNPUA9(thebits : TBits_1); inline;
  9425. procedure setw(thebits : TBits_32); inline;
  9426. public
  9427. procedure clearCNPUA0; inline;
  9428. procedure clearCNPUA10; inline;
  9429. procedure clearCNPUA14; inline;
  9430. procedure clearCNPUA15; inline;
  9431. procedure clearCNPUA1; inline;
  9432. procedure clearCNPUA2; inline;
  9433. procedure clearCNPUA3; inline;
  9434. procedure clearCNPUA4; inline;
  9435. procedure clearCNPUA5; inline;
  9436. procedure clearCNPUA6; inline;
  9437. procedure clearCNPUA7; inline;
  9438. procedure clearCNPUA9; inline;
  9439. procedure setCNPUA0; inline;
  9440. procedure setCNPUA10; inline;
  9441. procedure setCNPUA14; inline;
  9442. procedure setCNPUA15; inline;
  9443. procedure setCNPUA1; inline;
  9444. procedure setCNPUA2; inline;
  9445. procedure setCNPUA3; inline;
  9446. procedure setCNPUA4; inline;
  9447. procedure setCNPUA5; inline;
  9448. procedure setCNPUA6; inline;
  9449. procedure setCNPUA7; inline;
  9450. procedure setCNPUA9; inline;
  9451. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  9452. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  9453. property CNPUA10 : TBits_1 read getCNPUA10 write setCNPUA10;
  9454. property CNPUA14 : TBits_1 read getCNPUA14 write setCNPUA14;
  9455. property CNPUA15 : TBits_1 read getCNPUA15 write setCNPUA15;
  9456. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  9457. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  9458. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  9459. property CNPUA5 : TBits_1 read getCNPUA5 write setCNPUA5;
  9460. property CNPUA6 : TBits_1 read getCNPUA6 write setCNPUA6;
  9461. property CNPUA7 : TBits_1 read getCNPUA7 write setCNPUA7;
  9462. property CNPUA9 : TBits_1 read getCNPUA9 write setCNPUA9;
  9463. property w : TBits_32 read getw write setw;
  9464. end;
  9465. TPORTA_CNPDA = record
  9466. private
  9467. function getCNPDA0 : TBits_1; inline;
  9468. function getCNPDA1 : TBits_1; inline;
  9469. function getCNPDA10 : TBits_1; inline;
  9470. function getCNPDA14 : TBits_1; inline;
  9471. function getCNPDA15 : TBits_1; inline;
  9472. function getCNPDA2 : TBits_1; inline;
  9473. function getCNPDA3 : TBits_1; inline;
  9474. function getCNPDA4 : TBits_1; inline;
  9475. function getCNPDA5 : TBits_1; inline;
  9476. function getCNPDA6 : TBits_1; inline;
  9477. function getCNPDA7 : TBits_1; inline;
  9478. function getCNPDA9 : TBits_1; inline;
  9479. function getw : TBits_32; inline;
  9480. procedure setCNPDA0(thebits : TBits_1); inline;
  9481. procedure setCNPDA1(thebits : TBits_1); inline;
  9482. procedure setCNPDA10(thebits : TBits_1); inline;
  9483. procedure setCNPDA14(thebits : TBits_1); inline;
  9484. procedure setCNPDA15(thebits : TBits_1); inline;
  9485. procedure setCNPDA2(thebits : TBits_1); inline;
  9486. procedure setCNPDA3(thebits : TBits_1); inline;
  9487. procedure setCNPDA4(thebits : TBits_1); inline;
  9488. procedure setCNPDA5(thebits : TBits_1); inline;
  9489. procedure setCNPDA6(thebits : TBits_1); inline;
  9490. procedure setCNPDA7(thebits : TBits_1); inline;
  9491. procedure setCNPDA9(thebits : TBits_1); inline;
  9492. procedure setw(thebits : TBits_32); inline;
  9493. public
  9494. procedure clearCNPDA0; inline;
  9495. procedure clearCNPDA10; inline;
  9496. procedure clearCNPDA14; inline;
  9497. procedure clearCNPDA15; inline;
  9498. procedure clearCNPDA1; inline;
  9499. procedure clearCNPDA2; inline;
  9500. procedure clearCNPDA3; inline;
  9501. procedure clearCNPDA4; inline;
  9502. procedure clearCNPDA5; inline;
  9503. procedure clearCNPDA6; inline;
  9504. procedure clearCNPDA7; inline;
  9505. procedure clearCNPDA9; inline;
  9506. procedure setCNPDA0; inline;
  9507. procedure setCNPDA10; inline;
  9508. procedure setCNPDA14; inline;
  9509. procedure setCNPDA15; inline;
  9510. procedure setCNPDA1; inline;
  9511. procedure setCNPDA2; inline;
  9512. procedure setCNPDA3; inline;
  9513. procedure setCNPDA4; inline;
  9514. procedure setCNPDA5; inline;
  9515. procedure setCNPDA6; inline;
  9516. procedure setCNPDA7; inline;
  9517. procedure setCNPDA9; inline;
  9518. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  9519. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  9520. property CNPDA10 : TBits_1 read getCNPDA10 write setCNPDA10;
  9521. property CNPDA14 : TBits_1 read getCNPDA14 write setCNPDA14;
  9522. property CNPDA15 : TBits_1 read getCNPDA15 write setCNPDA15;
  9523. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  9524. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  9525. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  9526. property CNPDA5 : TBits_1 read getCNPDA5 write setCNPDA5;
  9527. property CNPDA6 : TBits_1 read getCNPDA6 write setCNPDA6;
  9528. property CNPDA7 : TBits_1 read getCNPDA7 write setCNPDA7;
  9529. property CNPDA9 : TBits_1 read getCNPDA9 write setCNPDA9;
  9530. property w : TBits_32 read getw write setw;
  9531. end;
  9532. TPORTA_CNCONA = record
  9533. private
  9534. function getON : TBits_1; inline;
  9535. function getSIDL : TBits_1; inline;
  9536. function getw : TBits_32; inline;
  9537. procedure setON(thebits : TBits_1); inline;
  9538. procedure setSIDL(thebits : TBits_1); inline;
  9539. procedure setw(thebits : TBits_32); inline;
  9540. public
  9541. procedure clearON; inline;
  9542. procedure clearSIDL; inline;
  9543. procedure setON; inline;
  9544. procedure setSIDL; inline;
  9545. property ON : TBits_1 read getON write setON;
  9546. property SIDL : TBits_1 read getSIDL write setSIDL;
  9547. property w : TBits_32 read getw write setw;
  9548. end;
  9549. TPORTA_CNENA = record
  9550. private
  9551. function getCNIEA0 : TBits_1; inline;
  9552. function getCNIEA1 : TBits_1; inline;
  9553. function getCNIEA10 : TBits_1; inline;
  9554. function getCNIEA14 : TBits_1; inline;
  9555. function getCNIEA15 : TBits_1; inline;
  9556. function getCNIEA2 : TBits_1; inline;
  9557. function getCNIEA3 : TBits_1; inline;
  9558. function getCNIEA4 : TBits_1; inline;
  9559. function getCNIEA5 : TBits_1; inline;
  9560. function getCNIEA6 : TBits_1; inline;
  9561. function getCNIEA7 : TBits_1; inline;
  9562. function getCNIEA9 : TBits_1; inline;
  9563. function getw : TBits_32; inline;
  9564. procedure setCNIEA0(thebits : TBits_1); inline;
  9565. procedure setCNIEA1(thebits : TBits_1); inline;
  9566. procedure setCNIEA10(thebits : TBits_1); inline;
  9567. procedure setCNIEA14(thebits : TBits_1); inline;
  9568. procedure setCNIEA15(thebits : TBits_1); inline;
  9569. procedure setCNIEA2(thebits : TBits_1); inline;
  9570. procedure setCNIEA3(thebits : TBits_1); inline;
  9571. procedure setCNIEA4(thebits : TBits_1); inline;
  9572. procedure setCNIEA5(thebits : TBits_1); inline;
  9573. procedure setCNIEA6(thebits : TBits_1); inline;
  9574. procedure setCNIEA7(thebits : TBits_1); inline;
  9575. procedure setCNIEA9(thebits : TBits_1); inline;
  9576. procedure setw(thebits : TBits_32); inline;
  9577. public
  9578. procedure clearCNIEA0; inline;
  9579. procedure clearCNIEA10; inline;
  9580. procedure clearCNIEA14; inline;
  9581. procedure clearCNIEA15; inline;
  9582. procedure clearCNIEA1; inline;
  9583. procedure clearCNIEA2; inline;
  9584. procedure clearCNIEA3; inline;
  9585. procedure clearCNIEA4; inline;
  9586. procedure clearCNIEA5; inline;
  9587. procedure clearCNIEA6; inline;
  9588. procedure clearCNIEA7; inline;
  9589. procedure clearCNIEA9; inline;
  9590. procedure setCNIEA0; inline;
  9591. procedure setCNIEA10; inline;
  9592. procedure setCNIEA14; inline;
  9593. procedure setCNIEA15; inline;
  9594. procedure setCNIEA1; inline;
  9595. procedure setCNIEA2; inline;
  9596. procedure setCNIEA3; inline;
  9597. procedure setCNIEA4; inline;
  9598. procedure setCNIEA5; inline;
  9599. procedure setCNIEA6; inline;
  9600. procedure setCNIEA7; inline;
  9601. procedure setCNIEA9; inline;
  9602. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  9603. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  9604. property CNIEA10 : TBits_1 read getCNIEA10 write setCNIEA10;
  9605. property CNIEA14 : TBits_1 read getCNIEA14 write setCNIEA14;
  9606. property CNIEA15 : TBits_1 read getCNIEA15 write setCNIEA15;
  9607. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  9608. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  9609. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  9610. property CNIEA5 : TBits_1 read getCNIEA5 write setCNIEA5;
  9611. property CNIEA6 : TBits_1 read getCNIEA6 write setCNIEA6;
  9612. property CNIEA7 : TBits_1 read getCNIEA7 write setCNIEA7;
  9613. property CNIEA9 : TBits_1 read getCNIEA9 write setCNIEA9;
  9614. property w : TBits_32 read getw write setw;
  9615. end;
  9616. TPORTA_CNSTATA = record
  9617. private
  9618. function getCNSTATA0 : TBits_1; inline;
  9619. function getCNSTATA1 : TBits_1; inline;
  9620. function getCNSTATA10 : TBits_1; inline;
  9621. function getCNSTATA14 : TBits_1; inline;
  9622. function getCNSTATA15 : TBits_1; inline;
  9623. function getCNSTATA2 : TBits_1; inline;
  9624. function getCNSTATA3 : TBits_1; inline;
  9625. function getCNSTATA4 : TBits_1; inline;
  9626. function getCNSTATA5 : TBits_1; inline;
  9627. function getCNSTATA6 : TBits_1; inline;
  9628. function getCNSTATA7 : TBits_1; inline;
  9629. function getCNSTATA9 : TBits_1; inline;
  9630. function getw : TBits_32; inline;
  9631. procedure setCNSTATA0(thebits : TBits_1); inline;
  9632. procedure setCNSTATA1(thebits : TBits_1); inline;
  9633. procedure setCNSTATA10(thebits : TBits_1); inline;
  9634. procedure setCNSTATA14(thebits : TBits_1); inline;
  9635. procedure setCNSTATA15(thebits : TBits_1); inline;
  9636. procedure setCNSTATA2(thebits : TBits_1); inline;
  9637. procedure setCNSTATA3(thebits : TBits_1); inline;
  9638. procedure setCNSTATA4(thebits : TBits_1); inline;
  9639. procedure setCNSTATA5(thebits : TBits_1); inline;
  9640. procedure setCNSTATA6(thebits : TBits_1); inline;
  9641. procedure setCNSTATA7(thebits : TBits_1); inline;
  9642. procedure setCNSTATA9(thebits : TBits_1); inline;
  9643. procedure setw(thebits : TBits_32); inline;
  9644. public
  9645. procedure clearCNSTATA0; inline;
  9646. procedure clearCNSTATA10; inline;
  9647. procedure clearCNSTATA14; inline;
  9648. procedure clearCNSTATA15; inline;
  9649. procedure clearCNSTATA1; inline;
  9650. procedure clearCNSTATA2; inline;
  9651. procedure clearCNSTATA3; inline;
  9652. procedure clearCNSTATA4; inline;
  9653. procedure clearCNSTATA5; inline;
  9654. procedure clearCNSTATA6; inline;
  9655. procedure clearCNSTATA7; inline;
  9656. procedure clearCNSTATA9; inline;
  9657. procedure setCNSTATA0; inline;
  9658. procedure setCNSTATA10; inline;
  9659. procedure setCNSTATA14; inline;
  9660. procedure setCNSTATA15; inline;
  9661. procedure setCNSTATA1; inline;
  9662. procedure setCNSTATA2; inline;
  9663. procedure setCNSTATA3; inline;
  9664. procedure setCNSTATA4; inline;
  9665. procedure setCNSTATA5; inline;
  9666. procedure setCNSTATA6; inline;
  9667. procedure setCNSTATA7; inline;
  9668. procedure setCNSTATA9; inline;
  9669. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  9670. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  9671. property CNSTATA10 : TBits_1 read getCNSTATA10 write setCNSTATA10;
  9672. property CNSTATA14 : TBits_1 read getCNSTATA14 write setCNSTATA14;
  9673. property CNSTATA15 : TBits_1 read getCNSTATA15 write setCNSTATA15;
  9674. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  9675. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  9676. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  9677. property CNSTATA5 : TBits_1 read getCNSTATA5 write setCNSTATA5;
  9678. property CNSTATA6 : TBits_1 read getCNSTATA6 write setCNSTATA6;
  9679. property CNSTATA7 : TBits_1 read getCNSTATA7 write setCNSTATA7;
  9680. property CNSTATA9 : TBits_1 read getCNSTATA9 write setCNSTATA9;
  9681. property w : TBits_32 read getw write setw;
  9682. end;
  9683. TPORTA_ANSELB = record
  9684. private
  9685. function getANSB0 : TBits_1; inline;
  9686. function getANSB1 : TBits_1; inline;
  9687. function getANSB10 : TBits_1; inline;
  9688. function getANSB11 : TBits_1; inline;
  9689. function getANSB12 : TBits_1; inline;
  9690. function getANSB13 : TBits_1; inline;
  9691. function getANSB14 : TBits_1; inline;
  9692. function getANSB15 : TBits_1; inline;
  9693. function getANSB2 : TBits_1; inline;
  9694. function getANSB3 : TBits_1; inline;
  9695. function getANSB4 : TBits_1; inline;
  9696. function getANSB5 : TBits_1; inline;
  9697. function getANSB6 : TBits_1; inline;
  9698. function getANSB7 : TBits_1; inline;
  9699. function getANSB8 : TBits_1; inline;
  9700. function getANSB9 : TBits_1; inline;
  9701. function getw : TBits_32; inline;
  9702. procedure setANSB0(thebits : TBits_1); inline;
  9703. procedure setANSB1(thebits : TBits_1); inline;
  9704. procedure setANSB10(thebits : TBits_1); inline;
  9705. procedure setANSB11(thebits : TBits_1); inline;
  9706. procedure setANSB12(thebits : TBits_1); inline;
  9707. procedure setANSB13(thebits : TBits_1); inline;
  9708. procedure setANSB14(thebits : TBits_1); inline;
  9709. procedure setANSB15(thebits : TBits_1); inline;
  9710. procedure setANSB2(thebits : TBits_1); inline;
  9711. procedure setANSB3(thebits : TBits_1); inline;
  9712. procedure setANSB4(thebits : TBits_1); inline;
  9713. procedure setANSB5(thebits : TBits_1); inline;
  9714. procedure setANSB6(thebits : TBits_1); inline;
  9715. procedure setANSB7(thebits : TBits_1); inline;
  9716. procedure setANSB8(thebits : TBits_1); inline;
  9717. procedure setANSB9(thebits : TBits_1); inline;
  9718. procedure setw(thebits : TBits_32); inline;
  9719. public
  9720. procedure clearANSB0; inline;
  9721. procedure clearANSB10; inline;
  9722. procedure clearANSB11; inline;
  9723. procedure clearANSB12; inline;
  9724. procedure clearANSB13; inline;
  9725. procedure clearANSB14; inline;
  9726. procedure clearANSB15; inline;
  9727. procedure clearANSB1; inline;
  9728. procedure clearANSB2; inline;
  9729. procedure clearANSB3; inline;
  9730. procedure clearANSB4; inline;
  9731. procedure clearANSB5; inline;
  9732. procedure clearANSB6; inline;
  9733. procedure clearANSB7; inline;
  9734. procedure clearANSB8; inline;
  9735. procedure clearANSB9; inline;
  9736. procedure setANSB0; inline;
  9737. procedure setANSB10; inline;
  9738. procedure setANSB11; inline;
  9739. procedure setANSB12; inline;
  9740. procedure setANSB13; inline;
  9741. procedure setANSB14; inline;
  9742. procedure setANSB15; inline;
  9743. procedure setANSB1; inline;
  9744. procedure setANSB2; inline;
  9745. procedure setANSB3; inline;
  9746. procedure setANSB4; inline;
  9747. procedure setANSB5; inline;
  9748. procedure setANSB6; inline;
  9749. procedure setANSB7; inline;
  9750. procedure setANSB8; inline;
  9751. procedure setANSB9; inline;
  9752. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  9753. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  9754. property ANSB10 : TBits_1 read getANSB10 write setANSB10;
  9755. property ANSB11 : TBits_1 read getANSB11 write setANSB11;
  9756. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  9757. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  9758. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  9759. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  9760. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  9761. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  9762. property ANSB4 : TBits_1 read getANSB4 write setANSB4;
  9763. property ANSB5 : TBits_1 read getANSB5 write setANSB5;
  9764. property ANSB6 : TBits_1 read getANSB6 write setANSB6;
  9765. property ANSB7 : TBits_1 read getANSB7 write setANSB7;
  9766. property ANSB8 : TBits_1 read getANSB8 write setANSB8;
  9767. property ANSB9 : TBits_1 read getANSB9 write setANSB9;
  9768. property w : TBits_32 read getw write setw;
  9769. end;
  9770. TPORTA_TRISB = record
  9771. private
  9772. function getTRISB0 : TBits_1; inline;
  9773. function getTRISB1 : TBits_1; inline;
  9774. function getTRISB10 : TBits_1; inline;
  9775. function getTRISB11 : TBits_1; inline;
  9776. function getTRISB12 : TBits_1; inline;
  9777. function getTRISB13 : TBits_1; inline;
  9778. function getTRISB14 : TBits_1; inline;
  9779. function getTRISB15 : TBits_1; inline;
  9780. function getTRISB2 : TBits_1; inline;
  9781. function getTRISB3 : TBits_1; inline;
  9782. function getTRISB4 : TBits_1; inline;
  9783. function getTRISB5 : TBits_1; inline;
  9784. function getTRISB6 : TBits_1; inline;
  9785. function getTRISB7 : TBits_1; inline;
  9786. function getTRISB8 : TBits_1; inline;
  9787. function getTRISB9 : TBits_1; inline;
  9788. function getw : TBits_32; inline;
  9789. procedure setTRISB0(thebits : TBits_1); inline;
  9790. procedure setTRISB1(thebits : TBits_1); inline;
  9791. procedure setTRISB10(thebits : TBits_1); inline;
  9792. procedure setTRISB11(thebits : TBits_1); inline;
  9793. procedure setTRISB12(thebits : TBits_1); inline;
  9794. procedure setTRISB13(thebits : TBits_1); inline;
  9795. procedure setTRISB14(thebits : TBits_1); inline;
  9796. procedure setTRISB15(thebits : TBits_1); inline;
  9797. procedure setTRISB2(thebits : TBits_1); inline;
  9798. procedure setTRISB3(thebits : TBits_1); inline;
  9799. procedure setTRISB4(thebits : TBits_1); inline;
  9800. procedure setTRISB5(thebits : TBits_1); inline;
  9801. procedure setTRISB6(thebits : TBits_1); inline;
  9802. procedure setTRISB7(thebits : TBits_1); inline;
  9803. procedure setTRISB8(thebits : TBits_1); inline;
  9804. procedure setTRISB9(thebits : TBits_1); inline;
  9805. procedure setw(thebits : TBits_32); inline;
  9806. public
  9807. procedure clearTRISB0; inline;
  9808. procedure clearTRISB10; inline;
  9809. procedure clearTRISB11; inline;
  9810. procedure clearTRISB12; inline;
  9811. procedure clearTRISB13; inline;
  9812. procedure clearTRISB14; inline;
  9813. procedure clearTRISB15; inline;
  9814. procedure clearTRISB1; inline;
  9815. procedure clearTRISB2; inline;
  9816. procedure clearTRISB3; inline;
  9817. procedure clearTRISB4; inline;
  9818. procedure clearTRISB5; inline;
  9819. procedure clearTRISB6; inline;
  9820. procedure clearTRISB7; inline;
  9821. procedure clearTRISB8; inline;
  9822. procedure clearTRISB9; inline;
  9823. procedure setTRISB0; inline;
  9824. procedure setTRISB10; inline;
  9825. procedure setTRISB11; inline;
  9826. procedure setTRISB12; inline;
  9827. procedure setTRISB13; inline;
  9828. procedure setTRISB14; inline;
  9829. procedure setTRISB15; inline;
  9830. procedure setTRISB1; inline;
  9831. procedure setTRISB2; inline;
  9832. procedure setTRISB3; inline;
  9833. procedure setTRISB4; inline;
  9834. procedure setTRISB5; inline;
  9835. procedure setTRISB6; inline;
  9836. procedure setTRISB7; inline;
  9837. procedure setTRISB8; inline;
  9838. procedure setTRISB9; inline;
  9839. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  9840. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  9841. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  9842. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  9843. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  9844. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  9845. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  9846. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  9847. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  9848. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  9849. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  9850. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  9851. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  9852. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  9853. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  9854. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  9855. property w : TBits_32 read getw write setw;
  9856. end;
  9857. type
  9858. TPORTARegisters = record
  9859. PORTAbits : TPORTA_PORTA;
  9860. PORTA : longWord;
  9861. PORTACLR : longWord;
  9862. PORTASET : longWord;
  9863. PORTAINV : longWord;
  9864. LATAbits : TPORTA_LATA;
  9865. LATA : longWord;
  9866. LATACLR : longWord;
  9867. LATASET : longWord;
  9868. LATAINV : longWord;
  9869. ODCAbits : TPORTA_ODCA;
  9870. ODCA : longWord;
  9871. ODCACLR : longWord;
  9872. ODCASET : longWord;
  9873. ODCAINV : longWord;
  9874. CNPUAbits : TPORTA_CNPUA;
  9875. CNPUA : longWord;
  9876. CNPUACLR : longWord;
  9877. CNPUASET : longWord;
  9878. CNPUAINV : longWord;
  9879. CNPDAbits : TPORTA_CNPDA;
  9880. CNPDA : longWord;
  9881. CNPDACLR : longWord;
  9882. CNPDASET : longWord;
  9883. CNPDAINV : longWord;
  9884. CNCONAbits : TPORTA_CNCONA;
  9885. CNCONA : longWord;
  9886. CNCONACLR : longWord;
  9887. CNCONASET : longWord;
  9888. CNCONAINV : longWord;
  9889. CNENAbits : TPORTA_CNENA;
  9890. CNENA : longWord;
  9891. CNENACLR : longWord;
  9892. CNENASET : longWord;
  9893. CNENAINV : longWord;
  9894. CNSTATAbits : TPORTA_CNSTATA;
  9895. CNSTATA : longWord;
  9896. CNSTATACLR : longWord;
  9897. CNSTATASET : longWord;
  9898. CNSTATAINV : longWord;
  9899. ANSELBbits : TPORTA_ANSELB;
  9900. ANSELB : longWord;
  9901. ANSELBCLR : longWord;
  9902. ANSELBSET : longWord;
  9903. ANSELBINV : longWord;
  9904. TRISBbits : TPORTA_TRISB;
  9905. TRISB : longWord;
  9906. TRISBCLR : longWord;
  9907. TRISBSET : longWord;
  9908. TRISBINV : longWord;
  9909. end;
  9910. TPORTB_PORTB = record
  9911. private
  9912. function getRB0 : TBits_1; inline;
  9913. function getRB1 : TBits_1; inline;
  9914. function getRB10 : TBits_1; inline;
  9915. function getRB11 : TBits_1; inline;
  9916. function getRB12 : TBits_1; inline;
  9917. function getRB13 : TBits_1; inline;
  9918. function getRB14 : TBits_1; inline;
  9919. function getRB15 : TBits_1; inline;
  9920. function getRB2 : TBits_1; inline;
  9921. function getRB3 : TBits_1; inline;
  9922. function getRB4 : TBits_1; inline;
  9923. function getRB5 : TBits_1; inline;
  9924. function getRB6 : TBits_1; inline;
  9925. function getRB7 : TBits_1; inline;
  9926. function getRB8 : TBits_1; inline;
  9927. function getRB9 : TBits_1; inline;
  9928. function getw : TBits_32; inline;
  9929. procedure setRB0(thebits : TBits_1); inline;
  9930. procedure setRB1(thebits : TBits_1); inline;
  9931. procedure setRB10(thebits : TBits_1); inline;
  9932. procedure setRB11(thebits : TBits_1); inline;
  9933. procedure setRB12(thebits : TBits_1); inline;
  9934. procedure setRB13(thebits : TBits_1); inline;
  9935. procedure setRB14(thebits : TBits_1); inline;
  9936. procedure setRB15(thebits : TBits_1); inline;
  9937. procedure setRB2(thebits : TBits_1); inline;
  9938. procedure setRB3(thebits : TBits_1); inline;
  9939. procedure setRB4(thebits : TBits_1); inline;
  9940. procedure setRB5(thebits : TBits_1); inline;
  9941. procedure setRB6(thebits : TBits_1); inline;
  9942. procedure setRB7(thebits : TBits_1); inline;
  9943. procedure setRB8(thebits : TBits_1); inline;
  9944. procedure setRB9(thebits : TBits_1); inline;
  9945. procedure setw(thebits : TBits_32); inline;
  9946. public
  9947. procedure clearRB0; inline;
  9948. procedure clearRB10; inline;
  9949. procedure clearRB11; inline;
  9950. procedure clearRB12; inline;
  9951. procedure clearRB13; inline;
  9952. procedure clearRB14; inline;
  9953. procedure clearRB15; inline;
  9954. procedure clearRB1; inline;
  9955. procedure clearRB2; inline;
  9956. procedure clearRB3; inline;
  9957. procedure clearRB4; inline;
  9958. procedure clearRB5; inline;
  9959. procedure clearRB6; inline;
  9960. procedure clearRB7; inline;
  9961. procedure clearRB8; inline;
  9962. procedure clearRB9; inline;
  9963. procedure setRB0; inline;
  9964. procedure setRB10; inline;
  9965. procedure setRB11; inline;
  9966. procedure setRB12; inline;
  9967. procedure setRB13; inline;
  9968. procedure setRB14; inline;
  9969. procedure setRB15; inline;
  9970. procedure setRB1; inline;
  9971. procedure setRB2; inline;
  9972. procedure setRB3; inline;
  9973. procedure setRB4; inline;
  9974. procedure setRB5; inline;
  9975. procedure setRB6; inline;
  9976. procedure setRB7; inline;
  9977. procedure setRB8; inline;
  9978. procedure setRB9; inline;
  9979. property RB0 : TBits_1 read getRB0 write setRB0;
  9980. property RB1 : TBits_1 read getRB1 write setRB1;
  9981. property RB10 : TBits_1 read getRB10 write setRB10;
  9982. property RB11 : TBits_1 read getRB11 write setRB11;
  9983. property RB12 : TBits_1 read getRB12 write setRB12;
  9984. property RB13 : TBits_1 read getRB13 write setRB13;
  9985. property RB14 : TBits_1 read getRB14 write setRB14;
  9986. property RB15 : TBits_1 read getRB15 write setRB15;
  9987. property RB2 : TBits_1 read getRB2 write setRB2;
  9988. property RB3 : TBits_1 read getRB3 write setRB3;
  9989. property RB4 : TBits_1 read getRB4 write setRB4;
  9990. property RB5 : TBits_1 read getRB5 write setRB5;
  9991. property RB6 : TBits_1 read getRB6 write setRB6;
  9992. property RB7 : TBits_1 read getRB7 write setRB7;
  9993. property RB8 : TBits_1 read getRB8 write setRB8;
  9994. property RB9 : TBits_1 read getRB9 write setRB9;
  9995. property w : TBits_32 read getw write setw;
  9996. end;
  9997. 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);
  9998. TPortB_bitset = set of TPortB_bits;
  9999. TPORTB_LATB = record
  10000. private
  10001. function getLATB0 : TBits_1; inline;
  10002. function getLATB1 : TBits_1; inline;
  10003. function getLATB10 : TBits_1; inline;
  10004. function getLATB11 : TBits_1; inline;
  10005. function getLATB12 : TBits_1; inline;
  10006. function getLATB13 : TBits_1; inline;
  10007. function getLATB14 : TBits_1; inline;
  10008. function getLATB15 : TBits_1; inline;
  10009. function getLATB2 : TBits_1; inline;
  10010. function getLATB3 : TBits_1; inline;
  10011. function getLATB4 : TBits_1; inline;
  10012. function getLATB5 : TBits_1; inline;
  10013. function getLATB6 : TBits_1; inline;
  10014. function getLATB7 : TBits_1; inline;
  10015. function getLATB8 : TBits_1; inline;
  10016. function getLATB9 : TBits_1; inline;
  10017. function getw : TBits_32; inline;
  10018. procedure setLATB0(thebits : TBits_1); inline;
  10019. procedure setLATB1(thebits : TBits_1); inline;
  10020. procedure setLATB10(thebits : TBits_1); inline;
  10021. procedure setLATB11(thebits : TBits_1); inline;
  10022. procedure setLATB12(thebits : TBits_1); inline;
  10023. procedure setLATB13(thebits : TBits_1); inline;
  10024. procedure setLATB14(thebits : TBits_1); inline;
  10025. procedure setLATB15(thebits : TBits_1); inline;
  10026. procedure setLATB2(thebits : TBits_1); inline;
  10027. procedure setLATB3(thebits : TBits_1); inline;
  10028. procedure setLATB4(thebits : TBits_1); inline;
  10029. procedure setLATB5(thebits : TBits_1); inline;
  10030. procedure setLATB6(thebits : TBits_1); inline;
  10031. procedure setLATB7(thebits : TBits_1); inline;
  10032. procedure setLATB8(thebits : TBits_1); inline;
  10033. procedure setLATB9(thebits : TBits_1); inline;
  10034. procedure setw(thebits : TBits_32); inline;
  10035. public
  10036. procedure clearLATB0; inline;
  10037. procedure clearLATB10; inline;
  10038. procedure clearLATB11; inline;
  10039. procedure clearLATB12; inline;
  10040. procedure clearLATB13; inline;
  10041. procedure clearLATB14; inline;
  10042. procedure clearLATB15; inline;
  10043. procedure clearLATB1; inline;
  10044. procedure clearLATB2; inline;
  10045. procedure clearLATB3; inline;
  10046. procedure clearLATB4; inline;
  10047. procedure clearLATB5; inline;
  10048. procedure clearLATB6; inline;
  10049. procedure clearLATB7; inline;
  10050. procedure clearLATB8; inline;
  10051. procedure clearLATB9; inline;
  10052. procedure setLATB0; inline;
  10053. procedure setLATB10; inline;
  10054. procedure setLATB11; inline;
  10055. procedure setLATB12; inline;
  10056. procedure setLATB13; inline;
  10057. procedure setLATB14; inline;
  10058. procedure setLATB15; inline;
  10059. procedure setLATB1; inline;
  10060. procedure setLATB2; inline;
  10061. procedure setLATB3; inline;
  10062. procedure setLATB4; inline;
  10063. procedure setLATB5; inline;
  10064. procedure setLATB6; inline;
  10065. procedure setLATB7; inline;
  10066. procedure setLATB8; inline;
  10067. procedure setLATB9; inline;
  10068. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  10069. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  10070. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  10071. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  10072. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  10073. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  10074. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  10075. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  10076. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  10077. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  10078. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  10079. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  10080. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  10081. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  10082. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  10083. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  10084. property w : TBits_32 read getw write setw;
  10085. end;
  10086. TPORTB_ODCB = record
  10087. private
  10088. function getODCB0 : TBits_1; inline;
  10089. function getODCB1 : TBits_1; inline;
  10090. function getODCB10 : TBits_1; inline;
  10091. function getODCB11 : TBits_1; inline;
  10092. function getODCB12 : TBits_1; inline;
  10093. function getODCB13 : TBits_1; inline;
  10094. function getODCB14 : TBits_1; inline;
  10095. function getODCB15 : TBits_1; inline;
  10096. function getODCB2 : TBits_1; inline;
  10097. function getODCB3 : TBits_1; inline;
  10098. function getODCB4 : TBits_1; inline;
  10099. function getODCB5 : TBits_1; inline;
  10100. function getODCB6 : TBits_1; inline;
  10101. function getODCB7 : TBits_1; inline;
  10102. function getODCB8 : TBits_1; inline;
  10103. function getODCB9 : TBits_1; inline;
  10104. function getw : TBits_32; inline;
  10105. procedure setODCB0(thebits : TBits_1); inline;
  10106. procedure setODCB1(thebits : TBits_1); inline;
  10107. procedure setODCB10(thebits : TBits_1); inline;
  10108. procedure setODCB11(thebits : TBits_1); inline;
  10109. procedure setODCB12(thebits : TBits_1); inline;
  10110. procedure setODCB13(thebits : TBits_1); inline;
  10111. procedure setODCB14(thebits : TBits_1); inline;
  10112. procedure setODCB15(thebits : TBits_1); inline;
  10113. procedure setODCB2(thebits : TBits_1); inline;
  10114. procedure setODCB3(thebits : TBits_1); inline;
  10115. procedure setODCB4(thebits : TBits_1); inline;
  10116. procedure setODCB5(thebits : TBits_1); inline;
  10117. procedure setODCB6(thebits : TBits_1); inline;
  10118. procedure setODCB7(thebits : TBits_1); inline;
  10119. procedure setODCB8(thebits : TBits_1); inline;
  10120. procedure setODCB9(thebits : TBits_1); inline;
  10121. procedure setw(thebits : TBits_32); inline;
  10122. public
  10123. procedure clearODCB0; inline;
  10124. procedure clearODCB10; inline;
  10125. procedure clearODCB11; inline;
  10126. procedure clearODCB12; inline;
  10127. procedure clearODCB13; inline;
  10128. procedure clearODCB14; inline;
  10129. procedure clearODCB15; inline;
  10130. procedure clearODCB1; inline;
  10131. procedure clearODCB2; inline;
  10132. procedure clearODCB3; inline;
  10133. procedure clearODCB4; inline;
  10134. procedure clearODCB5; inline;
  10135. procedure clearODCB6; inline;
  10136. procedure clearODCB7; inline;
  10137. procedure clearODCB8; inline;
  10138. procedure clearODCB9; inline;
  10139. procedure setODCB0; inline;
  10140. procedure setODCB10; inline;
  10141. procedure setODCB11; inline;
  10142. procedure setODCB12; inline;
  10143. procedure setODCB13; inline;
  10144. procedure setODCB14; inline;
  10145. procedure setODCB15; inline;
  10146. procedure setODCB1; inline;
  10147. procedure setODCB2; inline;
  10148. procedure setODCB3; inline;
  10149. procedure setODCB4; inline;
  10150. procedure setODCB5; inline;
  10151. procedure setODCB6; inline;
  10152. procedure setODCB7; inline;
  10153. procedure setODCB8; inline;
  10154. procedure setODCB9; inline;
  10155. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  10156. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  10157. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  10158. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  10159. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  10160. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  10161. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  10162. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  10163. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  10164. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  10165. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  10166. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  10167. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  10168. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  10169. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  10170. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  10171. property w : TBits_32 read getw write setw;
  10172. end;
  10173. TPORTB_CNPUB = record
  10174. private
  10175. function getCNPUB0 : TBits_1; inline;
  10176. function getCNPUB1 : TBits_1; inline;
  10177. function getCNPUB10 : TBits_1; inline;
  10178. function getCNPUB11 : TBits_1; inline;
  10179. function getCNPUB12 : TBits_1; inline;
  10180. function getCNPUB13 : TBits_1; inline;
  10181. function getCNPUB14 : TBits_1; inline;
  10182. function getCNPUB15 : TBits_1; inline;
  10183. function getCNPUB2 : TBits_1; inline;
  10184. function getCNPUB3 : TBits_1; inline;
  10185. function getCNPUB4 : TBits_1; inline;
  10186. function getCNPUB5 : TBits_1; inline;
  10187. function getCNPUB6 : TBits_1; inline;
  10188. function getCNPUB7 : TBits_1; inline;
  10189. function getCNPUB8 : TBits_1; inline;
  10190. function getCNPUB9 : TBits_1; inline;
  10191. function getw : TBits_32; inline;
  10192. procedure setCNPUB0(thebits : TBits_1); inline;
  10193. procedure setCNPUB1(thebits : TBits_1); inline;
  10194. procedure setCNPUB10(thebits : TBits_1); inline;
  10195. procedure setCNPUB11(thebits : TBits_1); inline;
  10196. procedure setCNPUB12(thebits : TBits_1); inline;
  10197. procedure setCNPUB13(thebits : TBits_1); inline;
  10198. procedure setCNPUB14(thebits : TBits_1); inline;
  10199. procedure setCNPUB15(thebits : TBits_1); inline;
  10200. procedure setCNPUB2(thebits : TBits_1); inline;
  10201. procedure setCNPUB3(thebits : TBits_1); inline;
  10202. procedure setCNPUB4(thebits : TBits_1); inline;
  10203. procedure setCNPUB5(thebits : TBits_1); inline;
  10204. procedure setCNPUB6(thebits : TBits_1); inline;
  10205. procedure setCNPUB7(thebits : TBits_1); inline;
  10206. procedure setCNPUB8(thebits : TBits_1); inline;
  10207. procedure setCNPUB9(thebits : TBits_1); inline;
  10208. procedure setw(thebits : TBits_32); inline;
  10209. public
  10210. procedure clearCNPUB0; inline;
  10211. procedure clearCNPUB10; inline;
  10212. procedure clearCNPUB11; inline;
  10213. procedure clearCNPUB12; inline;
  10214. procedure clearCNPUB13; inline;
  10215. procedure clearCNPUB14; inline;
  10216. procedure clearCNPUB15; inline;
  10217. procedure clearCNPUB1; inline;
  10218. procedure clearCNPUB2; inline;
  10219. procedure clearCNPUB3; inline;
  10220. procedure clearCNPUB4; inline;
  10221. procedure clearCNPUB5; inline;
  10222. procedure clearCNPUB6; inline;
  10223. procedure clearCNPUB7; inline;
  10224. procedure clearCNPUB8; inline;
  10225. procedure clearCNPUB9; inline;
  10226. procedure setCNPUB0; inline;
  10227. procedure setCNPUB10; inline;
  10228. procedure setCNPUB11; inline;
  10229. procedure setCNPUB12; inline;
  10230. procedure setCNPUB13; inline;
  10231. procedure setCNPUB14; inline;
  10232. procedure setCNPUB15; inline;
  10233. procedure setCNPUB1; inline;
  10234. procedure setCNPUB2; inline;
  10235. procedure setCNPUB3; inline;
  10236. procedure setCNPUB4; inline;
  10237. procedure setCNPUB5; inline;
  10238. procedure setCNPUB6; inline;
  10239. procedure setCNPUB7; inline;
  10240. procedure setCNPUB8; inline;
  10241. procedure setCNPUB9; inline;
  10242. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  10243. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  10244. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  10245. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  10246. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  10247. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  10248. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  10249. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  10250. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  10251. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  10252. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  10253. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  10254. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  10255. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  10256. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  10257. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  10258. property w : TBits_32 read getw write setw;
  10259. end;
  10260. TPORTB_CNPDB = record
  10261. private
  10262. function getCNPDB0 : TBits_1; inline;
  10263. function getCNPDB1 : TBits_1; inline;
  10264. function getCNPDB10 : TBits_1; inline;
  10265. function getCNPDB11 : TBits_1; inline;
  10266. function getCNPDB12 : TBits_1; inline;
  10267. function getCNPDB13 : TBits_1; inline;
  10268. function getCNPDB14 : TBits_1; inline;
  10269. function getCNPDB15 : TBits_1; inline;
  10270. function getCNPDB2 : TBits_1; inline;
  10271. function getCNPDB3 : TBits_1; inline;
  10272. function getCNPDB4 : TBits_1; inline;
  10273. function getCNPDB5 : TBits_1; inline;
  10274. function getCNPDB6 : TBits_1; inline;
  10275. function getCNPDB7 : TBits_1; inline;
  10276. function getCNPDB8 : TBits_1; inline;
  10277. function getCNPDB9 : TBits_1; inline;
  10278. function getw : TBits_32; inline;
  10279. procedure setCNPDB0(thebits : TBits_1); inline;
  10280. procedure setCNPDB1(thebits : TBits_1); inline;
  10281. procedure setCNPDB10(thebits : TBits_1); inline;
  10282. procedure setCNPDB11(thebits : TBits_1); inline;
  10283. procedure setCNPDB12(thebits : TBits_1); inline;
  10284. procedure setCNPDB13(thebits : TBits_1); inline;
  10285. procedure setCNPDB14(thebits : TBits_1); inline;
  10286. procedure setCNPDB15(thebits : TBits_1); inline;
  10287. procedure setCNPDB2(thebits : TBits_1); inline;
  10288. procedure setCNPDB3(thebits : TBits_1); inline;
  10289. procedure setCNPDB4(thebits : TBits_1); inline;
  10290. procedure setCNPDB5(thebits : TBits_1); inline;
  10291. procedure setCNPDB6(thebits : TBits_1); inline;
  10292. procedure setCNPDB7(thebits : TBits_1); inline;
  10293. procedure setCNPDB8(thebits : TBits_1); inline;
  10294. procedure setCNPDB9(thebits : TBits_1); inline;
  10295. procedure setw(thebits : TBits_32); inline;
  10296. public
  10297. procedure clearCNPDB0; inline;
  10298. procedure clearCNPDB10; inline;
  10299. procedure clearCNPDB11; inline;
  10300. procedure clearCNPDB12; inline;
  10301. procedure clearCNPDB13; inline;
  10302. procedure clearCNPDB14; inline;
  10303. procedure clearCNPDB15; inline;
  10304. procedure clearCNPDB1; inline;
  10305. procedure clearCNPDB2; inline;
  10306. procedure clearCNPDB3; inline;
  10307. procedure clearCNPDB4; inline;
  10308. procedure clearCNPDB5; inline;
  10309. procedure clearCNPDB6; inline;
  10310. procedure clearCNPDB7; inline;
  10311. procedure clearCNPDB8; inline;
  10312. procedure clearCNPDB9; inline;
  10313. procedure setCNPDB0; inline;
  10314. procedure setCNPDB10; inline;
  10315. procedure setCNPDB11; inline;
  10316. procedure setCNPDB12; inline;
  10317. procedure setCNPDB13; inline;
  10318. procedure setCNPDB14; inline;
  10319. procedure setCNPDB15; inline;
  10320. procedure setCNPDB1; inline;
  10321. procedure setCNPDB2; inline;
  10322. procedure setCNPDB3; inline;
  10323. procedure setCNPDB4; inline;
  10324. procedure setCNPDB5; inline;
  10325. procedure setCNPDB6; inline;
  10326. procedure setCNPDB7; inline;
  10327. procedure setCNPDB8; inline;
  10328. procedure setCNPDB9; inline;
  10329. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  10330. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  10331. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  10332. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  10333. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  10334. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  10335. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  10336. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  10337. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  10338. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  10339. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  10340. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  10341. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  10342. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  10343. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  10344. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  10345. property w : TBits_32 read getw write setw;
  10346. end;
  10347. TPORTB_CNCONB = record
  10348. private
  10349. function getON : TBits_1; inline;
  10350. function getSIDL : TBits_1; inline;
  10351. function getw : TBits_32; inline;
  10352. procedure setON(thebits : TBits_1); inline;
  10353. procedure setSIDL(thebits : TBits_1); inline;
  10354. procedure setw(thebits : TBits_32); inline;
  10355. public
  10356. procedure clearON; inline;
  10357. procedure clearSIDL; inline;
  10358. procedure setON; inline;
  10359. procedure setSIDL; inline;
  10360. property ON : TBits_1 read getON write setON;
  10361. property SIDL : TBits_1 read getSIDL write setSIDL;
  10362. property w : TBits_32 read getw write setw;
  10363. end;
  10364. TPORTB_CNENB = record
  10365. private
  10366. function getCNIEB0 : TBits_1; inline;
  10367. function getCNIEB1 : TBits_1; inline;
  10368. function getCNIEB10 : TBits_1; inline;
  10369. function getCNIEB11 : TBits_1; inline;
  10370. function getCNIEB12 : TBits_1; inline;
  10371. function getCNIEB13 : TBits_1; inline;
  10372. function getCNIEB14 : TBits_1; inline;
  10373. function getCNIEB15 : TBits_1; inline;
  10374. function getCNIEB2 : TBits_1; inline;
  10375. function getCNIEB3 : TBits_1; inline;
  10376. function getCNIEB4 : TBits_1; inline;
  10377. function getCNIEB5 : TBits_1; inline;
  10378. function getCNIEB6 : TBits_1; inline;
  10379. function getCNIEB7 : TBits_1; inline;
  10380. function getCNIEB8 : TBits_1; inline;
  10381. function getCNIEB9 : TBits_1; inline;
  10382. function getw : TBits_32; inline;
  10383. procedure setCNIEB0(thebits : TBits_1); inline;
  10384. procedure setCNIEB1(thebits : TBits_1); inline;
  10385. procedure setCNIEB10(thebits : TBits_1); inline;
  10386. procedure setCNIEB11(thebits : TBits_1); inline;
  10387. procedure setCNIEB12(thebits : TBits_1); inline;
  10388. procedure setCNIEB13(thebits : TBits_1); inline;
  10389. procedure setCNIEB14(thebits : TBits_1); inline;
  10390. procedure setCNIEB15(thebits : TBits_1); inline;
  10391. procedure setCNIEB2(thebits : TBits_1); inline;
  10392. procedure setCNIEB3(thebits : TBits_1); inline;
  10393. procedure setCNIEB4(thebits : TBits_1); inline;
  10394. procedure setCNIEB5(thebits : TBits_1); inline;
  10395. procedure setCNIEB6(thebits : TBits_1); inline;
  10396. procedure setCNIEB7(thebits : TBits_1); inline;
  10397. procedure setCNIEB8(thebits : TBits_1); inline;
  10398. procedure setCNIEB9(thebits : TBits_1); inline;
  10399. procedure setw(thebits : TBits_32); inline;
  10400. public
  10401. procedure clearCNIEB0; inline;
  10402. procedure clearCNIEB10; inline;
  10403. procedure clearCNIEB11; inline;
  10404. procedure clearCNIEB12; inline;
  10405. procedure clearCNIEB13; inline;
  10406. procedure clearCNIEB14; inline;
  10407. procedure clearCNIEB15; inline;
  10408. procedure clearCNIEB1; inline;
  10409. procedure clearCNIEB2; inline;
  10410. procedure clearCNIEB3; inline;
  10411. procedure clearCNIEB4; inline;
  10412. procedure clearCNIEB5; inline;
  10413. procedure clearCNIEB6; inline;
  10414. procedure clearCNIEB7; inline;
  10415. procedure clearCNIEB8; inline;
  10416. procedure clearCNIEB9; inline;
  10417. procedure setCNIEB0; inline;
  10418. procedure setCNIEB10; inline;
  10419. procedure setCNIEB11; inline;
  10420. procedure setCNIEB12; inline;
  10421. procedure setCNIEB13; inline;
  10422. procedure setCNIEB14; inline;
  10423. procedure setCNIEB15; inline;
  10424. procedure setCNIEB1; inline;
  10425. procedure setCNIEB2; inline;
  10426. procedure setCNIEB3; inline;
  10427. procedure setCNIEB4; inline;
  10428. procedure setCNIEB5; inline;
  10429. procedure setCNIEB6; inline;
  10430. procedure setCNIEB7; inline;
  10431. procedure setCNIEB8; inline;
  10432. procedure setCNIEB9; inline;
  10433. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  10434. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  10435. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  10436. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  10437. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  10438. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  10439. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  10440. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  10441. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  10442. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  10443. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  10444. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  10445. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  10446. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  10447. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  10448. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  10449. property w : TBits_32 read getw write setw;
  10450. end;
  10451. TPORTB_CNSTATB = record
  10452. private
  10453. function getCNSTATB0 : TBits_1; inline;
  10454. function getCNSTATB1 : TBits_1; inline;
  10455. function getCNSTATB10 : TBits_1; inline;
  10456. function getCNSTATB11 : TBits_1; inline;
  10457. function getCNSTATB12 : TBits_1; inline;
  10458. function getCNSTATB13 : TBits_1; inline;
  10459. function getCNSTATB14 : TBits_1; inline;
  10460. function getCNSTATB15 : TBits_1; inline;
  10461. function getCNSTATB2 : TBits_1; inline;
  10462. function getCNSTATB3 : TBits_1; inline;
  10463. function getCNSTATB4 : TBits_1; inline;
  10464. function getCNSTATB5 : TBits_1; inline;
  10465. function getCNSTATB6 : TBits_1; inline;
  10466. function getCNSTATB7 : TBits_1; inline;
  10467. function getCNSTATB8 : TBits_1; inline;
  10468. function getCNSTATB9 : TBits_1; inline;
  10469. function getw : TBits_32; inline;
  10470. procedure setCNSTATB0(thebits : TBits_1); inline;
  10471. procedure setCNSTATB1(thebits : TBits_1); inline;
  10472. procedure setCNSTATB10(thebits : TBits_1); inline;
  10473. procedure setCNSTATB11(thebits : TBits_1); inline;
  10474. procedure setCNSTATB12(thebits : TBits_1); inline;
  10475. procedure setCNSTATB13(thebits : TBits_1); inline;
  10476. procedure setCNSTATB14(thebits : TBits_1); inline;
  10477. procedure setCNSTATB15(thebits : TBits_1); inline;
  10478. procedure setCNSTATB2(thebits : TBits_1); inline;
  10479. procedure setCNSTATB3(thebits : TBits_1); inline;
  10480. procedure setCNSTATB4(thebits : TBits_1); inline;
  10481. procedure setCNSTATB5(thebits : TBits_1); inline;
  10482. procedure setCNSTATB6(thebits : TBits_1); inline;
  10483. procedure setCNSTATB7(thebits : TBits_1); inline;
  10484. procedure setCNSTATB8(thebits : TBits_1); inline;
  10485. procedure setCNSTATB9(thebits : TBits_1); inline;
  10486. procedure setw(thebits : TBits_32); inline;
  10487. public
  10488. procedure clearCNSTATB0; inline;
  10489. procedure clearCNSTATB10; inline;
  10490. procedure clearCNSTATB11; inline;
  10491. procedure clearCNSTATB12; inline;
  10492. procedure clearCNSTATB13; inline;
  10493. procedure clearCNSTATB14; inline;
  10494. procedure clearCNSTATB15; inline;
  10495. procedure clearCNSTATB1; inline;
  10496. procedure clearCNSTATB2; inline;
  10497. procedure clearCNSTATB3; inline;
  10498. procedure clearCNSTATB4; inline;
  10499. procedure clearCNSTATB5; inline;
  10500. procedure clearCNSTATB6; inline;
  10501. procedure clearCNSTATB7; inline;
  10502. procedure clearCNSTATB8; inline;
  10503. procedure clearCNSTATB9; inline;
  10504. procedure setCNSTATB0; inline;
  10505. procedure setCNSTATB10; inline;
  10506. procedure setCNSTATB11; inline;
  10507. procedure setCNSTATB12; inline;
  10508. procedure setCNSTATB13; inline;
  10509. procedure setCNSTATB14; inline;
  10510. procedure setCNSTATB15; inline;
  10511. procedure setCNSTATB1; inline;
  10512. procedure setCNSTATB2; inline;
  10513. procedure setCNSTATB3; inline;
  10514. procedure setCNSTATB4; inline;
  10515. procedure setCNSTATB5; inline;
  10516. procedure setCNSTATB6; inline;
  10517. procedure setCNSTATB7; inline;
  10518. procedure setCNSTATB8; inline;
  10519. procedure setCNSTATB9; inline;
  10520. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  10521. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  10522. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  10523. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  10524. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  10525. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  10526. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  10527. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  10528. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  10529. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  10530. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  10531. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  10532. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  10533. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  10534. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  10535. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  10536. property w : TBits_32 read getw write setw;
  10537. end;
  10538. TPORTB_TRISC = record
  10539. private
  10540. function getTRISC1 : TBits_1; inline;
  10541. function getTRISC12 : TBits_1; inline;
  10542. function getTRISC13 : TBits_1; inline;
  10543. function getTRISC14 : TBits_1; inline;
  10544. function getTRISC15 : TBits_1; inline;
  10545. function getTRISC2 : TBits_1; inline;
  10546. function getTRISC3 : TBits_1; inline;
  10547. function getTRISC4 : TBits_1; inline;
  10548. function getw : TBits_32; inline;
  10549. procedure setTRISC1(thebits : TBits_1); inline;
  10550. procedure setTRISC12(thebits : TBits_1); inline;
  10551. procedure setTRISC13(thebits : TBits_1); inline;
  10552. procedure setTRISC14(thebits : TBits_1); inline;
  10553. procedure setTRISC15(thebits : TBits_1); inline;
  10554. procedure setTRISC2(thebits : TBits_1); inline;
  10555. procedure setTRISC3(thebits : TBits_1); inline;
  10556. procedure setTRISC4(thebits : TBits_1); inline;
  10557. procedure setw(thebits : TBits_32); inline;
  10558. public
  10559. procedure clearTRISC12; inline;
  10560. procedure clearTRISC13; inline;
  10561. procedure clearTRISC14; inline;
  10562. procedure clearTRISC15; inline;
  10563. procedure clearTRISC1; inline;
  10564. procedure clearTRISC2; inline;
  10565. procedure clearTRISC3; inline;
  10566. procedure clearTRISC4; inline;
  10567. procedure setTRISC12; inline;
  10568. procedure setTRISC13; inline;
  10569. procedure setTRISC14; inline;
  10570. procedure setTRISC15; inline;
  10571. procedure setTRISC1; inline;
  10572. procedure setTRISC2; inline;
  10573. procedure setTRISC3; inline;
  10574. procedure setTRISC4; inline;
  10575. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  10576. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  10577. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  10578. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  10579. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  10580. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  10581. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  10582. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  10583. property w : TBits_32 read getw write setw;
  10584. end;
  10585. type
  10586. TPORTBRegisters = record
  10587. PORTBbits : TPORTB_PORTB;
  10588. PORTB : longWord;
  10589. PORTBCLR : longWord;
  10590. PORTBSET : longWord;
  10591. PORTBINV : longWord;
  10592. LATBbits : TPORTB_LATB;
  10593. LATB : longWord;
  10594. LATBCLR : longWord;
  10595. LATBSET : longWord;
  10596. LATBINV : longWord;
  10597. ODCBbits : TPORTB_ODCB;
  10598. ODCB : longWord;
  10599. ODCBCLR : longWord;
  10600. ODCBSET : longWord;
  10601. ODCBINV : longWord;
  10602. CNPUBbits : TPORTB_CNPUB;
  10603. CNPUB : longWord;
  10604. CNPUBCLR : longWord;
  10605. CNPUBSET : longWord;
  10606. CNPUBINV : longWord;
  10607. CNPDBbits : TPORTB_CNPDB;
  10608. CNPDB : longWord;
  10609. CNPDBCLR : longWord;
  10610. CNPDBSET : longWord;
  10611. CNPDBINV : longWord;
  10612. CNCONBbits : TPORTB_CNCONB;
  10613. CNCONB : longWord;
  10614. CNCONBCLR : longWord;
  10615. CNCONBSET : longWord;
  10616. CNCONBINV : longWord;
  10617. CNENBbits : TPORTB_CNENB;
  10618. CNENB : longWord;
  10619. CNENBCLR : longWord;
  10620. CNENBSET : longWord;
  10621. CNENBINV : longWord;
  10622. CNSTATBbits : TPORTB_CNSTATB;
  10623. CNSTATB : longWord;
  10624. CNSTATBCLR : longWord;
  10625. CNSTATBSET : longWord;
  10626. CNSTATBINV : longWord;
  10627. ANSELC : longWord;
  10628. ANSELCCLR : longWord;
  10629. ANSELCSET : longWord;
  10630. ANSELCINV : longWord;
  10631. TRISCbits : TPORTB_TRISC;
  10632. TRISC : longWord;
  10633. TRISCCLR : longWord;
  10634. TRISCSET : longWord;
  10635. TRISCINV : longWord;
  10636. end;
  10637. TPORTC_PORTC = record
  10638. private
  10639. function getRC1 : TBits_1; inline;
  10640. function getRC12 : TBits_1; inline;
  10641. function getRC13 : TBits_1; inline;
  10642. function getRC14 : TBits_1; inline;
  10643. function getRC15 : TBits_1; inline;
  10644. function getRC2 : TBits_1; inline;
  10645. function getRC3 : TBits_1; inline;
  10646. function getRC4 : TBits_1; inline;
  10647. function getw : TBits_32; inline;
  10648. procedure setRC1(thebits : TBits_1); inline;
  10649. procedure setRC12(thebits : TBits_1); inline;
  10650. procedure setRC13(thebits : TBits_1); inline;
  10651. procedure setRC14(thebits : TBits_1); inline;
  10652. procedure setRC15(thebits : TBits_1); inline;
  10653. procedure setRC2(thebits : TBits_1); inline;
  10654. procedure setRC3(thebits : TBits_1); inline;
  10655. procedure setRC4(thebits : TBits_1); inline;
  10656. procedure setw(thebits : TBits_32); inline;
  10657. public
  10658. procedure clearRC12; inline;
  10659. procedure clearRC13; inline;
  10660. procedure clearRC14; inline;
  10661. procedure clearRC15; inline;
  10662. procedure clearRC1; inline;
  10663. procedure clearRC2; inline;
  10664. procedure clearRC3; inline;
  10665. procedure clearRC4; inline;
  10666. procedure setRC12; inline;
  10667. procedure setRC13; inline;
  10668. procedure setRC14; inline;
  10669. procedure setRC15; inline;
  10670. procedure setRC1; inline;
  10671. procedure setRC2; inline;
  10672. procedure setRC3; inline;
  10673. procedure setRC4; inline;
  10674. property RC1 : TBits_1 read getRC1 write setRC1;
  10675. property RC12 : TBits_1 read getRC12 write setRC12;
  10676. property RC13 : TBits_1 read getRC13 write setRC13;
  10677. property RC14 : TBits_1 read getRC14 write setRC14;
  10678. property RC15 : TBits_1 read getRC15 write setRC15;
  10679. property RC2 : TBits_1 read getRC2 write setRC2;
  10680. property RC3 : TBits_1 read getRC3 write setRC3;
  10681. property RC4 : TBits_1 read getRC4 write setRC4;
  10682. property w : TBits_32 read getw write setw;
  10683. end;
  10684. TPortC_bits=(RC1=1,RC2=2,RC3=3,RC4=4,RC12=12,RC13=13,RC14=14,RC15=15);
  10685. TPortC_bitset = set of TPortC_bits;
  10686. TPORTC_LATC = record
  10687. private
  10688. function getLATC1 : TBits_1; inline;
  10689. function getLATC12 : TBits_1; inline;
  10690. function getLATC13 : TBits_1; inline;
  10691. function getLATC14 : TBits_1; inline;
  10692. function getLATC15 : TBits_1; inline;
  10693. function getLATC2 : TBits_1; inline;
  10694. function getLATC3 : TBits_1; inline;
  10695. function getLATC4 : TBits_1; inline;
  10696. function getw : TBits_32; inline;
  10697. procedure setLATC1(thebits : TBits_1); inline;
  10698. procedure setLATC12(thebits : TBits_1); inline;
  10699. procedure setLATC13(thebits : TBits_1); inline;
  10700. procedure setLATC14(thebits : TBits_1); inline;
  10701. procedure setLATC15(thebits : TBits_1); inline;
  10702. procedure setLATC2(thebits : TBits_1); inline;
  10703. procedure setLATC3(thebits : TBits_1); inline;
  10704. procedure setLATC4(thebits : TBits_1); inline;
  10705. procedure setw(thebits : TBits_32); inline;
  10706. public
  10707. procedure clearLATC12; inline;
  10708. procedure clearLATC13; inline;
  10709. procedure clearLATC14; inline;
  10710. procedure clearLATC15; inline;
  10711. procedure clearLATC1; inline;
  10712. procedure clearLATC2; inline;
  10713. procedure clearLATC3; inline;
  10714. procedure clearLATC4; inline;
  10715. procedure setLATC12; inline;
  10716. procedure setLATC13; inline;
  10717. procedure setLATC14; inline;
  10718. procedure setLATC15; inline;
  10719. procedure setLATC1; inline;
  10720. procedure setLATC2; inline;
  10721. procedure setLATC3; inline;
  10722. procedure setLATC4; inline;
  10723. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  10724. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  10725. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  10726. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  10727. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  10728. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  10729. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  10730. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  10731. property w : TBits_32 read getw write setw;
  10732. end;
  10733. TPORTC_ODCC = record
  10734. private
  10735. function getODCC1 : TBits_1; inline;
  10736. function getODCC12 : TBits_1; inline;
  10737. function getODCC13 : TBits_1; inline;
  10738. function getODCC14 : TBits_1; inline;
  10739. function getODCC15 : TBits_1; inline;
  10740. function getODCC2 : TBits_1; inline;
  10741. function getODCC3 : TBits_1; inline;
  10742. function getODCC4 : TBits_1; inline;
  10743. function getw : TBits_32; inline;
  10744. procedure setODCC1(thebits : TBits_1); inline;
  10745. procedure setODCC12(thebits : TBits_1); inline;
  10746. procedure setODCC13(thebits : TBits_1); inline;
  10747. procedure setODCC14(thebits : TBits_1); inline;
  10748. procedure setODCC15(thebits : TBits_1); inline;
  10749. procedure setODCC2(thebits : TBits_1); inline;
  10750. procedure setODCC3(thebits : TBits_1); inline;
  10751. procedure setODCC4(thebits : TBits_1); inline;
  10752. procedure setw(thebits : TBits_32); inline;
  10753. public
  10754. procedure clearODCC12; inline;
  10755. procedure clearODCC13; inline;
  10756. procedure clearODCC14; inline;
  10757. procedure clearODCC15; inline;
  10758. procedure clearODCC1; inline;
  10759. procedure clearODCC2; inline;
  10760. procedure clearODCC3; inline;
  10761. procedure clearODCC4; inline;
  10762. procedure setODCC12; inline;
  10763. procedure setODCC13; inline;
  10764. procedure setODCC14; inline;
  10765. procedure setODCC15; inline;
  10766. procedure setODCC1; inline;
  10767. procedure setODCC2; inline;
  10768. procedure setODCC3; inline;
  10769. procedure setODCC4; inline;
  10770. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  10771. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  10772. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  10773. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  10774. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  10775. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  10776. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  10777. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  10778. property w : TBits_32 read getw write setw;
  10779. end;
  10780. TPORTC_CNPUC = record
  10781. private
  10782. function getCNPUC1 : TBits_1; inline;
  10783. function getCNPUC12 : TBits_1; inline;
  10784. function getCNPUC13 : TBits_1; inline;
  10785. function getCNPUC14 : TBits_1; inline;
  10786. function getCNPUC15 : TBits_1; inline;
  10787. function getCNPUC2 : TBits_1; inline;
  10788. function getCNPUC3 : TBits_1; inline;
  10789. function getCNPUC4 : TBits_1; inline;
  10790. function getw : TBits_32; inline;
  10791. procedure setCNPUC1(thebits : TBits_1); inline;
  10792. procedure setCNPUC12(thebits : TBits_1); inline;
  10793. procedure setCNPUC13(thebits : TBits_1); inline;
  10794. procedure setCNPUC14(thebits : TBits_1); inline;
  10795. procedure setCNPUC15(thebits : TBits_1); inline;
  10796. procedure setCNPUC2(thebits : TBits_1); inline;
  10797. procedure setCNPUC3(thebits : TBits_1); inline;
  10798. procedure setCNPUC4(thebits : TBits_1); inline;
  10799. procedure setw(thebits : TBits_32); inline;
  10800. public
  10801. procedure clearCNPUC12; inline;
  10802. procedure clearCNPUC13; inline;
  10803. procedure clearCNPUC14; inline;
  10804. procedure clearCNPUC15; inline;
  10805. procedure clearCNPUC1; inline;
  10806. procedure clearCNPUC2; inline;
  10807. procedure clearCNPUC3; inline;
  10808. procedure clearCNPUC4; inline;
  10809. procedure setCNPUC12; inline;
  10810. procedure setCNPUC13; inline;
  10811. procedure setCNPUC14; inline;
  10812. procedure setCNPUC15; inline;
  10813. procedure setCNPUC1; inline;
  10814. procedure setCNPUC2; inline;
  10815. procedure setCNPUC3; inline;
  10816. procedure setCNPUC4; inline;
  10817. property CNPUC1 : TBits_1 read getCNPUC1 write setCNPUC1;
  10818. property CNPUC12 : TBits_1 read getCNPUC12 write setCNPUC12;
  10819. property CNPUC13 : TBits_1 read getCNPUC13 write setCNPUC13;
  10820. property CNPUC14 : TBits_1 read getCNPUC14 write setCNPUC14;
  10821. property CNPUC15 : TBits_1 read getCNPUC15 write setCNPUC15;
  10822. property CNPUC2 : TBits_1 read getCNPUC2 write setCNPUC2;
  10823. property CNPUC3 : TBits_1 read getCNPUC3 write setCNPUC3;
  10824. property CNPUC4 : TBits_1 read getCNPUC4 write setCNPUC4;
  10825. property w : TBits_32 read getw write setw;
  10826. end;
  10827. TPORTC_CNPDC = record
  10828. private
  10829. function getCNPDC1 : TBits_1; inline;
  10830. function getCNPDC12 : TBits_1; inline;
  10831. function getCNPDC13 : TBits_1; inline;
  10832. function getCNPDC14 : TBits_1; inline;
  10833. function getCNPDC15 : TBits_1; inline;
  10834. function getCNPDC2 : TBits_1; inline;
  10835. function getCNPDC3 : TBits_1; inline;
  10836. function getCNPDC4 : TBits_1; inline;
  10837. function getw : TBits_32; inline;
  10838. procedure setCNPDC1(thebits : TBits_1); inline;
  10839. procedure setCNPDC12(thebits : TBits_1); inline;
  10840. procedure setCNPDC13(thebits : TBits_1); inline;
  10841. procedure setCNPDC14(thebits : TBits_1); inline;
  10842. procedure setCNPDC15(thebits : TBits_1); inline;
  10843. procedure setCNPDC2(thebits : TBits_1); inline;
  10844. procedure setCNPDC3(thebits : TBits_1); inline;
  10845. procedure setCNPDC4(thebits : TBits_1); inline;
  10846. procedure setw(thebits : TBits_32); inline;
  10847. public
  10848. procedure clearCNPDC12; inline;
  10849. procedure clearCNPDC13; inline;
  10850. procedure clearCNPDC14; inline;
  10851. procedure clearCNPDC15; inline;
  10852. procedure clearCNPDC1; inline;
  10853. procedure clearCNPDC2; inline;
  10854. procedure clearCNPDC3; inline;
  10855. procedure clearCNPDC4; inline;
  10856. procedure setCNPDC12; inline;
  10857. procedure setCNPDC13; inline;
  10858. procedure setCNPDC14; inline;
  10859. procedure setCNPDC15; inline;
  10860. procedure setCNPDC1; inline;
  10861. procedure setCNPDC2; inline;
  10862. procedure setCNPDC3; inline;
  10863. procedure setCNPDC4; inline;
  10864. property CNPDC1 : TBits_1 read getCNPDC1 write setCNPDC1;
  10865. property CNPDC12 : TBits_1 read getCNPDC12 write setCNPDC12;
  10866. property CNPDC13 : TBits_1 read getCNPDC13 write setCNPDC13;
  10867. property CNPDC14 : TBits_1 read getCNPDC14 write setCNPDC14;
  10868. property CNPDC15 : TBits_1 read getCNPDC15 write setCNPDC15;
  10869. property CNPDC2 : TBits_1 read getCNPDC2 write setCNPDC2;
  10870. property CNPDC3 : TBits_1 read getCNPDC3 write setCNPDC3;
  10871. property CNPDC4 : TBits_1 read getCNPDC4 write setCNPDC4;
  10872. property w : TBits_32 read getw write setw;
  10873. end;
  10874. TPORTC_CNCONC = record
  10875. private
  10876. function getON : TBits_1; inline;
  10877. function getSIDL : TBits_1; inline;
  10878. function getw : TBits_32; inline;
  10879. procedure setON(thebits : TBits_1); inline;
  10880. procedure setSIDL(thebits : TBits_1); inline;
  10881. procedure setw(thebits : TBits_32); inline;
  10882. public
  10883. procedure clearON; inline;
  10884. procedure clearSIDL; inline;
  10885. procedure setON; inline;
  10886. procedure setSIDL; inline;
  10887. property ON : TBits_1 read getON write setON;
  10888. property SIDL : TBits_1 read getSIDL write setSIDL;
  10889. property w : TBits_32 read getw write setw;
  10890. end;
  10891. TPORTC_CNENC = record
  10892. private
  10893. function getCNIEC1 : TBits_1; inline;
  10894. function getCNIEC12 : TBits_1; inline;
  10895. function getCNIEC13 : TBits_1; inline;
  10896. function getCNIEC14 : TBits_1; inline;
  10897. function getCNIEC15 : TBits_1; inline;
  10898. function getCNIEC2 : TBits_1; inline;
  10899. function getCNIEC3 : TBits_1; inline;
  10900. function getCNIEC4 : TBits_1; inline;
  10901. function getw : TBits_32; inline;
  10902. procedure setCNIEC1(thebits : TBits_1); inline;
  10903. procedure setCNIEC12(thebits : TBits_1); inline;
  10904. procedure setCNIEC13(thebits : TBits_1); inline;
  10905. procedure setCNIEC14(thebits : TBits_1); inline;
  10906. procedure setCNIEC15(thebits : TBits_1); inline;
  10907. procedure setCNIEC2(thebits : TBits_1); inline;
  10908. procedure setCNIEC3(thebits : TBits_1); inline;
  10909. procedure setCNIEC4(thebits : TBits_1); inline;
  10910. procedure setw(thebits : TBits_32); inline;
  10911. public
  10912. procedure clearCNIEC12; inline;
  10913. procedure clearCNIEC13; inline;
  10914. procedure clearCNIEC14; inline;
  10915. procedure clearCNIEC15; inline;
  10916. procedure clearCNIEC1; inline;
  10917. procedure clearCNIEC2; inline;
  10918. procedure clearCNIEC3; inline;
  10919. procedure clearCNIEC4; inline;
  10920. procedure setCNIEC12; inline;
  10921. procedure setCNIEC13; inline;
  10922. procedure setCNIEC14; inline;
  10923. procedure setCNIEC15; inline;
  10924. procedure setCNIEC1; inline;
  10925. procedure setCNIEC2; inline;
  10926. procedure setCNIEC3; inline;
  10927. procedure setCNIEC4; inline;
  10928. property CNIEC1 : TBits_1 read getCNIEC1 write setCNIEC1;
  10929. property CNIEC12 : TBits_1 read getCNIEC12 write setCNIEC12;
  10930. property CNIEC13 : TBits_1 read getCNIEC13 write setCNIEC13;
  10931. property CNIEC14 : TBits_1 read getCNIEC14 write setCNIEC14;
  10932. property CNIEC15 : TBits_1 read getCNIEC15 write setCNIEC15;
  10933. property CNIEC2 : TBits_1 read getCNIEC2 write setCNIEC2;
  10934. property CNIEC3 : TBits_1 read getCNIEC3 write setCNIEC3;
  10935. property CNIEC4 : TBits_1 read getCNIEC4 write setCNIEC4;
  10936. property w : TBits_32 read getw write setw;
  10937. end;
  10938. TPORTC_CNSTATC = record
  10939. private
  10940. function getCNSTATC1 : TBits_1; inline;
  10941. function getCNSTATC12 : TBits_1; inline;
  10942. function getCNSTATC13 : TBits_1; inline;
  10943. function getCNSTATC14 : TBits_1; inline;
  10944. function getCNSTATC15 : TBits_1; inline;
  10945. function getCNSTATC2 : TBits_1; inline;
  10946. function getCNSTATC3 : TBits_1; inline;
  10947. function getCNSTATC4 : TBits_1; inline;
  10948. function getw : TBits_32; inline;
  10949. procedure setCNSTATC1(thebits : TBits_1); inline;
  10950. procedure setCNSTATC12(thebits : TBits_1); inline;
  10951. procedure setCNSTATC13(thebits : TBits_1); inline;
  10952. procedure setCNSTATC14(thebits : TBits_1); inline;
  10953. procedure setCNSTATC15(thebits : TBits_1); inline;
  10954. procedure setCNSTATC2(thebits : TBits_1); inline;
  10955. procedure setCNSTATC3(thebits : TBits_1); inline;
  10956. procedure setCNSTATC4(thebits : TBits_1); inline;
  10957. procedure setw(thebits : TBits_32); inline;
  10958. public
  10959. procedure clearCNSTATC12; inline;
  10960. procedure clearCNSTATC13; inline;
  10961. procedure clearCNSTATC14; inline;
  10962. procedure clearCNSTATC15; inline;
  10963. procedure clearCNSTATC1; inline;
  10964. procedure clearCNSTATC2; inline;
  10965. procedure clearCNSTATC3; inline;
  10966. procedure clearCNSTATC4; inline;
  10967. procedure setCNSTATC12; inline;
  10968. procedure setCNSTATC13; inline;
  10969. procedure setCNSTATC14; inline;
  10970. procedure setCNSTATC15; inline;
  10971. procedure setCNSTATC1; inline;
  10972. procedure setCNSTATC2; inline;
  10973. procedure setCNSTATC3; inline;
  10974. procedure setCNSTATC4; inline;
  10975. property CNSTATC1 : TBits_1 read getCNSTATC1 write setCNSTATC1;
  10976. property CNSTATC12 : TBits_1 read getCNSTATC12 write setCNSTATC12;
  10977. property CNSTATC13 : TBits_1 read getCNSTATC13 write setCNSTATC13;
  10978. property CNSTATC14 : TBits_1 read getCNSTATC14 write setCNSTATC14;
  10979. property CNSTATC15 : TBits_1 read getCNSTATC15 write setCNSTATC15;
  10980. property CNSTATC2 : TBits_1 read getCNSTATC2 write setCNSTATC2;
  10981. property CNSTATC3 : TBits_1 read getCNSTATC3 write setCNSTATC3;
  10982. property CNSTATC4 : TBits_1 read getCNSTATC4 write setCNSTATC4;
  10983. property w : TBits_32 read getw write setw;
  10984. end;
  10985. TPORTC_ANSELD = record
  10986. private
  10987. function getANSD1 : TBits_1; inline;
  10988. function getANSD2 : TBits_1; inline;
  10989. function getANSD3 : TBits_1; inline;
  10990. function getw : TBits_32; inline;
  10991. procedure setANSD1(thebits : TBits_1); inline;
  10992. procedure setANSD2(thebits : TBits_1); inline;
  10993. procedure setANSD3(thebits : TBits_1); inline;
  10994. procedure setw(thebits : TBits_32); inline;
  10995. public
  10996. procedure clearANSD1; inline;
  10997. procedure clearANSD2; inline;
  10998. procedure clearANSD3; inline;
  10999. procedure setANSD1; inline;
  11000. procedure setANSD2; inline;
  11001. procedure setANSD3; inline;
  11002. property ANSD1 : TBits_1 read getANSD1 write setANSD1;
  11003. property ANSD2 : TBits_1 read getANSD2 write setANSD2;
  11004. property ANSD3 : TBits_1 read getANSD3 write setANSD3;
  11005. property w : TBits_32 read getw write setw;
  11006. end;
  11007. TPORTC_TRISD = record
  11008. private
  11009. function getTRISD0 : TBits_1; inline;
  11010. function getTRISD1 : TBits_1; inline;
  11011. function getTRISD10 : TBits_1; inline;
  11012. function getTRISD11 : TBits_1; inline;
  11013. function getTRISD12 : TBits_1; inline;
  11014. function getTRISD13 : TBits_1; inline;
  11015. function getTRISD14 : TBits_1; inline;
  11016. function getTRISD15 : TBits_1; inline;
  11017. function getTRISD2 : TBits_1; inline;
  11018. function getTRISD3 : TBits_1; inline;
  11019. function getTRISD4 : TBits_1; inline;
  11020. function getTRISD5 : TBits_1; inline;
  11021. function getTRISD6 : TBits_1; inline;
  11022. function getTRISD7 : TBits_1; inline;
  11023. function getTRISD8 : TBits_1; inline;
  11024. function getTRISD9 : TBits_1; inline;
  11025. function getw : TBits_32; inline;
  11026. procedure setTRISD0(thebits : TBits_1); inline;
  11027. procedure setTRISD1(thebits : TBits_1); inline;
  11028. procedure setTRISD10(thebits : TBits_1); inline;
  11029. procedure setTRISD11(thebits : TBits_1); inline;
  11030. procedure setTRISD12(thebits : TBits_1); inline;
  11031. procedure setTRISD13(thebits : TBits_1); inline;
  11032. procedure setTRISD14(thebits : TBits_1); inline;
  11033. procedure setTRISD15(thebits : TBits_1); inline;
  11034. procedure setTRISD2(thebits : TBits_1); inline;
  11035. procedure setTRISD3(thebits : TBits_1); inline;
  11036. procedure setTRISD4(thebits : TBits_1); inline;
  11037. procedure setTRISD5(thebits : TBits_1); inline;
  11038. procedure setTRISD6(thebits : TBits_1); inline;
  11039. procedure setTRISD7(thebits : TBits_1); inline;
  11040. procedure setTRISD8(thebits : TBits_1); inline;
  11041. procedure setTRISD9(thebits : TBits_1); inline;
  11042. procedure setw(thebits : TBits_32); inline;
  11043. public
  11044. procedure clearTRISD0; inline;
  11045. procedure clearTRISD10; inline;
  11046. procedure clearTRISD11; inline;
  11047. procedure clearTRISD12; inline;
  11048. procedure clearTRISD13; inline;
  11049. procedure clearTRISD14; inline;
  11050. procedure clearTRISD15; inline;
  11051. procedure clearTRISD1; inline;
  11052. procedure clearTRISD2; inline;
  11053. procedure clearTRISD3; inline;
  11054. procedure clearTRISD4; inline;
  11055. procedure clearTRISD5; inline;
  11056. procedure clearTRISD6; inline;
  11057. procedure clearTRISD7; inline;
  11058. procedure clearTRISD8; inline;
  11059. procedure clearTRISD9; inline;
  11060. procedure setTRISD0; inline;
  11061. procedure setTRISD10; inline;
  11062. procedure setTRISD11; inline;
  11063. procedure setTRISD12; inline;
  11064. procedure setTRISD13; inline;
  11065. procedure setTRISD14; inline;
  11066. procedure setTRISD15; inline;
  11067. procedure setTRISD1; inline;
  11068. procedure setTRISD2; inline;
  11069. procedure setTRISD3; inline;
  11070. procedure setTRISD4; inline;
  11071. procedure setTRISD5; inline;
  11072. procedure setTRISD6; inline;
  11073. procedure setTRISD7; inline;
  11074. procedure setTRISD8; inline;
  11075. procedure setTRISD9; inline;
  11076. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  11077. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  11078. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  11079. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  11080. property TRISD12 : TBits_1 read getTRISD12 write setTRISD12;
  11081. property TRISD13 : TBits_1 read getTRISD13 write setTRISD13;
  11082. property TRISD14 : TBits_1 read getTRISD14 write setTRISD14;
  11083. property TRISD15 : TBits_1 read getTRISD15 write setTRISD15;
  11084. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  11085. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  11086. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  11087. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  11088. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  11089. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  11090. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  11091. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  11092. property w : TBits_32 read getw write setw;
  11093. end;
  11094. type
  11095. TPORTCRegisters = record
  11096. PORTCbits : TPORTC_PORTC;
  11097. PORTC : longWord;
  11098. PORTCCLR : longWord;
  11099. PORTCSET : longWord;
  11100. PORTCINV : longWord;
  11101. LATCbits : TPORTC_LATC;
  11102. LATC : longWord;
  11103. LATCCLR : longWord;
  11104. LATCSET : longWord;
  11105. LATCINV : longWord;
  11106. ODCCbits : TPORTC_ODCC;
  11107. ODCC : longWord;
  11108. ODCCCLR : longWord;
  11109. ODCCSET : longWord;
  11110. ODCCINV : longWord;
  11111. CNPUCbits : TPORTC_CNPUC;
  11112. CNPUC : longWord;
  11113. CNPUCCLR : longWord;
  11114. CNPUCSET : longWord;
  11115. CNPUCINV : longWord;
  11116. CNPDCbits : TPORTC_CNPDC;
  11117. CNPDC : longWord;
  11118. CNPDCCLR : longWord;
  11119. CNPDCSET : longWord;
  11120. CNPDCINV : longWord;
  11121. CNCONCbits : TPORTC_CNCONC;
  11122. CNCONC : longWord;
  11123. CNCONCCLR : longWord;
  11124. CNCONCSET : longWord;
  11125. CNCONCINV : longWord;
  11126. CNENCbits : TPORTC_CNENC;
  11127. CNENC : longWord;
  11128. CNENCCLR : longWord;
  11129. CNENCSET : longWord;
  11130. CNENCINV : longWord;
  11131. CNSTATCbits : TPORTC_CNSTATC;
  11132. CNSTATC : longWord;
  11133. CNSTATCCLR : longWord;
  11134. CNSTATCSET : longWord;
  11135. CNSTATCINV : longWord;
  11136. ANSELDbits : TPORTC_ANSELD;
  11137. ANSELD : longWord;
  11138. ANSELDCLR : longWord;
  11139. ANSELDSET : longWord;
  11140. ANSELDINV : longWord;
  11141. TRISDbits : TPORTC_TRISD;
  11142. TRISD : longWord;
  11143. TRISDCLR : longWord;
  11144. TRISDSET : longWord;
  11145. TRISDINV : longWord;
  11146. end;
  11147. TPORTD_PORTD = record
  11148. private
  11149. function getRD0 : TBits_1; inline;
  11150. function getRD1 : TBits_1; inline;
  11151. function getRD10 : TBits_1; inline;
  11152. function getRD11 : TBits_1; inline;
  11153. function getRD12 : TBits_1; inline;
  11154. function getRD13 : TBits_1; inline;
  11155. function getRD14 : TBits_1; inline;
  11156. function getRD15 : TBits_1; inline;
  11157. function getRD2 : TBits_1; inline;
  11158. function getRD3 : TBits_1; inline;
  11159. function getRD4 : TBits_1; inline;
  11160. function getRD5 : TBits_1; inline;
  11161. function getRD6 : TBits_1; inline;
  11162. function getRD7 : TBits_1; inline;
  11163. function getRD8 : TBits_1; inline;
  11164. function getRD9 : TBits_1; inline;
  11165. function getw : TBits_32; inline;
  11166. procedure setRD0(thebits : TBits_1); inline;
  11167. procedure setRD1(thebits : TBits_1); inline;
  11168. procedure setRD10(thebits : TBits_1); inline;
  11169. procedure setRD11(thebits : TBits_1); inline;
  11170. procedure setRD12(thebits : TBits_1); inline;
  11171. procedure setRD13(thebits : TBits_1); inline;
  11172. procedure setRD14(thebits : TBits_1); inline;
  11173. procedure setRD15(thebits : TBits_1); inline;
  11174. procedure setRD2(thebits : TBits_1); inline;
  11175. procedure setRD3(thebits : TBits_1); inline;
  11176. procedure setRD4(thebits : TBits_1); inline;
  11177. procedure setRD5(thebits : TBits_1); inline;
  11178. procedure setRD6(thebits : TBits_1); inline;
  11179. procedure setRD7(thebits : TBits_1); inline;
  11180. procedure setRD8(thebits : TBits_1); inline;
  11181. procedure setRD9(thebits : TBits_1); inline;
  11182. procedure setw(thebits : TBits_32); inline;
  11183. public
  11184. procedure clearRD0; inline;
  11185. procedure clearRD10; inline;
  11186. procedure clearRD11; inline;
  11187. procedure clearRD12; inline;
  11188. procedure clearRD13; inline;
  11189. procedure clearRD14; inline;
  11190. procedure clearRD15; inline;
  11191. procedure clearRD1; inline;
  11192. procedure clearRD2; inline;
  11193. procedure clearRD3; inline;
  11194. procedure clearRD4; inline;
  11195. procedure clearRD5; inline;
  11196. procedure clearRD6; inline;
  11197. procedure clearRD7; inline;
  11198. procedure clearRD8; inline;
  11199. procedure clearRD9; inline;
  11200. procedure setRD0; inline;
  11201. procedure setRD10; inline;
  11202. procedure setRD11; inline;
  11203. procedure setRD12; inline;
  11204. procedure setRD13; inline;
  11205. procedure setRD14; inline;
  11206. procedure setRD15; inline;
  11207. procedure setRD1; inline;
  11208. procedure setRD2; inline;
  11209. procedure setRD3; inline;
  11210. procedure setRD4; inline;
  11211. procedure setRD5; inline;
  11212. procedure setRD6; inline;
  11213. procedure setRD7; inline;
  11214. procedure setRD8; inline;
  11215. procedure setRD9; inline;
  11216. property RD0 : TBits_1 read getRD0 write setRD0;
  11217. property RD1 : TBits_1 read getRD1 write setRD1;
  11218. property RD10 : TBits_1 read getRD10 write setRD10;
  11219. property RD11 : TBits_1 read getRD11 write setRD11;
  11220. property RD12 : TBits_1 read getRD12 write setRD12;
  11221. property RD13 : TBits_1 read getRD13 write setRD13;
  11222. property RD14 : TBits_1 read getRD14 write setRD14;
  11223. property RD15 : TBits_1 read getRD15 write setRD15;
  11224. property RD2 : TBits_1 read getRD2 write setRD2;
  11225. property RD3 : TBits_1 read getRD3 write setRD3;
  11226. property RD4 : TBits_1 read getRD4 write setRD4;
  11227. property RD5 : TBits_1 read getRD5 write setRD5;
  11228. property RD6 : TBits_1 read getRD6 write setRD6;
  11229. property RD7 : TBits_1 read getRD7 write setRD7;
  11230. property RD8 : TBits_1 read getRD8 write setRD8;
  11231. property RD9 : TBits_1 read getRD9 write setRD9;
  11232. property w : TBits_32 read getw write setw;
  11233. end;
  11234. 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);
  11235. TPortD_bitset = set of TPortD_bits;
  11236. TPORTD_LATD = record
  11237. private
  11238. function getLATD0 : TBits_1; inline;
  11239. function getLATD1 : TBits_1; inline;
  11240. function getLATD10 : TBits_1; inline;
  11241. function getLATD11 : TBits_1; inline;
  11242. function getLATD12 : TBits_1; inline;
  11243. function getLATD13 : TBits_1; inline;
  11244. function getLATD14 : TBits_1; inline;
  11245. function getLATD15 : TBits_1; inline;
  11246. function getLATD2 : TBits_1; inline;
  11247. function getLATD3 : TBits_1; inline;
  11248. function getLATD4 : TBits_1; inline;
  11249. function getLATD5 : TBits_1; inline;
  11250. function getLATD6 : TBits_1; inline;
  11251. function getLATD7 : TBits_1; inline;
  11252. function getLATD8 : TBits_1; inline;
  11253. function getLATD9 : TBits_1; inline;
  11254. function getw : TBits_32; inline;
  11255. procedure setLATD0(thebits : TBits_1); inline;
  11256. procedure setLATD1(thebits : TBits_1); inline;
  11257. procedure setLATD10(thebits : TBits_1); inline;
  11258. procedure setLATD11(thebits : TBits_1); inline;
  11259. procedure setLATD12(thebits : TBits_1); inline;
  11260. procedure setLATD13(thebits : TBits_1); inline;
  11261. procedure setLATD14(thebits : TBits_1); inline;
  11262. procedure setLATD15(thebits : TBits_1); inline;
  11263. procedure setLATD2(thebits : TBits_1); inline;
  11264. procedure setLATD3(thebits : TBits_1); inline;
  11265. procedure setLATD4(thebits : TBits_1); inline;
  11266. procedure setLATD5(thebits : TBits_1); inline;
  11267. procedure setLATD6(thebits : TBits_1); inline;
  11268. procedure setLATD7(thebits : TBits_1); inline;
  11269. procedure setLATD8(thebits : TBits_1); inline;
  11270. procedure setLATD9(thebits : TBits_1); inline;
  11271. procedure setw(thebits : TBits_32); inline;
  11272. public
  11273. procedure clearLATD0; inline;
  11274. procedure clearLATD10; inline;
  11275. procedure clearLATD11; inline;
  11276. procedure clearLATD12; inline;
  11277. procedure clearLATD13; inline;
  11278. procedure clearLATD14; inline;
  11279. procedure clearLATD15; inline;
  11280. procedure clearLATD1; inline;
  11281. procedure clearLATD2; inline;
  11282. procedure clearLATD3; inline;
  11283. procedure clearLATD4; inline;
  11284. procedure clearLATD5; inline;
  11285. procedure clearLATD6; inline;
  11286. procedure clearLATD7; inline;
  11287. procedure clearLATD8; inline;
  11288. procedure clearLATD9; inline;
  11289. procedure setLATD0; inline;
  11290. procedure setLATD10; inline;
  11291. procedure setLATD11; inline;
  11292. procedure setLATD12; inline;
  11293. procedure setLATD13; inline;
  11294. procedure setLATD14; inline;
  11295. procedure setLATD15; inline;
  11296. procedure setLATD1; inline;
  11297. procedure setLATD2; inline;
  11298. procedure setLATD3; inline;
  11299. procedure setLATD4; inline;
  11300. procedure setLATD5; inline;
  11301. procedure setLATD6; inline;
  11302. procedure setLATD7; inline;
  11303. procedure setLATD8; inline;
  11304. procedure setLATD9; inline;
  11305. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  11306. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  11307. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  11308. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  11309. property LATD12 : TBits_1 read getLATD12 write setLATD12;
  11310. property LATD13 : TBits_1 read getLATD13 write setLATD13;
  11311. property LATD14 : TBits_1 read getLATD14 write setLATD14;
  11312. property LATD15 : TBits_1 read getLATD15 write setLATD15;
  11313. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  11314. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  11315. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  11316. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  11317. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  11318. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  11319. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  11320. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  11321. property w : TBits_32 read getw write setw;
  11322. end;
  11323. TPORTD_ODCD = record
  11324. private
  11325. function getODCD0 : TBits_1; inline;
  11326. function getODCD1 : TBits_1; inline;
  11327. function getODCD10 : TBits_1; inline;
  11328. function getODCD11 : TBits_1; inline;
  11329. function getODCD12 : TBits_1; inline;
  11330. function getODCD13 : TBits_1; inline;
  11331. function getODCD14 : TBits_1; inline;
  11332. function getODCD15 : TBits_1; inline;
  11333. function getODCD2 : TBits_1; inline;
  11334. function getODCD3 : TBits_1; inline;
  11335. function getODCD4 : TBits_1; inline;
  11336. function getODCD5 : TBits_1; inline;
  11337. function getODCD6 : TBits_1; inline;
  11338. function getODCD7 : TBits_1; inline;
  11339. function getODCD8 : TBits_1; inline;
  11340. function getODCD9 : TBits_1; inline;
  11341. function getw : TBits_32; inline;
  11342. procedure setODCD0(thebits : TBits_1); inline;
  11343. procedure setODCD1(thebits : TBits_1); inline;
  11344. procedure setODCD10(thebits : TBits_1); inline;
  11345. procedure setODCD11(thebits : TBits_1); inline;
  11346. procedure setODCD12(thebits : TBits_1); inline;
  11347. procedure setODCD13(thebits : TBits_1); inline;
  11348. procedure setODCD14(thebits : TBits_1); inline;
  11349. procedure setODCD15(thebits : TBits_1); inline;
  11350. procedure setODCD2(thebits : TBits_1); inline;
  11351. procedure setODCD3(thebits : TBits_1); inline;
  11352. procedure setODCD4(thebits : TBits_1); inline;
  11353. procedure setODCD5(thebits : TBits_1); inline;
  11354. procedure setODCD6(thebits : TBits_1); inline;
  11355. procedure setODCD7(thebits : TBits_1); inline;
  11356. procedure setODCD8(thebits : TBits_1); inline;
  11357. procedure setODCD9(thebits : TBits_1); inline;
  11358. procedure setw(thebits : TBits_32); inline;
  11359. public
  11360. procedure clearODCD0; inline;
  11361. procedure clearODCD10; inline;
  11362. procedure clearODCD11; inline;
  11363. procedure clearODCD12; inline;
  11364. procedure clearODCD13; inline;
  11365. procedure clearODCD14; inline;
  11366. procedure clearODCD15; inline;
  11367. procedure clearODCD1; inline;
  11368. procedure clearODCD2; inline;
  11369. procedure clearODCD3; inline;
  11370. procedure clearODCD4; inline;
  11371. procedure clearODCD5; inline;
  11372. procedure clearODCD6; inline;
  11373. procedure clearODCD7; inline;
  11374. procedure clearODCD8; inline;
  11375. procedure clearODCD9; inline;
  11376. procedure setODCD0; inline;
  11377. procedure setODCD10; inline;
  11378. procedure setODCD11; inline;
  11379. procedure setODCD12; inline;
  11380. procedure setODCD13; inline;
  11381. procedure setODCD14; inline;
  11382. procedure setODCD15; inline;
  11383. procedure setODCD1; inline;
  11384. procedure setODCD2; inline;
  11385. procedure setODCD3; inline;
  11386. procedure setODCD4; inline;
  11387. procedure setODCD5; inline;
  11388. procedure setODCD6; inline;
  11389. procedure setODCD7; inline;
  11390. procedure setODCD8; inline;
  11391. procedure setODCD9; inline;
  11392. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  11393. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  11394. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  11395. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  11396. property ODCD12 : TBits_1 read getODCD12 write setODCD12;
  11397. property ODCD13 : TBits_1 read getODCD13 write setODCD13;
  11398. property ODCD14 : TBits_1 read getODCD14 write setODCD14;
  11399. property ODCD15 : TBits_1 read getODCD15 write setODCD15;
  11400. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  11401. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  11402. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  11403. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  11404. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  11405. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  11406. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  11407. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  11408. property w : TBits_32 read getw write setw;
  11409. end;
  11410. TPORTD_CNPUD = record
  11411. private
  11412. function getCNPUD0 : TBits_1; inline;
  11413. function getCNPUD1 : TBits_1; inline;
  11414. function getCNPUD10 : TBits_1; inline;
  11415. function getCNPUD11 : TBits_1; inline;
  11416. function getCNPUD12 : TBits_1; inline;
  11417. function getCNPUD13 : TBits_1; inline;
  11418. function getCNPUD14 : TBits_1; inline;
  11419. function getCNPUD15 : TBits_1; inline;
  11420. function getCNPUD2 : TBits_1; inline;
  11421. function getCNPUD3 : TBits_1; inline;
  11422. function getCNPUD4 : TBits_1; inline;
  11423. function getCNPUD5 : TBits_1; inline;
  11424. function getCNPUD6 : TBits_1; inline;
  11425. function getCNPUD7 : TBits_1; inline;
  11426. function getCNPUD8 : TBits_1; inline;
  11427. function getCNPUD9 : TBits_1; inline;
  11428. function getw : TBits_32; inline;
  11429. procedure setCNPUD0(thebits : TBits_1); inline;
  11430. procedure setCNPUD1(thebits : TBits_1); inline;
  11431. procedure setCNPUD10(thebits : TBits_1); inline;
  11432. procedure setCNPUD11(thebits : TBits_1); inline;
  11433. procedure setCNPUD12(thebits : TBits_1); inline;
  11434. procedure setCNPUD13(thebits : TBits_1); inline;
  11435. procedure setCNPUD14(thebits : TBits_1); inline;
  11436. procedure setCNPUD15(thebits : TBits_1); inline;
  11437. procedure setCNPUD2(thebits : TBits_1); inline;
  11438. procedure setCNPUD3(thebits : TBits_1); inline;
  11439. procedure setCNPUD4(thebits : TBits_1); inline;
  11440. procedure setCNPUD5(thebits : TBits_1); inline;
  11441. procedure setCNPUD6(thebits : TBits_1); inline;
  11442. procedure setCNPUD7(thebits : TBits_1); inline;
  11443. procedure setCNPUD8(thebits : TBits_1); inline;
  11444. procedure setCNPUD9(thebits : TBits_1); inline;
  11445. procedure setw(thebits : TBits_32); inline;
  11446. public
  11447. procedure clearCNPUD0; inline;
  11448. procedure clearCNPUD10; inline;
  11449. procedure clearCNPUD11; inline;
  11450. procedure clearCNPUD12; inline;
  11451. procedure clearCNPUD13; inline;
  11452. procedure clearCNPUD14; inline;
  11453. procedure clearCNPUD15; inline;
  11454. procedure clearCNPUD1; inline;
  11455. procedure clearCNPUD2; inline;
  11456. procedure clearCNPUD3; inline;
  11457. procedure clearCNPUD4; inline;
  11458. procedure clearCNPUD5; inline;
  11459. procedure clearCNPUD6; inline;
  11460. procedure clearCNPUD7; inline;
  11461. procedure clearCNPUD8; inline;
  11462. procedure clearCNPUD9; inline;
  11463. procedure setCNPUD0; inline;
  11464. procedure setCNPUD10; inline;
  11465. procedure setCNPUD11; inline;
  11466. procedure setCNPUD12; inline;
  11467. procedure setCNPUD13; inline;
  11468. procedure setCNPUD14; inline;
  11469. procedure setCNPUD15; inline;
  11470. procedure setCNPUD1; inline;
  11471. procedure setCNPUD2; inline;
  11472. procedure setCNPUD3; inline;
  11473. procedure setCNPUD4; inline;
  11474. procedure setCNPUD5; inline;
  11475. procedure setCNPUD6; inline;
  11476. procedure setCNPUD7; inline;
  11477. procedure setCNPUD8; inline;
  11478. procedure setCNPUD9; inline;
  11479. property CNPUD0 : TBits_1 read getCNPUD0 write setCNPUD0;
  11480. property CNPUD1 : TBits_1 read getCNPUD1 write setCNPUD1;
  11481. property CNPUD10 : TBits_1 read getCNPUD10 write setCNPUD10;
  11482. property CNPUD11 : TBits_1 read getCNPUD11 write setCNPUD11;
  11483. property CNPUD12 : TBits_1 read getCNPUD12 write setCNPUD12;
  11484. property CNPUD13 : TBits_1 read getCNPUD13 write setCNPUD13;
  11485. property CNPUD14 : TBits_1 read getCNPUD14 write setCNPUD14;
  11486. property CNPUD15 : TBits_1 read getCNPUD15 write setCNPUD15;
  11487. property CNPUD2 : TBits_1 read getCNPUD2 write setCNPUD2;
  11488. property CNPUD3 : TBits_1 read getCNPUD3 write setCNPUD3;
  11489. property CNPUD4 : TBits_1 read getCNPUD4 write setCNPUD4;
  11490. property CNPUD5 : TBits_1 read getCNPUD5 write setCNPUD5;
  11491. property CNPUD6 : TBits_1 read getCNPUD6 write setCNPUD6;
  11492. property CNPUD7 : TBits_1 read getCNPUD7 write setCNPUD7;
  11493. property CNPUD8 : TBits_1 read getCNPUD8 write setCNPUD8;
  11494. property CNPUD9 : TBits_1 read getCNPUD9 write setCNPUD9;
  11495. property w : TBits_32 read getw write setw;
  11496. end;
  11497. TPORTD_CNPDD = record
  11498. private
  11499. function getCNPDD0 : TBits_1; inline;
  11500. function getCNPDD1 : TBits_1; inline;
  11501. function getCNPDD10 : TBits_1; inline;
  11502. function getCNPDD11 : TBits_1; inline;
  11503. function getCNPDD12 : TBits_1; inline;
  11504. function getCNPDD13 : TBits_1; inline;
  11505. function getCNPDD14 : TBits_1; inline;
  11506. function getCNPDD15 : TBits_1; inline;
  11507. function getCNPDD2 : TBits_1; inline;
  11508. function getCNPDD3 : TBits_1; inline;
  11509. function getCNPDD4 : TBits_1; inline;
  11510. function getCNPDD5 : TBits_1; inline;
  11511. function getCNPDD6 : TBits_1; inline;
  11512. function getCNPDD7 : TBits_1; inline;
  11513. function getCNPDD8 : TBits_1; inline;
  11514. function getCNPDD9 : TBits_1; inline;
  11515. function getw : TBits_32; inline;
  11516. procedure setCNPDD0(thebits : TBits_1); inline;
  11517. procedure setCNPDD1(thebits : TBits_1); inline;
  11518. procedure setCNPDD10(thebits : TBits_1); inline;
  11519. procedure setCNPDD11(thebits : TBits_1); inline;
  11520. procedure setCNPDD12(thebits : TBits_1); inline;
  11521. procedure setCNPDD13(thebits : TBits_1); inline;
  11522. procedure setCNPDD14(thebits : TBits_1); inline;
  11523. procedure setCNPDD15(thebits : TBits_1); inline;
  11524. procedure setCNPDD2(thebits : TBits_1); inline;
  11525. procedure setCNPDD3(thebits : TBits_1); inline;
  11526. procedure setCNPDD4(thebits : TBits_1); inline;
  11527. procedure setCNPDD5(thebits : TBits_1); inline;
  11528. procedure setCNPDD6(thebits : TBits_1); inline;
  11529. procedure setCNPDD7(thebits : TBits_1); inline;
  11530. procedure setCNPDD8(thebits : TBits_1); inline;
  11531. procedure setCNPDD9(thebits : TBits_1); inline;
  11532. procedure setw(thebits : TBits_32); inline;
  11533. public
  11534. procedure clearCNPDD0; inline;
  11535. procedure clearCNPDD10; inline;
  11536. procedure clearCNPDD11; inline;
  11537. procedure clearCNPDD12; inline;
  11538. procedure clearCNPDD13; inline;
  11539. procedure clearCNPDD14; inline;
  11540. procedure clearCNPDD15; inline;
  11541. procedure clearCNPDD1; inline;
  11542. procedure clearCNPDD2; inline;
  11543. procedure clearCNPDD3; inline;
  11544. procedure clearCNPDD4; inline;
  11545. procedure clearCNPDD5; inline;
  11546. procedure clearCNPDD6; inline;
  11547. procedure clearCNPDD7; inline;
  11548. procedure clearCNPDD8; inline;
  11549. procedure clearCNPDD9; inline;
  11550. procedure setCNPDD0; inline;
  11551. procedure setCNPDD10; inline;
  11552. procedure setCNPDD11; inline;
  11553. procedure setCNPDD12; inline;
  11554. procedure setCNPDD13; inline;
  11555. procedure setCNPDD14; inline;
  11556. procedure setCNPDD15; inline;
  11557. procedure setCNPDD1; inline;
  11558. procedure setCNPDD2; inline;
  11559. procedure setCNPDD3; inline;
  11560. procedure setCNPDD4; inline;
  11561. procedure setCNPDD5; inline;
  11562. procedure setCNPDD6; inline;
  11563. procedure setCNPDD7; inline;
  11564. procedure setCNPDD8; inline;
  11565. procedure setCNPDD9; inline;
  11566. property CNPDD0 : TBits_1 read getCNPDD0 write setCNPDD0;
  11567. property CNPDD1 : TBits_1 read getCNPDD1 write setCNPDD1;
  11568. property CNPDD10 : TBits_1 read getCNPDD10 write setCNPDD10;
  11569. property CNPDD11 : TBits_1 read getCNPDD11 write setCNPDD11;
  11570. property CNPDD12 : TBits_1 read getCNPDD12 write setCNPDD12;
  11571. property CNPDD13 : TBits_1 read getCNPDD13 write setCNPDD13;
  11572. property CNPDD14 : TBits_1 read getCNPDD14 write setCNPDD14;
  11573. property CNPDD15 : TBits_1 read getCNPDD15 write setCNPDD15;
  11574. property CNPDD2 : TBits_1 read getCNPDD2 write setCNPDD2;
  11575. property CNPDD3 : TBits_1 read getCNPDD3 write setCNPDD3;
  11576. property CNPDD4 : TBits_1 read getCNPDD4 write setCNPDD4;
  11577. property CNPDD5 : TBits_1 read getCNPDD5 write setCNPDD5;
  11578. property CNPDD6 : TBits_1 read getCNPDD6 write setCNPDD6;
  11579. property CNPDD7 : TBits_1 read getCNPDD7 write setCNPDD7;
  11580. property CNPDD8 : TBits_1 read getCNPDD8 write setCNPDD8;
  11581. property CNPDD9 : TBits_1 read getCNPDD9 write setCNPDD9;
  11582. property w : TBits_32 read getw write setw;
  11583. end;
  11584. TPORTD_CNCOND = record
  11585. private
  11586. function getON : TBits_1; inline;
  11587. function getSIDL : TBits_1; inline;
  11588. function getw : TBits_32; inline;
  11589. procedure setON(thebits : TBits_1); inline;
  11590. procedure setSIDL(thebits : TBits_1); inline;
  11591. procedure setw(thebits : TBits_32); inline;
  11592. public
  11593. procedure clearON; inline;
  11594. procedure clearSIDL; inline;
  11595. procedure setON; inline;
  11596. procedure setSIDL; inline;
  11597. property ON : TBits_1 read getON write setON;
  11598. property SIDL : TBits_1 read getSIDL write setSIDL;
  11599. property w : TBits_32 read getw write setw;
  11600. end;
  11601. TPORTD_CNEND = record
  11602. private
  11603. function getCNIED0 : TBits_1; inline;
  11604. function getCNIED1 : TBits_1; inline;
  11605. function getCNIED10 : TBits_1; inline;
  11606. function getCNIED11 : TBits_1; inline;
  11607. function getCNIED12 : TBits_1; inline;
  11608. function getCNIED13 : TBits_1; inline;
  11609. function getCNIED14 : TBits_1; inline;
  11610. function getCNIED15 : TBits_1; inline;
  11611. function getCNIED2 : TBits_1; inline;
  11612. function getCNIED3 : TBits_1; inline;
  11613. function getCNIED4 : TBits_1; inline;
  11614. function getCNIED5 : TBits_1; inline;
  11615. function getCNIED6 : TBits_1; inline;
  11616. function getCNIED7 : TBits_1; inline;
  11617. function getCNIED8 : TBits_1; inline;
  11618. function getCNIED9 : TBits_1; inline;
  11619. function getw : TBits_32; inline;
  11620. procedure setCNIED0(thebits : TBits_1); inline;
  11621. procedure setCNIED1(thebits : TBits_1); inline;
  11622. procedure setCNIED10(thebits : TBits_1); inline;
  11623. procedure setCNIED11(thebits : TBits_1); inline;
  11624. procedure setCNIED12(thebits : TBits_1); inline;
  11625. procedure setCNIED13(thebits : TBits_1); inline;
  11626. procedure setCNIED14(thebits : TBits_1); inline;
  11627. procedure setCNIED15(thebits : TBits_1); inline;
  11628. procedure setCNIED2(thebits : TBits_1); inline;
  11629. procedure setCNIED3(thebits : TBits_1); inline;
  11630. procedure setCNIED4(thebits : TBits_1); inline;
  11631. procedure setCNIED5(thebits : TBits_1); inline;
  11632. procedure setCNIED6(thebits : TBits_1); inline;
  11633. procedure setCNIED7(thebits : TBits_1); inline;
  11634. procedure setCNIED8(thebits : TBits_1); inline;
  11635. procedure setCNIED9(thebits : TBits_1); inline;
  11636. procedure setw(thebits : TBits_32); inline;
  11637. public
  11638. procedure clearCNIED0; inline;
  11639. procedure clearCNIED10; inline;
  11640. procedure clearCNIED11; inline;
  11641. procedure clearCNIED12; inline;
  11642. procedure clearCNIED13; inline;
  11643. procedure clearCNIED14; inline;
  11644. procedure clearCNIED15; inline;
  11645. procedure clearCNIED1; inline;
  11646. procedure clearCNIED2; inline;
  11647. procedure clearCNIED3; inline;
  11648. procedure clearCNIED4; inline;
  11649. procedure clearCNIED5; inline;
  11650. procedure clearCNIED6; inline;
  11651. procedure clearCNIED7; inline;
  11652. procedure clearCNIED8; inline;
  11653. procedure clearCNIED9; inline;
  11654. procedure setCNIED0; inline;
  11655. procedure setCNIED10; inline;
  11656. procedure setCNIED11; inline;
  11657. procedure setCNIED12; inline;
  11658. procedure setCNIED13; inline;
  11659. procedure setCNIED14; inline;
  11660. procedure setCNIED15; inline;
  11661. procedure setCNIED1; inline;
  11662. procedure setCNIED2; inline;
  11663. procedure setCNIED3; inline;
  11664. procedure setCNIED4; inline;
  11665. procedure setCNIED5; inline;
  11666. procedure setCNIED6; inline;
  11667. procedure setCNIED7; inline;
  11668. procedure setCNIED8; inline;
  11669. procedure setCNIED9; inline;
  11670. property CNIED0 : TBits_1 read getCNIED0 write setCNIED0;
  11671. property CNIED1 : TBits_1 read getCNIED1 write setCNIED1;
  11672. property CNIED10 : TBits_1 read getCNIED10 write setCNIED10;
  11673. property CNIED11 : TBits_1 read getCNIED11 write setCNIED11;
  11674. property CNIED12 : TBits_1 read getCNIED12 write setCNIED12;
  11675. property CNIED13 : TBits_1 read getCNIED13 write setCNIED13;
  11676. property CNIED14 : TBits_1 read getCNIED14 write setCNIED14;
  11677. property CNIED15 : TBits_1 read getCNIED15 write setCNIED15;
  11678. property CNIED2 : TBits_1 read getCNIED2 write setCNIED2;
  11679. property CNIED3 : TBits_1 read getCNIED3 write setCNIED3;
  11680. property CNIED4 : TBits_1 read getCNIED4 write setCNIED4;
  11681. property CNIED5 : TBits_1 read getCNIED5 write setCNIED5;
  11682. property CNIED6 : TBits_1 read getCNIED6 write setCNIED6;
  11683. property CNIED7 : TBits_1 read getCNIED7 write setCNIED7;
  11684. property CNIED8 : TBits_1 read getCNIED8 write setCNIED8;
  11685. property CNIED9 : TBits_1 read getCNIED9 write setCNIED9;
  11686. property w : TBits_32 read getw write setw;
  11687. end;
  11688. TPORTD_CNSTATD = record
  11689. private
  11690. function getCNSTATD0 : TBits_1; inline;
  11691. function getCNSTATD1 : TBits_1; inline;
  11692. function getCNSTATD10 : TBits_1; inline;
  11693. function getCNSTATD11 : TBits_1; inline;
  11694. function getCNSTATD12 : TBits_1; inline;
  11695. function getCNSTATD13 : TBits_1; inline;
  11696. function getCNSTATD14 : TBits_1; inline;
  11697. function getCNSTATD15 : TBits_1; inline;
  11698. function getCNSTATD2 : TBits_1; inline;
  11699. function getCNSTATD3 : TBits_1; inline;
  11700. function getCNSTATD4 : TBits_1; inline;
  11701. function getCNSTATD5 : TBits_1; inline;
  11702. function getCNSTATD6 : TBits_1; inline;
  11703. function getCNSTATD7 : TBits_1; inline;
  11704. function getCNSTATD8 : TBits_1; inline;
  11705. function getCNSTATD9 : TBits_1; inline;
  11706. function getw : TBits_32; inline;
  11707. procedure setCNSTATD0(thebits : TBits_1); inline;
  11708. procedure setCNSTATD1(thebits : TBits_1); inline;
  11709. procedure setCNSTATD10(thebits : TBits_1); inline;
  11710. procedure setCNSTATD11(thebits : TBits_1); inline;
  11711. procedure setCNSTATD12(thebits : TBits_1); inline;
  11712. procedure setCNSTATD13(thebits : TBits_1); inline;
  11713. procedure setCNSTATD14(thebits : TBits_1); inline;
  11714. procedure setCNSTATD15(thebits : TBits_1); inline;
  11715. procedure setCNSTATD2(thebits : TBits_1); inline;
  11716. procedure setCNSTATD3(thebits : TBits_1); inline;
  11717. procedure setCNSTATD4(thebits : TBits_1); inline;
  11718. procedure setCNSTATD5(thebits : TBits_1); inline;
  11719. procedure setCNSTATD6(thebits : TBits_1); inline;
  11720. procedure setCNSTATD7(thebits : TBits_1); inline;
  11721. procedure setCNSTATD8(thebits : TBits_1); inline;
  11722. procedure setCNSTATD9(thebits : TBits_1); inline;
  11723. procedure setw(thebits : TBits_32); inline;
  11724. public
  11725. procedure clearCNSTATD0; inline;
  11726. procedure clearCNSTATD10; inline;
  11727. procedure clearCNSTATD11; inline;
  11728. procedure clearCNSTATD12; inline;
  11729. procedure clearCNSTATD13; inline;
  11730. procedure clearCNSTATD14; inline;
  11731. procedure clearCNSTATD15; inline;
  11732. procedure clearCNSTATD1; inline;
  11733. procedure clearCNSTATD2; inline;
  11734. procedure clearCNSTATD3; inline;
  11735. procedure clearCNSTATD4; inline;
  11736. procedure clearCNSTATD5; inline;
  11737. procedure clearCNSTATD6; inline;
  11738. procedure clearCNSTATD7; inline;
  11739. procedure clearCNSTATD8; inline;
  11740. procedure clearCNSTATD9; inline;
  11741. procedure setCNSTATD0; inline;
  11742. procedure setCNSTATD10; inline;
  11743. procedure setCNSTATD11; inline;
  11744. procedure setCNSTATD12; inline;
  11745. procedure setCNSTATD13; inline;
  11746. procedure setCNSTATD14; inline;
  11747. procedure setCNSTATD15; inline;
  11748. procedure setCNSTATD1; inline;
  11749. procedure setCNSTATD2; inline;
  11750. procedure setCNSTATD3; inline;
  11751. procedure setCNSTATD4; inline;
  11752. procedure setCNSTATD5; inline;
  11753. procedure setCNSTATD6; inline;
  11754. procedure setCNSTATD7; inline;
  11755. procedure setCNSTATD8; inline;
  11756. procedure setCNSTATD9; inline;
  11757. property CNSTATD0 : TBits_1 read getCNSTATD0 write setCNSTATD0;
  11758. property CNSTATD1 : TBits_1 read getCNSTATD1 write setCNSTATD1;
  11759. property CNSTATD10 : TBits_1 read getCNSTATD10 write setCNSTATD10;
  11760. property CNSTATD11 : TBits_1 read getCNSTATD11 write setCNSTATD11;
  11761. property CNSTATD12 : TBits_1 read getCNSTATD12 write setCNSTATD12;
  11762. property CNSTATD13 : TBits_1 read getCNSTATD13 write setCNSTATD13;
  11763. property CNSTATD14 : TBits_1 read getCNSTATD14 write setCNSTATD14;
  11764. property CNSTATD15 : TBits_1 read getCNSTATD15 write setCNSTATD15;
  11765. property CNSTATD2 : TBits_1 read getCNSTATD2 write setCNSTATD2;
  11766. property CNSTATD3 : TBits_1 read getCNSTATD3 write setCNSTATD3;
  11767. property CNSTATD4 : TBits_1 read getCNSTATD4 write setCNSTATD4;
  11768. property CNSTATD5 : TBits_1 read getCNSTATD5 write setCNSTATD5;
  11769. property CNSTATD6 : TBits_1 read getCNSTATD6 write setCNSTATD6;
  11770. property CNSTATD7 : TBits_1 read getCNSTATD7 write setCNSTATD7;
  11771. property CNSTATD8 : TBits_1 read getCNSTATD8 write setCNSTATD8;
  11772. property CNSTATD9 : TBits_1 read getCNSTATD9 write setCNSTATD9;
  11773. property w : TBits_32 read getw write setw;
  11774. end;
  11775. TPORTD_ANSELE = record
  11776. private
  11777. function getANSE2 : TBits_1; inline;
  11778. function getANSE4 : TBits_1; inline;
  11779. function getANSE5 : TBits_1; inline;
  11780. function getANSE6 : TBits_1; inline;
  11781. function getANSE7 : TBits_1; inline;
  11782. function getw : TBits_32; inline;
  11783. procedure setANSE2(thebits : TBits_1); inline;
  11784. procedure setANSE4(thebits : TBits_1); inline;
  11785. procedure setANSE5(thebits : TBits_1); inline;
  11786. procedure setANSE6(thebits : TBits_1); inline;
  11787. procedure setANSE7(thebits : TBits_1); inline;
  11788. procedure setw(thebits : TBits_32); inline;
  11789. public
  11790. procedure clearANSE2; inline;
  11791. procedure clearANSE4; inline;
  11792. procedure clearANSE5; inline;
  11793. procedure clearANSE6; inline;
  11794. procedure clearANSE7; inline;
  11795. procedure setANSE2; inline;
  11796. procedure setANSE4; inline;
  11797. procedure setANSE5; inline;
  11798. procedure setANSE6; inline;
  11799. procedure setANSE7; inline;
  11800. property ANSE2 : TBits_1 read getANSE2 write setANSE2;
  11801. property ANSE4 : TBits_1 read getANSE4 write setANSE4;
  11802. property ANSE5 : TBits_1 read getANSE5 write setANSE5;
  11803. property ANSE6 : TBits_1 read getANSE6 write setANSE6;
  11804. property ANSE7 : TBits_1 read getANSE7 write setANSE7;
  11805. property w : TBits_32 read getw write setw;
  11806. end;
  11807. TPORTD_TRISE = record
  11808. private
  11809. function getTRISE0 : TBits_1; inline;
  11810. function getTRISE1 : TBits_1; inline;
  11811. function getTRISE2 : TBits_1; inline;
  11812. function getTRISE3 : TBits_1; inline;
  11813. function getTRISE4 : TBits_1; inline;
  11814. function getTRISE5 : TBits_1; inline;
  11815. function getTRISE6 : TBits_1; inline;
  11816. function getTRISE7 : TBits_1; inline;
  11817. function getTRISE8 : TBits_1; inline;
  11818. function getTRISE9 : TBits_1; inline;
  11819. function getw : TBits_32; inline;
  11820. procedure setTRISE0(thebits : TBits_1); inline;
  11821. procedure setTRISE1(thebits : TBits_1); inline;
  11822. procedure setTRISE2(thebits : TBits_1); inline;
  11823. procedure setTRISE3(thebits : TBits_1); inline;
  11824. procedure setTRISE4(thebits : TBits_1); inline;
  11825. procedure setTRISE5(thebits : TBits_1); inline;
  11826. procedure setTRISE6(thebits : TBits_1); inline;
  11827. procedure setTRISE7(thebits : TBits_1); inline;
  11828. procedure setTRISE8(thebits : TBits_1); inline;
  11829. procedure setTRISE9(thebits : TBits_1); inline;
  11830. procedure setw(thebits : TBits_32); inline;
  11831. public
  11832. procedure clearTRISE0; inline;
  11833. procedure clearTRISE1; inline;
  11834. procedure clearTRISE2; inline;
  11835. procedure clearTRISE3; inline;
  11836. procedure clearTRISE4; inline;
  11837. procedure clearTRISE5; inline;
  11838. procedure clearTRISE6; inline;
  11839. procedure clearTRISE7; inline;
  11840. procedure clearTRISE8; inline;
  11841. procedure clearTRISE9; inline;
  11842. procedure setTRISE0; inline;
  11843. procedure setTRISE1; inline;
  11844. procedure setTRISE2; inline;
  11845. procedure setTRISE3; inline;
  11846. procedure setTRISE4; inline;
  11847. procedure setTRISE5; inline;
  11848. procedure setTRISE6; inline;
  11849. procedure setTRISE7; inline;
  11850. procedure setTRISE8; inline;
  11851. procedure setTRISE9; inline;
  11852. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  11853. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  11854. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  11855. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  11856. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  11857. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  11858. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  11859. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  11860. property TRISE8 : TBits_1 read getTRISE8 write setTRISE8;
  11861. property TRISE9 : TBits_1 read getTRISE9 write setTRISE9;
  11862. property w : TBits_32 read getw write setw;
  11863. end;
  11864. type
  11865. TPORTDRegisters = record
  11866. PORTDbits : TPORTD_PORTD;
  11867. PORTD : longWord;
  11868. PORTDCLR : longWord;
  11869. PORTDSET : longWord;
  11870. PORTDINV : longWord;
  11871. LATDbits : TPORTD_LATD;
  11872. LATD : longWord;
  11873. LATDCLR : longWord;
  11874. LATDSET : longWord;
  11875. LATDINV : longWord;
  11876. ODCDbits : TPORTD_ODCD;
  11877. ODCD : longWord;
  11878. ODCDCLR : longWord;
  11879. ODCDSET : longWord;
  11880. ODCDINV : longWord;
  11881. CNPUDbits : TPORTD_CNPUD;
  11882. CNPUD : longWord;
  11883. CNPUDCLR : longWord;
  11884. CNPUDSET : longWord;
  11885. CNPUDINV : longWord;
  11886. CNPDDbits : TPORTD_CNPDD;
  11887. CNPDD : longWord;
  11888. CNPDDCLR : longWord;
  11889. CNPDDSET : longWord;
  11890. CNPDDINV : longWord;
  11891. CNCONDbits : TPORTD_CNCOND;
  11892. CNCOND : longWord;
  11893. CNCONDCLR : longWord;
  11894. CNCONDSET : longWord;
  11895. CNCONDINV : longWord;
  11896. CNENDbits : TPORTD_CNEND;
  11897. CNEND : longWord;
  11898. CNENDCLR : longWord;
  11899. CNENDSET : longWord;
  11900. CNENDINV : longWord;
  11901. CNSTATDbits : TPORTD_CNSTATD;
  11902. CNSTATD : longWord;
  11903. CNSTATDCLR : longWord;
  11904. CNSTATDSET : longWord;
  11905. CNSTATDINV : longWord;
  11906. ANSELEbits : TPORTD_ANSELE;
  11907. ANSELE : longWord;
  11908. ANSELECLR : longWord;
  11909. ANSELESET : longWord;
  11910. ANSELEINV : longWord;
  11911. TRISEbits : TPORTD_TRISE;
  11912. TRISE : longWord;
  11913. TRISECLR : longWord;
  11914. TRISESET : longWord;
  11915. TRISEINV : longWord;
  11916. end;
  11917. TPORTE_PORTE = record
  11918. private
  11919. function getRE0 : TBits_1; inline;
  11920. function getRE1 : TBits_1; inline;
  11921. function getRE2 : TBits_1; inline;
  11922. function getRE3 : TBits_1; inline;
  11923. function getRE4 : TBits_1; inline;
  11924. function getRE5 : TBits_1; inline;
  11925. function getRE6 : TBits_1; inline;
  11926. function getRE7 : TBits_1; inline;
  11927. function getRE8 : TBits_1; inline;
  11928. function getRE9 : TBits_1; inline;
  11929. function getw : TBits_32; inline;
  11930. procedure setRE0(thebits : TBits_1); inline;
  11931. procedure setRE1(thebits : TBits_1); inline;
  11932. procedure setRE2(thebits : TBits_1); inline;
  11933. procedure setRE3(thebits : TBits_1); inline;
  11934. procedure setRE4(thebits : TBits_1); inline;
  11935. procedure setRE5(thebits : TBits_1); inline;
  11936. procedure setRE6(thebits : TBits_1); inline;
  11937. procedure setRE7(thebits : TBits_1); inline;
  11938. procedure setRE8(thebits : TBits_1); inline;
  11939. procedure setRE9(thebits : TBits_1); inline;
  11940. procedure setw(thebits : TBits_32); inline;
  11941. public
  11942. procedure clearRE0; inline;
  11943. procedure clearRE1; inline;
  11944. procedure clearRE2; inline;
  11945. procedure clearRE3; inline;
  11946. procedure clearRE4; inline;
  11947. procedure clearRE5; inline;
  11948. procedure clearRE6; inline;
  11949. procedure clearRE7; inline;
  11950. procedure clearRE8; inline;
  11951. procedure clearRE9; inline;
  11952. procedure setRE0; inline;
  11953. procedure setRE1; inline;
  11954. procedure setRE2; inline;
  11955. procedure setRE3; inline;
  11956. procedure setRE4; inline;
  11957. procedure setRE5; inline;
  11958. procedure setRE6; inline;
  11959. procedure setRE7; inline;
  11960. procedure setRE8; inline;
  11961. procedure setRE9; inline;
  11962. property RE0 : TBits_1 read getRE0 write setRE0;
  11963. property RE1 : TBits_1 read getRE1 write setRE1;
  11964. property RE2 : TBits_1 read getRE2 write setRE2;
  11965. property RE3 : TBits_1 read getRE3 write setRE3;
  11966. property RE4 : TBits_1 read getRE4 write setRE4;
  11967. property RE5 : TBits_1 read getRE5 write setRE5;
  11968. property RE6 : TBits_1 read getRE6 write setRE6;
  11969. property RE7 : TBits_1 read getRE7 write setRE7;
  11970. property RE8 : TBits_1 read getRE8 write setRE8;
  11971. property RE9 : TBits_1 read getRE9 write setRE9;
  11972. property w : TBits_32 read getw write setw;
  11973. end;
  11974. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7,RE8=8,RE9=9);
  11975. TPortE_bitset = set of TPortE_bits;
  11976. TPORTE_LATE = record
  11977. private
  11978. function getLATE0 : TBits_1; inline;
  11979. function getLATE1 : TBits_1; inline;
  11980. function getLATE2 : TBits_1; inline;
  11981. function getLATE3 : TBits_1; inline;
  11982. function getLATE4 : TBits_1; inline;
  11983. function getLATE5 : TBits_1; inline;
  11984. function getLATE6 : TBits_1; inline;
  11985. function getLATE7 : TBits_1; inline;
  11986. function getLATE8 : TBits_1; inline;
  11987. function getLATE9 : TBits_1; inline;
  11988. function getw : TBits_32; inline;
  11989. procedure setLATE0(thebits : TBits_1); inline;
  11990. procedure setLATE1(thebits : TBits_1); inline;
  11991. procedure setLATE2(thebits : TBits_1); inline;
  11992. procedure setLATE3(thebits : TBits_1); inline;
  11993. procedure setLATE4(thebits : TBits_1); inline;
  11994. procedure setLATE5(thebits : TBits_1); inline;
  11995. procedure setLATE6(thebits : TBits_1); inline;
  11996. procedure setLATE7(thebits : TBits_1); inline;
  11997. procedure setLATE8(thebits : TBits_1); inline;
  11998. procedure setLATE9(thebits : TBits_1); inline;
  11999. procedure setw(thebits : TBits_32); inline;
  12000. public
  12001. procedure clearLATE0; inline;
  12002. procedure clearLATE1; inline;
  12003. procedure clearLATE2; inline;
  12004. procedure clearLATE3; inline;
  12005. procedure clearLATE4; inline;
  12006. procedure clearLATE5; inline;
  12007. procedure clearLATE6; inline;
  12008. procedure clearLATE7; inline;
  12009. procedure clearLATE8; inline;
  12010. procedure clearLATE9; inline;
  12011. procedure setLATE0; inline;
  12012. procedure setLATE1; inline;
  12013. procedure setLATE2; inline;
  12014. procedure setLATE3; inline;
  12015. procedure setLATE4; inline;
  12016. procedure setLATE5; inline;
  12017. procedure setLATE6; inline;
  12018. procedure setLATE7; inline;
  12019. procedure setLATE8; inline;
  12020. procedure setLATE9; inline;
  12021. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  12022. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  12023. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  12024. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  12025. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  12026. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  12027. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  12028. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  12029. property LATE8 : TBits_1 read getLATE8 write setLATE8;
  12030. property LATE9 : TBits_1 read getLATE9 write setLATE9;
  12031. property w : TBits_32 read getw write setw;
  12032. end;
  12033. TPORTE_ODCE = record
  12034. private
  12035. function getODCE0 : TBits_1; inline;
  12036. function getODCE1 : TBits_1; inline;
  12037. function getODCE2 : TBits_1; inline;
  12038. function getODCE3 : TBits_1; inline;
  12039. function getODCE4 : TBits_1; inline;
  12040. function getODCE5 : TBits_1; inline;
  12041. function getODCE6 : TBits_1; inline;
  12042. function getODCE7 : TBits_1; inline;
  12043. function getODCE8 : TBits_1; inline;
  12044. function getODCE9 : TBits_1; inline;
  12045. function getw : TBits_32; inline;
  12046. procedure setODCE0(thebits : TBits_1); inline;
  12047. procedure setODCE1(thebits : TBits_1); inline;
  12048. procedure setODCE2(thebits : TBits_1); inline;
  12049. procedure setODCE3(thebits : TBits_1); inline;
  12050. procedure setODCE4(thebits : TBits_1); inline;
  12051. procedure setODCE5(thebits : TBits_1); inline;
  12052. procedure setODCE6(thebits : TBits_1); inline;
  12053. procedure setODCE7(thebits : TBits_1); inline;
  12054. procedure setODCE8(thebits : TBits_1); inline;
  12055. procedure setODCE9(thebits : TBits_1); inline;
  12056. procedure setw(thebits : TBits_32); inline;
  12057. public
  12058. procedure clearODCE0; inline;
  12059. procedure clearODCE1; inline;
  12060. procedure clearODCE2; inline;
  12061. procedure clearODCE3; inline;
  12062. procedure clearODCE4; inline;
  12063. procedure clearODCE5; inline;
  12064. procedure clearODCE6; inline;
  12065. procedure clearODCE7; inline;
  12066. procedure clearODCE8; inline;
  12067. procedure clearODCE9; inline;
  12068. procedure setODCE0; inline;
  12069. procedure setODCE1; inline;
  12070. procedure setODCE2; inline;
  12071. procedure setODCE3; inline;
  12072. procedure setODCE4; inline;
  12073. procedure setODCE5; inline;
  12074. procedure setODCE6; inline;
  12075. procedure setODCE7; inline;
  12076. procedure setODCE8; inline;
  12077. procedure setODCE9; inline;
  12078. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  12079. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  12080. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  12081. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  12082. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  12083. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  12084. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  12085. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  12086. property ODCE8 : TBits_1 read getODCE8 write setODCE8;
  12087. property ODCE9 : TBits_1 read getODCE9 write setODCE9;
  12088. property w : TBits_32 read getw write setw;
  12089. end;
  12090. TPORTE_CNPUE = record
  12091. private
  12092. function getCNPUE0 : TBits_1; inline;
  12093. function getCNPUE1 : TBits_1; inline;
  12094. function getCNPUE2 : TBits_1; inline;
  12095. function getCNPUE3 : TBits_1; inline;
  12096. function getCNPUE4 : TBits_1; inline;
  12097. function getCNPUE5 : TBits_1; inline;
  12098. function getCNPUE6 : TBits_1; inline;
  12099. function getCNPUE7 : TBits_1; inline;
  12100. function getCNPUE8 : TBits_1; inline;
  12101. function getCNPUE9 : TBits_1; inline;
  12102. function getw : TBits_32; inline;
  12103. procedure setCNPUE0(thebits : TBits_1); inline;
  12104. procedure setCNPUE1(thebits : TBits_1); inline;
  12105. procedure setCNPUE2(thebits : TBits_1); inline;
  12106. procedure setCNPUE3(thebits : TBits_1); inline;
  12107. procedure setCNPUE4(thebits : TBits_1); inline;
  12108. procedure setCNPUE5(thebits : TBits_1); inline;
  12109. procedure setCNPUE6(thebits : TBits_1); inline;
  12110. procedure setCNPUE7(thebits : TBits_1); inline;
  12111. procedure setCNPUE8(thebits : TBits_1); inline;
  12112. procedure setCNPUE9(thebits : TBits_1); inline;
  12113. procedure setw(thebits : TBits_32); inline;
  12114. public
  12115. procedure clearCNPUE0; inline;
  12116. procedure clearCNPUE1; inline;
  12117. procedure clearCNPUE2; inline;
  12118. procedure clearCNPUE3; inline;
  12119. procedure clearCNPUE4; inline;
  12120. procedure clearCNPUE5; inline;
  12121. procedure clearCNPUE6; inline;
  12122. procedure clearCNPUE7; inline;
  12123. procedure clearCNPUE8; inline;
  12124. procedure clearCNPUE9; inline;
  12125. procedure setCNPUE0; inline;
  12126. procedure setCNPUE1; inline;
  12127. procedure setCNPUE2; inline;
  12128. procedure setCNPUE3; inline;
  12129. procedure setCNPUE4; inline;
  12130. procedure setCNPUE5; inline;
  12131. procedure setCNPUE6; inline;
  12132. procedure setCNPUE7; inline;
  12133. procedure setCNPUE8; inline;
  12134. procedure setCNPUE9; inline;
  12135. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  12136. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  12137. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  12138. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  12139. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  12140. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  12141. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  12142. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  12143. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  12144. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  12145. property w : TBits_32 read getw write setw;
  12146. end;
  12147. TPORTE_CNPDE = record
  12148. private
  12149. function getCNPDE0 : TBits_1; inline;
  12150. function getCNPDE1 : TBits_1; inline;
  12151. function getCNPDE2 : TBits_1; inline;
  12152. function getCNPDE3 : TBits_1; inline;
  12153. function getCNPDE4 : TBits_1; inline;
  12154. function getCNPDE5 : TBits_1; inline;
  12155. function getCNPDE6 : TBits_1; inline;
  12156. function getCNPDE7 : TBits_1; inline;
  12157. function getCNPDE8 : TBits_1; inline;
  12158. function getCNPDE9 : TBits_1; inline;
  12159. function getw : TBits_32; inline;
  12160. procedure setCNPDE0(thebits : TBits_1); inline;
  12161. procedure setCNPDE1(thebits : TBits_1); inline;
  12162. procedure setCNPDE2(thebits : TBits_1); inline;
  12163. procedure setCNPDE3(thebits : TBits_1); inline;
  12164. procedure setCNPDE4(thebits : TBits_1); inline;
  12165. procedure setCNPDE5(thebits : TBits_1); inline;
  12166. procedure setCNPDE6(thebits : TBits_1); inline;
  12167. procedure setCNPDE7(thebits : TBits_1); inline;
  12168. procedure setCNPDE8(thebits : TBits_1); inline;
  12169. procedure setCNPDE9(thebits : TBits_1); inline;
  12170. procedure setw(thebits : TBits_32); inline;
  12171. public
  12172. procedure clearCNPDE0; inline;
  12173. procedure clearCNPDE1; inline;
  12174. procedure clearCNPDE2; inline;
  12175. procedure clearCNPDE3; inline;
  12176. procedure clearCNPDE4; inline;
  12177. procedure clearCNPDE5; inline;
  12178. procedure clearCNPDE6; inline;
  12179. procedure clearCNPDE7; inline;
  12180. procedure clearCNPDE8; inline;
  12181. procedure clearCNPDE9; inline;
  12182. procedure setCNPDE0; inline;
  12183. procedure setCNPDE1; inline;
  12184. procedure setCNPDE2; inline;
  12185. procedure setCNPDE3; inline;
  12186. procedure setCNPDE4; inline;
  12187. procedure setCNPDE5; inline;
  12188. procedure setCNPDE6; inline;
  12189. procedure setCNPDE7; inline;
  12190. procedure setCNPDE8; inline;
  12191. procedure setCNPDE9; inline;
  12192. property CNPDE0 : TBits_1 read getCNPDE0 write setCNPDE0;
  12193. property CNPDE1 : TBits_1 read getCNPDE1 write setCNPDE1;
  12194. property CNPDE2 : TBits_1 read getCNPDE2 write setCNPDE2;
  12195. property CNPDE3 : TBits_1 read getCNPDE3 write setCNPDE3;
  12196. property CNPDE4 : TBits_1 read getCNPDE4 write setCNPDE4;
  12197. property CNPDE5 : TBits_1 read getCNPDE5 write setCNPDE5;
  12198. property CNPDE6 : TBits_1 read getCNPDE6 write setCNPDE6;
  12199. property CNPDE7 : TBits_1 read getCNPDE7 write setCNPDE7;
  12200. property CNPDE8 : TBits_1 read getCNPDE8 write setCNPDE8;
  12201. property CNPDE9 : TBits_1 read getCNPDE9 write setCNPDE9;
  12202. property w : TBits_32 read getw write setw;
  12203. end;
  12204. TPORTE_CNCONE = record
  12205. private
  12206. function getON : TBits_1; inline;
  12207. function getSIDL : TBits_1; inline;
  12208. function getw : TBits_32; inline;
  12209. procedure setON(thebits : TBits_1); inline;
  12210. procedure setSIDL(thebits : TBits_1); inline;
  12211. procedure setw(thebits : TBits_32); inline;
  12212. public
  12213. procedure clearON; inline;
  12214. procedure clearSIDL; inline;
  12215. procedure setON; inline;
  12216. procedure setSIDL; inline;
  12217. property ON : TBits_1 read getON write setON;
  12218. property SIDL : TBits_1 read getSIDL write setSIDL;
  12219. property w : TBits_32 read getw write setw;
  12220. end;
  12221. TPORTE_CNENE = record
  12222. private
  12223. function getCNIEE0 : TBits_1; inline;
  12224. function getCNIEE1 : TBits_1; inline;
  12225. function getCNIEE2 : TBits_1; inline;
  12226. function getCNIEE3 : TBits_1; inline;
  12227. function getCNIEE4 : TBits_1; inline;
  12228. function getCNIEE5 : TBits_1; inline;
  12229. function getCNIEE6 : TBits_1; inline;
  12230. function getCNIEE7 : TBits_1; inline;
  12231. function getCNIEE8 : TBits_1; inline;
  12232. function getCNIEE9 : TBits_1; inline;
  12233. function getw : TBits_32; inline;
  12234. procedure setCNIEE0(thebits : TBits_1); inline;
  12235. procedure setCNIEE1(thebits : TBits_1); inline;
  12236. procedure setCNIEE2(thebits : TBits_1); inline;
  12237. procedure setCNIEE3(thebits : TBits_1); inline;
  12238. procedure setCNIEE4(thebits : TBits_1); inline;
  12239. procedure setCNIEE5(thebits : TBits_1); inline;
  12240. procedure setCNIEE6(thebits : TBits_1); inline;
  12241. procedure setCNIEE7(thebits : TBits_1); inline;
  12242. procedure setCNIEE8(thebits : TBits_1); inline;
  12243. procedure setCNIEE9(thebits : TBits_1); inline;
  12244. procedure setw(thebits : TBits_32); inline;
  12245. public
  12246. procedure clearCNIEE0; inline;
  12247. procedure clearCNIEE1; inline;
  12248. procedure clearCNIEE2; inline;
  12249. procedure clearCNIEE3; inline;
  12250. procedure clearCNIEE4; inline;
  12251. procedure clearCNIEE5; inline;
  12252. procedure clearCNIEE6; inline;
  12253. procedure clearCNIEE7; inline;
  12254. procedure clearCNIEE8; inline;
  12255. procedure clearCNIEE9; inline;
  12256. procedure setCNIEE0; inline;
  12257. procedure setCNIEE1; inline;
  12258. procedure setCNIEE2; inline;
  12259. procedure setCNIEE3; inline;
  12260. procedure setCNIEE4; inline;
  12261. procedure setCNIEE5; inline;
  12262. procedure setCNIEE6; inline;
  12263. procedure setCNIEE7; inline;
  12264. procedure setCNIEE8; inline;
  12265. procedure setCNIEE9; inline;
  12266. property CNIEE0 : TBits_1 read getCNIEE0 write setCNIEE0;
  12267. property CNIEE1 : TBits_1 read getCNIEE1 write setCNIEE1;
  12268. property CNIEE2 : TBits_1 read getCNIEE2 write setCNIEE2;
  12269. property CNIEE3 : TBits_1 read getCNIEE3 write setCNIEE3;
  12270. property CNIEE4 : TBits_1 read getCNIEE4 write setCNIEE4;
  12271. property CNIEE5 : TBits_1 read getCNIEE5 write setCNIEE5;
  12272. property CNIEE6 : TBits_1 read getCNIEE6 write setCNIEE6;
  12273. property CNIEE7 : TBits_1 read getCNIEE7 write setCNIEE7;
  12274. property CNIEE8 : TBits_1 read getCNIEE8 write setCNIEE8;
  12275. property CNIEE9 : TBits_1 read getCNIEE9 write setCNIEE9;
  12276. property w : TBits_32 read getw write setw;
  12277. end;
  12278. TPORTE_CNSTATE = record
  12279. private
  12280. function getCNSTATE0 : TBits_1; inline;
  12281. function getCNSTATE1 : TBits_1; inline;
  12282. function getCNSTATE2 : TBits_1; inline;
  12283. function getCNSTATE3 : TBits_1; inline;
  12284. function getCNSTATE4 : TBits_1; inline;
  12285. function getCNSTATE5 : TBits_1; inline;
  12286. function getCNSTATE6 : TBits_1; inline;
  12287. function getCNSTATE7 : TBits_1; inline;
  12288. function getCNSTATE8 : TBits_1; inline;
  12289. function getCNSTATE9 : TBits_1; inline;
  12290. function getw : TBits_32; inline;
  12291. procedure setCNSTATE0(thebits : TBits_1); inline;
  12292. procedure setCNSTATE1(thebits : TBits_1); inline;
  12293. procedure setCNSTATE2(thebits : TBits_1); inline;
  12294. procedure setCNSTATE3(thebits : TBits_1); inline;
  12295. procedure setCNSTATE4(thebits : TBits_1); inline;
  12296. procedure setCNSTATE5(thebits : TBits_1); inline;
  12297. procedure setCNSTATE6(thebits : TBits_1); inline;
  12298. procedure setCNSTATE7(thebits : TBits_1); inline;
  12299. procedure setCNSTATE8(thebits : TBits_1); inline;
  12300. procedure setCNSTATE9(thebits : TBits_1); inline;
  12301. procedure setw(thebits : TBits_32); inline;
  12302. public
  12303. procedure clearCNSTATE0; inline;
  12304. procedure clearCNSTATE1; inline;
  12305. procedure clearCNSTATE2; inline;
  12306. procedure clearCNSTATE3; inline;
  12307. procedure clearCNSTATE4; inline;
  12308. procedure clearCNSTATE5; inline;
  12309. procedure clearCNSTATE6; inline;
  12310. procedure clearCNSTATE7; inline;
  12311. procedure clearCNSTATE8; inline;
  12312. procedure clearCNSTATE9; inline;
  12313. procedure setCNSTATE0; inline;
  12314. procedure setCNSTATE1; inline;
  12315. procedure setCNSTATE2; inline;
  12316. procedure setCNSTATE3; inline;
  12317. procedure setCNSTATE4; inline;
  12318. procedure setCNSTATE5; inline;
  12319. procedure setCNSTATE6; inline;
  12320. procedure setCNSTATE7; inline;
  12321. procedure setCNSTATE8; inline;
  12322. procedure setCNSTATE9; inline;
  12323. property CNSTATE0 : TBits_1 read getCNSTATE0 write setCNSTATE0;
  12324. property CNSTATE1 : TBits_1 read getCNSTATE1 write setCNSTATE1;
  12325. property CNSTATE2 : TBits_1 read getCNSTATE2 write setCNSTATE2;
  12326. property CNSTATE3 : TBits_1 read getCNSTATE3 write setCNSTATE3;
  12327. property CNSTATE4 : TBits_1 read getCNSTATE4 write setCNSTATE4;
  12328. property CNSTATE5 : TBits_1 read getCNSTATE5 write setCNSTATE5;
  12329. property CNSTATE6 : TBits_1 read getCNSTATE6 write setCNSTATE6;
  12330. property CNSTATE7 : TBits_1 read getCNSTATE7 write setCNSTATE7;
  12331. property CNSTATE8 : TBits_1 read getCNSTATE8 write setCNSTATE8;
  12332. property CNSTATE9 : TBits_1 read getCNSTATE9 write setCNSTATE9;
  12333. property w : TBits_32 read getw write setw;
  12334. end;
  12335. TPORTE_TRISF = record
  12336. private
  12337. function getTRISF0 : TBits_1; inline;
  12338. function getTRISF1 : TBits_1; inline;
  12339. function getTRISF12 : TBits_1; inline;
  12340. function getTRISF13 : TBits_1; inline;
  12341. function getTRISF2 : TBits_1; inline;
  12342. function getTRISF3 : TBits_1; inline;
  12343. function getTRISF4 : TBits_1; inline;
  12344. function getTRISF5 : TBits_1; inline;
  12345. function getTRISF6 : TBits_1; inline;
  12346. function getTRISF7 : TBits_1; inline;
  12347. function getTRISF8 : TBits_1; inline;
  12348. function getw : TBits_32; inline;
  12349. procedure setTRISF0(thebits : TBits_1); inline;
  12350. procedure setTRISF1(thebits : TBits_1); inline;
  12351. procedure setTRISF12(thebits : TBits_1); inline;
  12352. procedure setTRISF13(thebits : TBits_1); inline;
  12353. procedure setTRISF2(thebits : TBits_1); inline;
  12354. procedure setTRISF3(thebits : TBits_1); inline;
  12355. procedure setTRISF4(thebits : TBits_1); inline;
  12356. procedure setTRISF5(thebits : TBits_1); inline;
  12357. procedure setTRISF6(thebits : TBits_1); inline;
  12358. procedure setTRISF7(thebits : TBits_1); inline;
  12359. procedure setTRISF8(thebits : TBits_1); inline;
  12360. procedure setw(thebits : TBits_32); inline;
  12361. public
  12362. procedure clearTRISF0; inline;
  12363. procedure clearTRISF12; inline;
  12364. procedure clearTRISF13; inline;
  12365. procedure clearTRISF1; inline;
  12366. procedure clearTRISF2; inline;
  12367. procedure clearTRISF3; inline;
  12368. procedure clearTRISF4; inline;
  12369. procedure clearTRISF5; inline;
  12370. procedure clearTRISF6; inline;
  12371. procedure clearTRISF7; inline;
  12372. procedure clearTRISF8; inline;
  12373. procedure setTRISF0; inline;
  12374. procedure setTRISF12; inline;
  12375. procedure setTRISF13; inline;
  12376. procedure setTRISF1; inline;
  12377. procedure setTRISF2; inline;
  12378. procedure setTRISF3; inline;
  12379. procedure setTRISF4; inline;
  12380. procedure setTRISF5; inline;
  12381. procedure setTRISF6; inline;
  12382. procedure setTRISF7; inline;
  12383. procedure setTRISF8; inline;
  12384. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  12385. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  12386. property TRISF12 : TBits_1 read getTRISF12 write setTRISF12;
  12387. property TRISF13 : TBits_1 read getTRISF13 write setTRISF13;
  12388. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  12389. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  12390. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  12391. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  12392. property TRISF6 : TBits_1 read getTRISF6 write setTRISF6;
  12393. property TRISF7 : TBits_1 read getTRISF7 write setTRISF7;
  12394. property TRISF8 : TBits_1 read getTRISF8 write setTRISF8;
  12395. property w : TBits_32 read getw write setw;
  12396. end;
  12397. type
  12398. TPORTERegisters = record
  12399. PORTEbits : TPORTE_PORTE;
  12400. PORTE : longWord;
  12401. PORTECLR : longWord;
  12402. PORTESET : longWord;
  12403. PORTEINV : longWord;
  12404. LATEbits : TPORTE_LATE;
  12405. LATE : longWord;
  12406. LATECLR : longWord;
  12407. LATESET : longWord;
  12408. LATEINV : longWord;
  12409. ODCEbits : TPORTE_ODCE;
  12410. ODCE : longWord;
  12411. ODCECLR : longWord;
  12412. ODCESET : longWord;
  12413. ODCEINV : longWord;
  12414. CNPUEbits : TPORTE_CNPUE;
  12415. CNPUE : longWord;
  12416. CNPUECLR : longWord;
  12417. CNPUESET : longWord;
  12418. CNPUEINV : longWord;
  12419. CNPDEbits : TPORTE_CNPDE;
  12420. CNPDE : longWord;
  12421. CNPDECLR : longWord;
  12422. CNPDESET : longWord;
  12423. CNPDEINV : longWord;
  12424. CNCONEbits : TPORTE_CNCONE;
  12425. CNCONE : longWord;
  12426. CNCONECLR : longWord;
  12427. CNCONESET : longWord;
  12428. CNCONEINV : longWord;
  12429. CNENEbits : TPORTE_CNENE;
  12430. CNENE : longWord;
  12431. CNENECLR : longWord;
  12432. CNENESET : longWord;
  12433. CNENEINV : longWord;
  12434. CNSTATEbits : TPORTE_CNSTATE;
  12435. CNSTATE : longWord;
  12436. CNSTATECLR : longWord;
  12437. CNSTATESET : longWord;
  12438. CNSTATEINV : longWord;
  12439. ANSELF : longWord;
  12440. ANSELFCLR : longWord;
  12441. ANSELFSET : longWord;
  12442. ANSELFINV : longWord;
  12443. TRISFbits : TPORTE_TRISF;
  12444. TRISF : longWord;
  12445. TRISFCLR : longWord;
  12446. TRISFSET : longWord;
  12447. TRISFINV : longWord;
  12448. end;
  12449. TPORTF_PORTF = record
  12450. private
  12451. function getRF0 : TBits_1; inline;
  12452. function getRF1 : TBits_1; inline;
  12453. function getRF12 : TBits_1; inline;
  12454. function getRF13 : TBits_1; inline;
  12455. function getRF2 : TBits_1; inline;
  12456. function getRF3 : TBits_1; inline;
  12457. function getRF4 : TBits_1; inline;
  12458. function getRF5 : TBits_1; inline;
  12459. function getRF6 : TBits_1; inline;
  12460. function getRF7 : TBits_1; inline;
  12461. function getRF8 : TBits_1; inline;
  12462. function getw : TBits_32; inline;
  12463. procedure setRF0(thebits : TBits_1); inline;
  12464. procedure setRF1(thebits : TBits_1); inline;
  12465. procedure setRF12(thebits : TBits_1); inline;
  12466. procedure setRF13(thebits : TBits_1); inline;
  12467. procedure setRF2(thebits : TBits_1); inline;
  12468. procedure setRF3(thebits : TBits_1); inline;
  12469. procedure setRF4(thebits : TBits_1); inline;
  12470. procedure setRF5(thebits : TBits_1); inline;
  12471. procedure setRF6(thebits : TBits_1); inline;
  12472. procedure setRF7(thebits : TBits_1); inline;
  12473. procedure setRF8(thebits : TBits_1); inline;
  12474. procedure setw(thebits : TBits_32); inline;
  12475. public
  12476. procedure clearRF0; inline;
  12477. procedure clearRF12; inline;
  12478. procedure clearRF13; inline;
  12479. procedure clearRF1; inline;
  12480. procedure clearRF2; inline;
  12481. procedure clearRF3; inline;
  12482. procedure clearRF4; inline;
  12483. procedure clearRF5; inline;
  12484. procedure clearRF6; inline;
  12485. procedure clearRF7; inline;
  12486. procedure clearRF8; inline;
  12487. procedure setRF0; inline;
  12488. procedure setRF12; inline;
  12489. procedure setRF13; inline;
  12490. procedure setRF1; inline;
  12491. procedure setRF2; inline;
  12492. procedure setRF3; inline;
  12493. procedure setRF4; inline;
  12494. procedure setRF5; inline;
  12495. procedure setRF6; inline;
  12496. procedure setRF7; inline;
  12497. procedure setRF8; inline;
  12498. property RF0 : TBits_1 read getRF0 write setRF0;
  12499. property RF1 : TBits_1 read getRF1 write setRF1;
  12500. property RF12 : TBits_1 read getRF12 write setRF12;
  12501. property RF13 : TBits_1 read getRF13 write setRF13;
  12502. property RF2 : TBits_1 read getRF2 write setRF2;
  12503. property RF3 : TBits_1 read getRF3 write setRF3;
  12504. property RF4 : TBits_1 read getRF4 write setRF4;
  12505. property RF5 : TBits_1 read getRF5 write setRF5;
  12506. property RF6 : TBits_1 read getRF6 write setRF6;
  12507. property RF7 : TBits_1 read getRF7 write setRF7;
  12508. property RF8 : TBits_1 read getRF8 write setRF8;
  12509. property w : TBits_32 read getw write setw;
  12510. end;
  12511. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF6=6,RF7=7,RF8=8,RF12=12,RF13=13);
  12512. TPortF_bitset = set of TPortF_bits;
  12513. TPORTF_LATF = record
  12514. private
  12515. function getLATF0 : TBits_1; inline;
  12516. function getLATF1 : TBits_1; inline;
  12517. function getLATF12 : TBits_1; inline;
  12518. function getLATF13 : TBits_1; inline;
  12519. function getLATF2 : TBits_1; inline;
  12520. function getLATF3 : TBits_1; inline;
  12521. function getLATF4 : TBits_1; inline;
  12522. function getLATF5 : TBits_1; inline;
  12523. function getLATF6 : TBits_1; inline;
  12524. function getLATF7 : TBits_1; inline;
  12525. function getLATF8 : TBits_1; inline;
  12526. function getw : TBits_32; inline;
  12527. procedure setLATF0(thebits : TBits_1); inline;
  12528. procedure setLATF1(thebits : TBits_1); inline;
  12529. procedure setLATF12(thebits : TBits_1); inline;
  12530. procedure setLATF13(thebits : TBits_1); inline;
  12531. procedure setLATF2(thebits : TBits_1); inline;
  12532. procedure setLATF3(thebits : TBits_1); inline;
  12533. procedure setLATF4(thebits : TBits_1); inline;
  12534. procedure setLATF5(thebits : TBits_1); inline;
  12535. procedure setLATF6(thebits : TBits_1); inline;
  12536. procedure setLATF7(thebits : TBits_1); inline;
  12537. procedure setLATF8(thebits : TBits_1); inline;
  12538. procedure setw(thebits : TBits_32); inline;
  12539. public
  12540. procedure clearLATF0; inline;
  12541. procedure clearLATF12; inline;
  12542. procedure clearLATF13; inline;
  12543. procedure clearLATF1; inline;
  12544. procedure clearLATF2; inline;
  12545. procedure clearLATF3; inline;
  12546. procedure clearLATF4; inline;
  12547. procedure clearLATF5; inline;
  12548. procedure clearLATF6; inline;
  12549. procedure clearLATF7; inline;
  12550. procedure clearLATF8; inline;
  12551. procedure setLATF0; inline;
  12552. procedure setLATF12; inline;
  12553. procedure setLATF13; inline;
  12554. procedure setLATF1; inline;
  12555. procedure setLATF2; inline;
  12556. procedure setLATF3; inline;
  12557. procedure setLATF4; inline;
  12558. procedure setLATF5; inline;
  12559. procedure setLATF6; inline;
  12560. procedure setLATF7; inline;
  12561. procedure setLATF8; inline;
  12562. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  12563. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  12564. property LATF12 : TBits_1 read getLATF12 write setLATF12;
  12565. property LATF13 : TBits_1 read getLATF13 write setLATF13;
  12566. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  12567. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  12568. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  12569. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  12570. property LATF6 : TBits_1 read getLATF6 write setLATF6;
  12571. property LATF7 : TBits_1 read getLATF7 write setLATF7;
  12572. property LATF8 : TBits_1 read getLATF8 write setLATF8;
  12573. property w : TBits_32 read getw write setw;
  12574. end;
  12575. TPORTF_ODCF = record
  12576. private
  12577. function getODCF0 : TBits_1; inline;
  12578. function getODCF1 : TBits_1; inline;
  12579. function getODCF12 : TBits_1; inline;
  12580. function getODCF13 : TBits_1; inline;
  12581. function getODCF2 : TBits_1; inline;
  12582. function getODCF3 : TBits_1; inline;
  12583. function getODCF4 : TBits_1; inline;
  12584. function getODCF5 : TBits_1; inline;
  12585. function getODCF6 : TBits_1; inline;
  12586. function getODCF7 : TBits_1; inline;
  12587. function getODCF8 : TBits_1; inline;
  12588. function getw : TBits_32; inline;
  12589. procedure setODCF0(thebits : TBits_1); inline;
  12590. procedure setODCF1(thebits : TBits_1); inline;
  12591. procedure setODCF12(thebits : TBits_1); inline;
  12592. procedure setODCF13(thebits : TBits_1); inline;
  12593. procedure setODCF2(thebits : TBits_1); inline;
  12594. procedure setODCF3(thebits : TBits_1); inline;
  12595. procedure setODCF4(thebits : TBits_1); inline;
  12596. procedure setODCF5(thebits : TBits_1); inline;
  12597. procedure setODCF6(thebits : TBits_1); inline;
  12598. procedure setODCF7(thebits : TBits_1); inline;
  12599. procedure setODCF8(thebits : TBits_1); inline;
  12600. procedure setw(thebits : TBits_32); inline;
  12601. public
  12602. procedure clearODCF0; inline;
  12603. procedure clearODCF12; inline;
  12604. procedure clearODCF13; inline;
  12605. procedure clearODCF1; inline;
  12606. procedure clearODCF2; inline;
  12607. procedure clearODCF3; inline;
  12608. procedure clearODCF4; inline;
  12609. procedure clearODCF5; inline;
  12610. procedure clearODCF6; inline;
  12611. procedure clearODCF7; inline;
  12612. procedure clearODCF8; inline;
  12613. procedure setODCF0; inline;
  12614. procedure setODCF12; inline;
  12615. procedure setODCF13; inline;
  12616. procedure setODCF1; inline;
  12617. procedure setODCF2; inline;
  12618. procedure setODCF3; inline;
  12619. procedure setODCF4; inline;
  12620. procedure setODCF5; inline;
  12621. procedure setODCF6; inline;
  12622. procedure setODCF7; inline;
  12623. procedure setODCF8; inline;
  12624. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  12625. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  12626. property ODCF12 : TBits_1 read getODCF12 write setODCF12;
  12627. property ODCF13 : TBits_1 read getODCF13 write setODCF13;
  12628. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  12629. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  12630. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  12631. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  12632. property ODCF6 : TBits_1 read getODCF6 write setODCF6;
  12633. property ODCF7 : TBits_1 read getODCF7 write setODCF7;
  12634. property ODCF8 : TBits_1 read getODCF8 write setODCF8;
  12635. property w : TBits_32 read getw write setw;
  12636. end;
  12637. TPORTF_CNPUF = record
  12638. private
  12639. function getCNPUF0 : TBits_1; inline;
  12640. function getCNPUF1 : TBits_1; inline;
  12641. function getCNPUF12 : TBits_1; inline;
  12642. function getCNPUF13 : TBits_1; inline;
  12643. function getCNPUF2 : TBits_1; inline;
  12644. function getCNPUF3 : TBits_1; inline;
  12645. function getCNPUF4 : TBits_1; inline;
  12646. function getCNPUF5 : TBits_1; inline;
  12647. function getCNPUF6 : TBits_1; inline;
  12648. function getCNPUF7 : TBits_1; inline;
  12649. function getCNPUF8 : TBits_1; inline;
  12650. function getw : TBits_32; inline;
  12651. procedure setCNPUF0(thebits : TBits_1); inline;
  12652. procedure setCNPUF1(thebits : TBits_1); inline;
  12653. procedure setCNPUF12(thebits : TBits_1); inline;
  12654. procedure setCNPUF13(thebits : TBits_1); inline;
  12655. procedure setCNPUF2(thebits : TBits_1); inline;
  12656. procedure setCNPUF3(thebits : TBits_1); inline;
  12657. procedure setCNPUF4(thebits : TBits_1); inline;
  12658. procedure setCNPUF5(thebits : TBits_1); inline;
  12659. procedure setCNPUF6(thebits : TBits_1); inline;
  12660. procedure setCNPUF7(thebits : TBits_1); inline;
  12661. procedure setCNPUF8(thebits : TBits_1); inline;
  12662. procedure setw(thebits : TBits_32); inline;
  12663. public
  12664. procedure clearCNPUF0; inline;
  12665. procedure clearCNPUF12; inline;
  12666. procedure clearCNPUF13; inline;
  12667. procedure clearCNPUF1; inline;
  12668. procedure clearCNPUF2; inline;
  12669. procedure clearCNPUF3; inline;
  12670. procedure clearCNPUF4; inline;
  12671. procedure clearCNPUF5; inline;
  12672. procedure clearCNPUF6; inline;
  12673. procedure clearCNPUF7; inline;
  12674. procedure clearCNPUF8; inline;
  12675. procedure setCNPUF0; inline;
  12676. procedure setCNPUF12; inline;
  12677. procedure setCNPUF13; inline;
  12678. procedure setCNPUF1; inline;
  12679. procedure setCNPUF2; inline;
  12680. procedure setCNPUF3; inline;
  12681. procedure setCNPUF4; inline;
  12682. procedure setCNPUF5; inline;
  12683. procedure setCNPUF6; inline;
  12684. procedure setCNPUF7; inline;
  12685. procedure setCNPUF8; inline;
  12686. property CNPUF0 : TBits_1 read getCNPUF0 write setCNPUF0;
  12687. property CNPUF1 : TBits_1 read getCNPUF1 write setCNPUF1;
  12688. property CNPUF12 : TBits_1 read getCNPUF12 write setCNPUF12;
  12689. property CNPUF13 : TBits_1 read getCNPUF13 write setCNPUF13;
  12690. property CNPUF2 : TBits_1 read getCNPUF2 write setCNPUF2;
  12691. property CNPUF3 : TBits_1 read getCNPUF3 write setCNPUF3;
  12692. property CNPUF4 : TBits_1 read getCNPUF4 write setCNPUF4;
  12693. property CNPUF5 : TBits_1 read getCNPUF5 write setCNPUF5;
  12694. property CNPUF6 : TBits_1 read getCNPUF6 write setCNPUF6;
  12695. property CNPUF7 : TBits_1 read getCNPUF7 write setCNPUF7;
  12696. property CNPUF8 : TBits_1 read getCNPUF8 write setCNPUF8;
  12697. property w : TBits_32 read getw write setw;
  12698. end;
  12699. TPORTF_CNPDF = record
  12700. private
  12701. function getCNPDF0 : TBits_1; inline;
  12702. function getCNPDF1 : TBits_1; inline;
  12703. function getCNPDF12 : TBits_1; inline;
  12704. function getCNPDF13 : TBits_1; inline;
  12705. function getCNPDF2 : TBits_1; inline;
  12706. function getCNPDF3 : TBits_1; inline;
  12707. function getCNPDF4 : TBits_1; inline;
  12708. function getCNPDF5 : TBits_1; inline;
  12709. function getCNPDF6 : TBits_1; inline;
  12710. function getCNPDF7 : TBits_1; inline;
  12711. function getCNPDF8 : TBits_1; inline;
  12712. function getw : TBits_32; inline;
  12713. procedure setCNPDF0(thebits : TBits_1); inline;
  12714. procedure setCNPDF1(thebits : TBits_1); inline;
  12715. procedure setCNPDF12(thebits : TBits_1); inline;
  12716. procedure setCNPDF13(thebits : TBits_1); inline;
  12717. procedure setCNPDF2(thebits : TBits_1); inline;
  12718. procedure setCNPDF3(thebits : TBits_1); inline;
  12719. procedure setCNPDF4(thebits : TBits_1); inline;
  12720. procedure setCNPDF5(thebits : TBits_1); inline;
  12721. procedure setCNPDF6(thebits : TBits_1); inline;
  12722. procedure setCNPDF7(thebits : TBits_1); inline;
  12723. procedure setCNPDF8(thebits : TBits_1); inline;
  12724. procedure setw(thebits : TBits_32); inline;
  12725. public
  12726. procedure clearCNPDF0; inline;
  12727. procedure clearCNPDF12; inline;
  12728. procedure clearCNPDF13; inline;
  12729. procedure clearCNPDF1; inline;
  12730. procedure clearCNPDF2; inline;
  12731. procedure clearCNPDF3; inline;
  12732. procedure clearCNPDF4; inline;
  12733. procedure clearCNPDF5; inline;
  12734. procedure clearCNPDF6; inline;
  12735. procedure clearCNPDF7; inline;
  12736. procedure clearCNPDF8; inline;
  12737. procedure setCNPDF0; inline;
  12738. procedure setCNPDF12; inline;
  12739. procedure setCNPDF13; inline;
  12740. procedure setCNPDF1; inline;
  12741. procedure setCNPDF2; inline;
  12742. procedure setCNPDF3; inline;
  12743. procedure setCNPDF4; inline;
  12744. procedure setCNPDF5; inline;
  12745. procedure setCNPDF6; inline;
  12746. procedure setCNPDF7; inline;
  12747. procedure setCNPDF8; inline;
  12748. property CNPDF0 : TBits_1 read getCNPDF0 write setCNPDF0;
  12749. property CNPDF1 : TBits_1 read getCNPDF1 write setCNPDF1;
  12750. property CNPDF12 : TBits_1 read getCNPDF12 write setCNPDF12;
  12751. property CNPDF13 : TBits_1 read getCNPDF13 write setCNPDF13;
  12752. property CNPDF2 : TBits_1 read getCNPDF2 write setCNPDF2;
  12753. property CNPDF3 : TBits_1 read getCNPDF3 write setCNPDF3;
  12754. property CNPDF4 : TBits_1 read getCNPDF4 write setCNPDF4;
  12755. property CNPDF5 : TBits_1 read getCNPDF5 write setCNPDF5;
  12756. property CNPDF6 : TBits_1 read getCNPDF6 write setCNPDF6;
  12757. property CNPDF7 : TBits_1 read getCNPDF7 write setCNPDF7;
  12758. property CNPDF8 : TBits_1 read getCNPDF8 write setCNPDF8;
  12759. property w : TBits_32 read getw write setw;
  12760. end;
  12761. TPORTF_CNCONF = record
  12762. private
  12763. function getON : TBits_1; inline;
  12764. function getSIDL : TBits_1; inline;
  12765. function getw : TBits_32; inline;
  12766. procedure setON(thebits : TBits_1); inline;
  12767. procedure setSIDL(thebits : TBits_1); inline;
  12768. procedure setw(thebits : TBits_32); inline;
  12769. public
  12770. procedure clearON; inline;
  12771. procedure clearSIDL; inline;
  12772. procedure setON; inline;
  12773. procedure setSIDL; inline;
  12774. property ON : TBits_1 read getON write setON;
  12775. property SIDL : TBits_1 read getSIDL write setSIDL;
  12776. property w : TBits_32 read getw write setw;
  12777. end;
  12778. TPORTF_CNENF = record
  12779. private
  12780. function getCNIEF0 : TBits_1; inline;
  12781. function getCNIEF1 : TBits_1; inline;
  12782. function getCNIEF12 : TBits_1; inline;
  12783. function getCNIEF13 : TBits_1; inline;
  12784. function getCNIEF2 : TBits_1; inline;
  12785. function getCNIEF3 : TBits_1; inline;
  12786. function getCNIEF4 : TBits_1; inline;
  12787. function getCNIEF5 : TBits_1; inline;
  12788. function getCNIEF6 : TBits_1; inline;
  12789. function getCNIEF7 : TBits_1; inline;
  12790. function getCNIEF8 : TBits_1; inline;
  12791. function getw : TBits_32; inline;
  12792. procedure setCNIEF0(thebits : TBits_1); inline;
  12793. procedure setCNIEF1(thebits : TBits_1); inline;
  12794. procedure setCNIEF12(thebits : TBits_1); inline;
  12795. procedure setCNIEF13(thebits : TBits_1); inline;
  12796. procedure setCNIEF2(thebits : TBits_1); inline;
  12797. procedure setCNIEF3(thebits : TBits_1); inline;
  12798. procedure setCNIEF4(thebits : TBits_1); inline;
  12799. procedure setCNIEF5(thebits : TBits_1); inline;
  12800. procedure setCNIEF6(thebits : TBits_1); inline;
  12801. procedure setCNIEF7(thebits : TBits_1); inline;
  12802. procedure setCNIEF8(thebits : TBits_1); inline;
  12803. procedure setw(thebits : TBits_32); inline;
  12804. public
  12805. procedure clearCNIEF0; inline;
  12806. procedure clearCNIEF12; inline;
  12807. procedure clearCNIEF13; inline;
  12808. procedure clearCNIEF1; inline;
  12809. procedure clearCNIEF2; inline;
  12810. procedure clearCNIEF3; inline;
  12811. procedure clearCNIEF4; inline;
  12812. procedure clearCNIEF5; inline;
  12813. procedure clearCNIEF6; inline;
  12814. procedure clearCNIEF7; inline;
  12815. procedure clearCNIEF8; inline;
  12816. procedure setCNIEF0; inline;
  12817. procedure setCNIEF12; inline;
  12818. procedure setCNIEF13; inline;
  12819. procedure setCNIEF1; inline;
  12820. procedure setCNIEF2; inline;
  12821. procedure setCNIEF3; inline;
  12822. procedure setCNIEF4; inline;
  12823. procedure setCNIEF5; inline;
  12824. procedure setCNIEF6; inline;
  12825. procedure setCNIEF7; inline;
  12826. procedure setCNIEF8; inline;
  12827. property CNIEF0 : TBits_1 read getCNIEF0 write setCNIEF0;
  12828. property CNIEF1 : TBits_1 read getCNIEF1 write setCNIEF1;
  12829. property CNIEF12 : TBits_1 read getCNIEF12 write setCNIEF12;
  12830. property CNIEF13 : TBits_1 read getCNIEF13 write setCNIEF13;
  12831. property CNIEF2 : TBits_1 read getCNIEF2 write setCNIEF2;
  12832. property CNIEF3 : TBits_1 read getCNIEF3 write setCNIEF3;
  12833. property CNIEF4 : TBits_1 read getCNIEF4 write setCNIEF4;
  12834. property CNIEF5 : TBits_1 read getCNIEF5 write setCNIEF5;
  12835. property CNIEF6 : TBits_1 read getCNIEF6 write setCNIEF6;
  12836. property CNIEF7 : TBits_1 read getCNIEF7 write setCNIEF7;
  12837. property CNIEF8 : TBits_1 read getCNIEF8 write setCNIEF8;
  12838. property w : TBits_32 read getw write setw;
  12839. end;
  12840. TPORTF_CNSTATF = record
  12841. private
  12842. function getCNSTATF0 : TBits_1; inline;
  12843. function getCNSTATF1 : TBits_1; inline;
  12844. function getCNSTATF12 : TBits_1; inline;
  12845. function getCNSTATF13 : TBits_1; inline;
  12846. function getCNSTATF2 : TBits_1; inline;
  12847. function getCNSTATF3 : TBits_1; inline;
  12848. function getCNSTATF4 : TBits_1; inline;
  12849. function getCNSTATF5 : TBits_1; inline;
  12850. function getCNSTATF6 : TBits_1; inline;
  12851. function getCNSTATF7 : TBits_1; inline;
  12852. function getCNSTATF8 : TBits_1; inline;
  12853. function getw : TBits_32; inline;
  12854. procedure setCNSTATF0(thebits : TBits_1); inline;
  12855. procedure setCNSTATF1(thebits : TBits_1); inline;
  12856. procedure setCNSTATF12(thebits : TBits_1); inline;
  12857. procedure setCNSTATF13(thebits : TBits_1); inline;
  12858. procedure setCNSTATF2(thebits : TBits_1); inline;
  12859. procedure setCNSTATF3(thebits : TBits_1); inline;
  12860. procedure setCNSTATF4(thebits : TBits_1); inline;
  12861. procedure setCNSTATF5(thebits : TBits_1); inline;
  12862. procedure setCNSTATF6(thebits : TBits_1); inline;
  12863. procedure setCNSTATF7(thebits : TBits_1); inline;
  12864. procedure setCNSTATF8(thebits : TBits_1); inline;
  12865. procedure setw(thebits : TBits_32); inline;
  12866. public
  12867. procedure clearCNSTATF0; inline;
  12868. procedure clearCNSTATF12; inline;
  12869. procedure clearCNSTATF13; inline;
  12870. procedure clearCNSTATF1; inline;
  12871. procedure clearCNSTATF2; inline;
  12872. procedure clearCNSTATF3; inline;
  12873. procedure clearCNSTATF4; inline;
  12874. procedure clearCNSTATF5; inline;
  12875. procedure clearCNSTATF6; inline;
  12876. procedure clearCNSTATF7; inline;
  12877. procedure clearCNSTATF8; inline;
  12878. procedure setCNSTATF0; inline;
  12879. procedure setCNSTATF12; inline;
  12880. procedure setCNSTATF13; inline;
  12881. procedure setCNSTATF1; inline;
  12882. procedure setCNSTATF2; inline;
  12883. procedure setCNSTATF3; inline;
  12884. procedure setCNSTATF4; inline;
  12885. procedure setCNSTATF5; inline;
  12886. procedure setCNSTATF6; inline;
  12887. procedure setCNSTATF7; inline;
  12888. procedure setCNSTATF8; inline;
  12889. property CNSTATF0 : TBits_1 read getCNSTATF0 write setCNSTATF0;
  12890. property CNSTATF1 : TBits_1 read getCNSTATF1 write setCNSTATF1;
  12891. property CNSTATF12 : TBits_1 read getCNSTATF12 write setCNSTATF12;
  12892. property CNSTATF13 : TBits_1 read getCNSTATF13 write setCNSTATF13;
  12893. property CNSTATF2 : TBits_1 read getCNSTATF2 write setCNSTATF2;
  12894. property CNSTATF3 : TBits_1 read getCNSTATF3 write setCNSTATF3;
  12895. property CNSTATF4 : TBits_1 read getCNSTATF4 write setCNSTATF4;
  12896. property CNSTATF5 : TBits_1 read getCNSTATF5 write setCNSTATF5;
  12897. property CNSTATF6 : TBits_1 read getCNSTATF6 write setCNSTATF6;
  12898. property CNSTATF7 : TBits_1 read getCNSTATF7 write setCNSTATF7;
  12899. property CNSTATF8 : TBits_1 read getCNSTATF8 write setCNSTATF8;
  12900. property w : TBits_32 read getw write setw;
  12901. end;
  12902. TPORTF_ANSELG = record
  12903. private
  12904. function getANSG6 : TBits_1; inline;
  12905. function getANSG7 : TBits_1; inline;
  12906. function getANSG8 : TBits_1; inline;
  12907. function getANSG9 : TBits_1; inline;
  12908. function getw : TBits_32; inline;
  12909. procedure setANSG6(thebits : TBits_1); inline;
  12910. procedure setANSG7(thebits : TBits_1); inline;
  12911. procedure setANSG8(thebits : TBits_1); inline;
  12912. procedure setANSG9(thebits : TBits_1); inline;
  12913. procedure setw(thebits : TBits_32); inline;
  12914. public
  12915. procedure clearANSG6; inline;
  12916. procedure clearANSG7; inline;
  12917. procedure clearANSG8; inline;
  12918. procedure clearANSG9; inline;
  12919. procedure setANSG6; inline;
  12920. procedure setANSG7; inline;
  12921. procedure setANSG8; inline;
  12922. procedure setANSG9; inline;
  12923. property ANSG6 : TBits_1 read getANSG6 write setANSG6;
  12924. property ANSG7 : TBits_1 read getANSG7 write setANSG7;
  12925. property ANSG8 : TBits_1 read getANSG8 write setANSG8;
  12926. property ANSG9 : TBits_1 read getANSG9 write setANSG9;
  12927. property w : TBits_32 read getw write setw;
  12928. end;
  12929. TPORTF_TRISG = record
  12930. private
  12931. function getTRISG0 : TBits_1; inline;
  12932. function getTRISG1 : TBits_1; inline;
  12933. function getTRISG12 : TBits_1; inline;
  12934. function getTRISG13 : TBits_1; inline;
  12935. function getTRISG14 : TBits_1; inline;
  12936. function getTRISG15 : TBits_1; inline;
  12937. function getTRISG2 : TBits_1; inline;
  12938. function getTRISG3 : TBits_1; inline;
  12939. function getTRISG6 : TBits_1; inline;
  12940. function getTRISG7 : TBits_1; inline;
  12941. function getTRISG8 : TBits_1; inline;
  12942. function getTRISG9 : TBits_1; inline;
  12943. function getw : TBits_32; inline;
  12944. procedure setTRISG0(thebits : TBits_1); inline;
  12945. procedure setTRISG1(thebits : TBits_1); inline;
  12946. procedure setTRISG12(thebits : TBits_1); inline;
  12947. procedure setTRISG13(thebits : TBits_1); inline;
  12948. procedure setTRISG14(thebits : TBits_1); inline;
  12949. procedure setTRISG15(thebits : TBits_1); inline;
  12950. procedure setTRISG2(thebits : TBits_1); inline;
  12951. procedure setTRISG3(thebits : TBits_1); inline;
  12952. procedure setTRISG6(thebits : TBits_1); inline;
  12953. procedure setTRISG7(thebits : TBits_1); inline;
  12954. procedure setTRISG8(thebits : TBits_1); inline;
  12955. procedure setTRISG9(thebits : TBits_1); inline;
  12956. procedure setw(thebits : TBits_32); inline;
  12957. public
  12958. procedure clearTRISG0; inline;
  12959. procedure clearTRISG12; inline;
  12960. procedure clearTRISG13; inline;
  12961. procedure clearTRISG14; inline;
  12962. procedure clearTRISG15; inline;
  12963. procedure clearTRISG1; inline;
  12964. procedure clearTRISG2; inline;
  12965. procedure clearTRISG3; inline;
  12966. procedure clearTRISG6; inline;
  12967. procedure clearTRISG7; inline;
  12968. procedure clearTRISG8; inline;
  12969. procedure clearTRISG9; inline;
  12970. procedure setTRISG0; inline;
  12971. procedure setTRISG12; inline;
  12972. procedure setTRISG13; inline;
  12973. procedure setTRISG14; inline;
  12974. procedure setTRISG15; inline;
  12975. procedure setTRISG1; inline;
  12976. procedure setTRISG2; inline;
  12977. procedure setTRISG3; inline;
  12978. procedure setTRISG6; inline;
  12979. procedure setTRISG7; inline;
  12980. procedure setTRISG8; inline;
  12981. procedure setTRISG9; inline;
  12982. property TRISG0 : TBits_1 read getTRISG0 write setTRISG0;
  12983. property TRISG1 : TBits_1 read getTRISG1 write setTRISG1;
  12984. property TRISG12 : TBits_1 read getTRISG12 write setTRISG12;
  12985. property TRISG13 : TBits_1 read getTRISG13 write setTRISG13;
  12986. property TRISG14 : TBits_1 read getTRISG14 write setTRISG14;
  12987. property TRISG15 : TBits_1 read getTRISG15 write setTRISG15;
  12988. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  12989. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  12990. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  12991. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  12992. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  12993. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  12994. property w : TBits_32 read getw write setw;
  12995. end;
  12996. type
  12997. TPORTFRegisters = record
  12998. PORTFbits : TPORTF_PORTF;
  12999. PORTF : longWord;
  13000. PORTFCLR : longWord;
  13001. PORTFSET : longWord;
  13002. PORTFINV : longWord;
  13003. LATFbits : TPORTF_LATF;
  13004. LATF : longWord;
  13005. LATFCLR : longWord;
  13006. LATFSET : longWord;
  13007. LATFINV : longWord;
  13008. ODCFbits : TPORTF_ODCF;
  13009. ODCF : longWord;
  13010. ODCFCLR : longWord;
  13011. ODCFSET : longWord;
  13012. ODCFINV : longWord;
  13013. CNPUFbits : TPORTF_CNPUF;
  13014. CNPUF : longWord;
  13015. CNPUFCLR : longWord;
  13016. CNPUFSET : longWord;
  13017. CNPUFINV : longWord;
  13018. CNPDFbits : TPORTF_CNPDF;
  13019. CNPDF : longWord;
  13020. CNPDFCLR : longWord;
  13021. CNPDFSET : longWord;
  13022. CNPDFINV : longWord;
  13023. CNCONFbits : TPORTF_CNCONF;
  13024. CNCONF : longWord;
  13025. CNCONFCLR : longWord;
  13026. CNCONFSET : longWord;
  13027. CNCONFINV : longWord;
  13028. CNENFbits : TPORTF_CNENF;
  13029. CNENF : longWord;
  13030. CNENFCLR : longWord;
  13031. CNENFSET : longWord;
  13032. CNENFINV : longWord;
  13033. CNSTATFbits : TPORTF_CNSTATF;
  13034. CNSTATF : longWord;
  13035. CNSTATFCLR : longWord;
  13036. CNSTATFSET : longWord;
  13037. CNSTATFINV : longWord;
  13038. ANSELGbits : TPORTF_ANSELG;
  13039. ANSELG : longWord;
  13040. ANSELGCLR : longWord;
  13041. ANSELGSET : longWord;
  13042. ANSELGINV : longWord;
  13043. TRISGbits : TPORTF_TRISG;
  13044. TRISG : longWord;
  13045. TRISGCLR : longWord;
  13046. TRISGSET : longWord;
  13047. TRISGINV : longWord;
  13048. end;
  13049. TPORTG_PORTG = record
  13050. private
  13051. function getRG0 : TBits_1; inline;
  13052. function getRG1 : TBits_1; inline;
  13053. function getRG12 : TBits_1; inline;
  13054. function getRG13 : TBits_1; inline;
  13055. function getRG14 : TBits_1; inline;
  13056. function getRG15 : TBits_1; inline;
  13057. function getRG2 : TBits_1; inline;
  13058. function getRG3 : TBits_1; inline;
  13059. function getRG6 : TBits_1; inline;
  13060. function getRG7 : TBits_1; inline;
  13061. function getRG8 : TBits_1; inline;
  13062. function getRG9 : TBits_1; inline;
  13063. function getw : TBits_32; inline;
  13064. procedure setRG0(thebits : TBits_1); inline;
  13065. procedure setRG1(thebits : TBits_1); inline;
  13066. procedure setRG12(thebits : TBits_1); inline;
  13067. procedure setRG13(thebits : TBits_1); inline;
  13068. procedure setRG14(thebits : TBits_1); inline;
  13069. procedure setRG15(thebits : TBits_1); inline;
  13070. procedure setRG2(thebits : TBits_1); inline;
  13071. procedure setRG3(thebits : TBits_1); inline;
  13072. procedure setRG6(thebits : TBits_1); inline;
  13073. procedure setRG7(thebits : TBits_1); inline;
  13074. procedure setRG8(thebits : TBits_1); inline;
  13075. procedure setRG9(thebits : TBits_1); inline;
  13076. procedure setw(thebits : TBits_32); inline;
  13077. public
  13078. procedure clearRG0; inline;
  13079. procedure clearRG12; inline;
  13080. procedure clearRG13; inline;
  13081. procedure clearRG14; inline;
  13082. procedure clearRG15; inline;
  13083. procedure clearRG1; inline;
  13084. procedure clearRG2; inline;
  13085. procedure clearRG3; inline;
  13086. procedure clearRG6; inline;
  13087. procedure clearRG7; inline;
  13088. procedure clearRG8; inline;
  13089. procedure clearRG9; inline;
  13090. procedure setRG0; inline;
  13091. procedure setRG12; inline;
  13092. procedure setRG13; inline;
  13093. procedure setRG14; inline;
  13094. procedure setRG15; inline;
  13095. procedure setRG1; inline;
  13096. procedure setRG2; inline;
  13097. procedure setRG3; inline;
  13098. procedure setRG6; inline;
  13099. procedure setRG7; inline;
  13100. procedure setRG8; inline;
  13101. procedure setRG9; inline;
  13102. property RG0 : TBits_1 read getRG0 write setRG0;
  13103. property RG1 : TBits_1 read getRG1 write setRG1;
  13104. property RG12 : TBits_1 read getRG12 write setRG12;
  13105. property RG13 : TBits_1 read getRG13 write setRG13;
  13106. property RG14 : TBits_1 read getRG14 write setRG14;
  13107. property RG15 : TBits_1 read getRG15 write setRG15;
  13108. property RG2 : TBits_1 read getRG2 write setRG2;
  13109. property RG3 : TBits_1 read getRG3 write setRG3;
  13110. property RG6 : TBits_1 read getRG6 write setRG6;
  13111. property RG7 : TBits_1 read getRG7 write setRG7;
  13112. property RG8 : TBits_1 read getRG8 write setRG8;
  13113. property RG9 : TBits_1 read getRG9 write setRG9;
  13114. property w : TBits_32 read getw write setw;
  13115. end;
  13116. 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);
  13117. TPortG_bitset = set of TPortG_bits;
  13118. TPORTG_LATG = record
  13119. private
  13120. function getLATG0 : TBits_1; inline;
  13121. function getLATG1 : TBits_1; inline;
  13122. function getLATG12 : TBits_1; inline;
  13123. function getLATG13 : TBits_1; inline;
  13124. function getLATG14 : TBits_1; inline;
  13125. function getLATG15 : TBits_1; inline;
  13126. function getLATG2 : TBits_1; inline;
  13127. function getLATG3 : TBits_1; inline;
  13128. function getLATG6 : TBits_1; inline;
  13129. function getLATG7 : TBits_1; inline;
  13130. function getLATG8 : TBits_1; inline;
  13131. function getLATG9 : TBits_1; inline;
  13132. function getw : TBits_32; inline;
  13133. procedure setLATG0(thebits : TBits_1); inline;
  13134. procedure setLATG1(thebits : TBits_1); inline;
  13135. procedure setLATG12(thebits : TBits_1); inline;
  13136. procedure setLATG13(thebits : TBits_1); inline;
  13137. procedure setLATG14(thebits : TBits_1); inline;
  13138. procedure setLATG15(thebits : TBits_1); inline;
  13139. procedure setLATG2(thebits : TBits_1); inline;
  13140. procedure setLATG3(thebits : TBits_1); inline;
  13141. procedure setLATG6(thebits : TBits_1); inline;
  13142. procedure setLATG7(thebits : TBits_1); inline;
  13143. procedure setLATG8(thebits : TBits_1); inline;
  13144. procedure setLATG9(thebits : TBits_1); inline;
  13145. procedure setw(thebits : TBits_32); inline;
  13146. public
  13147. procedure clearLATG0; inline;
  13148. procedure clearLATG12; inline;
  13149. procedure clearLATG13; inline;
  13150. procedure clearLATG14; inline;
  13151. procedure clearLATG15; inline;
  13152. procedure clearLATG1; inline;
  13153. procedure clearLATG2; inline;
  13154. procedure clearLATG3; inline;
  13155. procedure clearLATG6; inline;
  13156. procedure clearLATG7; inline;
  13157. procedure clearLATG8; inline;
  13158. procedure clearLATG9; inline;
  13159. procedure setLATG0; inline;
  13160. procedure setLATG12; inline;
  13161. procedure setLATG13; inline;
  13162. procedure setLATG14; inline;
  13163. procedure setLATG15; inline;
  13164. procedure setLATG1; inline;
  13165. procedure setLATG2; inline;
  13166. procedure setLATG3; inline;
  13167. procedure setLATG6; inline;
  13168. procedure setLATG7; inline;
  13169. procedure setLATG8; inline;
  13170. procedure setLATG9; inline;
  13171. property LATG0 : TBits_1 read getLATG0 write setLATG0;
  13172. property LATG1 : TBits_1 read getLATG1 write setLATG1;
  13173. property LATG12 : TBits_1 read getLATG12 write setLATG12;
  13174. property LATG13 : TBits_1 read getLATG13 write setLATG13;
  13175. property LATG14 : TBits_1 read getLATG14 write setLATG14;
  13176. property LATG15 : TBits_1 read getLATG15 write setLATG15;
  13177. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  13178. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  13179. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  13180. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  13181. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  13182. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  13183. property w : TBits_32 read getw write setw;
  13184. end;
  13185. TPORTG_ODCG = record
  13186. private
  13187. function getODCG0 : TBits_1; inline;
  13188. function getODCG1 : TBits_1; inline;
  13189. function getODCG12 : TBits_1; inline;
  13190. function getODCG13 : TBits_1; inline;
  13191. function getODCG14 : TBits_1; inline;
  13192. function getODCG15 : TBits_1; inline;
  13193. function getODCG2 : TBits_1; inline;
  13194. function getODCG3 : TBits_1; inline;
  13195. function getODCG6 : TBits_1; inline;
  13196. function getODCG7 : TBits_1; inline;
  13197. function getODCG8 : TBits_1; inline;
  13198. function getODCG9 : TBits_1; inline;
  13199. function getw : TBits_32; inline;
  13200. procedure setODCG0(thebits : TBits_1); inline;
  13201. procedure setODCG1(thebits : TBits_1); inline;
  13202. procedure setODCG12(thebits : TBits_1); inline;
  13203. procedure setODCG13(thebits : TBits_1); inline;
  13204. procedure setODCG14(thebits : TBits_1); inline;
  13205. procedure setODCG15(thebits : TBits_1); inline;
  13206. procedure setODCG2(thebits : TBits_1); inline;
  13207. procedure setODCG3(thebits : TBits_1); inline;
  13208. procedure setODCG6(thebits : TBits_1); inline;
  13209. procedure setODCG7(thebits : TBits_1); inline;
  13210. procedure setODCG8(thebits : TBits_1); inline;
  13211. procedure setODCG9(thebits : TBits_1); inline;
  13212. procedure setw(thebits : TBits_32); inline;
  13213. public
  13214. procedure clearODCG0; inline;
  13215. procedure clearODCG12; inline;
  13216. procedure clearODCG13; inline;
  13217. procedure clearODCG14; inline;
  13218. procedure clearODCG15; inline;
  13219. procedure clearODCG1; inline;
  13220. procedure clearODCG2; inline;
  13221. procedure clearODCG3; inline;
  13222. procedure clearODCG6; inline;
  13223. procedure clearODCG7; inline;
  13224. procedure clearODCG8; inline;
  13225. procedure clearODCG9; inline;
  13226. procedure setODCG0; inline;
  13227. procedure setODCG12; inline;
  13228. procedure setODCG13; inline;
  13229. procedure setODCG14; inline;
  13230. procedure setODCG15; inline;
  13231. procedure setODCG1; inline;
  13232. procedure setODCG2; inline;
  13233. procedure setODCG3; inline;
  13234. procedure setODCG6; inline;
  13235. procedure setODCG7; inline;
  13236. procedure setODCG8; inline;
  13237. procedure setODCG9; inline;
  13238. property ODCG0 : TBits_1 read getODCG0 write setODCG0;
  13239. property ODCG1 : TBits_1 read getODCG1 write setODCG1;
  13240. property ODCG12 : TBits_1 read getODCG12 write setODCG12;
  13241. property ODCG13 : TBits_1 read getODCG13 write setODCG13;
  13242. property ODCG14 : TBits_1 read getODCG14 write setODCG14;
  13243. property ODCG15 : TBits_1 read getODCG15 write setODCG15;
  13244. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  13245. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  13246. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  13247. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  13248. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  13249. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  13250. property w : TBits_32 read getw write setw;
  13251. end;
  13252. TPORTG_CNPUG = record
  13253. private
  13254. function getCNPUG0 : TBits_1; inline;
  13255. function getCNPUG1 : TBits_1; inline;
  13256. function getCNPUG12 : TBits_1; inline;
  13257. function getCNPUG13 : TBits_1; inline;
  13258. function getCNPUG14 : TBits_1; inline;
  13259. function getCNPUG15 : TBits_1; inline;
  13260. function getCNPUG2 : TBits_1; inline;
  13261. function getCNPUG3 : TBits_1; inline;
  13262. function getCNPUG6 : TBits_1; inline;
  13263. function getCNPUG7 : TBits_1; inline;
  13264. function getCNPUG8 : TBits_1; inline;
  13265. function getCNPUG9 : TBits_1; inline;
  13266. function getw : TBits_32; inline;
  13267. procedure setCNPUG0(thebits : TBits_1); inline;
  13268. procedure setCNPUG1(thebits : TBits_1); inline;
  13269. procedure setCNPUG12(thebits : TBits_1); inline;
  13270. procedure setCNPUG13(thebits : TBits_1); inline;
  13271. procedure setCNPUG14(thebits : TBits_1); inline;
  13272. procedure setCNPUG15(thebits : TBits_1); inline;
  13273. procedure setCNPUG2(thebits : TBits_1); inline;
  13274. procedure setCNPUG3(thebits : TBits_1); inline;
  13275. procedure setCNPUG6(thebits : TBits_1); inline;
  13276. procedure setCNPUG7(thebits : TBits_1); inline;
  13277. procedure setCNPUG8(thebits : TBits_1); inline;
  13278. procedure setCNPUG9(thebits : TBits_1); inline;
  13279. procedure setw(thebits : TBits_32); inline;
  13280. public
  13281. procedure clearCNPUG0; inline;
  13282. procedure clearCNPUG12; inline;
  13283. procedure clearCNPUG13; inline;
  13284. procedure clearCNPUG14; inline;
  13285. procedure clearCNPUG15; inline;
  13286. procedure clearCNPUG1; inline;
  13287. procedure clearCNPUG2; inline;
  13288. procedure clearCNPUG3; inline;
  13289. procedure clearCNPUG6; inline;
  13290. procedure clearCNPUG7; inline;
  13291. procedure clearCNPUG8; inline;
  13292. procedure clearCNPUG9; inline;
  13293. procedure setCNPUG0; inline;
  13294. procedure setCNPUG12; inline;
  13295. procedure setCNPUG13; inline;
  13296. procedure setCNPUG14; inline;
  13297. procedure setCNPUG15; inline;
  13298. procedure setCNPUG1; inline;
  13299. procedure setCNPUG2; inline;
  13300. procedure setCNPUG3; inline;
  13301. procedure setCNPUG6; inline;
  13302. procedure setCNPUG7; inline;
  13303. procedure setCNPUG8; inline;
  13304. procedure setCNPUG9; inline;
  13305. property CNPUG0 : TBits_1 read getCNPUG0 write setCNPUG0;
  13306. property CNPUG1 : TBits_1 read getCNPUG1 write setCNPUG1;
  13307. property CNPUG12 : TBits_1 read getCNPUG12 write setCNPUG12;
  13308. property CNPUG13 : TBits_1 read getCNPUG13 write setCNPUG13;
  13309. property CNPUG14 : TBits_1 read getCNPUG14 write setCNPUG14;
  13310. property CNPUG15 : TBits_1 read getCNPUG15 write setCNPUG15;
  13311. property CNPUG2 : TBits_1 read getCNPUG2 write setCNPUG2;
  13312. property CNPUG3 : TBits_1 read getCNPUG3 write setCNPUG3;
  13313. property CNPUG6 : TBits_1 read getCNPUG6 write setCNPUG6;
  13314. property CNPUG7 : TBits_1 read getCNPUG7 write setCNPUG7;
  13315. property CNPUG8 : TBits_1 read getCNPUG8 write setCNPUG8;
  13316. property CNPUG9 : TBits_1 read getCNPUG9 write setCNPUG9;
  13317. property w : TBits_32 read getw write setw;
  13318. end;
  13319. TPORTG_CNPDG = record
  13320. private
  13321. function getCNPDG0 : TBits_1; inline;
  13322. function getCNPDG1 : TBits_1; inline;
  13323. function getCNPDG12 : TBits_1; inline;
  13324. function getCNPDG13 : TBits_1; inline;
  13325. function getCNPDG14 : TBits_1; inline;
  13326. function getCNPDG15 : TBits_1; inline;
  13327. function getCNPDG2 : TBits_1; inline;
  13328. function getCNPDG3 : TBits_1; inline;
  13329. function getCNPDG6 : TBits_1; inline;
  13330. function getCNPDG7 : TBits_1; inline;
  13331. function getCNPDG8 : TBits_1; inline;
  13332. function getCNPDG9 : TBits_1; inline;
  13333. function getw : TBits_32; inline;
  13334. procedure setCNPDG0(thebits : TBits_1); inline;
  13335. procedure setCNPDG1(thebits : TBits_1); inline;
  13336. procedure setCNPDG12(thebits : TBits_1); inline;
  13337. procedure setCNPDG13(thebits : TBits_1); inline;
  13338. procedure setCNPDG14(thebits : TBits_1); inline;
  13339. procedure setCNPDG15(thebits : TBits_1); inline;
  13340. procedure setCNPDG2(thebits : TBits_1); inline;
  13341. procedure setCNPDG3(thebits : TBits_1); inline;
  13342. procedure setCNPDG6(thebits : TBits_1); inline;
  13343. procedure setCNPDG7(thebits : TBits_1); inline;
  13344. procedure setCNPDG8(thebits : TBits_1); inline;
  13345. procedure setCNPDG9(thebits : TBits_1); inline;
  13346. procedure setw(thebits : TBits_32); inline;
  13347. public
  13348. procedure clearCNPDG0; inline;
  13349. procedure clearCNPDG12; inline;
  13350. procedure clearCNPDG13; inline;
  13351. procedure clearCNPDG14; inline;
  13352. procedure clearCNPDG15; inline;
  13353. procedure clearCNPDG1; inline;
  13354. procedure clearCNPDG2; inline;
  13355. procedure clearCNPDG3; inline;
  13356. procedure clearCNPDG6; inline;
  13357. procedure clearCNPDG7; inline;
  13358. procedure clearCNPDG8; inline;
  13359. procedure clearCNPDG9; inline;
  13360. procedure setCNPDG0; inline;
  13361. procedure setCNPDG12; inline;
  13362. procedure setCNPDG13; inline;
  13363. procedure setCNPDG14; inline;
  13364. procedure setCNPDG15; inline;
  13365. procedure setCNPDG1; inline;
  13366. procedure setCNPDG2; inline;
  13367. procedure setCNPDG3; inline;
  13368. procedure setCNPDG6; inline;
  13369. procedure setCNPDG7; inline;
  13370. procedure setCNPDG8; inline;
  13371. procedure setCNPDG9; inline;
  13372. property CNPDG0 : TBits_1 read getCNPDG0 write setCNPDG0;
  13373. property CNPDG1 : TBits_1 read getCNPDG1 write setCNPDG1;
  13374. property CNPDG12 : TBits_1 read getCNPDG12 write setCNPDG12;
  13375. property CNPDG13 : TBits_1 read getCNPDG13 write setCNPDG13;
  13376. property CNPDG14 : TBits_1 read getCNPDG14 write setCNPDG14;
  13377. property CNPDG15 : TBits_1 read getCNPDG15 write setCNPDG15;
  13378. property CNPDG2 : TBits_1 read getCNPDG2 write setCNPDG2;
  13379. property CNPDG3 : TBits_1 read getCNPDG3 write setCNPDG3;
  13380. property CNPDG6 : TBits_1 read getCNPDG6 write setCNPDG6;
  13381. property CNPDG7 : TBits_1 read getCNPDG7 write setCNPDG7;
  13382. property CNPDG8 : TBits_1 read getCNPDG8 write setCNPDG8;
  13383. property CNPDG9 : TBits_1 read getCNPDG9 write setCNPDG9;
  13384. property w : TBits_32 read getw write setw;
  13385. end;
  13386. TPORTG_CNCONG = record
  13387. private
  13388. function getON : TBits_1; inline;
  13389. function getSIDL : TBits_1; inline;
  13390. function getw : TBits_32; inline;
  13391. procedure setON(thebits : TBits_1); inline;
  13392. procedure setSIDL(thebits : TBits_1); inline;
  13393. procedure setw(thebits : TBits_32); inline;
  13394. public
  13395. procedure clearON; inline;
  13396. procedure clearSIDL; inline;
  13397. procedure setON; inline;
  13398. procedure setSIDL; inline;
  13399. property ON : TBits_1 read getON write setON;
  13400. property SIDL : TBits_1 read getSIDL write setSIDL;
  13401. property w : TBits_32 read getw write setw;
  13402. end;
  13403. TPORTG_CNENG = record
  13404. private
  13405. function getCNIEG0 : TBits_1; inline;
  13406. function getCNIEG1 : TBits_1; inline;
  13407. function getCNIEG12 : TBits_1; inline;
  13408. function getCNIEG13 : TBits_1; inline;
  13409. function getCNIEG14 : TBits_1; inline;
  13410. function getCNIEG15 : TBits_1; inline;
  13411. function getCNIEG2 : TBits_1; inline;
  13412. function getCNIEG3 : TBits_1; inline;
  13413. function getCNIEG6 : TBits_1; inline;
  13414. function getCNIEG7 : TBits_1; inline;
  13415. function getCNIEG8 : TBits_1; inline;
  13416. function getCNIEG9 : TBits_1; inline;
  13417. function getw : TBits_32; inline;
  13418. procedure setCNIEG0(thebits : TBits_1); inline;
  13419. procedure setCNIEG1(thebits : TBits_1); inline;
  13420. procedure setCNIEG12(thebits : TBits_1); inline;
  13421. procedure setCNIEG13(thebits : TBits_1); inline;
  13422. procedure setCNIEG14(thebits : TBits_1); inline;
  13423. procedure setCNIEG15(thebits : TBits_1); inline;
  13424. procedure setCNIEG2(thebits : TBits_1); inline;
  13425. procedure setCNIEG3(thebits : TBits_1); inline;
  13426. procedure setCNIEG6(thebits : TBits_1); inline;
  13427. procedure setCNIEG7(thebits : TBits_1); inline;
  13428. procedure setCNIEG8(thebits : TBits_1); inline;
  13429. procedure setCNIEG9(thebits : TBits_1); inline;
  13430. procedure setw(thebits : TBits_32); inline;
  13431. public
  13432. procedure clearCNIEG0; inline;
  13433. procedure clearCNIEG12; inline;
  13434. procedure clearCNIEG13; inline;
  13435. procedure clearCNIEG14; inline;
  13436. procedure clearCNIEG15; inline;
  13437. procedure clearCNIEG1; inline;
  13438. procedure clearCNIEG2; inline;
  13439. procedure clearCNIEG3; inline;
  13440. procedure clearCNIEG6; inline;
  13441. procedure clearCNIEG7; inline;
  13442. procedure clearCNIEG8; inline;
  13443. procedure clearCNIEG9; inline;
  13444. procedure setCNIEG0; inline;
  13445. procedure setCNIEG12; inline;
  13446. procedure setCNIEG13; inline;
  13447. procedure setCNIEG14; inline;
  13448. procedure setCNIEG15; inline;
  13449. procedure setCNIEG1; inline;
  13450. procedure setCNIEG2; inline;
  13451. procedure setCNIEG3; inline;
  13452. procedure setCNIEG6; inline;
  13453. procedure setCNIEG7; inline;
  13454. procedure setCNIEG8; inline;
  13455. procedure setCNIEG9; inline;
  13456. property CNIEG0 : TBits_1 read getCNIEG0 write setCNIEG0;
  13457. property CNIEG1 : TBits_1 read getCNIEG1 write setCNIEG1;
  13458. property CNIEG12 : TBits_1 read getCNIEG12 write setCNIEG12;
  13459. property CNIEG13 : TBits_1 read getCNIEG13 write setCNIEG13;
  13460. property CNIEG14 : TBits_1 read getCNIEG14 write setCNIEG14;
  13461. property CNIEG15 : TBits_1 read getCNIEG15 write setCNIEG15;
  13462. property CNIEG2 : TBits_1 read getCNIEG2 write setCNIEG2;
  13463. property CNIEG3 : TBits_1 read getCNIEG3 write setCNIEG3;
  13464. property CNIEG6 : TBits_1 read getCNIEG6 write setCNIEG6;
  13465. property CNIEG7 : TBits_1 read getCNIEG7 write setCNIEG7;
  13466. property CNIEG8 : TBits_1 read getCNIEG8 write setCNIEG8;
  13467. property CNIEG9 : TBits_1 read getCNIEG9 write setCNIEG9;
  13468. property w : TBits_32 read getw write setw;
  13469. end;
  13470. TPORTG_CNSTATG = record
  13471. private
  13472. function getCNSTATG0 : TBits_1; inline;
  13473. function getCNSTATG1 : TBits_1; inline;
  13474. function getCNSTATG12 : TBits_1; inline;
  13475. function getCNSTATG13 : TBits_1; inline;
  13476. function getCNSTATG14 : TBits_1; inline;
  13477. function getCNSTATG15 : TBits_1; inline;
  13478. function getCNSTATG2 : TBits_1; inline;
  13479. function getCNSTATG3 : TBits_1; inline;
  13480. function getCNSTATG6 : TBits_1; inline;
  13481. function getCNSTATG7 : TBits_1; inline;
  13482. function getCNSTATG8 : TBits_1; inline;
  13483. function getCNSTATG9 : TBits_1; inline;
  13484. function getw : TBits_32; inline;
  13485. procedure setCNSTATG0(thebits : TBits_1); inline;
  13486. procedure setCNSTATG1(thebits : TBits_1); inline;
  13487. procedure setCNSTATG12(thebits : TBits_1); inline;
  13488. procedure setCNSTATG13(thebits : TBits_1); inline;
  13489. procedure setCNSTATG14(thebits : TBits_1); inline;
  13490. procedure setCNSTATG15(thebits : TBits_1); inline;
  13491. procedure setCNSTATG2(thebits : TBits_1); inline;
  13492. procedure setCNSTATG3(thebits : TBits_1); inline;
  13493. procedure setCNSTATG6(thebits : TBits_1); inline;
  13494. procedure setCNSTATG7(thebits : TBits_1); inline;
  13495. procedure setCNSTATG8(thebits : TBits_1); inline;
  13496. procedure setCNSTATG9(thebits : TBits_1); inline;
  13497. procedure setw(thebits : TBits_32); inline;
  13498. public
  13499. procedure clearCNSTATG0; inline;
  13500. procedure clearCNSTATG12; inline;
  13501. procedure clearCNSTATG13; inline;
  13502. procedure clearCNSTATG14; inline;
  13503. procedure clearCNSTATG15; inline;
  13504. procedure clearCNSTATG1; inline;
  13505. procedure clearCNSTATG2; inline;
  13506. procedure clearCNSTATG3; inline;
  13507. procedure clearCNSTATG6; inline;
  13508. procedure clearCNSTATG7; inline;
  13509. procedure clearCNSTATG8; inline;
  13510. procedure clearCNSTATG9; inline;
  13511. procedure setCNSTATG0; inline;
  13512. procedure setCNSTATG12; inline;
  13513. procedure setCNSTATG13; inline;
  13514. procedure setCNSTATG14; inline;
  13515. procedure setCNSTATG15; inline;
  13516. procedure setCNSTATG1; inline;
  13517. procedure setCNSTATG2; inline;
  13518. procedure setCNSTATG3; inline;
  13519. procedure setCNSTATG6; inline;
  13520. procedure setCNSTATG7; inline;
  13521. procedure setCNSTATG8; inline;
  13522. procedure setCNSTATG9; inline;
  13523. property CNSTATG0 : TBits_1 read getCNSTATG0 write setCNSTATG0;
  13524. property CNSTATG1 : TBits_1 read getCNSTATG1 write setCNSTATG1;
  13525. property CNSTATG12 : TBits_1 read getCNSTATG12 write setCNSTATG12;
  13526. property CNSTATG13 : TBits_1 read getCNSTATG13 write setCNSTATG13;
  13527. property CNSTATG14 : TBits_1 read getCNSTATG14 write setCNSTATG14;
  13528. property CNSTATG15 : TBits_1 read getCNSTATG15 write setCNSTATG15;
  13529. property CNSTATG2 : TBits_1 read getCNSTATG2 write setCNSTATG2;
  13530. property CNSTATG3 : TBits_1 read getCNSTATG3 write setCNSTATG3;
  13531. property CNSTATG6 : TBits_1 read getCNSTATG6 write setCNSTATG6;
  13532. property CNSTATG7 : TBits_1 read getCNSTATG7 write setCNSTATG7;
  13533. property CNSTATG8 : TBits_1 read getCNSTATG8 write setCNSTATG8;
  13534. property CNSTATG9 : TBits_1 read getCNSTATG9 write setCNSTATG9;
  13535. property w : TBits_32 read getw write setw;
  13536. end;
  13537. type
  13538. TPORTGRegisters = record
  13539. PORTGbits : TPORTG_PORTG;
  13540. PORTG : longWord;
  13541. PORTGCLR : longWord;
  13542. PORTGSET : longWord;
  13543. PORTGINV : longWord;
  13544. LATGbits : TPORTG_LATG;
  13545. LATG : longWord;
  13546. LATGCLR : longWord;
  13547. LATGSET : longWord;
  13548. LATGINV : longWord;
  13549. ODCGbits : TPORTG_ODCG;
  13550. ODCG : longWord;
  13551. ODCGCLR : longWord;
  13552. ODCGSET : longWord;
  13553. ODCGINV : longWord;
  13554. CNPUGbits : TPORTG_CNPUG;
  13555. CNPUG : longWord;
  13556. CNPUGCLR : longWord;
  13557. CNPUGSET : longWord;
  13558. CNPUGINV : longWord;
  13559. CNPDGbits : TPORTG_CNPDG;
  13560. CNPDG : longWord;
  13561. CNPDGCLR : longWord;
  13562. CNPDGSET : longWord;
  13563. CNPDGINV : longWord;
  13564. CNCONGbits : TPORTG_CNCONG;
  13565. CNCONG : longWord;
  13566. CNCONGCLR : longWord;
  13567. CNCONGSET : longWord;
  13568. CNCONGINV : longWord;
  13569. CNENGbits : TPORTG_CNENG;
  13570. CNENG : longWord;
  13571. CNENGCLR : longWord;
  13572. CNENGSET : longWord;
  13573. CNENGINV : longWord;
  13574. CNSTATGbits : TPORTG_CNSTATG;
  13575. CNSTATG : longWord;
  13576. CNSTATGCLR : longWord;
  13577. CNSTATGSET : longWord;
  13578. CNSTATGINV : longWord;
  13579. end;
  13580. TDEVCFG_DEVCFG3 = record
  13581. private
  13582. function getFSRSSEL : TBits_3; inline;
  13583. function getIOL1WAY : TBits_1; inline;
  13584. function getPMDL1WAY : TBits_1; inline;
  13585. function getUSERID : TBits_16; inline;
  13586. function getw : TBits_32; inline;
  13587. procedure setFSRSSEL(thebits : TBits_3); inline;
  13588. procedure setIOL1WAY(thebits : TBits_1); inline;
  13589. procedure setPMDL1WAY(thebits : TBits_1); inline;
  13590. procedure setUSERID(thebits : TBits_16); inline;
  13591. procedure setw(thebits : TBits_32); inline;
  13592. public
  13593. procedure clearIOL1WAY; inline;
  13594. procedure clearPMDL1WAY; inline;
  13595. procedure setIOL1WAY; inline;
  13596. procedure setPMDL1WAY; inline;
  13597. property FSRSSEL : TBits_3 read getFSRSSEL write setFSRSSEL;
  13598. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  13599. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  13600. property USERID : TBits_16 read getUSERID write setUSERID;
  13601. property w : TBits_32 read getw write setw;
  13602. end;
  13603. TDEVCFG_DEVCFG2 = record
  13604. private
  13605. function getFPLLIDIV : TBits_3; inline;
  13606. function getFPLLMUL : TBits_3; inline;
  13607. function getFPLLODIV : TBits_3; inline;
  13608. function getw : TBits_32; inline;
  13609. procedure setFPLLIDIV(thebits : TBits_3); inline;
  13610. procedure setFPLLMUL(thebits : TBits_3); inline;
  13611. procedure setFPLLODIV(thebits : TBits_3); inline;
  13612. procedure setw(thebits : TBits_32); inline;
  13613. public
  13614. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  13615. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  13616. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  13617. property w : TBits_32 read getw write setw;
  13618. end;
  13619. TDEVCFG_DEVCFG1 = record
  13620. private
  13621. function getFCKSM : TBits_2; inline;
  13622. function getFNOSC : TBits_3; inline;
  13623. function getFPBDIV : TBits_2; inline;
  13624. function getFSOSCEN : TBits_1; inline;
  13625. function getFWDTEN : TBits_1; inline;
  13626. function getFWDTWINSZ : TBits_2; inline;
  13627. function getIESO : TBits_1; inline;
  13628. function getOSCIOFNC : TBits_1; inline;
  13629. function getPOSCMOD : TBits_2; inline;
  13630. function getWDTPS : TBits_5; inline;
  13631. function getWINDIS : TBits_1; inline;
  13632. function getw : TBits_32; inline;
  13633. procedure setFCKSM(thebits : TBits_2); inline;
  13634. procedure setFNOSC(thebits : TBits_3); inline;
  13635. procedure setFPBDIV(thebits : TBits_2); inline;
  13636. procedure setFSOSCEN(thebits : TBits_1); inline;
  13637. procedure setFWDTEN(thebits : TBits_1); inline;
  13638. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  13639. procedure setIESO(thebits : TBits_1); inline;
  13640. procedure setOSCIOFNC(thebits : TBits_1); inline;
  13641. procedure setPOSCMOD(thebits : TBits_2); inline;
  13642. procedure setWDTPS(thebits : TBits_5); inline;
  13643. procedure setWINDIS(thebits : TBits_1); inline;
  13644. procedure setw(thebits : TBits_32); inline;
  13645. public
  13646. procedure clearFSOSCEN; inline;
  13647. procedure clearFWDTEN; inline;
  13648. procedure clearIESO; inline;
  13649. procedure clearOSCIOFNC; inline;
  13650. procedure clearWINDIS; inline;
  13651. procedure setFSOSCEN; inline;
  13652. procedure setFWDTEN; inline;
  13653. procedure setIESO; inline;
  13654. procedure setOSCIOFNC; inline;
  13655. procedure setWINDIS; inline;
  13656. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  13657. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  13658. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  13659. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  13660. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  13661. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  13662. property IESO : TBits_1 read getIESO write setIESO;
  13663. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  13664. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  13665. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  13666. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  13667. property w : TBits_32 read getw write setw;
  13668. end;
  13669. TDEVCFG_DEVCFG0 = record
  13670. private
  13671. function getBWP : TBits_1; inline;
  13672. function getCP : TBits_1; inline;
  13673. function getDEBUG : TBits_2; inline;
  13674. function getFDEBUG : TBits_2; inline;
  13675. function getICESEL : TBits_2; inline;
  13676. function getJTAGEN : TBits_1; inline;
  13677. function getPWP : TBits_8; inline;
  13678. function getw : TBits_32; inline;
  13679. procedure setBWP(thebits : TBits_1); inline;
  13680. procedure setCP(thebits : TBits_1); inline;
  13681. procedure setDEBUG(thebits : TBits_2); inline;
  13682. procedure setFDEBUG(thebits : TBits_2); inline;
  13683. procedure setICESEL(thebits : TBits_2); inline;
  13684. procedure setJTAGEN(thebits : TBits_1); inline;
  13685. procedure setPWP(thebits : TBits_8); inline;
  13686. procedure setw(thebits : TBits_32); inline;
  13687. public
  13688. procedure clearBWP; inline;
  13689. procedure clearCP; inline;
  13690. procedure clearJTAGEN; inline;
  13691. procedure setBWP; inline;
  13692. procedure setCP; inline;
  13693. procedure setJTAGEN; inline;
  13694. property BWP : TBits_1 read getBWP write setBWP;
  13695. property CP : TBits_1 read getCP write setCP;
  13696. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  13697. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  13698. property ICESEL : TBits_2 read getICESEL write setICESEL;
  13699. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  13700. property PWP : TBits_8 read getPWP write setPWP;
  13701. property w : TBits_32 read getw write setw;
  13702. end;
  13703. const
  13704. _CORE_TIMER_IRQ = 0;
  13705. _CORE_SOFTWARE_0_IRQ = 1;
  13706. _CORE_SOFTWARE_1_IRQ = 2;
  13707. _EXTERNAL_0_IRQ = 3;
  13708. _TIMER_1_IRQ = 4;
  13709. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  13710. _INPUT_CAPTURE_1_IRQ = 6;
  13711. _OUTPUT_COMPARE_1_IRQ = 7;
  13712. _EXTERNAL_1_IRQ = 8;
  13713. _TIMER_2_IRQ = 9;
  13714. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  13715. _INPUT_CAPTURE_2_IRQ = 11;
  13716. _OUTPUT_COMPARE_2_IRQ = 12;
  13717. _EXTERNAL_2_IRQ = 13;
  13718. _TIMER_3_IRQ = 14;
  13719. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  13720. _INPUT_CAPTURE_3_IRQ = 16;
  13721. _OUTPUT_COMPARE_3_IRQ = 17;
  13722. _EXTERNAL_3_IRQ = 18;
  13723. _TIMER_4_IRQ = 19;
  13724. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  13725. _INPUT_CAPTURE_4_IRQ = 21;
  13726. _OUTPUT_COMPARE_4_IRQ = 22;
  13727. _EXTERNAL_4_IRQ = 23;
  13728. _TIMER_5_IRQ = 24;
  13729. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  13730. _INPUT_CAPTURE_5_IRQ = 26;
  13731. _OUTPUT_COMPARE_5_IRQ = 27;
  13732. _ADC_IRQ = 28;
  13733. _FAIL_SAFE_MONITOR_IRQ = 29;
  13734. _RTCC_IRQ = 30;
  13735. _FLASH_CONTROL_IRQ = 31;
  13736. _COMPARATOR_1_IRQ = 32;
  13737. _COMPARATOR_2_IRQ = 33;
  13738. _SPI1_ERR_IRQ = 35;
  13739. _SPI1_RX_IRQ = 36;
  13740. _SPI1_TX_IRQ = 37;
  13741. _UART1_ERR_IRQ = 38;
  13742. _UART1_RX_IRQ = 39;
  13743. _UART1_TX_IRQ = 40;
  13744. _I2C1_BUS_IRQ = 41;
  13745. _I2C1_SLAVE_IRQ = 42;
  13746. _I2C1_MASTER_IRQ = 43;
  13747. _CHANGE_NOTICE_A_IRQ = 44;
  13748. _CHANGE_NOTICE_B_IRQ = 45;
  13749. _CHANGE_NOTICE_C_IRQ = 46;
  13750. _CHANGE_NOTICE_D_IRQ = 47;
  13751. _CHANGE_NOTICE_E_IRQ = 48;
  13752. _CHANGE_NOTICE_F_IRQ = 49;
  13753. _CHANGE_NOTICE_G_IRQ = 50;
  13754. _PMP_IRQ = 51;
  13755. _PMP_ERROR_IRQ = 52;
  13756. _SPI2_ERR_IRQ = 53;
  13757. _SPI2_RX_IRQ = 54;
  13758. _SPI2_TX_IRQ = 55;
  13759. _UART2_ERR_IRQ = 56;
  13760. _UART2_RX_IRQ = 57;
  13761. _UART2_TX_IRQ = 58;
  13762. _I2C2_BUS_IRQ = 59;
  13763. _I2C2_SLAVE_IRQ = 60;
  13764. _I2C2_MASTER_IRQ = 61;
  13765. _UART3_ERR_IRQ = 62;
  13766. _UART3_RX_IRQ = 63;
  13767. _UART3_TX_IRQ = 64;
  13768. _UART4_ERR_IRQ = 65;
  13769. _UART4_RX_IRQ = 66;
  13770. _UART4_TX_IRQ = 67;
  13771. _UART5_ERR_IRQ = 68;
  13772. _UART5_RX_IRQ = 69;
  13773. _UART5_TX_IRQ = 70;
  13774. _CTMU_IRQ = 71;
  13775. _DMA0_IRQ = 72;
  13776. _DMA1_IRQ = 73;
  13777. _DMA2_IRQ = 74;
  13778. _DMA3_IRQ = 75;
  13779. const
  13780. ADC10_BASE_ADDRESS = $BF809000;
  13781. var
  13782. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  13783. const
  13784. BMX_BASE_ADDRESS = $BF882000;
  13785. var
  13786. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  13787. const
  13788. CFG_BASE_ADDRESS = $BF80F200;
  13789. var
  13790. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  13791. const
  13792. CMP_BASE_ADDRESS = $BF80A000;
  13793. var
  13794. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  13795. const
  13796. CVR_BASE_ADDRESS = $BF809800;
  13797. var
  13798. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  13799. const
  13800. DMAC_BASE_ADDRESS = $BF883000;
  13801. var
  13802. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  13803. const
  13804. DMAC0_BASE_ADDRESS = $BF883060;
  13805. var
  13806. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  13807. const
  13808. DMAC1_BASE_ADDRESS = $BF883120;
  13809. var
  13810. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  13811. const
  13812. DMAC2_BASE_ADDRESS = $BF8831E0;
  13813. var
  13814. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  13815. const
  13816. DMAC3_BASE_ADDRESS = $BF8832A0;
  13817. var
  13818. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  13819. const
  13820. I2C1_BASE_ADDRESS = $BF805000;
  13821. var
  13822. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  13823. const
  13824. I2C2_BASE_ADDRESS = $BF805100;
  13825. var
  13826. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  13827. const
  13828. ICAP1_BASE_ADDRESS = $BF802000;
  13829. var
  13830. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  13831. const
  13832. ICAP2_BASE_ADDRESS = $BF802200;
  13833. var
  13834. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  13835. const
  13836. ICAP3_BASE_ADDRESS = $BF802400;
  13837. var
  13838. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  13839. const
  13840. ICAP4_BASE_ADDRESS = $BF802600;
  13841. var
  13842. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  13843. const
  13844. ICAP5_BASE_ADDRESS = $BF802800;
  13845. var
  13846. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  13847. const
  13848. INT_BASE_ADDRESS = $BF881000;
  13849. var
  13850. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  13851. const
  13852. NVM_BASE_ADDRESS = $BF80F400;
  13853. var
  13854. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  13855. const
  13856. OCMP1_BASE_ADDRESS = $BF803000;
  13857. var
  13858. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  13859. const
  13860. OCMP2_BASE_ADDRESS = $BF803200;
  13861. var
  13862. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  13863. const
  13864. OCMP3_BASE_ADDRESS = $BF803400;
  13865. var
  13866. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  13867. const
  13868. OCMP4_BASE_ADDRESS = $BF803600;
  13869. var
  13870. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  13871. const
  13872. OCMP5_BASE_ADDRESS = $BF803800;
  13873. var
  13874. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  13875. const
  13876. OSC_BASE_ADDRESS = $BF80F000;
  13877. var
  13878. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  13879. const
  13880. PCACHE_BASE_ADDRESS = $BF884000;
  13881. var
  13882. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  13883. const
  13884. PMP_BASE_ADDRESS = $BF807000;
  13885. var
  13886. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  13887. const
  13888. PORTA_BASE_ADDRESS = $BF886020;
  13889. var
  13890. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  13891. const
  13892. PORTB_BASE_ADDRESS = $BF886120;
  13893. var
  13894. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  13895. const
  13896. PORTC_BASE_ADDRESS = $BF886220;
  13897. var
  13898. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  13899. const
  13900. PORTD_BASE_ADDRESS = $BF886320;
  13901. var
  13902. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  13903. const
  13904. PORTE_BASE_ADDRESS = $BF886420;
  13905. var
  13906. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  13907. const
  13908. PORTF_BASE_ADDRESS = $BF886520;
  13909. var
  13910. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  13911. const
  13912. PORTG_BASE_ADDRESS = $BF886620;
  13913. var
  13914. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  13915. const
  13916. RCON_BASE_ADDRESS = $BF80F600;
  13917. var
  13918. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  13919. const
  13920. RTCC_BASE_ADDRESS = $BF800200;
  13921. var
  13922. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  13923. const
  13924. SPI1_BASE_ADDRESS = $BF805800;
  13925. var
  13926. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  13927. const
  13928. SPI2_BASE_ADDRESS = $BF805A00;
  13929. var
  13930. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  13931. const
  13932. TMR1_BASE_ADDRESS = $BF800600;
  13933. var
  13934. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  13935. const
  13936. TMR2_BASE_ADDRESS = $BF800800;
  13937. var
  13938. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  13939. const
  13940. TMR3_BASE_ADDRESS = $BF800A00;
  13941. var
  13942. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  13943. const
  13944. TMR4_BASE_ADDRESS = $BF800C00;
  13945. var
  13946. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  13947. const
  13948. TMR5_BASE_ADDRESS = $BF800E00;
  13949. var
  13950. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  13951. const
  13952. UART1_BASE_ADDRESS = $BF806000;
  13953. var
  13954. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  13955. const
  13956. UART2_BASE_ADDRESS = $BF806200;
  13957. var
  13958. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  13959. const
  13960. UART3_BASE_ADDRESS = $BF806400;
  13961. var
  13962. UART3 : TUART3Registers absolute UART3_BASE_ADDRESS;
  13963. const
  13964. UART4_BASE_ADDRESS = $BF806600;
  13965. var
  13966. UART4 : TUART4Registers absolute UART4_BASE_ADDRESS;
  13967. const
  13968. UART5_BASE_ADDRESS = $BF806800;
  13969. var
  13970. UART5 : TUART5Registers absolute UART5_BASE_ADDRESS;
  13971. const
  13972. WDT_BASE_ADDRESS = $BF800000;
  13973. var
  13974. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  13975. implementation
  13976. type
  13977. TDefRegMap = record
  13978. val : longWord;
  13979. clr : longWord;
  13980. &set : longWord;
  13981. inv : longWord;
  13982. end;
  13983. pTDefRegMap = ^TDefRegMap;
  13984. procedure TWDT_WDTCON.setWDTCLR; inline;
  13985. begin
  13986. pTDefRegMap(@Self)^.&set := $00000001;
  13987. end;
  13988. procedure TWDT_WDTCON.clearWDTCLR; inline;
  13989. begin
  13990. pTDefRegMap(@Self)^.clr := $00000001;
  13991. end;
  13992. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  13993. begin
  13994. if thebits = 0 then
  13995. pTDefRegMap(@Self)^.clr := $00000001
  13996. else
  13997. pTDefRegMap(@Self)^.&set := $00000001;
  13998. end;
  13999. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  14000. begin
  14001. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14002. end;
  14003. procedure TWDT_WDTCON.setWDTWINEN; inline;
  14004. begin
  14005. pTDefRegMap(@Self)^.&set := $00000002;
  14006. end;
  14007. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  14008. begin
  14009. pTDefRegMap(@Self)^.clr := $00000002;
  14010. end;
  14011. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  14012. begin
  14013. if thebits = 0 then
  14014. pTDefRegMap(@Self)^.clr := $00000002
  14015. else
  14016. pTDefRegMap(@Self)^.&set := $00000002;
  14017. end;
  14018. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  14019. begin
  14020. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14021. end;
  14022. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  14023. begin
  14024. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  14025. end;
  14026. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  14027. begin
  14028. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  14029. end;
  14030. procedure TWDT_WDTCON.setON; inline;
  14031. begin
  14032. pTDefRegMap(@Self)^.&set := $00008000;
  14033. end;
  14034. procedure TWDT_WDTCON.clearON; inline;
  14035. begin
  14036. pTDefRegMap(@Self)^.clr := $00008000;
  14037. end;
  14038. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  14039. begin
  14040. if thebits = 0 then
  14041. pTDefRegMap(@Self)^.clr := $00008000
  14042. else
  14043. pTDefRegMap(@Self)^.&set := $00008000;
  14044. end;
  14045. function TWDT_WDTCON.getON : TBits_1; inline;
  14046. begin
  14047. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14048. end;
  14049. procedure TWDT_WDTCON.setSWDTPS0; inline;
  14050. begin
  14051. pTDefRegMap(@Self)^.&set := $00000004;
  14052. end;
  14053. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  14054. begin
  14055. pTDefRegMap(@Self)^.clr := $00000004;
  14056. end;
  14057. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  14058. begin
  14059. if thebits = 0 then
  14060. pTDefRegMap(@Self)^.clr := $00000004
  14061. else
  14062. pTDefRegMap(@Self)^.&set := $00000004;
  14063. end;
  14064. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  14065. begin
  14066. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14067. end;
  14068. procedure TWDT_WDTCON.setSWDTPS1; inline;
  14069. begin
  14070. pTDefRegMap(@Self)^.&set := $00000008;
  14071. end;
  14072. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  14073. begin
  14074. pTDefRegMap(@Self)^.clr := $00000008;
  14075. end;
  14076. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  14077. begin
  14078. if thebits = 0 then
  14079. pTDefRegMap(@Self)^.clr := $00000008
  14080. else
  14081. pTDefRegMap(@Self)^.&set := $00000008;
  14082. end;
  14083. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  14084. begin
  14085. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14086. end;
  14087. procedure TWDT_WDTCON.setSWDTPS2; inline;
  14088. begin
  14089. pTDefRegMap(@Self)^.&set := $00000010;
  14090. end;
  14091. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  14092. begin
  14093. pTDefRegMap(@Self)^.clr := $00000010;
  14094. end;
  14095. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  14096. begin
  14097. if thebits = 0 then
  14098. pTDefRegMap(@Self)^.clr := $00000010
  14099. else
  14100. pTDefRegMap(@Self)^.&set := $00000010;
  14101. end;
  14102. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  14103. begin
  14104. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14105. end;
  14106. procedure TWDT_WDTCON.setSWDTPS3; inline;
  14107. begin
  14108. pTDefRegMap(@Self)^.&set := $00000020;
  14109. end;
  14110. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  14111. begin
  14112. pTDefRegMap(@Self)^.clr := $00000020;
  14113. end;
  14114. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  14115. begin
  14116. if thebits = 0 then
  14117. pTDefRegMap(@Self)^.clr := $00000020
  14118. else
  14119. pTDefRegMap(@Self)^.&set := $00000020;
  14120. end;
  14121. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  14122. begin
  14123. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14124. end;
  14125. procedure TWDT_WDTCON.setSWDTPS4; inline;
  14126. begin
  14127. pTDefRegMap(@Self)^.&set := $00000040;
  14128. end;
  14129. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  14130. begin
  14131. pTDefRegMap(@Self)^.clr := $00000040;
  14132. end;
  14133. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  14134. begin
  14135. if thebits = 0 then
  14136. pTDefRegMap(@Self)^.clr := $00000040
  14137. else
  14138. pTDefRegMap(@Self)^.&set := $00000040;
  14139. end;
  14140. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  14141. begin
  14142. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14143. end;
  14144. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  14145. begin
  14146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  14147. end;
  14148. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  14149. begin
  14150. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  14151. end;
  14152. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  14153. begin
  14154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  14155. end;
  14156. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  14157. begin
  14158. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  14159. end;
  14160. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  14161. begin
  14162. pTDefRegMap(@Self)^.val := thebits;
  14163. end;
  14164. function TWDT_WDTCON.getw : TBits_32; inline;
  14165. begin
  14166. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14167. end;
  14168. procedure TRTCC_RTCCON.setRTCOE; inline;
  14169. begin
  14170. pTDefRegMap(@Self)^.&set := $00000001;
  14171. end;
  14172. procedure TRTCC_RTCCON.clearRTCOE; inline;
  14173. begin
  14174. pTDefRegMap(@Self)^.clr := $00000001;
  14175. end;
  14176. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  14177. begin
  14178. if thebits = 0 then
  14179. pTDefRegMap(@Self)^.clr := $00000001
  14180. else
  14181. pTDefRegMap(@Self)^.&set := $00000001;
  14182. end;
  14183. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  14184. begin
  14185. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14186. end;
  14187. procedure TRTCC_RTCCON.setHALFSEC; inline;
  14188. begin
  14189. pTDefRegMap(@Self)^.&set := $00000002;
  14190. end;
  14191. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  14192. begin
  14193. pTDefRegMap(@Self)^.clr := $00000002;
  14194. end;
  14195. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  14196. begin
  14197. if thebits = 0 then
  14198. pTDefRegMap(@Self)^.clr := $00000002
  14199. else
  14200. pTDefRegMap(@Self)^.&set := $00000002;
  14201. end;
  14202. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  14203. begin
  14204. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14205. end;
  14206. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  14207. begin
  14208. pTDefRegMap(@Self)^.&set := $00000004;
  14209. end;
  14210. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  14211. begin
  14212. pTDefRegMap(@Self)^.clr := $00000004;
  14213. end;
  14214. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  14215. begin
  14216. if thebits = 0 then
  14217. pTDefRegMap(@Self)^.clr := $00000004
  14218. else
  14219. pTDefRegMap(@Self)^.&set := $00000004;
  14220. end;
  14221. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  14222. begin
  14223. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14224. end;
  14225. procedure TRTCC_RTCCON.setRTCWREN; inline;
  14226. begin
  14227. pTDefRegMap(@Self)^.&set := $00000008;
  14228. end;
  14229. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  14230. begin
  14231. pTDefRegMap(@Self)^.clr := $00000008;
  14232. end;
  14233. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  14234. begin
  14235. if thebits = 0 then
  14236. pTDefRegMap(@Self)^.clr := $00000008
  14237. else
  14238. pTDefRegMap(@Self)^.&set := $00000008;
  14239. end;
  14240. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  14241. begin
  14242. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14243. end;
  14244. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  14245. begin
  14246. pTDefRegMap(@Self)^.&set := $00000040;
  14247. end;
  14248. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  14249. begin
  14250. pTDefRegMap(@Self)^.clr := $00000040;
  14251. end;
  14252. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  14253. begin
  14254. if thebits = 0 then
  14255. pTDefRegMap(@Self)^.clr := $00000040
  14256. else
  14257. pTDefRegMap(@Self)^.&set := $00000040;
  14258. end;
  14259. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  14260. begin
  14261. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14262. end;
  14263. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  14264. begin
  14265. pTDefRegMap(@Self)^.&set := $00000080;
  14266. end;
  14267. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  14268. begin
  14269. pTDefRegMap(@Self)^.clr := $00000080;
  14270. end;
  14271. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  14272. begin
  14273. if thebits = 0 then
  14274. pTDefRegMap(@Self)^.clr := $00000080
  14275. else
  14276. pTDefRegMap(@Self)^.&set := $00000080;
  14277. end;
  14278. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  14279. begin
  14280. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14281. end;
  14282. procedure TRTCC_RTCCON.setSIDL; inline;
  14283. begin
  14284. pTDefRegMap(@Self)^.&set := $00002000;
  14285. end;
  14286. procedure TRTCC_RTCCON.clearSIDL; inline;
  14287. begin
  14288. pTDefRegMap(@Self)^.clr := $00002000;
  14289. end;
  14290. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  14291. begin
  14292. if thebits = 0 then
  14293. pTDefRegMap(@Self)^.clr := $00002000
  14294. else
  14295. pTDefRegMap(@Self)^.&set := $00002000;
  14296. end;
  14297. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  14298. begin
  14299. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14300. end;
  14301. procedure TRTCC_RTCCON.setON; inline;
  14302. begin
  14303. pTDefRegMap(@Self)^.&set := $00008000;
  14304. end;
  14305. procedure TRTCC_RTCCON.clearON; inline;
  14306. begin
  14307. pTDefRegMap(@Self)^.clr := $00008000;
  14308. end;
  14309. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  14310. begin
  14311. if thebits = 0 then
  14312. pTDefRegMap(@Self)^.clr := $00008000
  14313. else
  14314. pTDefRegMap(@Self)^.&set := $00008000;
  14315. end;
  14316. function TRTCC_RTCCON.getON : TBits_1; inline;
  14317. begin
  14318. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14319. end;
  14320. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  14321. begin
  14322. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  14323. end;
  14324. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  14325. begin
  14326. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  14327. end;
  14328. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  14329. begin
  14330. pTDefRegMap(@Self)^.val := thebits;
  14331. end;
  14332. function TRTCC_RTCCON.getw : TBits_32; inline;
  14333. begin
  14334. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14335. end;
  14336. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  14337. begin
  14338. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  14339. end;
  14340. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  14341. begin
  14342. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  14343. end;
  14344. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  14345. begin
  14346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  14347. end;
  14348. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  14349. begin
  14350. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  14351. end;
  14352. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  14353. begin
  14354. pTDefRegMap(@Self)^.&set := $00001000;
  14355. end;
  14356. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  14357. begin
  14358. pTDefRegMap(@Self)^.clr := $00001000;
  14359. end;
  14360. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  14361. begin
  14362. if thebits = 0 then
  14363. pTDefRegMap(@Self)^.clr := $00001000
  14364. else
  14365. pTDefRegMap(@Self)^.&set := $00001000;
  14366. end;
  14367. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  14368. begin
  14369. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14370. end;
  14371. procedure TRTCC_RTCALRM.setPIV; inline;
  14372. begin
  14373. pTDefRegMap(@Self)^.&set := $00002000;
  14374. end;
  14375. procedure TRTCC_RTCALRM.clearPIV; inline;
  14376. begin
  14377. pTDefRegMap(@Self)^.clr := $00002000;
  14378. end;
  14379. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  14380. begin
  14381. if thebits = 0 then
  14382. pTDefRegMap(@Self)^.clr := $00002000
  14383. else
  14384. pTDefRegMap(@Self)^.&set := $00002000;
  14385. end;
  14386. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  14387. begin
  14388. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14389. end;
  14390. procedure TRTCC_RTCALRM.setCHIME; inline;
  14391. begin
  14392. pTDefRegMap(@Self)^.&set := $00004000;
  14393. end;
  14394. procedure TRTCC_RTCALRM.clearCHIME; inline;
  14395. begin
  14396. pTDefRegMap(@Self)^.clr := $00004000;
  14397. end;
  14398. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  14399. begin
  14400. if thebits = 0 then
  14401. pTDefRegMap(@Self)^.clr := $00004000
  14402. else
  14403. pTDefRegMap(@Self)^.&set := $00004000;
  14404. end;
  14405. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  14406. begin
  14407. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14408. end;
  14409. procedure TRTCC_RTCALRM.setALRMEN; inline;
  14410. begin
  14411. pTDefRegMap(@Self)^.&set := $00008000;
  14412. end;
  14413. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  14414. begin
  14415. pTDefRegMap(@Self)^.clr := $00008000;
  14416. end;
  14417. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  14418. begin
  14419. if thebits = 0 then
  14420. pTDefRegMap(@Self)^.clr := $00008000
  14421. else
  14422. pTDefRegMap(@Self)^.&set := $00008000;
  14423. end;
  14424. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  14425. begin
  14426. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14427. end;
  14428. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  14429. begin
  14430. pTDefRegMap(@Self)^.val := thebits;
  14431. end;
  14432. function TRTCC_RTCALRM.getw : TBits_32; inline;
  14433. begin
  14434. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14435. end;
  14436. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  14437. begin
  14438. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  14439. end;
  14440. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  14441. begin
  14442. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  14443. end;
  14444. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  14445. begin
  14446. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  14447. end;
  14448. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  14449. begin
  14450. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  14451. end;
  14452. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  14453. begin
  14454. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  14455. end;
  14456. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  14457. begin
  14458. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  14459. end;
  14460. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  14461. begin
  14462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  14463. end;
  14464. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  14465. begin
  14466. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  14467. end;
  14468. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  14469. begin
  14470. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  14471. end;
  14472. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  14473. begin
  14474. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  14475. end;
  14476. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  14477. begin
  14478. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  14479. end;
  14480. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  14481. begin
  14482. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  14483. end;
  14484. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  14485. begin
  14486. pTDefRegMap(@Self)^.val := thebits;
  14487. end;
  14488. function TRTCC_RTCTIME.getw : TBits_32; inline;
  14489. begin
  14490. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14491. end;
  14492. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  14493. begin
  14494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  14495. end;
  14496. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  14497. begin
  14498. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  14499. end;
  14500. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  14501. begin
  14502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  14503. end;
  14504. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  14505. begin
  14506. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  14507. end;
  14508. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  14509. begin
  14510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  14511. end;
  14512. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  14513. begin
  14514. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  14515. end;
  14516. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  14517. begin
  14518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  14519. end;
  14520. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  14521. begin
  14522. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  14523. end;
  14524. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  14525. begin
  14526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  14527. end;
  14528. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  14529. begin
  14530. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  14531. end;
  14532. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  14533. begin
  14534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  14535. end;
  14536. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  14537. begin
  14538. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  14539. end;
  14540. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  14541. begin
  14542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  14543. end;
  14544. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  14545. begin
  14546. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  14547. end;
  14548. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  14549. begin
  14550. pTDefRegMap(@Self)^.val := thebits;
  14551. end;
  14552. function TRTCC_RTCDATE.getw : TBits_32; inline;
  14553. begin
  14554. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14555. end;
  14556. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  14557. begin
  14558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  14559. end;
  14560. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  14561. begin
  14562. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  14563. end;
  14564. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  14565. begin
  14566. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  14567. end;
  14568. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  14569. begin
  14570. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  14571. end;
  14572. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  14573. begin
  14574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  14575. end;
  14576. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  14577. begin
  14578. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  14579. end;
  14580. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  14581. begin
  14582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  14583. end;
  14584. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  14585. begin
  14586. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  14587. end;
  14588. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  14589. begin
  14590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  14591. end;
  14592. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  14593. begin
  14594. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  14595. end;
  14596. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  14597. begin
  14598. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  14599. end;
  14600. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  14601. begin
  14602. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  14603. end;
  14604. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  14605. begin
  14606. pTDefRegMap(@Self)^.val := thebits;
  14607. end;
  14608. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  14609. begin
  14610. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14611. end;
  14612. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  14613. begin
  14614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  14615. end;
  14616. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  14617. begin
  14618. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  14619. end;
  14620. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  14621. begin
  14622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  14623. end;
  14624. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  14625. begin
  14626. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  14627. end;
  14628. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  14629. begin
  14630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  14631. end;
  14632. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  14633. begin
  14634. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  14635. end;
  14636. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  14637. begin
  14638. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  14639. end;
  14640. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  14641. begin
  14642. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  14643. end;
  14644. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  14645. begin
  14646. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  14647. end;
  14648. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  14649. begin
  14650. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  14651. end;
  14652. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  14653. begin
  14654. pTDefRegMap(@Self)^.val := thebits;
  14655. end;
  14656. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  14657. begin
  14658. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14659. end;
  14660. procedure TTMR1_T1CON.setTCS; inline;
  14661. begin
  14662. pTDefRegMap(@Self)^.&set := $00000002;
  14663. end;
  14664. procedure TTMR1_T1CON.clearTCS; inline;
  14665. begin
  14666. pTDefRegMap(@Self)^.clr := $00000002;
  14667. end;
  14668. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  14669. begin
  14670. if thebits = 0 then
  14671. pTDefRegMap(@Self)^.clr := $00000002
  14672. else
  14673. pTDefRegMap(@Self)^.&set := $00000002;
  14674. end;
  14675. function TTMR1_T1CON.getTCS : TBits_1; inline;
  14676. begin
  14677. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14678. end;
  14679. procedure TTMR1_T1CON.setTSYNC; inline;
  14680. begin
  14681. pTDefRegMap(@Self)^.&set := $00000004;
  14682. end;
  14683. procedure TTMR1_T1CON.clearTSYNC; inline;
  14684. begin
  14685. pTDefRegMap(@Self)^.clr := $00000004;
  14686. end;
  14687. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  14688. begin
  14689. if thebits = 0 then
  14690. pTDefRegMap(@Self)^.clr := $00000004
  14691. else
  14692. pTDefRegMap(@Self)^.&set := $00000004;
  14693. end;
  14694. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  14695. begin
  14696. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14697. end;
  14698. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  14699. begin
  14700. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  14701. end;
  14702. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  14703. begin
  14704. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  14705. end;
  14706. procedure TTMR1_T1CON.setTGATE; inline;
  14707. begin
  14708. pTDefRegMap(@Self)^.&set := $00000080;
  14709. end;
  14710. procedure TTMR1_T1CON.clearTGATE; inline;
  14711. begin
  14712. pTDefRegMap(@Self)^.clr := $00000080;
  14713. end;
  14714. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  14715. begin
  14716. if thebits = 0 then
  14717. pTDefRegMap(@Self)^.clr := $00000080
  14718. else
  14719. pTDefRegMap(@Self)^.&set := $00000080;
  14720. end;
  14721. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  14722. begin
  14723. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14724. end;
  14725. procedure TTMR1_T1CON.setTWIP; inline;
  14726. begin
  14727. pTDefRegMap(@Self)^.&set := $00000800;
  14728. end;
  14729. procedure TTMR1_T1CON.clearTWIP; inline;
  14730. begin
  14731. pTDefRegMap(@Self)^.clr := $00000800;
  14732. end;
  14733. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  14734. begin
  14735. if thebits = 0 then
  14736. pTDefRegMap(@Self)^.clr := $00000800
  14737. else
  14738. pTDefRegMap(@Self)^.&set := $00000800;
  14739. end;
  14740. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  14741. begin
  14742. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14743. end;
  14744. procedure TTMR1_T1CON.setTWDIS; inline;
  14745. begin
  14746. pTDefRegMap(@Self)^.&set := $00001000;
  14747. end;
  14748. procedure TTMR1_T1CON.clearTWDIS; inline;
  14749. begin
  14750. pTDefRegMap(@Self)^.clr := $00001000;
  14751. end;
  14752. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  14753. begin
  14754. if thebits = 0 then
  14755. pTDefRegMap(@Self)^.clr := $00001000
  14756. else
  14757. pTDefRegMap(@Self)^.&set := $00001000;
  14758. end;
  14759. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  14760. begin
  14761. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14762. end;
  14763. procedure TTMR1_T1CON.setSIDL; inline;
  14764. begin
  14765. pTDefRegMap(@Self)^.&set := $00002000;
  14766. end;
  14767. procedure TTMR1_T1CON.clearSIDL; inline;
  14768. begin
  14769. pTDefRegMap(@Self)^.clr := $00002000;
  14770. end;
  14771. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  14772. begin
  14773. if thebits = 0 then
  14774. pTDefRegMap(@Self)^.clr := $00002000
  14775. else
  14776. pTDefRegMap(@Self)^.&set := $00002000;
  14777. end;
  14778. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  14779. begin
  14780. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14781. end;
  14782. procedure TTMR1_T1CON.setON; inline;
  14783. begin
  14784. pTDefRegMap(@Self)^.&set := $00008000;
  14785. end;
  14786. procedure TTMR1_T1CON.clearON; inline;
  14787. begin
  14788. pTDefRegMap(@Self)^.clr := $00008000;
  14789. end;
  14790. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  14791. begin
  14792. if thebits = 0 then
  14793. pTDefRegMap(@Self)^.clr := $00008000
  14794. else
  14795. pTDefRegMap(@Self)^.&set := $00008000;
  14796. end;
  14797. function TTMR1_T1CON.getON : TBits_1; inline;
  14798. begin
  14799. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14800. end;
  14801. procedure TTMR1_T1CON.setTCKPS0; inline;
  14802. begin
  14803. pTDefRegMap(@Self)^.&set := $00000010;
  14804. end;
  14805. procedure TTMR1_T1CON.clearTCKPS0; inline;
  14806. begin
  14807. pTDefRegMap(@Self)^.clr := $00000010;
  14808. end;
  14809. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  14810. begin
  14811. if thebits = 0 then
  14812. pTDefRegMap(@Self)^.clr := $00000010
  14813. else
  14814. pTDefRegMap(@Self)^.&set := $00000010;
  14815. end;
  14816. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  14817. begin
  14818. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14819. end;
  14820. procedure TTMR1_T1CON.setTCKPS1; inline;
  14821. begin
  14822. pTDefRegMap(@Self)^.&set := $00000020;
  14823. end;
  14824. procedure TTMR1_T1CON.clearTCKPS1; inline;
  14825. begin
  14826. pTDefRegMap(@Self)^.clr := $00000020;
  14827. end;
  14828. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  14829. begin
  14830. if thebits = 0 then
  14831. pTDefRegMap(@Self)^.clr := $00000020
  14832. else
  14833. pTDefRegMap(@Self)^.&set := $00000020;
  14834. end;
  14835. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  14836. begin
  14837. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14838. end;
  14839. procedure TTMR1_T1CON.setTSIDL; inline;
  14840. begin
  14841. pTDefRegMap(@Self)^.&set := $00002000;
  14842. end;
  14843. procedure TTMR1_T1CON.clearTSIDL; inline;
  14844. begin
  14845. pTDefRegMap(@Self)^.clr := $00002000;
  14846. end;
  14847. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  14848. begin
  14849. if thebits = 0 then
  14850. pTDefRegMap(@Self)^.clr := $00002000
  14851. else
  14852. pTDefRegMap(@Self)^.&set := $00002000;
  14853. end;
  14854. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  14855. begin
  14856. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14857. end;
  14858. procedure TTMR1_T1CON.setTON; inline;
  14859. begin
  14860. pTDefRegMap(@Self)^.&set := $00008000;
  14861. end;
  14862. procedure TTMR1_T1CON.clearTON; inline;
  14863. begin
  14864. pTDefRegMap(@Self)^.clr := $00008000;
  14865. end;
  14866. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  14867. begin
  14868. if thebits = 0 then
  14869. pTDefRegMap(@Self)^.clr := $00008000
  14870. else
  14871. pTDefRegMap(@Self)^.&set := $00008000;
  14872. end;
  14873. function TTMR1_T1CON.getTON : TBits_1; inline;
  14874. begin
  14875. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14876. end;
  14877. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  14878. begin
  14879. pTDefRegMap(@Self)^.val := thebits;
  14880. end;
  14881. function TTMR1_T1CON.getw : TBits_32; inline;
  14882. begin
  14883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14884. end;
  14885. procedure TTMR2_T2CON.setTCS; inline;
  14886. begin
  14887. pTDefRegMap(@Self)^.&set := $00000002;
  14888. end;
  14889. procedure TTMR2_T2CON.clearTCS; inline;
  14890. begin
  14891. pTDefRegMap(@Self)^.clr := $00000002;
  14892. end;
  14893. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  14894. begin
  14895. if thebits = 0 then
  14896. pTDefRegMap(@Self)^.clr := $00000002
  14897. else
  14898. pTDefRegMap(@Self)^.&set := $00000002;
  14899. end;
  14900. function TTMR2_T2CON.getTCS : TBits_1; inline;
  14901. begin
  14902. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14903. end;
  14904. procedure TTMR2_T2CON.setT32; inline;
  14905. begin
  14906. pTDefRegMap(@Self)^.&set := $00000008;
  14907. end;
  14908. procedure TTMR2_T2CON.clearT32; inline;
  14909. begin
  14910. pTDefRegMap(@Self)^.clr := $00000008;
  14911. end;
  14912. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  14913. begin
  14914. if thebits = 0 then
  14915. pTDefRegMap(@Self)^.clr := $00000008
  14916. else
  14917. pTDefRegMap(@Self)^.&set := $00000008;
  14918. end;
  14919. function TTMR2_T2CON.getT32 : TBits_1; inline;
  14920. begin
  14921. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14922. end;
  14923. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  14924. begin
  14925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  14926. end;
  14927. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  14928. begin
  14929. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  14930. end;
  14931. procedure TTMR2_T2CON.setTGATE; inline;
  14932. begin
  14933. pTDefRegMap(@Self)^.&set := $00000080;
  14934. end;
  14935. procedure TTMR2_T2CON.clearTGATE; inline;
  14936. begin
  14937. pTDefRegMap(@Self)^.clr := $00000080;
  14938. end;
  14939. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  14940. begin
  14941. if thebits = 0 then
  14942. pTDefRegMap(@Self)^.clr := $00000080
  14943. else
  14944. pTDefRegMap(@Self)^.&set := $00000080;
  14945. end;
  14946. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  14947. begin
  14948. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14949. end;
  14950. procedure TTMR2_T2CON.setSIDL; inline;
  14951. begin
  14952. pTDefRegMap(@Self)^.&set := $00002000;
  14953. end;
  14954. procedure TTMR2_T2CON.clearSIDL; inline;
  14955. begin
  14956. pTDefRegMap(@Self)^.clr := $00002000;
  14957. end;
  14958. procedure TTMR2_T2CON.setSIDL(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 TTMR2_T2CON.getSIDL : TBits_1; inline;
  14966. begin
  14967. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14968. end;
  14969. procedure TTMR2_T2CON.setON; inline;
  14970. begin
  14971. pTDefRegMap(@Self)^.&set := $00008000;
  14972. end;
  14973. procedure TTMR2_T2CON.clearON; inline;
  14974. begin
  14975. pTDefRegMap(@Self)^.clr := $00008000;
  14976. end;
  14977. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  14978. begin
  14979. if thebits = 0 then
  14980. pTDefRegMap(@Self)^.clr := $00008000
  14981. else
  14982. pTDefRegMap(@Self)^.&set := $00008000;
  14983. end;
  14984. function TTMR2_T2CON.getON : TBits_1; inline;
  14985. begin
  14986. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14987. end;
  14988. procedure TTMR2_T2CON.setTCKPS0; inline;
  14989. begin
  14990. pTDefRegMap(@Self)^.&set := $00000010;
  14991. end;
  14992. procedure TTMR2_T2CON.clearTCKPS0; inline;
  14993. begin
  14994. pTDefRegMap(@Self)^.clr := $00000010;
  14995. end;
  14996. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  14997. begin
  14998. if thebits = 0 then
  14999. pTDefRegMap(@Self)^.clr := $00000010
  15000. else
  15001. pTDefRegMap(@Self)^.&set := $00000010;
  15002. end;
  15003. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  15004. begin
  15005. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15006. end;
  15007. procedure TTMR2_T2CON.setTCKPS1; inline;
  15008. begin
  15009. pTDefRegMap(@Self)^.&set := $00000020;
  15010. end;
  15011. procedure TTMR2_T2CON.clearTCKPS1; inline;
  15012. begin
  15013. pTDefRegMap(@Self)^.clr := $00000020;
  15014. end;
  15015. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  15016. begin
  15017. if thebits = 0 then
  15018. pTDefRegMap(@Self)^.clr := $00000020
  15019. else
  15020. pTDefRegMap(@Self)^.&set := $00000020;
  15021. end;
  15022. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  15023. begin
  15024. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15025. end;
  15026. procedure TTMR2_T2CON.setTCKPS2; inline;
  15027. begin
  15028. pTDefRegMap(@Self)^.&set := $00000040;
  15029. end;
  15030. procedure TTMR2_T2CON.clearTCKPS2; inline;
  15031. begin
  15032. pTDefRegMap(@Self)^.clr := $00000040;
  15033. end;
  15034. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  15035. begin
  15036. if thebits = 0 then
  15037. pTDefRegMap(@Self)^.clr := $00000040
  15038. else
  15039. pTDefRegMap(@Self)^.&set := $00000040;
  15040. end;
  15041. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  15042. begin
  15043. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15044. end;
  15045. procedure TTMR2_T2CON.setTSIDL; inline;
  15046. begin
  15047. pTDefRegMap(@Self)^.&set := $00002000;
  15048. end;
  15049. procedure TTMR2_T2CON.clearTSIDL; inline;
  15050. begin
  15051. pTDefRegMap(@Self)^.clr := $00002000;
  15052. end;
  15053. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  15054. begin
  15055. if thebits = 0 then
  15056. pTDefRegMap(@Self)^.clr := $00002000
  15057. else
  15058. pTDefRegMap(@Self)^.&set := $00002000;
  15059. end;
  15060. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  15061. begin
  15062. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15063. end;
  15064. procedure TTMR2_T2CON.setTON; inline;
  15065. begin
  15066. pTDefRegMap(@Self)^.&set := $00008000;
  15067. end;
  15068. procedure TTMR2_T2CON.clearTON; inline;
  15069. begin
  15070. pTDefRegMap(@Self)^.clr := $00008000;
  15071. end;
  15072. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  15073. begin
  15074. if thebits = 0 then
  15075. pTDefRegMap(@Self)^.clr := $00008000
  15076. else
  15077. pTDefRegMap(@Self)^.&set := $00008000;
  15078. end;
  15079. function TTMR2_T2CON.getTON : TBits_1; inline;
  15080. begin
  15081. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15082. end;
  15083. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  15084. begin
  15085. pTDefRegMap(@Self)^.val := thebits;
  15086. end;
  15087. function TTMR2_T2CON.getw : TBits_32; inline;
  15088. begin
  15089. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15090. end;
  15091. procedure TTMR3_T3CON.setTCS; inline;
  15092. begin
  15093. pTDefRegMap(@Self)^.&set := $00000002;
  15094. end;
  15095. procedure TTMR3_T3CON.clearTCS; inline;
  15096. begin
  15097. pTDefRegMap(@Self)^.clr := $00000002;
  15098. end;
  15099. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  15100. begin
  15101. if thebits = 0 then
  15102. pTDefRegMap(@Self)^.clr := $00000002
  15103. else
  15104. pTDefRegMap(@Self)^.&set := $00000002;
  15105. end;
  15106. function TTMR3_T3CON.getTCS : TBits_1; inline;
  15107. begin
  15108. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15109. end;
  15110. procedure TTMR3_T3CON.setT32; inline;
  15111. begin
  15112. pTDefRegMap(@Self)^.&set := $00000008;
  15113. end;
  15114. procedure TTMR3_T3CON.clearT32; inline;
  15115. begin
  15116. pTDefRegMap(@Self)^.clr := $00000008;
  15117. end;
  15118. procedure TTMR3_T3CON.setT32(thebits : TBits_1); inline;
  15119. begin
  15120. if thebits = 0 then
  15121. pTDefRegMap(@Self)^.clr := $00000008
  15122. else
  15123. pTDefRegMap(@Self)^.&set := $00000008;
  15124. end;
  15125. function TTMR3_T3CON.getT32 : TBits_1; inline;
  15126. begin
  15127. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15128. end;
  15129. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  15130. begin
  15131. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  15132. end;
  15133. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  15134. begin
  15135. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  15136. end;
  15137. procedure TTMR3_T3CON.setTGATE; inline;
  15138. begin
  15139. pTDefRegMap(@Self)^.&set := $00000080;
  15140. end;
  15141. procedure TTMR3_T3CON.clearTGATE; inline;
  15142. begin
  15143. pTDefRegMap(@Self)^.clr := $00000080;
  15144. end;
  15145. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  15146. begin
  15147. if thebits = 0 then
  15148. pTDefRegMap(@Self)^.clr := $00000080
  15149. else
  15150. pTDefRegMap(@Self)^.&set := $00000080;
  15151. end;
  15152. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  15153. begin
  15154. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15155. end;
  15156. procedure TTMR3_T3CON.setSIDL; inline;
  15157. begin
  15158. pTDefRegMap(@Self)^.&set := $00002000;
  15159. end;
  15160. procedure TTMR3_T3CON.clearSIDL; inline;
  15161. begin
  15162. pTDefRegMap(@Self)^.clr := $00002000;
  15163. end;
  15164. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  15165. begin
  15166. if thebits = 0 then
  15167. pTDefRegMap(@Self)^.clr := $00002000
  15168. else
  15169. pTDefRegMap(@Self)^.&set := $00002000;
  15170. end;
  15171. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  15172. begin
  15173. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15174. end;
  15175. procedure TTMR3_T3CON.setON; inline;
  15176. begin
  15177. pTDefRegMap(@Self)^.&set := $00008000;
  15178. end;
  15179. procedure TTMR3_T3CON.clearON; inline;
  15180. begin
  15181. pTDefRegMap(@Self)^.clr := $00008000;
  15182. end;
  15183. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  15184. begin
  15185. if thebits = 0 then
  15186. pTDefRegMap(@Self)^.clr := $00008000
  15187. else
  15188. pTDefRegMap(@Self)^.&set := $00008000;
  15189. end;
  15190. function TTMR3_T3CON.getON : TBits_1; inline;
  15191. begin
  15192. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15193. end;
  15194. procedure TTMR3_T3CON.setTCKPS0; inline;
  15195. begin
  15196. pTDefRegMap(@Self)^.&set := $00000010;
  15197. end;
  15198. procedure TTMR3_T3CON.clearTCKPS0; inline;
  15199. begin
  15200. pTDefRegMap(@Self)^.clr := $00000010;
  15201. end;
  15202. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  15203. begin
  15204. if thebits = 0 then
  15205. pTDefRegMap(@Self)^.clr := $00000010
  15206. else
  15207. pTDefRegMap(@Self)^.&set := $00000010;
  15208. end;
  15209. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  15210. begin
  15211. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15212. end;
  15213. procedure TTMR3_T3CON.setTCKPS1; inline;
  15214. begin
  15215. pTDefRegMap(@Self)^.&set := $00000020;
  15216. end;
  15217. procedure TTMR3_T3CON.clearTCKPS1; inline;
  15218. begin
  15219. pTDefRegMap(@Self)^.clr := $00000020;
  15220. end;
  15221. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  15222. begin
  15223. if thebits = 0 then
  15224. pTDefRegMap(@Self)^.clr := $00000020
  15225. else
  15226. pTDefRegMap(@Self)^.&set := $00000020;
  15227. end;
  15228. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  15229. begin
  15230. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15231. end;
  15232. procedure TTMR3_T3CON.setTCKPS2; inline;
  15233. begin
  15234. pTDefRegMap(@Self)^.&set := $00000040;
  15235. end;
  15236. procedure TTMR3_T3CON.clearTCKPS2; inline;
  15237. begin
  15238. pTDefRegMap(@Self)^.clr := $00000040;
  15239. end;
  15240. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  15241. begin
  15242. if thebits = 0 then
  15243. pTDefRegMap(@Self)^.clr := $00000040
  15244. else
  15245. pTDefRegMap(@Self)^.&set := $00000040;
  15246. end;
  15247. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  15248. begin
  15249. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15250. end;
  15251. procedure TTMR3_T3CON.setTSIDL; inline;
  15252. begin
  15253. pTDefRegMap(@Self)^.&set := $00002000;
  15254. end;
  15255. procedure TTMR3_T3CON.clearTSIDL; inline;
  15256. begin
  15257. pTDefRegMap(@Self)^.clr := $00002000;
  15258. end;
  15259. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  15260. begin
  15261. if thebits = 0 then
  15262. pTDefRegMap(@Self)^.clr := $00002000
  15263. else
  15264. pTDefRegMap(@Self)^.&set := $00002000;
  15265. end;
  15266. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  15267. begin
  15268. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15269. end;
  15270. procedure TTMR3_T3CON.setTON; inline;
  15271. begin
  15272. pTDefRegMap(@Self)^.&set := $00008000;
  15273. end;
  15274. procedure TTMR3_T3CON.clearTON; inline;
  15275. begin
  15276. pTDefRegMap(@Self)^.clr := $00008000;
  15277. end;
  15278. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  15279. begin
  15280. if thebits = 0 then
  15281. pTDefRegMap(@Self)^.clr := $00008000
  15282. else
  15283. pTDefRegMap(@Self)^.&set := $00008000;
  15284. end;
  15285. function TTMR3_T3CON.getTON : TBits_1; inline;
  15286. begin
  15287. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15288. end;
  15289. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  15290. begin
  15291. pTDefRegMap(@Self)^.val := thebits;
  15292. end;
  15293. function TTMR3_T3CON.getw : TBits_32; inline;
  15294. begin
  15295. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15296. end;
  15297. procedure TTMR4_T4CON.setTCS; inline;
  15298. begin
  15299. pTDefRegMap(@Self)^.&set := $00000002;
  15300. end;
  15301. procedure TTMR4_T4CON.clearTCS; inline;
  15302. begin
  15303. pTDefRegMap(@Self)^.clr := $00000002;
  15304. end;
  15305. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  15306. begin
  15307. if thebits = 0 then
  15308. pTDefRegMap(@Self)^.clr := $00000002
  15309. else
  15310. pTDefRegMap(@Self)^.&set := $00000002;
  15311. end;
  15312. function TTMR4_T4CON.getTCS : TBits_1; inline;
  15313. begin
  15314. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15315. end;
  15316. procedure TTMR4_T4CON.setT32; inline;
  15317. begin
  15318. pTDefRegMap(@Self)^.&set := $00000008;
  15319. end;
  15320. procedure TTMR4_T4CON.clearT32; inline;
  15321. begin
  15322. pTDefRegMap(@Self)^.clr := $00000008;
  15323. end;
  15324. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  15325. begin
  15326. if thebits = 0 then
  15327. pTDefRegMap(@Self)^.clr := $00000008
  15328. else
  15329. pTDefRegMap(@Self)^.&set := $00000008;
  15330. end;
  15331. function TTMR4_T4CON.getT32 : TBits_1; inline;
  15332. begin
  15333. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15334. end;
  15335. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  15336. begin
  15337. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  15338. end;
  15339. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  15340. begin
  15341. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  15342. end;
  15343. procedure TTMR4_T4CON.setTGATE; inline;
  15344. begin
  15345. pTDefRegMap(@Self)^.&set := $00000080;
  15346. end;
  15347. procedure TTMR4_T4CON.clearTGATE; inline;
  15348. begin
  15349. pTDefRegMap(@Self)^.clr := $00000080;
  15350. end;
  15351. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  15352. begin
  15353. if thebits = 0 then
  15354. pTDefRegMap(@Self)^.clr := $00000080
  15355. else
  15356. pTDefRegMap(@Self)^.&set := $00000080;
  15357. end;
  15358. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  15359. begin
  15360. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15361. end;
  15362. procedure TTMR4_T4CON.setSIDL; inline;
  15363. begin
  15364. pTDefRegMap(@Self)^.&set := $00002000;
  15365. end;
  15366. procedure TTMR4_T4CON.clearSIDL; inline;
  15367. begin
  15368. pTDefRegMap(@Self)^.clr := $00002000;
  15369. end;
  15370. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  15371. begin
  15372. if thebits = 0 then
  15373. pTDefRegMap(@Self)^.clr := $00002000
  15374. else
  15375. pTDefRegMap(@Self)^.&set := $00002000;
  15376. end;
  15377. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  15378. begin
  15379. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15380. end;
  15381. procedure TTMR4_T4CON.setON; inline;
  15382. begin
  15383. pTDefRegMap(@Self)^.&set := $00008000;
  15384. end;
  15385. procedure TTMR4_T4CON.clearON; inline;
  15386. begin
  15387. pTDefRegMap(@Self)^.clr := $00008000;
  15388. end;
  15389. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  15390. begin
  15391. if thebits = 0 then
  15392. pTDefRegMap(@Self)^.clr := $00008000
  15393. else
  15394. pTDefRegMap(@Self)^.&set := $00008000;
  15395. end;
  15396. function TTMR4_T4CON.getON : TBits_1; inline;
  15397. begin
  15398. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15399. end;
  15400. procedure TTMR4_T4CON.setTCKPS0; inline;
  15401. begin
  15402. pTDefRegMap(@Self)^.&set := $00000010;
  15403. end;
  15404. procedure TTMR4_T4CON.clearTCKPS0; inline;
  15405. begin
  15406. pTDefRegMap(@Self)^.clr := $00000010;
  15407. end;
  15408. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  15409. begin
  15410. if thebits = 0 then
  15411. pTDefRegMap(@Self)^.clr := $00000010
  15412. else
  15413. pTDefRegMap(@Self)^.&set := $00000010;
  15414. end;
  15415. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  15416. begin
  15417. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15418. end;
  15419. procedure TTMR4_T4CON.setTCKPS1; inline;
  15420. begin
  15421. pTDefRegMap(@Self)^.&set := $00000020;
  15422. end;
  15423. procedure TTMR4_T4CON.clearTCKPS1; inline;
  15424. begin
  15425. pTDefRegMap(@Self)^.clr := $00000020;
  15426. end;
  15427. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  15428. begin
  15429. if thebits = 0 then
  15430. pTDefRegMap(@Self)^.clr := $00000020
  15431. else
  15432. pTDefRegMap(@Self)^.&set := $00000020;
  15433. end;
  15434. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  15435. begin
  15436. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15437. end;
  15438. procedure TTMR4_T4CON.setTCKPS2; inline;
  15439. begin
  15440. pTDefRegMap(@Self)^.&set := $00000040;
  15441. end;
  15442. procedure TTMR4_T4CON.clearTCKPS2; inline;
  15443. begin
  15444. pTDefRegMap(@Self)^.clr := $00000040;
  15445. end;
  15446. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  15447. begin
  15448. if thebits = 0 then
  15449. pTDefRegMap(@Self)^.clr := $00000040
  15450. else
  15451. pTDefRegMap(@Self)^.&set := $00000040;
  15452. end;
  15453. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  15454. begin
  15455. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15456. end;
  15457. procedure TTMR4_T4CON.setTSIDL; inline;
  15458. begin
  15459. pTDefRegMap(@Self)^.&set := $00002000;
  15460. end;
  15461. procedure TTMR4_T4CON.clearTSIDL; inline;
  15462. begin
  15463. pTDefRegMap(@Self)^.clr := $00002000;
  15464. end;
  15465. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  15466. begin
  15467. if thebits = 0 then
  15468. pTDefRegMap(@Self)^.clr := $00002000
  15469. else
  15470. pTDefRegMap(@Self)^.&set := $00002000;
  15471. end;
  15472. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  15473. begin
  15474. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15475. end;
  15476. procedure TTMR4_T4CON.setTON; inline;
  15477. begin
  15478. pTDefRegMap(@Self)^.&set := $00008000;
  15479. end;
  15480. procedure TTMR4_T4CON.clearTON; inline;
  15481. begin
  15482. pTDefRegMap(@Self)^.clr := $00008000;
  15483. end;
  15484. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  15485. begin
  15486. if thebits = 0 then
  15487. pTDefRegMap(@Self)^.clr := $00008000
  15488. else
  15489. pTDefRegMap(@Self)^.&set := $00008000;
  15490. end;
  15491. function TTMR4_T4CON.getTON : TBits_1; inline;
  15492. begin
  15493. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15494. end;
  15495. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  15496. begin
  15497. pTDefRegMap(@Self)^.val := thebits;
  15498. end;
  15499. function TTMR4_T4CON.getw : TBits_32; inline;
  15500. begin
  15501. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15502. end;
  15503. procedure TTMR5_T5CON.setTCS; inline;
  15504. begin
  15505. pTDefRegMap(@Self)^.&set := $00000002;
  15506. end;
  15507. procedure TTMR5_T5CON.clearTCS; inline;
  15508. begin
  15509. pTDefRegMap(@Self)^.clr := $00000002;
  15510. end;
  15511. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  15512. begin
  15513. if thebits = 0 then
  15514. pTDefRegMap(@Self)^.clr := $00000002
  15515. else
  15516. pTDefRegMap(@Self)^.&set := $00000002;
  15517. end;
  15518. function TTMR5_T5CON.getTCS : TBits_1; inline;
  15519. begin
  15520. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15521. end;
  15522. procedure TTMR5_T5CON.setT32; inline;
  15523. begin
  15524. pTDefRegMap(@Self)^.&set := $00000008;
  15525. end;
  15526. procedure TTMR5_T5CON.clearT32; inline;
  15527. begin
  15528. pTDefRegMap(@Self)^.clr := $00000008;
  15529. end;
  15530. procedure TTMR5_T5CON.setT32(thebits : TBits_1); inline;
  15531. begin
  15532. if thebits = 0 then
  15533. pTDefRegMap(@Self)^.clr := $00000008
  15534. else
  15535. pTDefRegMap(@Self)^.&set := $00000008;
  15536. end;
  15537. function TTMR5_T5CON.getT32 : TBits_1; inline;
  15538. begin
  15539. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15540. end;
  15541. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  15542. begin
  15543. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  15544. end;
  15545. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  15546. begin
  15547. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  15548. end;
  15549. procedure TTMR5_T5CON.setTGATE; inline;
  15550. begin
  15551. pTDefRegMap(@Self)^.&set := $00000080;
  15552. end;
  15553. procedure TTMR5_T5CON.clearTGATE; inline;
  15554. begin
  15555. pTDefRegMap(@Self)^.clr := $00000080;
  15556. end;
  15557. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  15558. begin
  15559. if thebits = 0 then
  15560. pTDefRegMap(@Self)^.clr := $00000080
  15561. else
  15562. pTDefRegMap(@Self)^.&set := $00000080;
  15563. end;
  15564. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  15565. begin
  15566. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15567. end;
  15568. procedure TTMR5_T5CON.setSIDL; inline;
  15569. begin
  15570. pTDefRegMap(@Self)^.&set := $00002000;
  15571. end;
  15572. procedure TTMR5_T5CON.clearSIDL; inline;
  15573. begin
  15574. pTDefRegMap(@Self)^.clr := $00002000;
  15575. end;
  15576. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  15577. begin
  15578. if thebits = 0 then
  15579. pTDefRegMap(@Self)^.clr := $00002000
  15580. else
  15581. pTDefRegMap(@Self)^.&set := $00002000;
  15582. end;
  15583. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  15584. begin
  15585. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15586. end;
  15587. procedure TTMR5_T5CON.setON; inline;
  15588. begin
  15589. pTDefRegMap(@Self)^.&set := $00008000;
  15590. end;
  15591. procedure TTMR5_T5CON.clearON; inline;
  15592. begin
  15593. pTDefRegMap(@Self)^.clr := $00008000;
  15594. end;
  15595. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  15596. begin
  15597. if thebits = 0 then
  15598. pTDefRegMap(@Self)^.clr := $00008000
  15599. else
  15600. pTDefRegMap(@Self)^.&set := $00008000;
  15601. end;
  15602. function TTMR5_T5CON.getON : TBits_1; inline;
  15603. begin
  15604. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15605. end;
  15606. procedure TTMR5_T5CON.setTCKPS0; inline;
  15607. begin
  15608. pTDefRegMap(@Self)^.&set := $00000010;
  15609. end;
  15610. procedure TTMR5_T5CON.clearTCKPS0; inline;
  15611. begin
  15612. pTDefRegMap(@Self)^.clr := $00000010;
  15613. end;
  15614. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  15615. begin
  15616. if thebits = 0 then
  15617. pTDefRegMap(@Self)^.clr := $00000010
  15618. else
  15619. pTDefRegMap(@Self)^.&set := $00000010;
  15620. end;
  15621. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  15622. begin
  15623. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15624. end;
  15625. procedure TTMR5_T5CON.setTCKPS1; inline;
  15626. begin
  15627. pTDefRegMap(@Self)^.&set := $00000020;
  15628. end;
  15629. procedure TTMR5_T5CON.clearTCKPS1; inline;
  15630. begin
  15631. pTDefRegMap(@Self)^.clr := $00000020;
  15632. end;
  15633. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  15634. begin
  15635. if thebits = 0 then
  15636. pTDefRegMap(@Self)^.clr := $00000020
  15637. else
  15638. pTDefRegMap(@Self)^.&set := $00000020;
  15639. end;
  15640. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  15641. begin
  15642. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15643. end;
  15644. procedure TTMR5_T5CON.setTCKPS2; inline;
  15645. begin
  15646. pTDefRegMap(@Self)^.&set := $00000040;
  15647. end;
  15648. procedure TTMR5_T5CON.clearTCKPS2; inline;
  15649. begin
  15650. pTDefRegMap(@Self)^.clr := $00000040;
  15651. end;
  15652. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  15653. begin
  15654. if thebits = 0 then
  15655. pTDefRegMap(@Self)^.clr := $00000040
  15656. else
  15657. pTDefRegMap(@Self)^.&set := $00000040;
  15658. end;
  15659. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  15660. begin
  15661. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15662. end;
  15663. procedure TTMR5_T5CON.setTSIDL; inline;
  15664. begin
  15665. pTDefRegMap(@Self)^.&set := $00002000;
  15666. end;
  15667. procedure TTMR5_T5CON.clearTSIDL; inline;
  15668. begin
  15669. pTDefRegMap(@Self)^.clr := $00002000;
  15670. end;
  15671. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  15672. begin
  15673. if thebits = 0 then
  15674. pTDefRegMap(@Self)^.clr := $00002000
  15675. else
  15676. pTDefRegMap(@Self)^.&set := $00002000;
  15677. end;
  15678. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  15679. begin
  15680. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15681. end;
  15682. procedure TTMR5_T5CON.setTON; inline;
  15683. begin
  15684. pTDefRegMap(@Self)^.&set := $00008000;
  15685. end;
  15686. procedure TTMR5_T5CON.clearTON; inline;
  15687. begin
  15688. pTDefRegMap(@Self)^.clr := $00008000;
  15689. end;
  15690. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  15691. begin
  15692. if thebits = 0 then
  15693. pTDefRegMap(@Self)^.clr := $00008000
  15694. else
  15695. pTDefRegMap(@Self)^.&set := $00008000;
  15696. end;
  15697. function TTMR5_T5CON.getTON : TBits_1; inline;
  15698. begin
  15699. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15700. end;
  15701. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  15702. begin
  15703. pTDefRegMap(@Self)^.val := thebits;
  15704. end;
  15705. function TTMR5_T5CON.getw : TBits_32; inline;
  15706. begin
  15707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15708. end;
  15709. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  15710. begin
  15711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15712. end;
  15713. function TICAP1_IC1CON.getICM : TBits_3; inline;
  15714. begin
  15715. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15716. end;
  15717. procedure TICAP1_IC1CON.setICBNE; inline;
  15718. begin
  15719. pTDefRegMap(@Self)^.&set := $00000008;
  15720. end;
  15721. procedure TICAP1_IC1CON.clearICBNE; inline;
  15722. begin
  15723. pTDefRegMap(@Self)^.clr := $00000008;
  15724. end;
  15725. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  15726. begin
  15727. if thebits = 0 then
  15728. pTDefRegMap(@Self)^.clr := $00000008
  15729. else
  15730. pTDefRegMap(@Self)^.&set := $00000008;
  15731. end;
  15732. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  15733. begin
  15734. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15735. end;
  15736. procedure TICAP1_IC1CON.setICOV; inline;
  15737. begin
  15738. pTDefRegMap(@Self)^.&set := $00000010;
  15739. end;
  15740. procedure TICAP1_IC1CON.clearICOV; inline;
  15741. begin
  15742. pTDefRegMap(@Self)^.clr := $00000010;
  15743. end;
  15744. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  15745. begin
  15746. if thebits = 0 then
  15747. pTDefRegMap(@Self)^.clr := $00000010
  15748. else
  15749. pTDefRegMap(@Self)^.&set := $00000010;
  15750. end;
  15751. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  15752. begin
  15753. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15754. end;
  15755. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  15756. begin
  15757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  15758. end;
  15759. function TICAP1_IC1CON.getICI : TBits_2; inline;
  15760. begin
  15761. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  15762. end;
  15763. procedure TICAP1_IC1CON.setICTMR; inline;
  15764. begin
  15765. pTDefRegMap(@Self)^.&set := $00000080;
  15766. end;
  15767. procedure TICAP1_IC1CON.clearICTMR; inline;
  15768. begin
  15769. pTDefRegMap(@Self)^.clr := $00000080;
  15770. end;
  15771. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  15772. begin
  15773. if thebits = 0 then
  15774. pTDefRegMap(@Self)^.clr := $00000080
  15775. else
  15776. pTDefRegMap(@Self)^.&set := $00000080;
  15777. end;
  15778. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  15779. begin
  15780. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15781. end;
  15782. procedure TICAP1_IC1CON.setC32; inline;
  15783. begin
  15784. pTDefRegMap(@Self)^.&set := $00000100;
  15785. end;
  15786. procedure TICAP1_IC1CON.clearC32; inline;
  15787. begin
  15788. pTDefRegMap(@Self)^.clr := $00000100;
  15789. end;
  15790. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  15791. begin
  15792. if thebits = 0 then
  15793. pTDefRegMap(@Self)^.clr := $00000100
  15794. else
  15795. pTDefRegMap(@Self)^.&set := $00000100;
  15796. end;
  15797. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  15798. begin
  15799. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15800. end;
  15801. procedure TICAP1_IC1CON.setFEDGE; inline;
  15802. begin
  15803. pTDefRegMap(@Self)^.&set := $00000200;
  15804. end;
  15805. procedure TICAP1_IC1CON.clearFEDGE; inline;
  15806. begin
  15807. pTDefRegMap(@Self)^.clr := $00000200;
  15808. end;
  15809. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  15810. begin
  15811. if thebits = 0 then
  15812. pTDefRegMap(@Self)^.clr := $00000200
  15813. else
  15814. pTDefRegMap(@Self)^.&set := $00000200;
  15815. end;
  15816. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  15817. begin
  15818. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15819. end;
  15820. procedure TICAP1_IC1CON.setSIDL; inline;
  15821. begin
  15822. pTDefRegMap(@Self)^.&set := $00002000;
  15823. end;
  15824. procedure TICAP1_IC1CON.clearSIDL; inline;
  15825. begin
  15826. pTDefRegMap(@Self)^.clr := $00002000;
  15827. end;
  15828. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  15829. begin
  15830. if thebits = 0 then
  15831. pTDefRegMap(@Self)^.clr := $00002000
  15832. else
  15833. pTDefRegMap(@Self)^.&set := $00002000;
  15834. end;
  15835. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  15836. begin
  15837. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15838. end;
  15839. procedure TICAP1_IC1CON.setON; inline;
  15840. begin
  15841. pTDefRegMap(@Self)^.&set := $00008000;
  15842. end;
  15843. procedure TICAP1_IC1CON.clearON; inline;
  15844. begin
  15845. pTDefRegMap(@Self)^.clr := $00008000;
  15846. end;
  15847. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  15848. begin
  15849. if thebits = 0 then
  15850. pTDefRegMap(@Self)^.clr := $00008000
  15851. else
  15852. pTDefRegMap(@Self)^.&set := $00008000;
  15853. end;
  15854. function TICAP1_IC1CON.getON : TBits_1; inline;
  15855. begin
  15856. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15857. end;
  15858. procedure TICAP1_IC1CON.setICM0; inline;
  15859. begin
  15860. pTDefRegMap(@Self)^.&set := $00000001;
  15861. end;
  15862. procedure TICAP1_IC1CON.clearICM0; inline;
  15863. begin
  15864. pTDefRegMap(@Self)^.clr := $00000001;
  15865. end;
  15866. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  15867. begin
  15868. if thebits = 0 then
  15869. pTDefRegMap(@Self)^.clr := $00000001
  15870. else
  15871. pTDefRegMap(@Self)^.&set := $00000001;
  15872. end;
  15873. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  15874. begin
  15875. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15876. end;
  15877. procedure TICAP1_IC1CON.setICM1; inline;
  15878. begin
  15879. pTDefRegMap(@Self)^.&set := $00000002;
  15880. end;
  15881. procedure TICAP1_IC1CON.clearICM1; inline;
  15882. begin
  15883. pTDefRegMap(@Self)^.clr := $00000002;
  15884. end;
  15885. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  15886. begin
  15887. if thebits = 0 then
  15888. pTDefRegMap(@Self)^.clr := $00000002
  15889. else
  15890. pTDefRegMap(@Self)^.&set := $00000002;
  15891. end;
  15892. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  15893. begin
  15894. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15895. end;
  15896. procedure TICAP1_IC1CON.setICM2; inline;
  15897. begin
  15898. pTDefRegMap(@Self)^.&set := $00000004;
  15899. end;
  15900. procedure TICAP1_IC1CON.clearICM2; inline;
  15901. begin
  15902. pTDefRegMap(@Self)^.clr := $00000004;
  15903. end;
  15904. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  15905. begin
  15906. if thebits = 0 then
  15907. pTDefRegMap(@Self)^.clr := $00000004
  15908. else
  15909. pTDefRegMap(@Self)^.&set := $00000004;
  15910. end;
  15911. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  15912. begin
  15913. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15914. end;
  15915. procedure TICAP1_IC1CON.setICI0; inline;
  15916. begin
  15917. pTDefRegMap(@Self)^.&set := $00000020;
  15918. end;
  15919. procedure TICAP1_IC1CON.clearICI0; inline;
  15920. begin
  15921. pTDefRegMap(@Self)^.clr := $00000020;
  15922. end;
  15923. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  15924. begin
  15925. if thebits = 0 then
  15926. pTDefRegMap(@Self)^.clr := $00000020
  15927. else
  15928. pTDefRegMap(@Self)^.&set := $00000020;
  15929. end;
  15930. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  15931. begin
  15932. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15933. end;
  15934. procedure TICAP1_IC1CON.setICI1; inline;
  15935. begin
  15936. pTDefRegMap(@Self)^.&set := $00000040;
  15937. end;
  15938. procedure TICAP1_IC1CON.clearICI1; inline;
  15939. begin
  15940. pTDefRegMap(@Self)^.clr := $00000040;
  15941. end;
  15942. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  15943. begin
  15944. if thebits = 0 then
  15945. pTDefRegMap(@Self)^.clr := $00000040
  15946. else
  15947. pTDefRegMap(@Self)^.&set := $00000040;
  15948. end;
  15949. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  15950. begin
  15951. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15952. end;
  15953. procedure TICAP1_IC1CON.setICSIDL; inline;
  15954. begin
  15955. pTDefRegMap(@Self)^.&set := $00002000;
  15956. end;
  15957. procedure TICAP1_IC1CON.clearICSIDL; inline;
  15958. begin
  15959. pTDefRegMap(@Self)^.clr := $00002000;
  15960. end;
  15961. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  15962. begin
  15963. if thebits = 0 then
  15964. pTDefRegMap(@Self)^.clr := $00002000
  15965. else
  15966. pTDefRegMap(@Self)^.&set := $00002000;
  15967. end;
  15968. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  15969. begin
  15970. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15971. end;
  15972. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  15973. begin
  15974. pTDefRegMap(@Self)^.val := thebits;
  15975. end;
  15976. function TICAP1_IC1CON.getw : TBits_32; inline;
  15977. begin
  15978. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15979. end;
  15980. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  15981. begin
  15982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  15983. end;
  15984. function TICAP2_IC2CON.getICM : TBits_3; inline;
  15985. begin
  15986. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  15987. end;
  15988. procedure TICAP2_IC2CON.setICBNE; inline;
  15989. begin
  15990. pTDefRegMap(@Self)^.&set := $00000008;
  15991. end;
  15992. procedure TICAP2_IC2CON.clearICBNE; inline;
  15993. begin
  15994. pTDefRegMap(@Self)^.clr := $00000008;
  15995. end;
  15996. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  15997. begin
  15998. if thebits = 0 then
  15999. pTDefRegMap(@Self)^.clr := $00000008
  16000. else
  16001. pTDefRegMap(@Self)^.&set := $00000008;
  16002. end;
  16003. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  16004. begin
  16005. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16006. end;
  16007. procedure TICAP2_IC2CON.setICOV; inline;
  16008. begin
  16009. pTDefRegMap(@Self)^.&set := $00000010;
  16010. end;
  16011. procedure TICAP2_IC2CON.clearICOV; inline;
  16012. begin
  16013. pTDefRegMap(@Self)^.clr := $00000010;
  16014. end;
  16015. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  16016. begin
  16017. if thebits = 0 then
  16018. pTDefRegMap(@Self)^.clr := $00000010
  16019. else
  16020. pTDefRegMap(@Self)^.&set := $00000010;
  16021. end;
  16022. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  16023. begin
  16024. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16025. end;
  16026. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  16027. begin
  16028. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  16029. end;
  16030. function TICAP2_IC2CON.getICI : TBits_2; inline;
  16031. begin
  16032. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  16033. end;
  16034. procedure TICAP2_IC2CON.setICTMR; inline;
  16035. begin
  16036. pTDefRegMap(@Self)^.&set := $00000080;
  16037. end;
  16038. procedure TICAP2_IC2CON.clearICTMR; inline;
  16039. begin
  16040. pTDefRegMap(@Self)^.clr := $00000080;
  16041. end;
  16042. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  16043. begin
  16044. if thebits = 0 then
  16045. pTDefRegMap(@Self)^.clr := $00000080
  16046. else
  16047. pTDefRegMap(@Self)^.&set := $00000080;
  16048. end;
  16049. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  16050. begin
  16051. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16052. end;
  16053. procedure TICAP2_IC2CON.setC32; inline;
  16054. begin
  16055. pTDefRegMap(@Self)^.&set := $00000100;
  16056. end;
  16057. procedure TICAP2_IC2CON.clearC32; inline;
  16058. begin
  16059. pTDefRegMap(@Self)^.clr := $00000100;
  16060. end;
  16061. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  16062. begin
  16063. if thebits = 0 then
  16064. pTDefRegMap(@Self)^.clr := $00000100
  16065. else
  16066. pTDefRegMap(@Self)^.&set := $00000100;
  16067. end;
  16068. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  16069. begin
  16070. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16071. end;
  16072. procedure TICAP2_IC2CON.setFEDGE; inline;
  16073. begin
  16074. pTDefRegMap(@Self)^.&set := $00000200;
  16075. end;
  16076. procedure TICAP2_IC2CON.clearFEDGE; inline;
  16077. begin
  16078. pTDefRegMap(@Self)^.clr := $00000200;
  16079. end;
  16080. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  16081. begin
  16082. if thebits = 0 then
  16083. pTDefRegMap(@Self)^.clr := $00000200
  16084. else
  16085. pTDefRegMap(@Self)^.&set := $00000200;
  16086. end;
  16087. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  16088. begin
  16089. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16090. end;
  16091. procedure TICAP2_IC2CON.setSIDL; inline;
  16092. begin
  16093. pTDefRegMap(@Self)^.&set := $00002000;
  16094. end;
  16095. procedure TICAP2_IC2CON.clearSIDL; inline;
  16096. begin
  16097. pTDefRegMap(@Self)^.clr := $00002000;
  16098. end;
  16099. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  16100. begin
  16101. if thebits = 0 then
  16102. pTDefRegMap(@Self)^.clr := $00002000
  16103. else
  16104. pTDefRegMap(@Self)^.&set := $00002000;
  16105. end;
  16106. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  16107. begin
  16108. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16109. end;
  16110. procedure TICAP2_IC2CON.setON; inline;
  16111. begin
  16112. pTDefRegMap(@Self)^.&set := $00008000;
  16113. end;
  16114. procedure TICAP2_IC2CON.clearON; inline;
  16115. begin
  16116. pTDefRegMap(@Self)^.clr := $00008000;
  16117. end;
  16118. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  16119. begin
  16120. if thebits = 0 then
  16121. pTDefRegMap(@Self)^.clr := $00008000
  16122. else
  16123. pTDefRegMap(@Self)^.&set := $00008000;
  16124. end;
  16125. function TICAP2_IC2CON.getON : TBits_1; inline;
  16126. begin
  16127. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16128. end;
  16129. procedure TICAP2_IC2CON.setICM0; inline;
  16130. begin
  16131. pTDefRegMap(@Self)^.&set := $00000001;
  16132. end;
  16133. procedure TICAP2_IC2CON.clearICM0; inline;
  16134. begin
  16135. pTDefRegMap(@Self)^.clr := $00000001;
  16136. end;
  16137. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  16138. begin
  16139. if thebits = 0 then
  16140. pTDefRegMap(@Self)^.clr := $00000001
  16141. else
  16142. pTDefRegMap(@Self)^.&set := $00000001;
  16143. end;
  16144. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  16145. begin
  16146. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16147. end;
  16148. procedure TICAP2_IC2CON.setICM1; inline;
  16149. begin
  16150. pTDefRegMap(@Self)^.&set := $00000002;
  16151. end;
  16152. procedure TICAP2_IC2CON.clearICM1; inline;
  16153. begin
  16154. pTDefRegMap(@Self)^.clr := $00000002;
  16155. end;
  16156. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  16157. begin
  16158. if thebits = 0 then
  16159. pTDefRegMap(@Self)^.clr := $00000002
  16160. else
  16161. pTDefRegMap(@Self)^.&set := $00000002;
  16162. end;
  16163. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  16164. begin
  16165. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16166. end;
  16167. procedure TICAP2_IC2CON.setICM2; inline;
  16168. begin
  16169. pTDefRegMap(@Self)^.&set := $00000004;
  16170. end;
  16171. procedure TICAP2_IC2CON.clearICM2; inline;
  16172. begin
  16173. pTDefRegMap(@Self)^.clr := $00000004;
  16174. end;
  16175. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  16176. begin
  16177. if thebits = 0 then
  16178. pTDefRegMap(@Self)^.clr := $00000004
  16179. else
  16180. pTDefRegMap(@Self)^.&set := $00000004;
  16181. end;
  16182. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  16183. begin
  16184. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16185. end;
  16186. procedure TICAP2_IC2CON.setICI0; inline;
  16187. begin
  16188. pTDefRegMap(@Self)^.&set := $00000020;
  16189. end;
  16190. procedure TICAP2_IC2CON.clearICI0; inline;
  16191. begin
  16192. pTDefRegMap(@Self)^.clr := $00000020;
  16193. end;
  16194. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  16195. begin
  16196. if thebits = 0 then
  16197. pTDefRegMap(@Self)^.clr := $00000020
  16198. else
  16199. pTDefRegMap(@Self)^.&set := $00000020;
  16200. end;
  16201. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  16202. begin
  16203. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16204. end;
  16205. procedure TICAP2_IC2CON.setICI1; inline;
  16206. begin
  16207. pTDefRegMap(@Self)^.&set := $00000040;
  16208. end;
  16209. procedure TICAP2_IC2CON.clearICI1; inline;
  16210. begin
  16211. pTDefRegMap(@Self)^.clr := $00000040;
  16212. end;
  16213. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  16214. begin
  16215. if thebits = 0 then
  16216. pTDefRegMap(@Self)^.clr := $00000040
  16217. else
  16218. pTDefRegMap(@Self)^.&set := $00000040;
  16219. end;
  16220. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  16221. begin
  16222. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16223. end;
  16224. procedure TICAP2_IC2CON.setICSIDL; inline;
  16225. begin
  16226. pTDefRegMap(@Self)^.&set := $00002000;
  16227. end;
  16228. procedure TICAP2_IC2CON.clearICSIDL; inline;
  16229. begin
  16230. pTDefRegMap(@Self)^.clr := $00002000;
  16231. end;
  16232. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  16233. begin
  16234. if thebits = 0 then
  16235. pTDefRegMap(@Self)^.clr := $00002000
  16236. else
  16237. pTDefRegMap(@Self)^.&set := $00002000;
  16238. end;
  16239. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  16240. begin
  16241. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16242. end;
  16243. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  16244. begin
  16245. pTDefRegMap(@Self)^.val := thebits;
  16246. end;
  16247. function TICAP2_IC2CON.getw : TBits_32; inline;
  16248. begin
  16249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16250. end;
  16251. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  16252. begin
  16253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16254. end;
  16255. function TICAP3_IC3CON.getICM : TBits_3; inline;
  16256. begin
  16257. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16258. end;
  16259. procedure TICAP3_IC3CON.setICBNE; inline;
  16260. begin
  16261. pTDefRegMap(@Self)^.&set := $00000008;
  16262. end;
  16263. procedure TICAP3_IC3CON.clearICBNE; inline;
  16264. begin
  16265. pTDefRegMap(@Self)^.clr := $00000008;
  16266. end;
  16267. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  16268. begin
  16269. if thebits = 0 then
  16270. pTDefRegMap(@Self)^.clr := $00000008
  16271. else
  16272. pTDefRegMap(@Self)^.&set := $00000008;
  16273. end;
  16274. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  16275. begin
  16276. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16277. end;
  16278. procedure TICAP3_IC3CON.setICOV; inline;
  16279. begin
  16280. pTDefRegMap(@Self)^.&set := $00000010;
  16281. end;
  16282. procedure TICAP3_IC3CON.clearICOV; inline;
  16283. begin
  16284. pTDefRegMap(@Self)^.clr := $00000010;
  16285. end;
  16286. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  16287. begin
  16288. if thebits = 0 then
  16289. pTDefRegMap(@Self)^.clr := $00000010
  16290. else
  16291. pTDefRegMap(@Self)^.&set := $00000010;
  16292. end;
  16293. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  16294. begin
  16295. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16296. end;
  16297. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  16298. begin
  16299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  16300. end;
  16301. function TICAP3_IC3CON.getICI : TBits_2; inline;
  16302. begin
  16303. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  16304. end;
  16305. procedure TICAP3_IC3CON.setICTMR; inline;
  16306. begin
  16307. pTDefRegMap(@Self)^.&set := $00000080;
  16308. end;
  16309. procedure TICAP3_IC3CON.clearICTMR; inline;
  16310. begin
  16311. pTDefRegMap(@Self)^.clr := $00000080;
  16312. end;
  16313. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  16314. begin
  16315. if thebits = 0 then
  16316. pTDefRegMap(@Self)^.clr := $00000080
  16317. else
  16318. pTDefRegMap(@Self)^.&set := $00000080;
  16319. end;
  16320. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  16321. begin
  16322. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16323. end;
  16324. procedure TICAP3_IC3CON.setC32; inline;
  16325. begin
  16326. pTDefRegMap(@Self)^.&set := $00000100;
  16327. end;
  16328. procedure TICAP3_IC3CON.clearC32; inline;
  16329. begin
  16330. pTDefRegMap(@Self)^.clr := $00000100;
  16331. end;
  16332. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  16333. begin
  16334. if thebits = 0 then
  16335. pTDefRegMap(@Self)^.clr := $00000100
  16336. else
  16337. pTDefRegMap(@Self)^.&set := $00000100;
  16338. end;
  16339. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  16340. begin
  16341. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16342. end;
  16343. procedure TICAP3_IC3CON.setFEDGE; inline;
  16344. begin
  16345. pTDefRegMap(@Self)^.&set := $00000200;
  16346. end;
  16347. procedure TICAP3_IC3CON.clearFEDGE; inline;
  16348. begin
  16349. pTDefRegMap(@Self)^.clr := $00000200;
  16350. end;
  16351. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  16352. begin
  16353. if thebits = 0 then
  16354. pTDefRegMap(@Self)^.clr := $00000200
  16355. else
  16356. pTDefRegMap(@Self)^.&set := $00000200;
  16357. end;
  16358. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  16359. begin
  16360. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16361. end;
  16362. procedure TICAP3_IC3CON.setSIDL; inline;
  16363. begin
  16364. pTDefRegMap(@Self)^.&set := $00002000;
  16365. end;
  16366. procedure TICAP3_IC3CON.clearSIDL; inline;
  16367. begin
  16368. pTDefRegMap(@Self)^.clr := $00002000;
  16369. end;
  16370. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  16371. begin
  16372. if thebits = 0 then
  16373. pTDefRegMap(@Self)^.clr := $00002000
  16374. else
  16375. pTDefRegMap(@Self)^.&set := $00002000;
  16376. end;
  16377. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  16378. begin
  16379. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16380. end;
  16381. procedure TICAP3_IC3CON.setON; inline;
  16382. begin
  16383. pTDefRegMap(@Self)^.&set := $00008000;
  16384. end;
  16385. procedure TICAP3_IC3CON.clearON; inline;
  16386. begin
  16387. pTDefRegMap(@Self)^.clr := $00008000;
  16388. end;
  16389. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  16390. begin
  16391. if thebits = 0 then
  16392. pTDefRegMap(@Self)^.clr := $00008000
  16393. else
  16394. pTDefRegMap(@Self)^.&set := $00008000;
  16395. end;
  16396. function TICAP3_IC3CON.getON : TBits_1; inline;
  16397. begin
  16398. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16399. end;
  16400. procedure TICAP3_IC3CON.setICM0; inline;
  16401. begin
  16402. pTDefRegMap(@Self)^.&set := $00000001;
  16403. end;
  16404. procedure TICAP3_IC3CON.clearICM0; inline;
  16405. begin
  16406. pTDefRegMap(@Self)^.clr := $00000001;
  16407. end;
  16408. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  16409. begin
  16410. if thebits = 0 then
  16411. pTDefRegMap(@Self)^.clr := $00000001
  16412. else
  16413. pTDefRegMap(@Self)^.&set := $00000001;
  16414. end;
  16415. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  16416. begin
  16417. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16418. end;
  16419. procedure TICAP3_IC3CON.setICM1; inline;
  16420. begin
  16421. pTDefRegMap(@Self)^.&set := $00000002;
  16422. end;
  16423. procedure TICAP3_IC3CON.clearICM1; inline;
  16424. begin
  16425. pTDefRegMap(@Self)^.clr := $00000002;
  16426. end;
  16427. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  16428. begin
  16429. if thebits = 0 then
  16430. pTDefRegMap(@Self)^.clr := $00000002
  16431. else
  16432. pTDefRegMap(@Self)^.&set := $00000002;
  16433. end;
  16434. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  16435. begin
  16436. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16437. end;
  16438. procedure TICAP3_IC3CON.setICM2; inline;
  16439. begin
  16440. pTDefRegMap(@Self)^.&set := $00000004;
  16441. end;
  16442. procedure TICAP3_IC3CON.clearICM2; inline;
  16443. begin
  16444. pTDefRegMap(@Self)^.clr := $00000004;
  16445. end;
  16446. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  16447. begin
  16448. if thebits = 0 then
  16449. pTDefRegMap(@Self)^.clr := $00000004
  16450. else
  16451. pTDefRegMap(@Self)^.&set := $00000004;
  16452. end;
  16453. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  16454. begin
  16455. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16456. end;
  16457. procedure TICAP3_IC3CON.setICI0; inline;
  16458. begin
  16459. pTDefRegMap(@Self)^.&set := $00000020;
  16460. end;
  16461. procedure TICAP3_IC3CON.clearICI0; inline;
  16462. begin
  16463. pTDefRegMap(@Self)^.clr := $00000020;
  16464. end;
  16465. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  16466. begin
  16467. if thebits = 0 then
  16468. pTDefRegMap(@Self)^.clr := $00000020
  16469. else
  16470. pTDefRegMap(@Self)^.&set := $00000020;
  16471. end;
  16472. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  16473. begin
  16474. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16475. end;
  16476. procedure TICAP3_IC3CON.setICI1; inline;
  16477. begin
  16478. pTDefRegMap(@Self)^.&set := $00000040;
  16479. end;
  16480. procedure TICAP3_IC3CON.clearICI1; inline;
  16481. begin
  16482. pTDefRegMap(@Self)^.clr := $00000040;
  16483. end;
  16484. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  16485. begin
  16486. if thebits = 0 then
  16487. pTDefRegMap(@Self)^.clr := $00000040
  16488. else
  16489. pTDefRegMap(@Self)^.&set := $00000040;
  16490. end;
  16491. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  16492. begin
  16493. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16494. end;
  16495. procedure TICAP3_IC3CON.setICSIDL; inline;
  16496. begin
  16497. pTDefRegMap(@Self)^.&set := $00002000;
  16498. end;
  16499. procedure TICAP3_IC3CON.clearICSIDL; inline;
  16500. begin
  16501. pTDefRegMap(@Self)^.clr := $00002000;
  16502. end;
  16503. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  16504. begin
  16505. if thebits = 0 then
  16506. pTDefRegMap(@Self)^.clr := $00002000
  16507. else
  16508. pTDefRegMap(@Self)^.&set := $00002000;
  16509. end;
  16510. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  16511. begin
  16512. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16513. end;
  16514. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  16515. begin
  16516. pTDefRegMap(@Self)^.val := thebits;
  16517. end;
  16518. function TICAP3_IC3CON.getw : TBits_32; inline;
  16519. begin
  16520. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16521. end;
  16522. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  16523. begin
  16524. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16525. end;
  16526. function TICAP4_IC4CON.getICM : TBits_3; inline;
  16527. begin
  16528. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16529. end;
  16530. procedure TICAP4_IC4CON.setICBNE; inline;
  16531. begin
  16532. pTDefRegMap(@Self)^.&set := $00000008;
  16533. end;
  16534. procedure TICAP4_IC4CON.clearICBNE; inline;
  16535. begin
  16536. pTDefRegMap(@Self)^.clr := $00000008;
  16537. end;
  16538. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  16539. begin
  16540. if thebits = 0 then
  16541. pTDefRegMap(@Self)^.clr := $00000008
  16542. else
  16543. pTDefRegMap(@Self)^.&set := $00000008;
  16544. end;
  16545. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  16546. begin
  16547. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16548. end;
  16549. procedure TICAP4_IC4CON.setICOV; inline;
  16550. begin
  16551. pTDefRegMap(@Self)^.&set := $00000010;
  16552. end;
  16553. procedure TICAP4_IC4CON.clearICOV; inline;
  16554. begin
  16555. pTDefRegMap(@Self)^.clr := $00000010;
  16556. end;
  16557. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  16558. begin
  16559. if thebits = 0 then
  16560. pTDefRegMap(@Self)^.clr := $00000010
  16561. else
  16562. pTDefRegMap(@Self)^.&set := $00000010;
  16563. end;
  16564. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  16565. begin
  16566. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16567. end;
  16568. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  16569. begin
  16570. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  16571. end;
  16572. function TICAP4_IC4CON.getICI : TBits_2; inline;
  16573. begin
  16574. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  16575. end;
  16576. procedure TICAP4_IC4CON.setICTMR; inline;
  16577. begin
  16578. pTDefRegMap(@Self)^.&set := $00000080;
  16579. end;
  16580. procedure TICAP4_IC4CON.clearICTMR; inline;
  16581. begin
  16582. pTDefRegMap(@Self)^.clr := $00000080;
  16583. end;
  16584. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  16585. begin
  16586. if thebits = 0 then
  16587. pTDefRegMap(@Self)^.clr := $00000080
  16588. else
  16589. pTDefRegMap(@Self)^.&set := $00000080;
  16590. end;
  16591. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  16592. begin
  16593. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16594. end;
  16595. procedure TICAP4_IC4CON.setC32; inline;
  16596. begin
  16597. pTDefRegMap(@Self)^.&set := $00000100;
  16598. end;
  16599. procedure TICAP4_IC4CON.clearC32; inline;
  16600. begin
  16601. pTDefRegMap(@Self)^.clr := $00000100;
  16602. end;
  16603. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  16604. begin
  16605. if thebits = 0 then
  16606. pTDefRegMap(@Self)^.clr := $00000100
  16607. else
  16608. pTDefRegMap(@Self)^.&set := $00000100;
  16609. end;
  16610. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  16611. begin
  16612. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16613. end;
  16614. procedure TICAP4_IC4CON.setFEDGE; inline;
  16615. begin
  16616. pTDefRegMap(@Self)^.&set := $00000200;
  16617. end;
  16618. procedure TICAP4_IC4CON.clearFEDGE; inline;
  16619. begin
  16620. pTDefRegMap(@Self)^.clr := $00000200;
  16621. end;
  16622. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  16623. begin
  16624. if thebits = 0 then
  16625. pTDefRegMap(@Self)^.clr := $00000200
  16626. else
  16627. pTDefRegMap(@Self)^.&set := $00000200;
  16628. end;
  16629. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  16630. begin
  16631. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16632. end;
  16633. procedure TICAP4_IC4CON.setSIDL; inline;
  16634. begin
  16635. pTDefRegMap(@Self)^.&set := $00002000;
  16636. end;
  16637. procedure TICAP4_IC4CON.clearSIDL; inline;
  16638. begin
  16639. pTDefRegMap(@Self)^.clr := $00002000;
  16640. end;
  16641. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  16642. begin
  16643. if thebits = 0 then
  16644. pTDefRegMap(@Self)^.clr := $00002000
  16645. else
  16646. pTDefRegMap(@Self)^.&set := $00002000;
  16647. end;
  16648. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  16649. begin
  16650. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16651. end;
  16652. procedure TICAP4_IC4CON.setON; inline;
  16653. begin
  16654. pTDefRegMap(@Self)^.&set := $00008000;
  16655. end;
  16656. procedure TICAP4_IC4CON.clearON; inline;
  16657. begin
  16658. pTDefRegMap(@Self)^.clr := $00008000;
  16659. end;
  16660. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  16661. begin
  16662. if thebits = 0 then
  16663. pTDefRegMap(@Self)^.clr := $00008000
  16664. else
  16665. pTDefRegMap(@Self)^.&set := $00008000;
  16666. end;
  16667. function TICAP4_IC4CON.getON : TBits_1; inline;
  16668. begin
  16669. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16670. end;
  16671. procedure TICAP4_IC4CON.setICM0; inline;
  16672. begin
  16673. pTDefRegMap(@Self)^.&set := $00000001;
  16674. end;
  16675. procedure TICAP4_IC4CON.clearICM0; inline;
  16676. begin
  16677. pTDefRegMap(@Self)^.clr := $00000001;
  16678. end;
  16679. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  16680. begin
  16681. if thebits = 0 then
  16682. pTDefRegMap(@Self)^.clr := $00000001
  16683. else
  16684. pTDefRegMap(@Self)^.&set := $00000001;
  16685. end;
  16686. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  16687. begin
  16688. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16689. end;
  16690. procedure TICAP4_IC4CON.setICM1; inline;
  16691. begin
  16692. pTDefRegMap(@Self)^.&set := $00000002;
  16693. end;
  16694. procedure TICAP4_IC4CON.clearICM1; inline;
  16695. begin
  16696. pTDefRegMap(@Self)^.clr := $00000002;
  16697. end;
  16698. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  16699. begin
  16700. if thebits = 0 then
  16701. pTDefRegMap(@Self)^.clr := $00000002
  16702. else
  16703. pTDefRegMap(@Self)^.&set := $00000002;
  16704. end;
  16705. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  16706. begin
  16707. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16708. end;
  16709. procedure TICAP4_IC4CON.setICM2; inline;
  16710. begin
  16711. pTDefRegMap(@Self)^.&set := $00000004;
  16712. end;
  16713. procedure TICAP4_IC4CON.clearICM2; inline;
  16714. begin
  16715. pTDefRegMap(@Self)^.clr := $00000004;
  16716. end;
  16717. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  16718. begin
  16719. if thebits = 0 then
  16720. pTDefRegMap(@Self)^.clr := $00000004
  16721. else
  16722. pTDefRegMap(@Self)^.&set := $00000004;
  16723. end;
  16724. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  16725. begin
  16726. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16727. end;
  16728. procedure TICAP4_IC4CON.setICI0; inline;
  16729. begin
  16730. pTDefRegMap(@Self)^.&set := $00000020;
  16731. end;
  16732. procedure TICAP4_IC4CON.clearICI0; inline;
  16733. begin
  16734. pTDefRegMap(@Self)^.clr := $00000020;
  16735. end;
  16736. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  16737. begin
  16738. if thebits = 0 then
  16739. pTDefRegMap(@Self)^.clr := $00000020
  16740. else
  16741. pTDefRegMap(@Self)^.&set := $00000020;
  16742. end;
  16743. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  16744. begin
  16745. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16746. end;
  16747. procedure TICAP4_IC4CON.setICI1; inline;
  16748. begin
  16749. pTDefRegMap(@Self)^.&set := $00000040;
  16750. end;
  16751. procedure TICAP4_IC4CON.clearICI1; inline;
  16752. begin
  16753. pTDefRegMap(@Self)^.clr := $00000040;
  16754. end;
  16755. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  16756. begin
  16757. if thebits = 0 then
  16758. pTDefRegMap(@Self)^.clr := $00000040
  16759. else
  16760. pTDefRegMap(@Self)^.&set := $00000040;
  16761. end;
  16762. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  16763. begin
  16764. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16765. end;
  16766. procedure TICAP4_IC4CON.setICSIDL; inline;
  16767. begin
  16768. pTDefRegMap(@Self)^.&set := $00002000;
  16769. end;
  16770. procedure TICAP4_IC4CON.clearICSIDL; inline;
  16771. begin
  16772. pTDefRegMap(@Self)^.clr := $00002000;
  16773. end;
  16774. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  16775. begin
  16776. if thebits = 0 then
  16777. pTDefRegMap(@Self)^.clr := $00002000
  16778. else
  16779. pTDefRegMap(@Self)^.&set := $00002000;
  16780. end;
  16781. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  16782. begin
  16783. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16784. end;
  16785. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  16786. begin
  16787. pTDefRegMap(@Self)^.val := thebits;
  16788. end;
  16789. function TICAP4_IC4CON.getw : TBits_32; inline;
  16790. begin
  16791. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16792. end;
  16793. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  16794. begin
  16795. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16796. end;
  16797. function TICAP5_IC5CON.getICM : TBits_3; inline;
  16798. begin
  16799. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16800. end;
  16801. procedure TICAP5_IC5CON.setICBNE; inline;
  16802. begin
  16803. pTDefRegMap(@Self)^.&set := $00000008;
  16804. end;
  16805. procedure TICAP5_IC5CON.clearICBNE; inline;
  16806. begin
  16807. pTDefRegMap(@Self)^.clr := $00000008;
  16808. end;
  16809. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  16810. begin
  16811. if thebits = 0 then
  16812. pTDefRegMap(@Self)^.clr := $00000008
  16813. else
  16814. pTDefRegMap(@Self)^.&set := $00000008;
  16815. end;
  16816. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  16817. begin
  16818. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16819. end;
  16820. procedure TICAP5_IC5CON.setICOV; inline;
  16821. begin
  16822. pTDefRegMap(@Self)^.&set := $00000010;
  16823. end;
  16824. procedure TICAP5_IC5CON.clearICOV; inline;
  16825. begin
  16826. pTDefRegMap(@Self)^.clr := $00000010;
  16827. end;
  16828. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  16829. begin
  16830. if thebits = 0 then
  16831. pTDefRegMap(@Self)^.clr := $00000010
  16832. else
  16833. pTDefRegMap(@Self)^.&set := $00000010;
  16834. end;
  16835. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  16836. begin
  16837. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16838. end;
  16839. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  16840. begin
  16841. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  16842. end;
  16843. function TICAP5_IC5CON.getICI : TBits_2; inline;
  16844. begin
  16845. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  16846. end;
  16847. procedure TICAP5_IC5CON.setICTMR; inline;
  16848. begin
  16849. pTDefRegMap(@Self)^.&set := $00000080;
  16850. end;
  16851. procedure TICAP5_IC5CON.clearICTMR; inline;
  16852. begin
  16853. pTDefRegMap(@Self)^.clr := $00000080;
  16854. end;
  16855. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  16856. begin
  16857. if thebits = 0 then
  16858. pTDefRegMap(@Self)^.clr := $00000080
  16859. else
  16860. pTDefRegMap(@Self)^.&set := $00000080;
  16861. end;
  16862. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  16863. begin
  16864. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16865. end;
  16866. procedure TICAP5_IC5CON.setC32; inline;
  16867. begin
  16868. pTDefRegMap(@Self)^.&set := $00000100;
  16869. end;
  16870. procedure TICAP5_IC5CON.clearC32; inline;
  16871. begin
  16872. pTDefRegMap(@Self)^.clr := $00000100;
  16873. end;
  16874. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  16875. begin
  16876. if thebits = 0 then
  16877. pTDefRegMap(@Self)^.clr := $00000100
  16878. else
  16879. pTDefRegMap(@Self)^.&set := $00000100;
  16880. end;
  16881. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  16882. begin
  16883. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16884. end;
  16885. procedure TICAP5_IC5CON.setFEDGE; inline;
  16886. begin
  16887. pTDefRegMap(@Self)^.&set := $00000200;
  16888. end;
  16889. procedure TICAP5_IC5CON.clearFEDGE; inline;
  16890. begin
  16891. pTDefRegMap(@Self)^.clr := $00000200;
  16892. end;
  16893. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  16894. begin
  16895. if thebits = 0 then
  16896. pTDefRegMap(@Self)^.clr := $00000200
  16897. else
  16898. pTDefRegMap(@Self)^.&set := $00000200;
  16899. end;
  16900. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  16901. begin
  16902. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16903. end;
  16904. procedure TICAP5_IC5CON.setSIDL; inline;
  16905. begin
  16906. pTDefRegMap(@Self)^.&set := $00002000;
  16907. end;
  16908. procedure TICAP5_IC5CON.clearSIDL; inline;
  16909. begin
  16910. pTDefRegMap(@Self)^.clr := $00002000;
  16911. end;
  16912. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  16913. begin
  16914. if thebits = 0 then
  16915. pTDefRegMap(@Self)^.clr := $00002000
  16916. else
  16917. pTDefRegMap(@Self)^.&set := $00002000;
  16918. end;
  16919. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  16920. begin
  16921. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16922. end;
  16923. procedure TICAP5_IC5CON.setON; inline;
  16924. begin
  16925. pTDefRegMap(@Self)^.&set := $00008000;
  16926. end;
  16927. procedure TICAP5_IC5CON.clearON; inline;
  16928. begin
  16929. pTDefRegMap(@Self)^.clr := $00008000;
  16930. end;
  16931. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  16932. begin
  16933. if thebits = 0 then
  16934. pTDefRegMap(@Self)^.clr := $00008000
  16935. else
  16936. pTDefRegMap(@Self)^.&set := $00008000;
  16937. end;
  16938. function TICAP5_IC5CON.getON : TBits_1; inline;
  16939. begin
  16940. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16941. end;
  16942. procedure TICAP5_IC5CON.setICM0; inline;
  16943. begin
  16944. pTDefRegMap(@Self)^.&set := $00000001;
  16945. end;
  16946. procedure TICAP5_IC5CON.clearICM0; inline;
  16947. begin
  16948. pTDefRegMap(@Self)^.clr := $00000001;
  16949. end;
  16950. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  16951. begin
  16952. if thebits = 0 then
  16953. pTDefRegMap(@Self)^.clr := $00000001
  16954. else
  16955. pTDefRegMap(@Self)^.&set := $00000001;
  16956. end;
  16957. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  16958. begin
  16959. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16960. end;
  16961. procedure TICAP5_IC5CON.setICM1; inline;
  16962. begin
  16963. pTDefRegMap(@Self)^.&set := $00000002;
  16964. end;
  16965. procedure TICAP5_IC5CON.clearICM1; inline;
  16966. begin
  16967. pTDefRegMap(@Self)^.clr := $00000002;
  16968. end;
  16969. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  16970. begin
  16971. if thebits = 0 then
  16972. pTDefRegMap(@Self)^.clr := $00000002
  16973. else
  16974. pTDefRegMap(@Self)^.&set := $00000002;
  16975. end;
  16976. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  16977. begin
  16978. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16979. end;
  16980. procedure TICAP5_IC5CON.setICM2; inline;
  16981. begin
  16982. pTDefRegMap(@Self)^.&set := $00000004;
  16983. end;
  16984. procedure TICAP5_IC5CON.clearICM2; inline;
  16985. begin
  16986. pTDefRegMap(@Self)^.clr := $00000004;
  16987. end;
  16988. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  16989. begin
  16990. if thebits = 0 then
  16991. pTDefRegMap(@Self)^.clr := $00000004
  16992. else
  16993. pTDefRegMap(@Self)^.&set := $00000004;
  16994. end;
  16995. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  16996. begin
  16997. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16998. end;
  16999. procedure TICAP5_IC5CON.setICI0; inline;
  17000. begin
  17001. pTDefRegMap(@Self)^.&set := $00000020;
  17002. end;
  17003. procedure TICAP5_IC5CON.clearICI0; inline;
  17004. begin
  17005. pTDefRegMap(@Self)^.clr := $00000020;
  17006. end;
  17007. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  17008. begin
  17009. if thebits = 0 then
  17010. pTDefRegMap(@Self)^.clr := $00000020
  17011. else
  17012. pTDefRegMap(@Self)^.&set := $00000020;
  17013. end;
  17014. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  17015. begin
  17016. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17017. end;
  17018. procedure TICAP5_IC5CON.setICI1; inline;
  17019. begin
  17020. pTDefRegMap(@Self)^.&set := $00000040;
  17021. end;
  17022. procedure TICAP5_IC5CON.clearICI1; inline;
  17023. begin
  17024. pTDefRegMap(@Self)^.clr := $00000040;
  17025. end;
  17026. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  17027. begin
  17028. if thebits = 0 then
  17029. pTDefRegMap(@Self)^.clr := $00000040
  17030. else
  17031. pTDefRegMap(@Self)^.&set := $00000040;
  17032. end;
  17033. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  17034. begin
  17035. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17036. end;
  17037. procedure TICAP5_IC5CON.setICSIDL; inline;
  17038. begin
  17039. pTDefRegMap(@Self)^.&set := $00002000;
  17040. end;
  17041. procedure TICAP5_IC5CON.clearICSIDL; inline;
  17042. begin
  17043. pTDefRegMap(@Self)^.clr := $00002000;
  17044. end;
  17045. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  17046. begin
  17047. if thebits = 0 then
  17048. pTDefRegMap(@Self)^.clr := $00002000
  17049. else
  17050. pTDefRegMap(@Self)^.&set := $00002000;
  17051. end;
  17052. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  17053. begin
  17054. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17055. end;
  17056. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  17057. begin
  17058. pTDefRegMap(@Self)^.val := thebits;
  17059. end;
  17060. function TICAP5_IC5CON.getw : TBits_32; inline;
  17061. begin
  17062. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17063. end;
  17064. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  17065. begin
  17066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17067. end;
  17068. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  17069. begin
  17070. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17071. end;
  17072. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  17073. begin
  17074. pTDefRegMap(@Self)^.&set := $00000008;
  17075. end;
  17076. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  17077. begin
  17078. pTDefRegMap(@Self)^.clr := $00000008;
  17079. end;
  17080. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  17081. begin
  17082. if thebits = 0 then
  17083. pTDefRegMap(@Self)^.clr := $00000008
  17084. else
  17085. pTDefRegMap(@Self)^.&set := $00000008;
  17086. end;
  17087. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  17088. begin
  17089. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17090. end;
  17091. procedure TOCMP1_OC1CON.setOCFLT; inline;
  17092. begin
  17093. pTDefRegMap(@Self)^.&set := $00000010;
  17094. end;
  17095. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  17096. begin
  17097. pTDefRegMap(@Self)^.clr := $00000010;
  17098. end;
  17099. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  17100. begin
  17101. if thebits = 0 then
  17102. pTDefRegMap(@Self)^.clr := $00000010
  17103. else
  17104. pTDefRegMap(@Self)^.&set := $00000010;
  17105. end;
  17106. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  17107. begin
  17108. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17109. end;
  17110. procedure TOCMP1_OC1CON.setOC32; inline;
  17111. begin
  17112. pTDefRegMap(@Self)^.&set := $00000020;
  17113. end;
  17114. procedure TOCMP1_OC1CON.clearOC32; inline;
  17115. begin
  17116. pTDefRegMap(@Self)^.clr := $00000020;
  17117. end;
  17118. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  17119. begin
  17120. if thebits = 0 then
  17121. pTDefRegMap(@Self)^.clr := $00000020
  17122. else
  17123. pTDefRegMap(@Self)^.&set := $00000020;
  17124. end;
  17125. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  17126. begin
  17127. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17128. end;
  17129. procedure TOCMP1_OC1CON.setSIDL; inline;
  17130. begin
  17131. pTDefRegMap(@Self)^.&set := $00002000;
  17132. end;
  17133. procedure TOCMP1_OC1CON.clearSIDL; inline;
  17134. begin
  17135. pTDefRegMap(@Self)^.clr := $00002000;
  17136. end;
  17137. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  17138. begin
  17139. if thebits = 0 then
  17140. pTDefRegMap(@Self)^.clr := $00002000
  17141. else
  17142. pTDefRegMap(@Self)^.&set := $00002000;
  17143. end;
  17144. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  17145. begin
  17146. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17147. end;
  17148. procedure TOCMP1_OC1CON.setON; inline;
  17149. begin
  17150. pTDefRegMap(@Self)^.&set := $00008000;
  17151. end;
  17152. procedure TOCMP1_OC1CON.clearON; inline;
  17153. begin
  17154. pTDefRegMap(@Self)^.clr := $00008000;
  17155. end;
  17156. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  17157. begin
  17158. if thebits = 0 then
  17159. pTDefRegMap(@Self)^.clr := $00008000
  17160. else
  17161. pTDefRegMap(@Self)^.&set := $00008000;
  17162. end;
  17163. function TOCMP1_OC1CON.getON : TBits_1; inline;
  17164. begin
  17165. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17166. end;
  17167. procedure TOCMP1_OC1CON.setOCM0; inline;
  17168. begin
  17169. pTDefRegMap(@Self)^.&set := $00000001;
  17170. end;
  17171. procedure TOCMP1_OC1CON.clearOCM0; inline;
  17172. begin
  17173. pTDefRegMap(@Self)^.clr := $00000001;
  17174. end;
  17175. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  17176. begin
  17177. if thebits = 0 then
  17178. pTDefRegMap(@Self)^.clr := $00000001
  17179. else
  17180. pTDefRegMap(@Self)^.&set := $00000001;
  17181. end;
  17182. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  17183. begin
  17184. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17185. end;
  17186. procedure TOCMP1_OC1CON.setOCM1; inline;
  17187. begin
  17188. pTDefRegMap(@Self)^.&set := $00000002;
  17189. end;
  17190. procedure TOCMP1_OC1CON.clearOCM1; inline;
  17191. begin
  17192. pTDefRegMap(@Self)^.clr := $00000002;
  17193. end;
  17194. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  17195. begin
  17196. if thebits = 0 then
  17197. pTDefRegMap(@Self)^.clr := $00000002
  17198. else
  17199. pTDefRegMap(@Self)^.&set := $00000002;
  17200. end;
  17201. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  17202. begin
  17203. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17204. end;
  17205. procedure TOCMP1_OC1CON.setOCM2; inline;
  17206. begin
  17207. pTDefRegMap(@Self)^.&set := $00000004;
  17208. end;
  17209. procedure TOCMP1_OC1CON.clearOCM2; inline;
  17210. begin
  17211. pTDefRegMap(@Self)^.clr := $00000004;
  17212. end;
  17213. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  17214. begin
  17215. if thebits = 0 then
  17216. pTDefRegMap(@Self)^.clr := $00000004
  17217. else
  17218. pTDefRegMap(@Self)^.&set := $00000004;
  17219. end;
  17220. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  17221. begin
  17222. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17223. end;
  17224. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  17225. begin
  17226. pTDefRegMap(@Self)^.&set := $00002000;
  17227. end;
  17228. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  17229. begin
  17230. pTDefRegMap(@Self)^.clr := $00002000;
  17231. end;
  17232. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  17233. begin
  17234. if thebits = 0 then
  17235. pTDefRegMap(@Self)^.clr := $00002000
  17236. else
  17237. pTDefRegMap(@Self)^.&set := $00002000;
  17238. end;
  17239. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  17240. begin
  17241. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17242. end;
  17243. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  17244. begin
  17245. pTDefRegMap(@Self)^.val := thebits;
  17246. end;
  17247. function TOCMP1_OC1CON.getw : TBits_32; inline;
  17248. begin
  17249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17250. end;
  17251. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  17252. begin
  17253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17254. end;
  17255. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  17256. begin
  17257. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17258. end;
  17259. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  17260. begin
  17261. pTDefRegMap(@Self)^.&set := $00000008;
  17262. end;
  17263. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  17264. begin
  17265. pTDefRegMap(@Self)^.clr := $00000008;
  17266. end;
  17267. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  17268. begin
  17269. if thebits = 0 then
  17270. pTDefRegMap(@Self)^.clr := $00000008
  17271. else
  17272. pTDefRegMap(@Self)^.&set := $00000008;
  17273. end;
  17274. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  17275. begin
  17276. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17277. end;
  17278. procedure TOCMP2_OC2CON.setOCFLT; inline;
  17279. begin
  17280. pTDefRegMap(@Self)^.&set := $00000010;
  17281. end;
  17282. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  17283. begin
  17284. pTDefRegMap(@Self)^.clr := $00000010;
  17285. end;
  17286. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  17287. begin
  17288. if thebits = 0 then
  17289. pTDefRegMap(@Self)^.clr := $00000010
  17290. else
  17291. pTDefRegMap(@Self)^.&set := $00000010;
  17292. end;
  17293. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  17294. begin
  17295. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17296. end;
  17297. procedure TOCMP2_OC2CON.setOC32; inline;
  17298. begin
  17299. pTDefRegMap(@Self)^.&set := $00000020;
  17300. end;
  17301. procedure TOCMP2_OC2CON.clearOC32; inline;
  17302. begin
  17303. pTDefRegMap(@Self)^.clr := $00000020;
  17304. end;
  17305. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  17306. begin
  17307. if thebits = 0 then
  17308. pTDefRegMap(@Self)^.clr := $00000020
  17309. else
  17310. pTDefRegMap(@Self)^.&set := $00000020;
  17311. end;
  17312. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  17313. begin
  17314. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17315. end;
  17316. procedure TOCMP2_OC2CON.setSIDL; inline;
  17317. begin
  17318. pTDefRegMap(@Self)^.&set := $00002000;
  17319. end;
  17320. procedure TOCMP2_OC2CON.clearSIDL; inline;
  17321. begin
  17322. pTDefRegMap(@Self)^.clr := $00002000;
  17323. end;
  17324. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  17325. begin
  17326. if thebits = 0 then
  17327. pTDefRegMap(@Self)^.clr := $00002000
  17328. else
  17329. pTDefRegMap(@Self)^.&set := $00002000;
  17330. end;
  17331. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  17332. begin
  17333. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17334. end;
  17335. procedure TOCMP2_OC2CON.setON; inline;
  17336. begin
  17337. pTDefRegMap(@Self)^.&set := $00008000;
  17338. end;
  17339. procedure TOCMP2_OC2CON.clearON; inline;
  17340. begin
  17341. pTDefRegMap(@Self)^.clr := $00008000;
  17342. end;
  17343. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  17344. begin
  17345. if thebits = 0 then
  17346. pTDefRegMap(@Self)^.clr := $00008000
  17347. else
  17348. pTDefRegMap(@Self)^.&set := $00008000;
  17349. end;
  17350. function TOCMP2_OC2CON.getON : TBits_1; inline;
  17351. begin
  17352. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17353. end;
  17354. procedure TOCMP2_OC2CON.setOCM0; inline;
  17355. begin
  17356. pTDefRegMap(@Self)^.&set := $00000001;
  17357. end;
  17358. procedure TOCMP2_OC2CON.clearOCM0; inline;
  17359. begin
  17360. pTDefRegMap(@Self)^.clr := $00000001;
  17361. end;
  17362. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  17363. begin
  17364. if thebits = 0 then
  17365. pTDefRegMap(@Self)^.clr := $00000001
  17366. else
  17367. pTDefRegMap(@Self)^.&set := $00000001;
  17368. end;
  17369. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  17370. begin
  17371. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17372. end;
  17373. procedure TOCMP2_OC2CON.setOCM1; inline;
  17374. begin
  17375. pTDefRegMap(@Self)^.&set := $00000002;
  17376. end;
  17377. procedure TOCMP2_OC2CON.clearOCM1; inline;
  17378. begin
  17379. pTDefRegMap(@Self)^.clr := $00000002;
  17380. end;
  17381. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  17382. begin
  17383. if thebits = 0 then
  17384. pTDefRegMap(@Self)^.clr := $00000002
  17385. else
  17386. pTDefRegMap(@Self)^.&set := $00000002;
  17387. end;
  17388. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  17389. begin
  17390. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17391. end;
  17392. procedure TOCMP2_OC2CON.setOCM2; inline;
  17393. begin
  17394. pTDefRegMap(@Self)^.&set := $00000004;
  17395. end;
  17396. procedure TOCMP2_OC2CON.clearOCM2; inline;
  17397. begin
  17398. pTDefRegMap(@Self)^.clr := $00000004;
  17399. end;
  17400. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  17401. begin
  17402. if thebits = 0 then
  17403. pTDefRegMap(@Self)^.clr := $00000004
  17404. else
  17405. pTDefRegMap(@Self)^.&set := $00000004;
  17406. end;
  17407. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  17408. begin
  17409. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17410. end;
  17411. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  17412. begin
  17413. pTDefRegMap(@Self)^.&set := $00002000;
  17414. end;
  17415. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  17416. begin
  17417. pTDefRegMap(@Self)^.clr := $00002000;
  17418. end;
  17419. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  17420. begin
  17421. if thebits = 0 then
  17422. pTDefRegMap(@Self)^.clr := $00002000
  17423. else
  17424. pTDefRegMap(@Self)^.&set := $00002000;
  17425. end;
  17426. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  17427. begin
  17428. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17429. end;
  17430. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  17431. begin
  17432. pTDefRegMap(@Self)^.val := thebits;
  17433. end;
  17434. function TOCMP2_OC2CON.getw : TBits_32; inline;
  17435. begin
  17436. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17437. end;
  17438. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  17439. begin
  17440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17441. end;
  17442. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  17443. begin
  17444. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17445. end;
  17446. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  17447. begin
  17448. pTDefRegMap(@Self)^.&set := $00000008;
  17449. end;
  17450. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  17451. begin
  17452. pTDefRegMap(@Self)^.clr := $00000008;
  17453. end;
  17454. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  17455. begin
  17456. if thebits = 0 then
  17457. pTDefRegMap(@Self)^.clr := $00000008
  17458. else
  17459. pTDefRegMap(@Self)^.&set := $00000008;
  17460. end;
  17461. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  17462. begin
  17463. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17464. end;
  17465. procedure TOCMP3_OC3CON.setOCFLT; inline;
  17466. begin
  17467. pTDefRegMap(@Self)^.&set := $00000010;
  17468. end;
  17469. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  17470. begin
  17471. pTDefRegMap(@Self)^.clr := $00000010;
  17472. end;
  17473. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  17474. begin
  17475. if thebits = 0 then
  17476. pTDefRegMap(@Self)^.clr := $00000010
  17477. else
  17478. pTDefRegMap(@Self)^.&set := $00000010;
  17479. end;
  17480. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  17481. begin
  17482. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17483. end;
  17484. procedure TOCMP3_OC3CON.setOC32; inline;
  17485. begin
  17486. pTDefRegMap(@Self)^.&set := $00000020;
  17487. end;
  17488. procedure TOCMP3_OC3CON.clearOC32; inline;
  17489. begin
  17490. pTDefRegMap(@Self)^.clr := $00000020;
  17491. end;
  17492. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  17493. begin
  17494. if thebits = 0 then
  17495. pTDefRegMap(@Self)^.clr := $00000020
  17496. else
  17497. pTDefRegMap(@Self)^.&set := $00000020;
  17498. end;
  17499. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  17500. begin
  17501. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17502. end;
  17503. procedure TOCMP3_OC3CON.setSIDL; inline;
  17504. begin
  17505. pTDefRegMap(@Self)^.&set := $00002000;
  17506. end;
  17507. procedure TOCMP3_OC3CON.clearSIDL; inline;
  17508. begin
  17509. pTDefRegMap(@Self)^.clr := $00002000;
  17510. end;
  17511. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  17512. begin
  17513. if thebits = 0 then
  17514. pTDefRegMap(@Self)^.clr := $00002000
  17515. else
  17516. pTDefRegMap(@Self)^.&set := $00002000;
  17517. end;
  17518. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  17519. begin
  17520. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17521. end;
  17522. procedure TOCMP3_OC3CON.setON; inline;
  17523. begin
  17524. pTDefRegMap(@Self)^.&set := $00008000;
  17525. end;
  17526. procedure TOCMP3_OC3CON.clearON; inline;
  17527. begin
  17528. pTDefRegMap(@Self)^.clr := $00008000;
  17529. end;
  17530. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  17531. begin
  17532. if thebits = 0 then
  17533. pTDefRegMap(@Self)^.clr := $00008000
  17534. else
  17535. pTDefRegMap(@Self)^.&set := $00008000;
  17536. end;
  17537. function TOCMP3_OC3CON.getON : TBits_1; inline;
  17538. begin
  17539. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17540. end;
  17541. procedure TOCMP3_OC3CON.setOCM0; inline;
  17542. begin
  17543. pTDefRegMap(@Self)^.&set := $00000001;
  17544. end;
  17545. procedure TOCMP3_OC3CON.clearOCM0; inline;
  17546. begin
  17547. pTDefRegMap(@Self)^.clr := $00000001;
  17548. end;
  17549. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  17550. begin
  17551. if thebits = 0 then
  17552. pTDefRegMap(@Self)^.clr := $00000001
  17553. else
  17554. pTDefRegMap(@Self)^.&set := $00000001;
  17555. end;
  17556. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  17557. begin
  17558. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17559. end;
  17560. procedure TOCMP3_OC3CON.setOCM1; inline;
  17561. begin
  17562. pTDefRegMap(@Self)^.&set := $00000002;
  17563. end;
  17564. procedure TOCMP3_OC3CON.clearOCM1; inline;
  17565. begin
  17566. pTDefRegMap(@Self)^.clr := $00000002;
  17567. end;
  17568. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  17569. begin
  17570. if thebits = 0 then
  17571. pTDefRegMap(@Self)^.clr := $00000002
  17572. else
  17573. pTDefRegMap(@Self)^.&set := $00000002;
  17574. end;
  17575. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  17576. begin
  17577. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17578. end;
  17579. procedure TOCMP3_OC3CON.setOCM2; inline;
  17580. begin
  17581. pTDefRegMap(@Self)^.&set := $00000004;
  17582. end;
  17583. procedure TOCMP3_OC3CON.clearOCM2; inline;
  17584. begin
  17585. pTDefRegMap(@Self)^.clr := $00000004;
  17586. end;
  17587. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  17588. begin
  17589. if thebits = 0 then
  17590. pTDefRegMap(@Self)^.clr := $00000004
  17591. else
  17592. pTDefRegMap(@Self)^.&set := $00000004;
  17593. end;
  17594. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  17595. begin
  17596. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17597. end;
  17598. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  17599. begin
  17600. pTDefRegMap(@Self)^.&set := $00002000;
  17601. end;
  17602. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  17603. begin
  17604. pTDefRegMap(@Self)^.clr := $00002000;
  17605. end;
  17606. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  17607. begin
  17608. if thebits = 0 then
  17609. pTDefRegMap(@Self)^.clr := $00002000
  17610. else
  17611. pTDefRegMap(@Self)^.&set := $00002000;
  17612. end;
  17613. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  17614. begin
  17615. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17616. end;
  17617. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  17618. begin
  17619. pTDefRegMap(@Self)^.val := thebits;
  17620. end;
  17621. function TOCMP3_OC3CON.getw : TBits_32; inline;
  17622. begin
  17623. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17624. end;
  17625. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  17626. begin
  17627. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17628. end;
  17629. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  17630. begin
  17631. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17632. end;
  17633. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  17634. begin
  17635. pTDefRegMap(@Self)^.&set := $00000008;
  17636. end;
  17637. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  17638. begin
  17639. pTDefRegMap(@Self)^.clr := $00000008;
  17640. end;
  17641. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  17642. begin
  17643. if thebits = 0 then
  17644. pTDefRegMap(@Self)^.clr := $00000008
  17645. else
  17646. pTDefRegMap(@Self)^.&set := $00000008;
  17647. end;
  17648. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  17649. begin
  17650. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17651. end;
  17652. procedure TOCMP4_OC4CON.setOCFLT; inline;
  17653. begin
  17654. pTDefRegMap(@Self)^.&set := $00000010;
  17655. end;
  17656. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  17657. begin
  17658. pTDefRegMap(@Self)^.clr := $00000010;
  17659. end;
  17660. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  17661. begin
  17662. if thebits = 0 then
  17663. pTDefRegMap(@Self)^.clr := $00000010
  17664. else
  17665. pTDefRegMap(@Self)^.&set := $00000010;
  17666. end;
  17667. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  17668. begin
  17669. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17670. end;
  17671. procedure TOCMP4_OC4CON.setOC32; inline;
  17672. begin
  17673. pTDefRegMap(@Self)^.&set := $00000020;
  17674. end;
  17675. procedure TOCMP4_OC4CON.clearOC32; inline;
  17676. begin
  17677. pTDefRegMap(@Self)^.clr := $00000020;
  17678. end;
  17679. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  17680. begin
  17681. if thebits = 0 then
  17682. pTDefRegMap(@Self)^.clr := $00000020
  17683. else
  17684. pTDefRegMap(@Self)^.&set := $00000020;
  17685. end;
  17686. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  17687. begin
  17688. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17689. end;
  17690. procedure TOCMP4_OC4CON.setSIDL; inline;
  17691. begin
  17692. pTDefRegMap(@Self)^.&set := $00002000;
  17693. end;
  17694. procedure TOCMP4_OC4CON.clearSIDL; inline;
  17695. begin
  17696. pTDefRegMap(@Self)^.clr := $00002000;
  17697. end;
  17698. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  17699. begin
  17700. if thebits = 0 then
  17701. pTDefRegMap(@Self)^.clr := $00002000
  17702. else
  17703. pTDefRegMap(@Self)^.&set := $00002000;
  17704. end;
  17705. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  17706. begin
  17707. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17708. end;
  17709. procedure TOCMP4_OC4CON.setON; inline;
  17710. begin
  17711. pTDefRegMap(@Self)^.&set := $00008000;
  17712. end;
  17713. procedure TOCMP4_OC4CON.clearON; inline;
  17714. begin
  17715. pTDefRegMap(@Self)^.clr := $00008000;
  17716. end;
  17717. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  17718. begin
  17719. if thebits = 0 then
  17720. pTDefRegMap(@Self)^.clr := $00008000
  17721. else
  17722. pTDefRegMap(@Self)^.&set := $00008000;
  17723. end;
  17724. function TOCMP4_OC4CON.getON : TBits_1; inline;
  17725. begin
  17726. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17727. end;
  17728. procedure TOCMP4_OC4CON.setOCM0; inline;
  17729. begin
  17730. pTDefRegMap(@Self)^.&set := $00000001;
  17731. end;
  17732. procedure TOCMP4_OC4CON.clearOCM0; inline;
  17733. begin
  17734. pTDefRegMap(@Self)^.clr := $00000001;
  17735. end;
  17736. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  17737. begin
  17738. if thebits = 0 then
  17739. pTDefRegMap(@Self)^.clr := $00000001
  17740. else
  17741. pTDefRegMap(@Self)^.&set := $00000001;
  17742. end;
  17743. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  17744. begin
  17745. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17746. end;
  17747. procedure TOCMP4_OC4CON.setOCM1; inline;
  17748. begin
  17749. pTDefRegMap(@Self)^.&set := $00000002;
  17750. end;
  17751. procedure TOCMP4_OC4CON.clearOCM1; inline;
  17752. begin
  17753. pTDefRegMap(@Self)^.clr := $00000002;
  17754. end;
  17755. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  17756. begin
  17757. if thebits = 0 then
  17758. pTDefRegMap(@Self)^.clr := $00000002
  17759. else
  17760. pTDefRegMap(@Self)^.&set := $00000002;
  17761. end;
  17762. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  17763. begin
  17764. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17765. end;
  17766. procedure TOCMP4_OC4CON.setOCM2; inline;
  17767. begin
  17768. pTDefRegMap(@Self)^.&set := $00000004;
  17769. end;
  17770. procedure TOCMP4_OC4CON.clearOCM2; inline;
  17771. begin
  17772. pTDefRegMap(@Self)^.clr := $00000004;
  17773. end;
  17774. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  17775. begin
  17776. if thebits = 0 then
  17777. pTDefRegMap(@Self)^.clr := $00000004
  17778. else
  17779. pTDefRegMap(@Self)^.&set := $00000004;
  17780. end;
  17781. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  17782. begin
  17783. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17784. end;
  17785. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  17786. begin
  17787. pTDefRegMap(@Self)^.&set := $00002000;
  17788. end;
  17789. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  17790. begin
  17791. pTDefRegMap(@Self)^.clr := $00002000;
  17792. end;
  17793. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  17794. begin
  17795. if thebits = 0 then
  17796. pTDefRegMap(@Self)^.clr := $00002000
  17797. else
  17798. pTDefRegMap(@Self)^.&set := $00002000;
  17799. end;
  17800. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  17801. begin
  17802. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17803. end;
  17804. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  17805. begin
  17806. pTDefRegMap(@Self)^.val := thebits;
  17807. end;
  17808. function TOCMP4_OC4CON.getw : TBits_32; inline;
  17809. begin
  17810. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17811. end;
  17812. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  17813. begin
  17814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17815. end;
  17816. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  17817. begin
  17818. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17819. end;
  17820. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  17821. begin
  17822. pTDefRegMap(@Self)^.&set := $00000008;
  17823. end;
  17824. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  17825. begin
  17826. pTDefRegMap(@Self)^.clr := $00000008;
  17827. end;
  17828. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  17829. begin
  17830. if thebits = 0 then
  17831. pTDefRegMap(@Self)^.clr := $00000008
  17832. else
  17833. pTDefRegMap(@Self)^.&set := $00000008;
  17834. end;
  17835. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  17836. begin
  17837. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17838. end;
  17839. procedure TOCMP5_OC5CON.setOCFLT; inline;
  17840. begin
  17841. pTDefRegMap(@Self)^.&set := $00000010;
  17842. end;
  17843. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  17844. begin
  17845. pTDefRegMap(@Self)^.clr := $00000010;
  17846. end;
  17847. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  17848. begin
  17849. if thebits = 0 then
  17850. pTDefRegMap(@Self)^.clr := $00000010
  17851. else
  17852. pTDefRegMap(@Self)^.&set := $00000010;
  17853. end;
  17854. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  17855. begin
  17856. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17857. end;
  17858. procedure TOCMP5_OC5CON.setOC32; inline;
  17859. begin
  17860. pTDefRegMap(@Self)^.&set := $00000020;
  17861. end;
  17862. procedure TOCMP5_OC5CON.clearOC32; inline;
  17863. begin
  17864. pTDefRegMap(@Self)^.clr := $00000020;
  17865. end;
  17866. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  17867. begin
  17868. if thebits = 0 then
  17869. pTDefRegMap(@Self)^.clr := $00000020
  17870. else
  17871. pTDefRegMap(@Self)^.&set := $00000020;
  17872. end;
  17873. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  17874. begin
  17875. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17876. end;
  17877. procedure TOCMP5_OC5CON.setSIDL; inline;
  17878. begin
  17879. pTDefRegMap(@Self)^.&set := $00002000;
  17880. end;
  17881. procedure TOCMP5_OC5CON.clearSIDL; inline;
  17882. begin
  17883. pTDefRegMap(@Self)^.clr := $00002000;
  17884. end;
  17885. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  17886. begin
  17887. if thebits = 0 then
  17888. pTDefRegMap(@Self)^.clr := $00002000
  17889. else
  17890. pTDefRegMap(@Self)^.&set := $00002000;
  17891. end;
  17892. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  17893. begin
  17894. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17895. end;
  17896. procedure TOCMP5_OC5CON.setON; inline;
  17897. begin
  17898. pTDefRegMap(@Self)^.&set := $00008000;
  17899. end;
  17900. procedure TOCMP5_OC5CON.clearON; inline;
  17901. begin
  17902. pTDefRegMap(@Self)^.clr := $00008000;
  17903. end;
  17904. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  17905. begin
  17906. if thebits = 0 then
  17907. pTDefRegMap(@Self)^.clr := $00008000
  17908. else
  17909. pTDefRegMap(@Self)^.&set := $00008000;
  17910. end;
  17911. function TOCMP5_OC5CON.getON : TBits_1; inline;
  17912. begin
  17913. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17914. end;
  17915. procedure TOCMP5_OC5CON.setOCM0; inline;
  17916. begin
  17917. pTDefRegMap(@Self)^.&set := $00000001;
  17918. end;
  17919. procedure TOCMP5_OC5CON.clearOCM0; inline;
  17920. begin
  17921. pTDefRegMap(@Self)^.clr := $00000001;
  17922. end;
  17923. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  17924. begin
  17925. if thebits = 0 then
  17926. pTDefRegMap(@Self)^.clr := $00000001
  17927. else
  17928. pTDefRegMap(@Self)^.&set := $00000001;
  17929. end;
  17930. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  17931. begin
  17932. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17933. end;
  17934. procedure TOCMP5_OC5CON.setOCM1; inline;
  17935. begin
  17936. pTDefRegMap(@Self)^.&set := $00000002;
  17937. end;
  17938. procedure TOCMP5_OC5CON.clearOCM1; inline;
  17939. begin
  17940. pTDefRegMap(@Self)^.clr := $00000002;
  17941. end;
  17942. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  17943. begin
  17944. if thebits = 0 then
  17945. pTDefRegMap(@Self)^.clr := $00000002
  17946. else
  17947. pTDefRegMap(@Self)^.&set := $00000002;
  17948. end;
  17949. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  17950. begin
  17951. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17952. end;
  17953. procedure TOCMP5_OC5CON.setOCM2; inline;
  17954. begin
  17955. pTDefRegMap(@Self)^.&set := $00000004;
  17956. end;
  17957. procedure TOCMP5_OC5CON.clearOCM2; inline;
  17958. begin
  17959. pTDefRegMap(@Self)^.clr := $00000004;
  17960. end;
  17961. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  17962. begin
  17963. if thebits = 0 then
  17964. pTDefRegMap(@Self)^.clr := $00000004
  17965. else
  17966. pTDefRegMap(@Self)^.&set := $00000004;
  17967. end;
  17968. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  17969. begin
  17970. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17971. end;
  17972. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  17973. begin
  17974. pTDefRegMap(@Self)^.&set := $00002000;
  17975. end;
  17976. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  17977. begin
  17978. pTDefRegMap(@Self)^.clr := $00002000;
  17979. end;
  17980. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  17981. begin
  17982. if thebits = 0 then
  17983. pTDefRegMap(@Self)^.clr := $00002000
  17984. else
  17985. pTDefRegMap(@Self)^.&set := $00002000;
  17986. end;
  17987. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  17988. begin
  17989. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17990. end;
  17991. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  17992. begin
  17993. pTDefRegMap(@Self)^.val := thebits;
  17994. end;
  17995. function TOCMP5_OC5CON.getw : TBits_32; inline;
  17996. begin
  17997. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17998. end;
  17999. procedure TI2C1_I2C1111CON.setSEN; inline;
  18000. begin
  18001. pTDefRegMap(@Self)^.&set := $00000001;
  18002. end;
  18003. procedure TI2C1_I2C1111CON.clearSEN; inline;
  18004. begin
  18005. pTDefRegMap(@Self)^.clr := $00000001;
  18006. end;
  18007. procedure TI2C1_I2C1111CON.setSEN(thebits : TBits_1); inline;
  18008. begin
  18009. if thebits = 0 then
  18010. pTDefRegMap(@Self)^.clr := $00000001
  18011. else
  18012. pTDefRegMap(@Self)^.&set := $00000001;
  18013. end;
  18014. function TI2C1_I2C1111CON.getSEN : TBits_1; inline;
  18015. begin
  18016. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18017. end;
  18018. procedure TI2C1_I2C1111CON.setRSEN; inline;
  18019. begin
  18020. pTDefRegMap(@Self)^.&set := $00000002;
  18021. end;
  18022. procedure TI2C1_I2C1111CON.clearRSEN; inline;
  18023. begin
  18024. pTDefRegMap(@Self)^.clr := $00000002;
  18025. end;
  18026. procedure TI2C1_I2C1111CON.setRSEN(thebits : TBits_1); inline;
  18027. begin
  18028. if thebits = 0 then
  18029. pTDefRegMap(@Self)^.clr := $00000002
  18030. else
  18031. pTDefRegMap(@Self)^.&set := $00000002;
  18032. end;
  18033. function TI2C1_I2C1111CON.getRSEN : TBits_1; inline;
  18034. begin
  18035. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18036. end;
  18037. procedure TI2C1_I2C1111CON.setPEN; inline;
  18038. begin
  18039. pTDefRegMap(@Self)^.&set := $00000004;
  18040. end;
  18041. procedure TI2C1_I2C1111CON.clearPEN; inline;
  18042. begin
  18043. pTDefRegMap(@Self)^.clr := $00000004;
  18044. end;
  18045. procedure TI2C1_I2C1111CON.setPEN(thebits : TBits_1); inline;
  18046. begin
  18047. if thebits = 0 then
  18048. pTDefRegMap(@Self)^.clr := $00000004
  18049. else
  18050. pTDefRegMap(@Self)^.&set := $00000004;
  18051. end;
  18052. function TI2C1_I2C1111CON.getPEN : TBits_1; inline;
  18053. begin
  18054. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18055. end;
  18056. procedure TI2C1_I2C1111CON.setRCEN; inline;
  18057. begin
  18058. pTDefRegMap(@Self)^.&set := $00000008;
  18059. end;
  18060. procedure TI2C1_I2C1111CON.clearRCEN; inline;
  18061. begin
  18062. pTDefRegMap(@Self)^.clr := $00000008;
  18063. end;
  18064. procedure TI2C1_I2C1111CON.setRCEN(thebits : TBits_1); inline;
  18065. begin
  18066. if thebits = 0 then
  18067. pTDefRegMap(@Self)^.clr := $00000008
  18068. else
  18069. pTDefRegMap(@Self)^.&set := $00000008;
  18070. end;
  18071. function TI2C1_I2C1111CON.getRCEN : TBits_1; inline;
  18072. begin
  18073. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18074. end;
  18075. procedure TI2C1_I2C1111CON.setACKEN; inline;
  18076. begin
  18077. pTDefRegMap(@Self)^.&set := $00000010;
  18078. end;
  18079. procedure TI2C1_I2C1111CON.clearACKEN; inline;
  18080. begin
  18081. pTDefRegMap(@Self)^.clr := $00000010;
  18082. end;
  18083. procedure TI2C1_I2C1111CON.setACKEN(thebits : TBits_1); inline;
  18084. begin
  18085. if thebits = 0 then
  18086. pTDefRegMap(@Self)^.clr := $00000010
  18087. else
  18088. pTDefRegMap(@Self)^.&set := $00000010;
  18089. end;
  18090. function TI2C1_I2C1111CON.getACKEN : TBits_1; inline;
  18091. begin
  18092. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18093. end;
  18094. procedure TI2C1_I2C1111CON.setACKDT; inline;
  18095. begin
  18096. pTDefRegMap(@Self)^.&set := $00000020;
  18097. end;
  18098. procedure TI2C1_I2C1111CON.clearACKDT; inline;
  18099. begin
  18100. pTDefRegMap(@Self)^.clr := $00000020;
  18101. end;
  18102. procedure TI2C1_I2C1111CON.setACKDT(thebits : TBits_1); inline;
  18103. begin
  18104. if thebits = 0 then
  18105. pTDefRegMap(@Self)^.clr := $00000020
  18106. else
  18107. pTDefRegMap(@Self)^.&set := $00000020;
  18108. end;
  18109. function TI2C1_I2C1111CON.getACKDT : TBits_1; inline;
  18110. begin
  18111. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18112. end;
  18113. procedure TI2C1_I2C1111CON.setSTREN; inline;
  18114. begin
  18115. pTDefRegMap(@Self)^.&set := $00000040;
  18116. end;
  18117. procedure TI2C1_I2C1111CON.clearSTREN; inline;
  18118. begin
  18119. pTDefRegMap(@Self)^.clr := $00000040;
  18120. end;
  18121. procedure TI2C1_I2C1111CON.setSTREN(thebits : TBits_1); inline;
  18122. begin
  18123. if thebits = 0 then
  18124. pTDefRegMap(@Self)^.clr := $00000040
  18125. else
  18126. pTDefRegMap(@Self)^.&set := $00000040;
  18127. end;
  18128. function TI2C1_I2C1111CON.getSTREN : TBits_1; inline;
  18129. begin
  18130. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18131. end;
  18132. procedure TI2C1_I2C1111CON.setGCEN; inline;
  18133. begin
  18134. pTDefRegMap(@Self)^.&set := $00000080;
  18135. end;
  18136. procedure TI2C1_I2C1111CON.clearGCEN; inline;
  18137. begin
  18138. pTDefRegMap(@Self)^.clr := $00000080;
  18139. end;
  18140. procedure TI2C1_I2C1111CON.setGCEN(thebits : TBits_1); inline;
  18141. begin
  18142. if thebits = 0 then
  18143. pTDefRegMap(@Self)^.clr := $00000080
  18144. else
  18145. pTDefRegMap(@Self)^.&set := $00000080;
  18146. end;
  18147. function TI2C1_I2C1111CON.getGCEN : TBits_1; inline;
  18148. begin
  18149. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18150. end;
  18151. procedure TI2C1_I2C1111CON.setSMEN; inline;
  18152. begin
  18153. pTDefRegMap(@Self)^.&set := $00000100;
  18154. end;
  18155. procedure TI2C1_I2C1111CON.clearSMEN; inline;
  18156. begin
  18157. pTDefRegMap(@Self)^.clr := $00000100;
  18158. end;
  18159. procedure TI2C1_I2C1111CON.setSMEN(thebits : TBits_1); inline;
  18160. begin
  18161. if thebits = 0 then
  18162. pTDefRegMap(@Self)^.clr := $00000100
  18163. else
  18164. pTDefRegMap(@Self)^.&set := $00000100;
  18165. end;
  18166. function TI2C1_I2C1111CON.getSMEN : TBits_1; inline;
  18167. begin
  18168. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18169. end;
  18170. procedure TI2C1_I2C1111CON.setDISSLW; inline;
  18171. begin
  18172. pTDefRegMap(@Self)^.&set := $00000200;
  18173. end;
  18174. procedure TI2C1_I2C1111CON.clearDISSLW; inline;
  18175. begin
  18176. pTDefRegMap(@Self)^.clr := $00000200;
  18177. end;
  18178. procedure TI2C1_I2C1111CON.setDISSLW(thebits : TBits_1); inline;
  18179. begin
  18180. if thebits = 0 then
  18181. pTDefRegMap(@Self)^.clr := $00000200
  18182. else
  18183. pTDefRegMap(@Self)^.&set := $00000200;
  18184. end;
  18185. function TI2C1_I2C1111CON.getDISSLW : TBits_1; inline;
  18186. begin
  18187. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18188. end;
  18189. procedure TI2C1_I2C1111CON.setA10M; inline;
  18190. begin
  18191. pTDefRegMap(@Self)^.&set := $00000400;
  18192. end;
  18193. procedure TI2C1_I2C1111CON.clearA10M; inline;
  18194. begin
  18195. pTDefRegMap(@Self)^.clr := $00000400;
  18196. end;
  18197. procedure TI2C1_I2C1111CON.setA10M(thebits : TBits_1); inline;
  18198. begin
  18199. if thebits = 0 then
  18200. pTDefRegMap(@Self)^.clr := $00000400
  18201. else
  18202. pTDefRegMap(@Self)^.&set := $00000400;
  18203. end;
  18204. function TI2C1_I2C1111CON.getA10M : TBits_1; inline;
  18205. begin
  18206. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18207. end;
  18208. procedure TI2C1_I2C1111CON.setSTRICT; inline;
  18209. begin
  18210. pTDefRegMap(@Self)^.&set := $00000800;
  18211. end;
  18212. procedure TI2C1_I2C1111CON.clearSTRICT; inline;
  18213. begin
  18214. pTDefRegMap(@Self)^.clr := $00000800;
  18215. end;
  18216. procedure TI2C1_I2C1111CON.setSTRICT(thebits : TBits_1); inline;
  18217. begin
  18218. if thebits = 0 then
  18219. pTDefRegMap(@Self)^.clr := $00000800
  18220. else
  18221. pTDefRegMap(@Self)^.&set := $00000800;
  18222. end;
  18223. function TI2C1_I2C1111CON.getSTRICT : TBits_1; inline;
  18224. begin
  18225. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18226. end;
  18227. procedure TI2C1_I2C1111CON.setSCLREL; inline;
  18228. begin
  18229. pTDefRegMap(@Self)^.&set := $00001000;
  18230. end;
  18231. procedure TI2C1_I2C1111CON.clearSCLREL; inline;
  18232. begin
  18233. pTDefRegMap(@Self)^.clr := $00001000;
  18234. end;
  18235. procedure TI2C1_I2C1111CON.setSCLREL(thebits : TBits_1); inline;
  18236. begin
  18237. if thebits = 0 then
  18238. pTDefRegMap(@Self)^.clr := $00001000
  18239. else
  18240. pTDefRegMap(@Self)^.&set := $00001000;
  18241. end;
  18242. function TI2C1_I2C1111CON.getSCLREL : TBits_1; inline;
  18243. begin
  18244. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18245. end;
  18246. procedure TI2C1_I2C1111CON.setSIDL; inline;
  18247. begin
  18248. pTDefRegMap(@Self)^.&set := $00002000;
  18249. end;
  18250. procedure TI2C1_I2C1111CON.clearSIDL; inline;
  18251. begin
  18252. pTDefRegMap(@Self)^.clr := $00002000;
  18253. end;
  18254. procedure TI2C1_I2C1111CON.setSIDL(thebits : TBits_1); inline;
  18255. begin
  18256. if thebits = 0 then
  18257. pTDefRegMap(@Self)^.clr := $00002000
  18258. else
  18259. pTDefRegMap(@Self)^.&set := $00002000;
  18260. end;
  18261. function TI2C1_I2C1111CON.getSIDL : TBits_1; inline;
  18262. begin
  18263. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18264. end;
  18265. procedure TI2C1_I2C1111CON.setON; inline;
  18266. begin
  18267. pTDefRegMap(@Self)^.&set := $00008000;
  18268. end;
  18269. procedure TI2C1_I2C1111CON.clearON; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.clr := $00008000;
  18272. end;
  18273. procedure TI2C1_I2C1111CON.setON(thebits : TBits_1); inline;
  18274. begin
  18275. if thebits = 0 then
  18276. pTDefRegMap(@Self)^.clr := $00008000
  18277. else
  18278. pTDefRegMap(@Self)^.&set := $00008000;
  18279. end;
  18280. function TI2C1_I2C1111CON.getON : TBits_1; inline;
  18281. begin
  18282. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18283. end;
  18284. procedure TI2C1_I2C1111CON.setIPMIEN; inline;
  18285. begin
  18286. pTDefRegMap(@Self)^.&set := $00000800;
  18287. end;
  18288. procedure TI2C1_I2C1111CON.clearIPMIEN; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.clr := $00000800;
  18291. end;
  18292. procedure TI2C1_I2C1111CON.setIPMIEN(thebits : TBits_1); inline;
  18293. begin
  18294. if thebits = 0 then
  18295. pTDefRegMap(@Self)^.clr := $00000800
  18296. else
  18297. pTDefRegMap(@Self)^.&set := $00000800;
  18298. end;
  18299. function TI2C1_I2C1111CON.getIPMIEN : TBits_1; inline;
  18300. begin
  18301. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18302. end;
  18303. procedure TI2C1_I2C1111CON.setI2CSIDL; inline;
  18304. begin
  18305. pTDefRegMap(@Self)^.&set := $00002000;
  18306. end;
  18307. procedure TI2C1_I2C1111CON.clearI2CSIDL; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.clr := $00002000;
  18310. end;
  18311. procedure TI2C1_I2C1111CON.setI2CSIDL(thebits : TBits_1); inline;
  18312. begin
  18313. if thebits = 0 then
  18314. pTDefRegMap(@Self)^.clr := $00002000
  18315. else
  18316. pTDefRegMap(@Self)^.&set := $00002000;
  18317. end;
  18318. function TI2C1_I2C1111CON.getI2CSIDL : TBits_1; inline;
  18319. begin
  18320. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18321. end;
  18322. procedure TI2C1_I2C1111CON.setI2CEN; inline;
  18323. begin
  18324. pTDefRegMap(@Self)^.&set := $00008000;
  18325. end;
  18326. procedure TI2C1_I2C1111CON.clearI2CEN; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.clr := $00008000;
  18329. end;
  18330. procedure TI2C1_I2C1111CON.setI2CEN(thebits : TBits_1); inline;
  18331. begin
  18332. if thebits = 0 then
  18333. pTDefRegMap(@Self)^.clr := $00008000
  18334. else
  18335. pTDefRegMap(@Self)^.&set := $00008000;
  18336. end;
  18337. function TI2C1_I2C1111CON.getI2CEN : TBits_1; inline;
  18338. begin
  18339. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18340. end;
  18341. procedure TI2C1_I2C1111CON.setw(thebits : TBits_32); inline;
  18342. begin
  18343. pTDefRegMap(@Self)^.val := thebits;
  18344. end;
  18345. function TI2C1_I2C1111CON.getw : TBits_32; inline;
  18346. begin
  18347. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18348. end;
  18349. procedure TI2C1_I2C1CON.setSEN; inline;
  18350. begin
  18351. pTDefRegMap(@Self)^.&set := $00000001;
  18352. end;
  18353. procedure TI2C1_I2C1CON.clearSEN; inline;
  18354. begin
  18355. pTDefRegMap(@Self)^.clr := $00000001;
  18356. end;
  18357. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  18358. begin
  18359. if thebits = 0 then
  18360. pTDefRegMap(@Self)^.clr := $00000001
  18361. else
  18362. pTDefRegMap(@Self)^.&set := $00000001;
  18363. end;
  18364. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  18365. begin
  18366. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18367. end;
  18368. procedure TI2C1_I2C1CON.setRSEN; inline;
  18369. begin
  18370. pTDefRegMap(@Self)^.&set := $00000002;
  18371. end;
  18372. procedure TI2C1_I2C1CON.clearRSEN; inline;
  18373. begin
  18374. pTDefRegMap(@Self)^.clr := $00000002;
  18375. end;
  18376. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  18377. begin
  18378. if thebits = 0 then
  18379. pTDefRegMap(@Self)^.clr := $00000002
  18380. else
  18381. pTDefRegMap(@Self)^.&set := $00000002;
  18382. end;
  18383. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  18384. begin
  18385. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18386. end;
  18387. procedure TI2C1_I2C1CON.setPEN; inline;
  18388. begin
  18389. pTDefRegMap(@Self)^.&set := $00000004;
  18390. end;
  18391. procedure TI2C1_I2C1CON.clearPEN; inline;
  18392. begin
  18393. pTDefRegMap(@Self)^.clr := $00000004;
  18394. end;
  18395. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  18396. begin
  18397. if thebits = 0 then
  18398. pTDefRegMap(@Self)^.clr := $00000004
  18399. else
  18400. pTDefRegMap(@Self)^.&set := $00000004;
  18401. end;
  18402. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  18403. begin
  18404. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18405. end;
  18406. procedure TI2C1_I2C1CON.setRCEN; inline;
  18407. begin
  18408. pTDefRegMap(@Self)^.&set := $00000008;
  18409. end;
  18410. procedure TI2C1_I2C1CON.clearRCEN; inline;
  18411. begin
  18412. pTDefRegMap(@Self)^.clr := $00000008;
  18413. end;
  18414. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  18415. begin
  18416. if thebits = 0 then
  18417. pTDefRegMap(@Self)^.clr := $00000008
  18418. else
  18419. pTDefRegMap(@Self)^.&set := $00000008;
  18420. end;
  18421. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  18422. begin
  18423. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18424. end;
  18425. procedure TI2C1_I2C1CON.setACKEN; inline;
  18426. begin
  18427. pTDefRegMap(@Self)^.&set := $00000010;
  18428. end;
  18429. procedure TI2C1_I2C1CON.clearACKEN; inline;
  18430. begin
  18431. pTDefRegMap(@Self)^.clr := $00000010;
  18432. end;
  18433. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  18434. begin
  18435. if thebits = 0 then
  18436. pTDefRegMap(@Self)^.clr := $00000010
  18437. else
  18438. pTDefRegMap(@Self)^.&set := $00000010;
  18439. end;
  18440. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  18441. begin
  18442. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18443. end;
  18444. procedure TI2C1_I2C1CON.setACKDT; inline;
  18445. begin
  18446. pTDefRegMap(@Self)^.&set := $00000020;
  18447. end;
  18448. procedure TI2C1_I2C1CON.clearACKDT; inline;
  18449. begin
  18450. pTDefRegMap(@Self)^.clr := $00000020;
  18451. end;
  18452. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  18453. begin
  18454. if thebits = 0 then
  18455. pTDefRegMap(@Self)^.clr := $00000020
  18456. else
  18457. pTDefRegMap(@Self)^.&set := $00000020;
  18458. end;
  18459. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  18460. begin
  18461. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18462. end;
  18463. procedure TI2C1_I2C1CON.setSTREN; inline;
  18464. begin
  18465. pTDefRegMap(@Self)^.&set := $00000040;
  18466. end;
  18467. procedure TI2C1_I2C1CON.clearSTREN; inline;
  18468. begin
  18469. pTDefRegMap(@Self)^.clr := $00000040;
  18470. end;
  18471. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  18472. begin
  18473. if thebits = 0 then
  18474. pTDefRegMap(@Self)^.clr := $00000040
  18475. else
  18476. pTDefRegMap(@Self)^.&set := $00000040;
  18477. end;
  18478. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  18479. begin
  18480. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18481. end;
  18482. procedure TI2C1_I2C1CON.setGCEN; inline;
  18483. begin
  18484. pTDefRegMap(@Self)^.&set := $00000080;
  18485. end;
  18486. procedure TI2C1_I2C1CON.clearGCEN; inline;
  18487. begin
  18488. pTDefRegMap(@Self)^.clr := $00000080;
  18489. end;
  18490. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  18491. begin
  18492. if thebits = 0 then
  18493. pTDefRegMap(@Self)^.clr := $00000080
  18494. else
  18495. pTDefRegMap(@Self)^.&set := $00000080;
  18496. end;
  18497. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  18498. begin
  18499. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18500. end;
  18501. procedure TI2C1_I2C1CON.setSMEN; inline;
  18502. begin
  18503. pTDefRegMap(@Self)^.&set := $00000100;
  18504. end;
  18505. procedure TI2C1_I2C1CON.clearSMEN; inline;
  18506. begin
  18507. pTDefRegMap(@Self)^.clr := $00000100;
  18508. end;
  18509. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  18510. begin
  18511. if thebits = 0 then
  18512. pTDefRegMap(@Self)^.clr := $00000100
  18513. else
  18514. pTDefRegMap(@Self)^.&set := $00000100;
  18515. end;
  18516. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  18517. begin
  18518. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18519. end;
  18520. procedure TI2C1_I2C1CON.setDISSLW; inline;
  18521. begin
  18522. pTDefRegMap(@Self)^.&set := $00000200;
  18523. end;
  18524. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  18525. begin
  18526. pTDefRegMap(@Self)^.clr := $00000200;
  18527. end;
  18528. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  18529. begin
  18530. if thebits = 0 then
  18531. pTDefRegMap(@Self)^.clr := $00000200
  18532. else
  18533. pTDefRegMap(@Self)^.&set := $00000200;
  18534. end;
  18535. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  18536. begin
  18537. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18538. end;
  18539. procedure TI2C1_I2C1CON.setA10M; inline;
  18540. begin
  18541. pTDefRegMap(@Self)^.&set := $00000400;
  18542. end;
  18543. procedure TI2C1_I2C1CON.clearA10M; inline;
  18544. begin
  18545. pTDefRegMap(@Self)^.clr := $00000400;
  18546. end;
  18547. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  18548. begin
  18549. if thebits = 0 then
  18550. pTDefRegMap(@Self)^.clr := $00000400
  18551. else
  18552. pTDefRegMap(@Self)^.&set := $00000400;
  18553. end;
  18554. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  18555. begin
  18556. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18557. end;
  18558. procedure TI2C1_I2C1CON.setSTRICT; inline;
  18559. begin
  18560. pTDefRegMap(@Self)^.&set := $00000800;
  18561. end;
  18562. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  18563. begin
  18564. pTDefRegMap(@Self)^.clr := $00000800;
  18565. end;
  18566. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  18567. begin
  18568. if thebits = 0 then
  18569. pTDefRegMap(@Self)^.clr := $00000800
  18570. else
  18571. pTDefRegMap(@Self)^.&set := $00000800;
  18572. end;
  18573. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  18574. begin
  18575. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18576. end;
  18577. procedure TI2C1_I2C1CON.setSCLREL; inline;
  18578. begin
  18579. pTDefRegMap(@Self)^.&set := $00001000;
  18580. end;
  18581. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  18582. begin
  18583. pTDefRegMap(@Self)^.clr := $00001000;
  18584. end;
  18585. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  18586. begin
  18587. if thebits = 0 then
  18588. pTDefRegMap(@Self)^.clr := $00001000
  18589. else
  18590. pTDefRegMap(@Self)^.&set := $00001000;
  18591. end;
  18592. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  18593. begin
  18594. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18595. end;
  18596. procedure TI2C1_I2C1CON.setSIDL; inline;
  18597. begin
  18598. pTDefRegMap(@Self)^.&set := $00002000;
  18599. end;
  18600. procedure TI2C1_I2C1CON.clearSIDL; inline;
  18601. begin
  18602. pTDefRegMap(@Self)^.clr := $00002000;
  18603. end;
  18604. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  18605. begin
  18606. if thebits = 0 then
  18607. pTDefRegMap(@Self)^.clr := $00002000
  18608. else
  18609. pTDefRegMap(@Self)^.&set := $00002000;
  18610. end;
  18611. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  18612. begin
  18613. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18614. end;
  18615. procedure TI2C1_I2C1CON.setON; inline;
  18616. begin
  18617. pTDefRegMap(@Self)^.&set := $00008000;
  18618. end;
  18619. procedure TI2C1_I2C1CON.clearON; inline;
  18620. begin
  18621. pTDefRegMap(@Self)^.clr := $00008000;
  18622. end;
  18623. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  18624. begin
  18625. if thebits = 0 then
  18626. pTDefRegMap(@Self)^.clr := $00008000
  18627. else
  18628. pTDefRegMap(@Self)^.&set := $00008000;
  18629. end;
  18630. function TI2C1_I2C1CON.getON : TBits_1; inline;
  18631. begin
  18632. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18633. end;
  18634. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  18635. begin
  18636. pTDefRegMap(@Self)^.&set := $00000800;
  18637. end;
  18638. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  18639. begin
  18640. pTDefRegMap(@Self)^.clr := $00000800;
  18641. end;
  18642. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  18643. begin
  18644. if thebits = 0 then
  18645. pTDefRegMap(@Self)^.clr := $00000800
  18646. else
  18647. pTDefRegMap(@Self)^.&set := $00000800;
  18648. end;
  18649. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  18650. begin
  18651. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18652. end;
  18653. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  18654. begin
  18655. pTDefRegMap(@Self)^.&set := $00002000;
  18656. end;
  18657. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  18658. begin
  18659. pTDefRegMap(@Self)^.clr := $00002000;
  18660. end;
  18661. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  18662. begin
  18663. if thebits = 0 then
  18664. pTDefRegMap(@Self)^.clr := $00002000
  18665. else
  18666. pTDefRegMap(@Self)^.&set := $00002000;
  18667. end;
  18668. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  18669. begin
  18670. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18671. end;
  18672. procedure TI2C1_I2C1CON.setI2CEN; inline;
  18673. begin
  18674. pTDefRegMap(@Self)^.&set := $00008000;
  18675. end;
  18676. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  18677. begin
  18678. pTDefRegMap(@Self)^.clr := $00008000;
  18679. end;
  18680. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  18681. begin
  18682. if thebits = 0 then
  18683. pTDefRegMap(@Self)^.clr := $00008000
  18684. else
  18685. pTDefRegMap(@Self)^.&set := $00008000;
  18686. end;
  18687. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  18688. begin
  18689. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18690. end;
  18691. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  18692. begin
  18693. pTDefRegMap(@Self)^.val := thebits;
  18694. end;
  18695. function TI2C1_I2C1CON.getw : TBits_32; inline;
  18696. begin
  18697. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18698. end;
  18699. procedure TI2C1_I2C1111STAT.setTBF; inline;
  18700. begin
  18701. pTDefRegMap(@Self)^.&set := $00000001;
  18702. end;
  18703. procedure TI2C1_I2C1111STAT.clearTBF; inline;
  18704. begin
  18705. pTDefRegMap(@Self)^.clr := $00000001;
  18706. end;
  18707. procedure TI2C1_I2C1111STAT.setTBF(thebits : TBits_1); inline;
  18708. begin
  18709. if thebits = 0 then
  18710. pTDefRegMap(@Self)^.clr := $00000001
  18711. else
  18712. pTDefRegMap(@Self)^.&set := $00000001;
  18713. end;
  18714. function TI2C1_I2C1111STAT.getTBF : TBits_1; inline;
  18715. begin
  18716. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18717. end;
  18718. procedure TI2C1_I2C1111STAT.setRBF; inline;
  18719. begin
  18720. pTDefRegMap(@Self)^.&set := $00000002;
  18721. end;
  18722. procedure TI2C1_I2C1111STAT.clearRBF; inline;
  18723. begin
  18724. pTDefRegMap(@Self)^.clr := $00000002;
  18725. end;
  18726. procedure TI2C1_I2C1111STAT.setRBF(thebits : TBits_1); inline;
  18727. begin
  18728. if thebits = 0 then
  18729. pTDefRegMap(@Self)^.clr := $00000002
  18730. else
  18731. pTDefRegMap(@Self)^.&set := $00000002;
  18732. end;
  18733. function TI2C1_I2C1111STAT.getRBF : TBits_1; inline;
  18734. begin
  18735. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18736. end;
  18737. procedure TI2C1_I2C1111STAT.setR_W; inline;
  18738. begin
  18739. pTDefRegMap(@Self)^.&set := $00000004;
  18740. end;
  18741. procedure TI2C1_I2C1111STAT.clearR_W; inline;
  18742. begin
  18743. pTDefRegMap(@Self)^.clr := $00000004;
  18744. end;
  18745. procedure TI2C1_I2C1111STAT.setR_W(thebits : TBits_1); inline;
  18746. begin
  18747. if thebits = 0 then
  18748. pTDefRegMap(@Self)^.clr := $00000004
  18749. else
  18750. pTDefRegMap(@Self)^.&set := $00000004;
  18751. end;
  18752. function TI2C1_I2C1111STAT.getR_W : TBits_1; inline;
  18753. begin
  18754. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18755. end;
  18756. procedure TI2C1_I2C1111STAT.setS; inline;
  18757. begin
  18758. pTDefRegMap(@Self)^.&set := $00000008;
  18759. end;
  18760. procedure TI2C1_I2C1111STAT.clearS; inline;
  18761. begin
  18762. pTDefRegMap(@Self)^.clr := $00000008;
  18763. end;
  18764. procedure TI2C1_I2C1111STAT.setS(thebits : TBits_1); inline;
  18765. begin
  18766. if thebits = 0 then
  18767. pTDefRegMap(@Self)^.clr := $00000008
  18768. else
  18769. pTDefRegMap(@Self)^.&set := $00000008;
  18770. end;
  18771. function TI2C1_I2C1111STAT.getS : TBits_1; inline;
  18772. begin
  18773. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18774. end;
  18775. procedure TI2C1_I2C1111STAT.setP; inline;
  18776. begin
  18777. pTDefRegMap(@Self)^.&set := $00000010;
  18778. end;
  18779. procedure TI2C1_I2C1111STAT.clearP; inline;
  18780. begin
  18781. pTDefRegMap(@Self)^.clr := $00000010;
  18782. end;
  18783. procedure TI2C1_I2C1111STAT.setP(thebits : TBits_1); inline;
  18784. begin
  18785. if thebits = 0 then
  18786. pTDefRegMap(@Self)^.clr := $00000010
  18787. else
  18788. pTDefRegMap(@Self)^.&set := $00000010;
  18789. end;
  18790. function TI2C1_I2C1111STAT.getP : TBits_1; inline;
  18791. begin
  18792. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18793. end;
  18794. procedure TI2C1_I2C1111STAT.setD_A; inline;
  18795. begin
  18796. pTDefRegMap(@Self)^.&set := $00000020;
  18797. end;
  18798. procedure TI2C1_I2C1111STAT.clearD_A; inline;
  18799. begin
  18800. pTDefRegMap(@Self)^.clr := $00000020;
  18801. end;
  18802. procedure TI2C1_I2C1111STAT.setD_A(thebits : TBits_1); inline;
  18803. begin
  18804. if thebits = 0 then
  18805. pTDefRegMap(@Self)^.clr := $00000020
  18806. else
  18807. pTDefRegMap(@Self)^.&set := $00000020;
  18808. end;
  18809. function TI2C1_I2C1111STAT.getD_A : TBits_1; inline;
  18810. begin
  18811. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18812. end;
  18813. procedure TI2C1_I2C1111STAT.setI2COV; inline;
  18814. begin
  18815. pTDefRegMap(@Self)^.&set := $00000040;
  18816. end;
  18817. procedure TI2C1_I2C1111STAT.clearI2COV; inline;
  18818. begin
  18819. pTDefRegMap(@Self)^.clr := $00000040;
  18820. end;
  18821. procedure TI2C1_I2C1111STAT.setI2COV(thebits : TBits_1); inline;
  18822. begin
  18823. if thebits = 0 then
  18824. pTDefRegMap(@Self)^.clr := $00000040
  18825. else
  18826. pTDefRegMap(@Self)^.&set := $00000040;
  18827. end;
  18828. function TI2C1_I2C1111STAT.getI2COV : TBits_1; inline;
  18829. begin
  18830. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18831. end;
  18832. procedure TI2C1_I2C1111STAT.setIWCOL; inline;
  18833. begin
  18834. pTDefRegMap(@Self)^.&set := $00000080;
  18835. end;
  18836. procedure TI2C1_I2C1111STAT.clearIWCOL; inline;
  18837. begin
  18838. pTDefRegMap(@Self)^.clr := $00000080;
  18839. end;
  18840. procedure TI2C1_I2C1111STAT.setIWCOL(thebits : TBits_1); inline;
  18841. begin
  18842. if thebits = 0 then
  18843. pTDefRegMap(@Self)^.clr := $00000080
  18844. else
  18845. pTDefRegMap(@Self)^.&set := $00000080;
  18846. end;
  18847. function TI2C1_I2C1111STAT.getIWCOL : TBits_1; inline;
  18848. begin
  18849. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18850. end;
  18851. procedure TI2C1_I2C1111STAT.setADD10; inline;
  18852. begin
  18853. pTDefRegMap(@Self)^.&set := $00000100;
  18854. end;
  18855. procedure TI2C1_I2C1111STAT.clearADD10; inline;
  18856. begin
  18857. pTDefRegMap(@Self)^.clr := $00000100;
  18858. end;
  18859. procedure TI2C1_I2C1111STAT.setADD10(thebits : TBits_1); inline;
  18860. begin
  18861. if thebits = 0 then
  18862. pTDefRegMap(@Self)^.clr := $00000100
  18863. else
  18864. pTDefRegMap(@Self)^.&set := $00000100;
  18865. end;
  18866. function TI2C1_I2C1111STAT.getADD10 : TBits_1; inline;
  18867. begin
  18868. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18869. end;
  18870. procedure TI2C1_I2C1111STAT.setGCSTAT; inline;
  18871. begin
  18872. pTDefRegMap(@Self)^.&set := $00000200;
  18873. end;
  18874. procedure TI2C1_I2C1111STAT.clearGCSTAT; inline;
  18875. begin
  18876. pTDefRegMap(@Self)^.clr := $00000200;
  18877. end;
  18878. procedure TI2C1_I2C1111STAT.setGCSTAT(thebits : TBits_1); inline;
  18879. begin
  18880. if thebits = 0 then
  18881. pTDefRegMap(@Self)^.clr := $00000200
  18882. else
  18883. pTDefRegMap(@Self)^.&set := $00000200;
  18884. end;
  18885. function TI2C1_I2C1111STAT.getGCSTAT : TBits_1; inline;
  18886. begin
  18887. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18888. end;
  18889. procedure TI2C1_I2C1111STAT.setBCL; inline;
  18890. begin
  18891. pTDefRegMap(@Self)^.&set := $00000400;
  18892. end;
  18893. procedure TI2C1_I2C1111STAT.clearBCL; inline;
  18894. begin
  18895. pTDefRegMap(@Self)^.clr := $00000400;
  18896. end;
  18897. procedure TI2C1_I2C1111STAT.setBCL(thebits : TBits_1); inline;
  18898. begin
  18899. if thebits = 0 then
  18900. pTDefRegMap(@Self)^.clr := $00000400
  18901. else
  18902. pTDefRegMap(@Self)^.&set := $00000400;
  18903. end;
  18904. function TI2C1_I2C1111STAT.getBCL : TBits_1; inline;
  18905. begin
  18906. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18907. end;
  18908. procedure TI2C1_I2C1111STAT.setTRSTAT; inline;
  18909. begin
  18910. pTDefRegMap(@Self)^.&set := $00004000;
  18911. end;
  18912. procedure TI2C1_I2C1111STAT.clearTRSTAT; inline;
  18913. begin
  18914. pTDefRegMap(@Self)^.clr := $00004000;
  18915. end;
  18916. procedure TI2C1_I2C1111STAT.setTRSTAT(thebits : TBits_1); inline;
  18917. begin
  18918. if thebits = 0 then
  18919. pTDefRegMap(@Self)^.clr := $00004000
  18920. else
  18921. pTDefRegMap(@Self)^.&set := $00004000;
  18922. end;
  18923. function TI2C1_I2C1111STAT.getTRSTAT : TBits_1; inline;
  18924. begin
  18925. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18926. end;
  18927. procedure TI2C1_I2C1111STAT.setACKSTAT; inline;
  18928. begin
  18929. pTDefRegMap(@Self)^.&set := $00008000;
  18930. end;
  18931. procedure TI2C1_I2C1111STAT.clearACKSTAT; inline;
  18932. begin
  18933. pTDefRegMap(@Self)^.clr := $00008000;
  18934. end;
  18935. procedure TI2C1_I2C1111STAT.setACKSTAT(thebits : TBits_1); inline;
  18936. begin
  18937. if thebits = 0 then
  18938. pTDefRegMap(@Self)^.clr := $00008000
  18939. else
  18940. pTDefRegMap(@Self)^.&set := $00008000;
  18941. end;
  18942. function TI2C1_I2C1111STAT.getACKSTAT : TBits_1; inline;
  18943. begin
  18944. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18945. end;
  18946. procedure TI2C1_I2C1111STAT.setI2CPOV; inline;
  18947. begin
  18948. pTDefRegMap(@Self)^.&set := $00000040;
  18949. end;
  18950. procedure TI2C1_I2C1111STAT.clearI2CPOV; inline;
  18951. begin
  18952. pTDefRegMap(@Self)^.clr := $00000040;
  18953. end;
  18954. procedure TI2C1_I2C1111STAT.setI2CPOV(thebits : TBits_1); inline;
  18955. begin
  18956. if thebits = 0 then
  18957. pTDefRegMap(@Self)^.clr := $00000040
  18958. else
  18959. pTDefRegMap(@Self)^.&set := $00000040;
  18960. end;
  18961. function TI2C1_I2C1111STAT.getI2CPOV : TBits_1; inline;
  18962. begin
  18963. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18964. end;
  18965. procedure TI2C1_I2C1111STAT.setw(thebits : TBits_32); inline;
  18966. begin
  18967. pTDefRegMap(@Self)^.val := thebits;
  18968. end;
  18969. function TI2C1_I2C1111STAT.getw : TBits_32; inline;
  18970. begin
  18971. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18972. end;
  18973. procedure TI2C1_I2C1STAT.setTBF; inline;
  18974. begin
  18975. pTDefRegMap(@Self)^.&set := $00000001;
  18976. end;
  18977. procedure TI2C1_I2C1STAT.clearTBF; inline;
  18978. begin
  18979. pTDefRegMap(@Self)^.clr := $00000001;
  18980. end;
  18981. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  18982. begin
  18983. if thebits = 0 then
  18984. pTDefRegMap(@Self)^.clr := $00000001
  18985. else
  18986. pTDefRegMap(@Self)^.&set := $00000001;
  18987. end;
  18988. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  18989. begin
  18990. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18991. end;
  18992. procedure TI2C1_I2C1STAT.setRBF; inline;
  18993. begin
  18994. pTDefRegMap(@Self)^.&set := $00000002;
  18995. end;
  18996. procedure TI2C1_I2C1STAT.clearRBF; inline;
  18997. begin
  18998. pTDefRegMap(@Self)^.clr := $00000002;
  18999. end;
  19000. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  19001. begin
  19002. if thebits = 0 then
  19003. pTDefRegMap(@Self)^.clr := $00000002
  19004. else
  19005. pTDefRegMap(@Self)^.&set := $00000002;
  19006. end;
  19007. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  19008. begin
  19009. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19010. end;
  19011. procedure TI2C1_I2C1STAT.setR_W; inline;
  19012. begin
  19013. pTDefRegMap(@Self)^.&set := $00000004;
  19014. end;
  19015. procedure TI2C1_I2C1STAT.clearR_W; inline;
  19016. begin
  19017. pTDefRegMap(@Self)^.clr := $00000004;
  19018. end;
  19019. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  19020. begin
  19021. if thebits = 0 then
  19022. pTDefRegMap(@Self)^.clr := $00000004
  19023. else
  19024. pTDefRegMap(@Self)^.&set := $00000004;
  19025. end;
  19026. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  19027. begin
  19028. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19029. end;
  19030. procedure TI2C1_I2C1STAT.setS; inline;
  19031. begin
  19032. pTDefRegMap(@Self)^.&set := $00000008;
  19033. end;
  19034. procedure TI2C1_I2C1STAT.clearS; inline;
  19035. begin
  19036. pTDefRegMap(@Self)^.clr := $00000008;
  19037. end;
  19038. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  19039. begin
  19040. if thebits = 0 then
  19041. pTDefRegMap(@Self)^.clr := $00000008
  19042. else
  19043. pTDefRegMap(@Self)^.&set := $00000008;
  19044. end;
  19045. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  19046. begin
  19047. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19048. end;
  19049. procedure TI2C1_I2C1STAT.setP; inline;
  19050. begin
  19051. pTDefRegMap(@Self)^.&set := $00000010;
  19052. end;
  19053. procedure TI2C1_I2C1STAT.clearP; inline;
  19054. begin
  19055. pTDefRegMap(@Self)^.clr := $00000010;
  19056. end;
  19057. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  19058. begin
  19059. if thebits = 0 then
  19060. pTDefRegMap(@Self)^.clr := $00000010
  19061. else
  19062. pTDefRegMap(@Self)^.&set := $00000010;
  19063. end;
  19064. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  19065. begin
  19066. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19067. end;
  19068. procedure TI2C1_I2C1STAT.setD_A; inline;
  19069. begin
  19070. pTDefRegMap(@Self)^.&set := $00000020;
  19071. end;
  19072. procedure TI2C1_I2C1STAT.clearD_A; inline;
  19073. begin
  19074. pTDefRegMap(@Self)^.clr := $00000020;
  19075. end;
  19076. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  19077. begin
  19078. if thebits = 0 then
  19079. pTDefRegMap(@Self)^.clr := $00000020
  19080. else
  19081. pTDefRegMap(@Self)^.&set := $00000020;
  19082. end;
  19083. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  19084. begin
  19085. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19086. end;
  19087. procedure TI2C1_I2C1STAT.setI2COV; inline;
  19088. begin
  19089. pTDefRegMap(@Self)^.&set := $00000040;
  19090. end;
  19091. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  19092. begin
  19093. pTDefRegMap(@Self)^.clr := $00000040;
  19094. end;
  19095. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  19096. begin
  19097. if thebits = 0 then
  19098. pTDefRegMap(@Self)^.clr := $00000040
  19099. else
  19100. pTDefRegMap(@Self)^.&set := $00000040;
  19101. end;
  19102. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  19103. begin
  19104. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19105. end;
  19106. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  19107. begin
  19108. pTDefRegMap(@Self)^.&set := $00000080;
  19109. end;
  19110. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  19111. begin
  19112. pTDefRegMap(@Self)^.clr := $00000080;
  19113. end;
  19114. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  19115. begin
  19116. if thebits = 0 then
  19117. pTDefRegMap(@Self)^.clr := $00000080
  19118. else
  19119. pTDefRegMap(@Self)^.&set := $00000080;
  19120. end;
  19121. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  19122. begin
  19123. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19124. end;
  19125. procedure TI2C1_I2C1STAT.setADD10; inline;
  19126. begin
  19127. pTDefRegMap(@Self)^.&set := $00000100;
  19128. end;
  19129. procedure TI2C1_I2C1STAT.clearADD10; inline;
  19130. begin
  19131. pTDefRegMap(@Self)^.clr := $00000100;
  19132. end;
  19133. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  19134. begin
  19135. if thebits = 0 then
  19136. pTDefRegMap(@Self)^.clr := $00000100
  19137. else
  19138. pTDefRegMap(@Self)^.&set := $00000100;
  19139. end;
  19140. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  19141. begin
  19142. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19143. end;
  19144. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  19145. begin
  19146. pTDefRegMap(@Self)^.&set := $00000200;
  19147. end;
  19148. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  19149. begin
  19150. pTDefRegMap(@Self)^.clr := $00000200;
  19151. end;
  19152. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  19153. begin
  19154. if thebits = 0 then
  19155. pTDefRegMap(@Self)^.clr := $00000200
  19156. else
  19157. pTDefRegMap(@Self)^.&set := $00000200;
  19158. end;
  19159. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  19160. begin
  19161. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19162. end;
  19163. procedure TI2C1_I2C1STAT.setBCL; inline;
  19164. begin
  19165. pTDefRegMap(@Self)^.&set := $00000400;
  19166. end;
  19167. procedure TI2C1_I2C1STAT.clearBCL; inline;
  19168. begin
  19169. pTDefRegMap(@Self)^.clr := $00000400;
  19170. end;
  19171. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  19172. begin
  19173. if thebits = 0 then
  19174. pTDefRegMap(@Self)^.clr := $00000400
  19175. else
  19176. pTDefRegMap(@Self)^.&set := $00000400;
  19177. end;
  19178. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  19179. begin
  19180. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19181. end;
  19182. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  19183. begin
  19184. pTDefRegMap(@Self)^.&set := $00004000;
  19185. end;
  19186. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  19187. begin
  19188. pTDefRegMap(@Self)^.clr := $00004000;
  19189. end;
  19190. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  19191. begin
  19192. if thebits = 0 then
  19193. pTDefRegMap(@Self)^.clr := $00004000
  19194. else
  19195. pTDefRegMap(@Self)^.&set := $00004000;
  19196. end;
  19197. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  19198. begin
  19199. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19200. end;
  19201. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  19202. begin
  19203. pTDefRegMap(@Self)^.&set := $00008000;
  19204. end;
  19205. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  19206. begin
  19207. pTDefRegMap(@Self)^.clr := $00008000;
  19208. end;
  19209. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  19210. begin
  19211. if thebits = 0 then
  19212. pTDefRegMap(@Self)^.clr := $00008000
  19213. else
  19214. pTDefRegMap(@Self)^.&set := $00008000;
  19215. end;
  19216. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  19217. begin
  19218. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19219. end;
  19220. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  19221. begin
  19222. pTDefRegMap(@Self)^.&set := $00000040;
  19223. end;
  19224. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  19225. begin
  19226. pTDefRegMap(@Self)^.clr := $00000040;
  19227. end;
  19228. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  19229. begin
  19230. if thebits = 0 then
  19231. pTDefRegMap(@Self)^.clr := $00000040
  19232. else
  19233. pTDefRegMap(@Self)^.&set := $00000040;
  19234. end;
  19235. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  19236. begin
  19237. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19238. end;
  19239. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  19240. begin
  19241. pTDefRegMap(@Self)^.val := thebits;
  19242. end;
  19243. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  19244. begin
  19245. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19246. end;
  19247. procedure TI2C2_I2C2CON.setSEN; inline;
  19248. begin
  19249. pTDefRegMap(@Self)^.&set := $00000001;
  19250. end;
  19251. procedure TI2C2_I2C2CON.clearSEN; inline;
  19252. begin
  19253. pTDefRegMap(@Self)^.clr := $00000001;
  19254. end;
  19255. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  19256. begin
  19257. if thebits = 0 then
  19258. pTDefRegMap(@Self)^.clr := $00000001
  19259. else
  19260. pTDefRegMap(@Self)^.&set := $00000001;
  19261. end;
  19262. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  19263. begin
  19264. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19265. end;
  19266. procedure TI2C2_I2C2CON.setRSEN; inline;
  19267. begin
  19268. pTDefRegMap(@Self)^.&set := $00000002;
  19269. end;
  19270. procedure TI2C2_I2C2CON.clearRSEN; inline;
  19271. begin
  19272. pTDefRegMap(@Self)^.clr := $00000002;
  19273. end;
  19274. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  19275. begin
  19276. if thebits = 0 then
  19277. pTDefRegMap(@Self)^.clr := $00000002
  19278. else
  19279. pTDefRegMap(@Self)^.&set := $00000002;
  19280. end;
  19281. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  19282. begin
  19283. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19284. end;
  19285. procedure TI2C2_I2C2CON.setPEN; inline;
  19286. begin
  19287. pTDefRegMap(@Self)^.&set := $00000004;
  19288. end;
  19289. procedure TI2C2_I2C2CON.clearPEN; inline;
  19290. begin
  19291. pTDefRegMap(@Self)^.clr := $00000004;
  19292. end;
  19293. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  19294. begin
  19295. if thebits = 0 then
  19296. pTDefRegMap(@Self)^.clr := $00000004
  19297. else
  19298. pTDefRegMap(@Self)^.&set := $00000004;
  19299. end;
  19300. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  19301. begin
  19302. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19303. end;
  19304. procedure TI2C2_I2C2CON.setRCEN; inline;
  19305. begin
  19306. pTDefRegMap(@Self)^.&set := $00000008;
  19307. end;
  19308. procedure TI2C2_I2C2CON.clearRCEN; inline;
  19309. begin
  19310. pTDefRegMap(@Self)^.clr := $00000008;
  19311. end;
  19312. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  19313. begin
  19314. if thebits = 0 then
  19315. pTDefRegMap(@Self)^.clr := $00000008
  19316. else
  19317. pTDefRegMap(@Self)^.&set := $00000008;
  19318. end;
  19319. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  19320. begin
  19321. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19322. end;
  19323. procedure TI2C2_I2C2CON.setACKEN; inline;
  19324. begin
  19325. pTDefRegMap(@Self)^.&set := $00000010;
  19326. end;
  19327. procedure TI2C2_I2C2CON.clearACKEN; inline;
  19328. begin
  19329. pTDefRegMap(@Self)^.clr := $00000010;
  19330. end;
  19331. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  19332. begin
  19333. if thebits = 0 then
  19334. pTDefRegMap(@Self)^.clr := $00000010
  19335. else
  19336. pTDefRegMap(@Self)^.&set := $00000010;
  19337. end;
  19338. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  19339. begin
  19340. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19341. end;
  19342. procedure TI2C2_I2C2CON.setACKDT; inline;
  19343. begin
  19344. pTDefRegMap(@Self)^.&set := $00000020;
  19345. end;
  19346. procedure TI2C2_I2C2CON.clearACKDT; inline;
  19347. begin
  19348. pTDefRegMap(@Self)^.clr := $00000020;
  19349. end;
  19350. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  19351. begin
  19352. if thebits = 0 then
  19353. pTDefRegMap(@Self)^.clr := $00000020
  19354. else
  19355. pTDefRegMap(@Self)^.&set := $00000020;
  19356. end;
  19357. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  19358. begin
  19359. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19360. end;
  19361. procedure TI2C2_I2C2CON.setSTREN; inline;
  19362. begin
  19363. pTDefRegMap(@Self)^.&set := $00000040;
  19364. end;
  19365. procedure TI2C2_I2C2CON.clearSTREN; inline;
  19366. begin
  19367. pTDefRegMap(@Self)^.clr := $00000040;
  19368. end;
  19369. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  19370. begin
  19371. if thebits = 0 then
  19372. pTDefRegMap(@Self)^.clr := $00000040
  19373. else
  19374. pTDefRegMap(@Self)^.&set := $00000040;
  19375. end;
  19376. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  19377. begin
  19378. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19379. end;
  19380. procedure TI2C2_I2C2CON.setGCEN; inline;
  19381. begin
  19382. pTDefRegMap(@Self)^.&set := $00000080;
  19383. end;
  19384. procedure TI2C2_I2C2CON.clearGCEN; inline;
  19385. begin
  19386. pTDefRegMap(@Self)^.clr := $00000080;
  19387. end;
  19388. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  19389. begin
  19390. if thebits = 0 then
  19391. pTDefRegMap(@Self)^.clr := $00000080
  19392. else
  19393. pTDefRegMap(@Self)^.&set := $00000080;
  19394. end;
  19395. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  19396. begin
  19397. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19398. end;
  19399. procedure TI2C2_I2C2CON.setSMEN; inline;
  19400. begin
  19401. pTDefRegMap(@Self)^.&set := $00000100;
  19402. end;
  19403. procedure TI2C2_I2C2CON.clearSMEN; inline;
  19404. begin
  19405. pTDefRegMap(@Self)^.clr := $00000100;
  19406. end;
  19407. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  19408. begin
  19409. if thebits = 0 then
  19410. pTDefRegMap(@Self)^.clr := $00000100
  19411. else
  19412. pTDefRegMap(@Self)^.&set := $00000100;
  19413. end;
  19414. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  19415. begin
  19416. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19417. end;
  19418. procedure TI2C2_I2C2CON.setDISSLW; inline;
  19419. begin
  19420. pTDefRegMap(@Self)^.&set := $00000200;
  19421. end;
  19422. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  19423. begin
  19424. pTDefRegMap(@Self)^.clr := $00000200;
  19425. end;
  19426. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  19427. begin
  19428. if thebits = 0 then
  19429. pTDefRegMap(@Self)^.clr := $00000200
  19430. else
  19431. pTDefRegMap(@Self)^.&set := $00000200;
  19432. end;
  19433. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  19434. begin
  19435. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19436. end;
  19437. procedure TI2C2_I2C2CON.setA10M; inline;
  19438. begin
  19439. pTDefRegMap(@Self)^.&set := $00000400;
  19440. end;
  19441. procedure TI2C2_I2C2CON.clearA10M; inline;
  19442. begin
  19443. pTDefRegMap(@Self)^.clr := $00000400;
  19444. end;
  19445. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  19446. begin
  19447. if thebits = 0 then
  19448. pTDefRegMap(@Self)^.clr := $00000400
  19449. else
  19450. pTDefRegMap(@Self)^.&set := $00000400;
  19451. end;
  19452. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  19453. begin
  19454. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19455. end;
  19456. procedure TI2C2_I2C2CON.setSTRICT; inline;
  19457. begin
  19458. pTDefRegMap(@Self)^.&set := $00000800;
  19459. end;
  19460. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  19461. begin
  19462. pTDefRegMap(@Self)^.clr := $00000800;
  19463. end;
  19464. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  19465. begin
  19466. if thebits = 0 then
  19467. pTDefRegMap(@Self)^.clr := $00000800
  19468. else
  19469. pTDefRegMap(@Self)^.&set := $00000800;
  19470. end;
  19471. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  19472. begin
  19473. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19474. end;
  19475. procedure TI2C2_I2C2CON.setSCLREL; inline;
  19476. begin
  19477. pTDefRegMap(@Self)^.&set := $00001000;
  19478. end;
  19479. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  19480. begin
  19481. pTDefRegMap(@Self)^.clr := $00001000;
  19482. end;
  19483. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  19484. begin
  19485. if thebits = 0 then
  19486. pTDefRegMap(@Self)^.clr := $00001000
  19487. else
  19488. pTDefRegMap(@Self)^.&set := $00001000;
  19489. end;
  19490. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  19491. begin
  19492. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19493. end;
  19494. procedure TI2C2_I2C2CON.setSIDL; inline;
  19495. begin
  19496. pTDefRegMap(@Self)^.&set := $00002000;
  19497. end;
  19498. procedure TI2C2_I2C2CON.clearSIDL; inline;
  19499. begin
  19500. pTDefRegMap(@Self)^.clr := $00002000;
  19501. end;
  19502. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  19503. begin
  19504. if thebits = 0 then
  19505. pTDefRegMap(@Self)^.clr := $00002000
  19506. else
  19507. pTDefRegMap(@Self)^.&set := $00002000;
  19508. end;
  19509. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  19510. begin
  19511. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19512. end;
  19513. procedure TI2C2_I2C2CON.setON; inline;
  19514. begin
  19515. pTDefRegMap(@Self)^.&set := $00008000;
  19516. end;
  19517. procedure TI2C2_I2C2CON.clearON; inline;
  19518. begin
  19519. pTDefRegMap(@Self)^.clr := $00008000;
  19520. end;
  19521. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  19522. begin
  19523. if thebits = 0 then
  19524. pTDefRegMap(@Self)^.clr := $00008000
  19525. else
  19526. pTDefRegMap(@Self)^.&set := $00008000;
  19527. end;
  19528. function TI2C2_I2C2CON.getON : TBits_1; inline;
  19529. begin
  19530. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19531. end;
  19532. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  19533. begin
  19534. pTDefRegMap(@Self)^.&set := $00000800;
  19535. end;
  19536. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  19537. begin
  19538. pTDefRegMap(@Self)^.clr := $00000800;
  19539. end;
  19540. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  19541. begin
  19542. if thebits = 0 then
  19543. pTDefRegMap(@Self)^.clr := $00000800
  19544. else
  19545. pTDefRegMap(@Self)^.&set := $00000800;
  19546. end;
  19547. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  19548. begin
  19549. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19550. end;
  19551. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  19552. begin
  19553. pTDefRegMap(@Self)^.&set := $00002000;
  19554. end;
  19555. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  19556. begin
  19557. pTDefRegMap(@Self)^.clr := $00002000;
  19558. end;
  19559. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  19560. begin
  19561. if thebits = 0 then
  19562. pTDefRegMap(@Self)^.clr := $00002000
  19563. else
  19564. pTDefRegMap(@Self)^.&set := $00002000;
  19565. end;
  19566. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  19567. begin
  19568. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19569. end;
  19570. procedure TI2C2_I2C2CON.setI2CEN; inline;
  19571. begin
  19572. pTDefRegMap(@Self)^.&set := $00008000;
  19573. end;
  19574. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  19575. begin
  19576. pTDefRegMap(@Self)^.clr := $00008000;
  19577. end;
  19578. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  19579. begin
  19580. if thebits = 0 then
  19581. pTDefRegMap(@Self)^.clr := $00008000
  19582. else
  19583. pTDefRegMap(@Self)^.&set := $00008000;
  19584. end;
  19585. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  19586. begin
  19587. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19588. end;
  19589. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  19590. begin
  19591. pTDefRegMap(@Self)^.val := thebits;
  19592. end;
  19593. function TI2C2_I2C2CON.getw : TBits_32; inline;
  19594. begin
  19595. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19596. end;
  19597. procedure TI2C2_I2CABCON.setSEN; inline;
  19598. begin
  19599. pTDefRegMap(@Self)^.&set := $00000001;
  19600. end;
  19601. procedure TI2C2_I2CABCON.clearSEN; inline;
  19602. begin
  19603. pTDefRegMap(@Self)^.clr := $00000001;
  19604. end;
  19605. procedure TI2C2_I2CABCON.setSEN(thebits : TBits_1); inline;
  19606. begin
  19607. if thebits = 0 then
  19608. pTDefRegMap(@Self)^.clr := $00000001
  19609. else
  19610. pTDefRegMap(@Self)^.&set := $00000001;
  19611. end;
  19612. function TI2C2_I2CABCON.getSEN : TBits_1; inline;
  19613. begin
  19614. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19615. end;
  19616. procedure TI2C2_I2CABCON.setRSEN; inline;
  19617. begin
  19618. pTDefRegMap(@Self)^.&set := $00000002;
  19619. end;
  19620. procedure TI2C2_I2CABCON.clearRSEN; inline;
  19621. begin
  19622. pTDefRegMap(@Self)^.clr := $00000002;
  19623. end;
  19624. procedure TI2C2_I2CABCON.setRSEN(thebits : TBits_1); inline;
  19625. begin
  19626. if thebits = 0 then
  19627. pTDefRegMap(@Self)^.clr := $00000002
  19628. else
  19629. pTDefRegMap(@Self)^.&set := $00000002;
  19630. end;
  19631. function TI2C2_I2CABCON.getRSEN : TBits_1; inline;
  19632. begin
  19633. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19634. end;
  19635. procedure TI2C2_I2CABCON.setPEN; inline;
  19636. begin
  19637. pTDefRegMap(@Self)^.&set := $00000004;
  19638. end;
  19639. procedure TI2C2_I2CABCON.clearPEN; inline;
  19640. begin
  19641. pTDefRegMap(@Self)^.clr := $00000004;
  19642. end;
  19643. procedure TI2C2_I2CABCON.setPEN(thebits : TBits_1); inline;
  19644. begin
  19645. if thebits = 0 then
  19646. pTDefRegMap(@Self)^.clr := $00000004
  19647. else
  19648. pTDefRegMap(@Self)^.&set := $00000004;
  19649. end;
  19650. function TI2C2_I2CABCON.getPEN : TBits_1; inline;
  19651. begin
  19652. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19653. end;
  19654. procedure TI2C2_I2CABCON.setRCEN; inline;
  19655. begin
  19656. pTDefRegMap(@Self)^.&set := $00000008;
  19657. end;
  19658. procedure TI2C2_I2CABCON.clearRCEN; inline;
  19659. begin
  19660. pTDefRegMap(@Self)^.clr := $00000008;
  19661. end;
  19662. procedure TI2C2_I2CABCON.setRCEN(thebits : TBits_1); inline;
  19663. begin
  19664. if thebits = 0 then
  19665. pTDefRegMap(@Self)^.clr := $00000008
  19666. else
  19667. pTDefRegMap(@Self)^.&set := $00000008;
  19668. end;
  19669. function TI2C2_I2CABCON.getRCEN : TBits_1; inline;
  19670. begin
  19671. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19672. end;
  19673. procedure TI2C2_I2CABCON.setACKEN; inline;
  19674. begin
  19675. pTDefRegMap(@Self)^.&set := $00000010;
  19676. end;
  19677. procedure TI2C2_I2CABCON.clearACKEN; inline;
  19678. begin
  19679. pTDefRegMap(@Self)^.clr := $00000010;
  19680. end;
  19681. procedure TI2C2_I2CABCON.setACKEN(thebits : TBits_1); inline;
  19682. begin
  19683. if thebits = 0 then
  19684. pTDefRegMap(@Self)^.clr := $00000010
  19685. else
  19686. pTDefRegMap(@Self)^.&set := $00000010;
  19687. end;
  19688. function TI2C2_I2CABCON.getACKEN : TBits_1; inline;
  19689. begin
  19690. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19691. end;
  19692. procedure TI2C2_I2CABCON.setACKDT; inline;
  19693. begin
  19694. pTDefRegMap(@Self)^.&set := $00000020;
  19695. end;
  19696. procedure TI2C2_I2CABCON.clearACKDT; inline;
  19697. begin
  19698. pTDefRegMap(@Self)^.clr := $00000020;
  19699. end;
  19700. procedure TI2C2_I2CABCON.setACKDT(thebits : TBits_1); inline;
  19701. begin
  19702. if thebits = 0 then
  19703. pTDefRegMap(@Self)^.clr := $00000020
  19704. else
  19705. pTDefRegMap(@Self)^.&set := $00000020;
  19706. end;
  19707. function TI2C2_I2CABCON.getACKDT : TBits_1; inline;
  19708. begin
  19709. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19710. end;
  19711. procedure TI2C2_I2CABCON.setSTREN; inline;
  19712. begin
  19713. pTDefRegMap(@Self)^.&set := $00000040;
  19714. end;
  19715. procedure TI2C2_I2CABCON.clearSTREN; inline;
  19716. begin
  19717. pTDefRegMap(@Self)^.clr := $00000040;
  19718. end;
  19719. procedure TI2C2_I2CABCON.setSTREN(thebits : TBits_1); inline;
  19720. begin
  19721. if thebits = 0 then
  19722. pTDefRegMap(@Self)^.clr := $00000040
  19723. else
  19724. pTDefRegMap(@Self)^.&set := $00000040;
  19725. end;
  19726. function TI2C2_I2CABCON.getSTREN : TBits_1; inline;
  19727. begin
  19728. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19729. end;
  19730. procedure TI2C2_I2CABCON.setGCEN; inline;
  19731. begin
  19732. pTDefRegMap(@Self)^.&set := $00000080;
  19733. end;
  19734. procedure TI2C2_I2CABCON.clearGCEN; inline;
  19735. begin
  19736. pTDefRegMap(@Self)^.clr := $00000080;
  19737. end;
  19738. procedure TI2C2_I2CABCON.setGCEN(thebits : TBits_1); inline;
  19739. begin
  19740. if thebits = 0 then
  19741. pTDefRegMap(@Self)^.clr := $00000080
  19742. else
  19743. pTDefRegMap(@Self)^.&set := $00000080;
  19744. end;
  19745. function TI2C2_I2CABCON.getGCEN : TBits_1; inline;
  19746. begin
  19747. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19748. end;
  19749. procedure TI2C2_I2CABCON.setSMEN; inline;
  19750. begin
  19751. pTDefRegMap(@Self)^.&set := $00000100;
  19752. end;
  19753. procedure TI2C2_I2CABCON.clearSMEN; inline;
  19754. begin
  19755. pTDefRegMap(@Self)^.clr := $00000100;
  19756. end;
  19757. procedure TI2C2_I2CABCON.setSMEN(thebits : TBits_1); inline;
  19758. begin
  19759. if thebits = 0 then
  19760. pTDefRegMap(@Self)^.clr := $00000100
  19761. else
  19762. pTDefRegMap(@Self)^.&set := $00000100;
  19763. end;
  19764. function TI2C2_I2CABCON.getSMEN : TBits_1; inline;
  19765. begin
  19766. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19767. end;
  19768. procedure TI2C2_I2CABCON.setDISSLW; inline;
  19769. begin
  19770. pTDefRegMap(@Self)^.&set := $00000200;
  19771. end;
  19772. procedure TI2C2_I2CABCON.clearDISSLW; inline;
  19773. begin
  19774. pTDefRegMap(@Self)^.clr := $00000200;
  19775. end;
  19776. procedure TI2C2_I2CABCON.setDISSLW(thebits : TBits_1); inline;
  19777. begin
  19778. if thebits = 0 then
  19779. pTDefRegMap(@Self)^.clr := $00000200
  19780. else
  19781. pTDefRegMap(@Self)^.&set := $00000200;
  19782. end;
  19783. function TI2C2_I2CABCON.getDISSLW : TBits_1; inline;
  19784. begin
  19785. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19786. end;
  19787. procedure TI2C2_I2CABCON.setA10M; inline;
  19788. begin
  19789. pTDefRegMap(@Self)^.&set := $00000400;
  19790. end;
  19791. procedure TI2C2_I2CABCON.clearA10M; inline;
  19792. begin
  19793. pTDefRegMap(@Self)^.clr := $00000400;
  19794. end;
  19795. procedure TI2C2_I2CABCON.setA10M(thebits : TBits_1); inline;
  19796. begin
  19797. if thebits = 0 then
  19798. pTDefRegMap(@Self)^.clr := $00000400
  19799. else
  19800. pTDefRegMap(@Self)^.&set := $00000400;
  19801. end;
  19802. function TI2C2_I2CABCON.getA10M : TBits_1; inline;
  19803. begin
  19804. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19805. end;
  19806. procedure TI2C2_I2CABCON.setSTRICT; inline;
  19807. begin
  19808. pTDefRegMap(@Self)^.&set := $00000800;
  19809. end;
  19810. procedure TI2C2_I2CABCON.clearSTRICT; inline;
  19811. begin
  19812. pTDefRegMap(@Self)^.clr := $00000800;
  19813. end;
  19814. procedure TI2C2_I2CABCON.setSTRICT(thebits : TBits_1); inline;
  19815. begin
  19816. if thebits = 0 then
  19817. pTDefRegMap(@Self)^.clr := $00000800
  19818. else
  19819. pTDefRegMap(@Self)^.&set := $00000800;
  19820. end;
  19821. function TI2C2_I2CABCON.getSTRICT : TBits_1; inline;
  19822. begin
  19823. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19824. end;
  19825. procedure TI2C2_I2CABCON.setSCLREL; inline;
  19826. begin
  19827. pTDefRegMap(@Self)^.&set := $00001000;
  19828. end;
  19829. procedure TI2C2_I2CABCON.clearSCLREL; inline;
  19830. begin
  19831. pTDefRegMap(@Self)^.clr := $00001000;
  19832. end;
  19833. procedure TI2C2_I2CABCON.setSCLREL(thebits : TBits_1); inline;
  19834. begin
  19835. if thebits = 0 then
  19836. pTDefRegMap(@Self)^.clr := $00001000
  19837. else
  19838. pTDefRegMap(@Self)^.&set := $00001000;
  19839. end;
  19840. function TI2C2_I2CABCON.getSCLREL : TBits_1; inline;
  19841. begin
  19842. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19843. end;
  19844. procedure TI2C2_I2CABCON.setSIDL; inline;
  19845. begin
  19846. pTDefRegMap(@Self)^.&set := $00002000;
  19847. end;
  19848. procedure TI2C2_I2CABCON.clearSIDL; inline;
  19849. begin
  19850. pTDefRegMap(@Self)^.clr := $00002000;
  19851. end;
  19852. procedure TI2C2_I2CABCON.setSIDL(thebits : TBits_1); inline;
  19853. begin
  19854. if thebits = 0 then
  19855. pTDefRegMap(@Self)^.clr := $00002000
  19856. else
  19857. pTDefRegMap(@Self)^.&set := $00002000;
  19858. end;
  19859. function TI2C2_I2CABCON.getSIDL : TBits_1; inline;
  19860. begin
  19861. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19862. end;
  19863. procedure TI2C2_I2CABCON.setON; inline;
  19864. begin
  19865. pTDefRegMap(@Self)^.&set := $00008000;
  19866. end;
  19867. procedure TI2C2_I2CABCON.clearON; inline;
  19868. begin
  19869. pTDefRegMap(@Self)^.clr := $00008000;
  19870. end;
  19871. procedure TI2C2_I2CABCON.setON(thebits : TBits_1); inline;
  19872. begin
  19873. if thebits = 0 then
  19874. pTDefRegMap(@Self)^.clr := $00008000
  19875. else
  19876. pTDefRegMap(@Self)^.&set := $00008000;
  19877. end;
  19878. function TI2C2_I2CABCON.getON : TBits_1; inline;
  19879. begin
  19880. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19881. end;
  19882. procedure TI2C2_I2CABCON.setIPMIEN; inline;
  19883. begin
  19884. pTDefRegMap(@Self)^.&set := $00000800;
  19885. end;
  19886. procedure TI2C2_I2CABCON.clearIPMIEN; inline;
  19887. begin
  19888. pTDefRegMap(@Self)^.clr := $00000800;
  19889. end;
  19890. procedure TI2C2_I2CABCON.setIPMIEN(thebits : TBits_1); inline;
  19891. begin
  19892. if thebits = 0 then
  19893. pTDefRegMap(@Self)^.clr := $00000800
  19894. else
  19895. pTDefRegMap(@Self)^.&set := $00000800;
  19896. end;
  19897. function TI2C2_I2CABCON.getIPMIEN : TBits_1; inline;
  19898. begin
  19899. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19900. end;
  19901. procedure TI2C2_I2CABCON.setI2CSIDL; inline;
  19902. begin
  19903. pTDefRegMap(@Self)^.&set := $00002000;
  19904. end;
  19905. procedure TI2C2_I2CABCON.clearI2CSIDL; inline;
  19906. begin
  19907. pTDefRegMap(@Self)^.clr := $00002000;
  19908. end;
  19909. procedure TI2C2_I2CABCON.setI2CSIDL(thebits : TBits_1); inline;
  19910. begin
  19911. if thebits = 0 then
  19912. pTDefRegMap(@Self)^.clr := $00002000
  19913. else
  19914. pTDefRegMap(@Self)^.&set := $00002000;
  19915. end;
  19916. function TI2C2_I2CABCON.getI2CSIDL : TBits_1; inline;
  19917. begin
  19918. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19919. end;
  19920. procedure TI2C2_I2CABCON.setI2CEN; inline;
  19921. begin
  19922. pTDefRegMap(@Self)^.&set := $00008000;
  19923. end;
  19924. procedure TI2C2_I2CABCON.clearI2CEN; inline;
  19925. begin
  19926. pTDefRegMap(@Self)^.clr := $00008000;
  19927. end;
  19928. procedure TI2C2_I2CABCON.setI2CEN(thebits : TBits_1); inline;
  19929. begin
  19930. if thebits = 0 then
  19931. pTDefRegMap(@Self)^.clr := $00008000
  19932. else
  19933. pTDefRegMap(@Self)^.&set := $00008000;
  19934. end;
  19935. function TI2C2_I2CABCON.getI2CEN : TBits_1; inline;
  19936. begin
  19937. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19938. end;
  19939. procedure TI2C2_I2CABCON.setw(thebits : TBits_32); inline;
  19940. begin
  19941. pTDefRegMap(@Self)^.val := thebits;
  19942. end;
  19943. function TI2C2_I2CABCON.getw : TBits_32; inline;
  19944. begin
  19945. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19946. end;
  19947. procedure TI2C2_I2C2STAT.setTBF; inline;
  19948. begin
  19949. pTDefRegMap(@Self)^.&set := $00000001;
  19950. end;
  19951. procedure TI2C2_I2C2STAT.clearTBF; inline;
  19952. begin
  19953. pTDefRegMap(@Self)^.clr := $00000001;
  19954. end;
  19955. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  19956. begin
  19957. if thebits = 0 then
  19958. pTDefRegMap(@Self)^.clr := $00000001
  19959. else
  19960. pTDefRegMap(@Self)^.&set := $00000001;
  19961. end;
  19962. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  19963. begin
  19964. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19965. end;
  19966. procedure TI2C2_I2C2STAT.setRBF; inline;
  19967. begin
  19968. pTDefRegMap(@Self)^.&set := $00000002;
  19969. end;
  19970. procedure TI2C2_I2C2STAT.clearRBF; inline;
  19971. begin
  19972. pTDefRegMap(@Self)^.clr := $00000002;
  19973. end;
  19974. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  19975. begin
  19976. if thebits = 0 then
  19977. pTDefRegMap(@Self)^.clr := $00000002
  19978. else
  19979. pTDefRegMap(@Self)^.&set := $00000002;
  19980. end;
  19981. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  19982. begin
  19983. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19984. end;
  19985. procedure TI2C2_I2C2STAT.setR_W; inline;
  19986. begin
  19987. pTDefRegMap(@Self)^.&set := $00000004;
  19988. end;
  19989. procedure TI2C2_I2C2STAT.clearR_W; inline;
  19990. begin
  19991. pTDefRegMap(@Self)^.clr := $00000004;
  19992. end;
  19993. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  19994. begin
  19995. if thebits = 0 then
  19996. pTDefRegMap(@Self)^.clr := $00000004
  19997. else
  19998. pTDefRegMap(@Self)^.&set := $00000004;
  19999. end;
  20000. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  20001. begin
  20002. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20003. end;
  20004. procedure TI2C2_I2C2STAT.setS; inline;
  20005. begin
  20006. pTDefRegMap(@Self)^.&set := $00000008;
  20007. end;
  20008. procedure TI2C2_I2C2STAT.clearS; inline;
  20009. begin
  20010. pTDefRegMap(@Self)^.clr := $00000008;
  20011. end;
  20012. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  20013. begin
  20014. if thebits = 0 then
  20015. pTDefRegMap(@Self)^.clr := $00000008
  20016. else
  20017. pTDefRegMap(@Self)^.&set := $00000008;
  20018. end;
  20019. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  20020. begin
  20021. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20022. end;
  20023. procedure TI2C2_I2C2STAT.setP; inline;
  20024. begin
  20025. pTDefRegMap(@Self)^.&set := $00000010;
  20026. end;
  20027. procedure TI2C2_I2C2STAT.clearP; inline;
  20028. begin
  20029. pTDefRegMap(@Self)^.clr := $00000010;
  20030. end;
  20031. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  20032. begin
  20033. if thebits = 0 then
  20034. pTDefRegMap(@Self)^.clr := $00000010
  20035. else
  20036. pTDefRegMap(@Self)^.&set := $00000010;
  20037. end;
  20038. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  20039. begin
  20040. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20041. end;
  20042. procedure TI2C2_I2C2STAT.setD_A; inline;
  20043. begin
  20044. pTDefRegMap(@Self)^.&set := $00000020;
  20045. end;
  20046. procedure TI2C2_I2C2STAT.clearD_A; inline;
  20047. begin
  20048. pTDefRegMap(@Self)^.clr := $00000020;
  20049. end;
  20050. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  20051. begin
  20052. if thebits = 0 then
  20053. pTDefRegMap(@Self)^.clr := $00000020
  20054. else
  20055. pTDefRegMap(@Self)^.&set := $00000020;
  20056. end;
  20057. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  20058. begin
  20059. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20060. end;
  20061. procedure TI2C2_I2C2STAT.setI2COV; inline;
  20062. begin
  20063. pTDefRegMap(@Self)^.&set := $00000040;
  20064. end;
  20065. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  20066. begin
  20067. pTDefRegMap(@Self)^.clr := $00000040;
  20068. end;
  20069. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  20070. begin
  20071. if thebits = 0 then
  20072. pTDefRegMap(@Self)^.clr := $00000040
  20073. else
  20074. pTDefRegMap(@Self)^.&set := $00000040;
  20075. end;
  20076. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  20077. begin
  20078. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20079. end;
  20080. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  20081. begin
  20082. pTDefRegMap(@Self)^.&set := $00000080;
  20083. end;
  20084. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  20085. begin
  20086. pTDefRegMap(@Self)^.clr := $00000080;
  20087. end;
  20088. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  20089. begin
  20090. if thebits = 0 then
  20091. pTDefRegMap(@Self)^.clr := $00000080
  20092. else
  20093. pTDefRegMap(@Self)^.&set := $00000080;
  20094. end;
  20095. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  20096. begin
  20097. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20098. end;
  20099. procedure TI2C2_I2C2STAT.setADD10; inline;
  20100. begin
  20101. pTDefRegMap(@Self)^.&set := $00000100;
  20102. end;
  20103. procedure TI2C2_I2C2STAT.clearADD10; inline;
  20104. begin
  20105. pTDefRegMap(@Self)^.clr := $00000100;
  20106. end;
  20107. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  20108. begin
  20109. if thebits = 0 then
  20110. pTDefRegMap(@Self)^.clr := $00000100
  20111. else
  20112. pTDefRegMap(@Self)^.&set := $00000100;
  20113. end;
  20114. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  20115. begin
  20116. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20117. end;
  20118. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  20119. begin
  20120. pTDefRegMap(@Self)^.&set := $00000200;
  20121. end;
  20122. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  20123. begin
  20124. pTDefRegMap(@Self)^.clr := $00000200;
  20125. end;
  20126. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  20127. begin
  20128. if thebits = 0 then
  20129. pTDefRegMap(@Self)^.clr := $00000200
  20130. else
  20131. pTDefRegMap(@Self)^.&set := $00000200;
  20132. end;
  20133. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  20134. begin
  20135. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20136. end;
  20137. procedure TI2C2_I2C2STAT.setBCL; inline;
  20138. begin
  20139. pTDefRegMap(@Self)^.&set := $00000400;
  20140. end;
  20141. procedure TI2C2_I2C2STAT.clearBCL; inline;
  20142. begin
  20143. pTDefRegMap(@Self)^.clr := $00000400;
  20144. end;
  20145. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  20146. begin
  20147. if thebits = 0 then
  20148. pTDefRegMap(@Self)^.clr := $00000400
  20149. else
  20150. pTDefRegMap(@Self)^.&set := $00000400;
  20151. end;
  20152. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  20153. begin
  20154. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20155. end;
  20156. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  20157. begin
  20158. pTDefRegMap(@Self)^.&set := $00004000;
  20159. end;
  20160. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  20161. begin
  20162. pTDefRegMap(@Self)^.clr := $00004000;
  20163. end;
  20164. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  20165. begin
  20166. if thebits = 0 then
  20167. pTDefRegMap(@Self)^.clr := $00004000
  20168. else
  20169. pTDefRegMap(@Self)^.&set := $00004000;
  20170. end;
  20171. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  20172. begin
  20173. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20174. end;
  20175. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  20176. begin
  20177. pTDefRegMap(@Self)^.&set := $00008000;
  20178. end;
  20179. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  20180. begin
  20181. pTDefRegMap(@Self)^.clr := $00008000;
  20182. end;
  20183. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  20184. begin
  20185. if thebits = 0 then
  20186. pTDefRegMap(@Self)^.clr := $00008000
  20187. else
  20188. pTDefRegMap(@Self)^.&set := $00008000;
  20189. end;
  20190. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  20191. begin
  20192. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20193. end;
  20194. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  20195. begin
  20196. pTDefRegMap(@Self)^.&set := $00000040;
  20197. end;
  20198. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  20199. begin
  20200. pTDefRegMap(@Self)^.clr := $00000040;
  20201. end;
  20202. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  20203. begin
  20204. if thebits = 0 then
  20205. pTDefRegMap(@Self)^.clr := $00000040
  20206. else
  20207. pTDefRegMap(@Self)^.&set := $00000040;
  20208. end;
  20209. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  20210. begin
  20211. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20212. end;
  20213. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  20214. begin
  20215. pTDefRegMap(@Self)^.val := thebits;
  20216. end;
  20217. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  20218. begin
  20219. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20220. end;
  20221. procedure TI2C2_I2CABSTAT.setTBF; inline;
  20222. begin
  20223. pTDefRegMap(@Self)^.&set := $00000001;
  20224. end;
  20225. procedure TI2C2_I2CABSTAT.clearTBF; inline;
  20226. begin
  20227. pTDefRegMap(@Self)^.clr := $00000001;
  20228. end;
  20229. procedure TI2C2_I2CABSTAT.setTBF(thebits : TBits_1); inline;
  20230. begin
  20231. if thebits = 0 then
  20232. pTDefRegMap(@Self)^.clr := $00000001
  20233. else
  20234. pTDefRegMap(@Self)^.&set := $00000001;
  20235. end;
  20236. function TI2C2_I2CABSTAT.getTBF : TBits_1; inline;
  20237. begin
  20238. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20239. end;
  20240. procedure TI2C2_I2CABSTAT.setRBF; inline;
  20241. begin
  20242. pTDefRegMap(@Self)^.&set := $00000002;
  20243. end;
  20244. procedure TI2C2_I2CABSTAT.clearRBF; inline;
  20245. begin
  20246. pTDefRegMap(@Self)^.clr := $00000002;
  20247. end;
  20248. procedure TI2C2_I2CABSTAT.setRBF(thebits : TBits_1); inline;
  20249. begin
  20250. if thebits = 0 then
  20251. pTDefRegMap(@Self)^.clr := $00000002
  20252. else
  20253. pTDefRegMap(@Self)^.&set := $00000002;
  20254. end;
  20255. function TI2C2_I2CABSTAT.getRBF : TBits_1; inline;
  20256. begin
  20257. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20258. end;
  20259. procedure TI2C2_I2CABSTAT.setR_W; inline;
  20260. begin
  20261. pTDefRegMap(@Self)^.&set := $00000004;
  20262. end;
  20263. procedure TI2C2_I2CABSTAT.clearR_W; inline;
  20264. begin
  20265. pTDefRegMap(@Self)^.clr := $00000004;
  20266. end;
  20267. procedure TI2C2_I2CABSTAT.setR_W(thebits : TBits_1); inline;
  20268. begin
  20269. if thebits = 0 then
  20270. pTDefRegMap(@Self)^.clr := $00000004
  20271. else
  20272. pTDefRegMap(@Self)^.&set := $00000004;
  20273. end;
  20274. function TI2C2_I2CABSTAT.getR_W : TBits_1; inline;
  20275. begin
  20276. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20277. end;
  20278. procedure TI2C2_I2CABSTAT.setS; inline;
  20279. begin
  20280. pTDefRegMap(@Self)^.&set := $00000008;
  20281. end;
  20282. procedure TI2C2_I2CABSTAT.clearS; inline;
  20283. begin
  20284. pTDefRegMap(@Self)^.clr := $00000008;
  20285. end;
  20286. procedure TI2C2_I2CABSTAT.setS(thebits : TBits_1); inline;
  20287. begin
  20288. if thebits = 0 then
  20289. pTDefRegMap(@Self)^.clr := $00000008
  20290. else
  20291. pTDefRegMap(@Self)^.&set := $00000008;
  20292. end;
  20293. function TI2C2_I2CABSTAT.getS : TBits_1; inline;
  20294. begin
  20295. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20296. end;
  20297. procedure TI2C2_I2CABSTAT.setP; inline;
  20298. begin
  20299. pTDefRegMap(@Self)^.&set := $00000010;
  20300. end;
  20301. procedure TI2C2_I2CABSTAT.clearP; inline;
  20302. begin
  20303. pTDefRegMap(@Self)^.clr := $00000010;
  20304. end;
  20305. procedure TI2C2_I2CABSTAT.setP(thebits : TBits_1); inline;
  20306. begin
  20307. if thebits = 0 then
  20308. pTDefRegMap(@Self)^.clr := $00000010
  20309. else
  20310. pTDefRegMap(@Self)^.&set := $00000010;
  20311. end;
  20312. function TI2C2_I2CABSTAT.getP : TBits_1; inline;
  20313. begin
  20314. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20315. end;
  20316. procedure TI2C2_I2CABSTAT.setD_A; inline;
  20317. begin
  20318. pTDefRegMap(@Self)^.&set := $00000020;
  20319. end;
  20320. procedure TI2C2_I2CABSTAT.clearD_A; inline;
  20321. begin
  20322. pTDefRegMap(@Self)^.clr := $00000020;
  20323. end;
  20324. procedure TI2C2_I2CABSTAT.setD_A(thebits : TBits_1); inline;
  20325. begin
  20326. if thebits = 0 then
  20327. pTDefRegMap(@Self)^.clr := $00000020
  20328. else
  20329. pTDefRegMap(@Self)^.&set := $00000020;
  20330. end;
  20331. function TI2C2_I2CABSTAT.getD_A : TBits_1; inline;
  20332. begin
  20333. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20334. end;
  20335. procedure TI2C2_I2CABSTAT.setI2COV; inline;
  20336. begin
  20337. pTDefRegMap(@Self)^.&set := $00000040;
  20338. end;
  20339. procedure TI2C2_I2CABSTAT.clearI2COV; inline;
  20340. begin
  20341. pTDefRegMap(@Self)^.clr := $00000040;
  20342. end;
  20343. procedure TI2C2_I2CABSTAT.setI2COV(thebits : TBits_1); inline;
  20344. begin
  20345. if thebits = 0 then
  20346. pTDefRegMap(@Self)^.clr := $00000040
  20347. else
  20348. pTDefRegMap(@Self)^.&set := $00000040;
  20349. end;
  20350. function TI2C2_I2CABSTAT.getI2COV : TBits_1; inline;
  20351. begin
  20352. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20353. end;
  20354. procedure TI2C2_I2CABSTAT.setIWCOL; inline;
  20355. begin
  20356. pTDefRegMap(@Self)^.&set := $00000080;
  20357. end;
  20358. procedure TI2C2_I2CABSTAT.clearIWCOL; inline;
  20359. begin
  20360. pTDefRegMap(@Self)^.clr := $00000080;
  20361. end;
  20362. procedure TI2C2_I2CABSTAT.setIWCOL(thebits : TBits_1); inline;
  20363. begin
  20364. if thebits = 0 then
  20365. pTDefRegMap(@Self)^.clr := $00000080
  20366. else
  20367. pTDefRegMap(@Self)^.&set := $00000080;
  20368. end;
  20369. function TI2C2_I2CABSTAT.getIWCOL : TBits_1; inline;
  20370. begin
  20371. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20372. end;
  20373. procedure TI2C2_I2CABSTAT.setADD10; inline;
  20374. begin
  20375. pTDefRegMap(@Self)^.&set := $00000100;
  20376. end;
  20377. procedure TI2C2_I2CABSTAT.clearADD10; inline;
  20378. begin
  20379. pTDefRegMap(@Self)^.clr := $00000100;
  20380. end;
  20381. procedure TI2C2_I2CABSTAT.setADD10(thebits : TBits_1); inline;
  20382. begin
  20383. if thebits = 0 then
  20384. pTDefRegMap(@Self)^.clr := $00000100
  20385. else
  20386. pTDefRegMap(@Self)^.&set := $00000100;
  20387. end;
  20388. function TI2C2_I2CABSTAT.getADD10 : TBits_1; inline;
  20389. begin
  20390. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20391. end;
  20392. procedure TI2C2_I2CABSTAT.setGCSTAT; inline;
  20393. begin
  20394. pTDefRegMap(@Self)^.&set := $00000200;
  20395. end;
  20396. procedure TI2C2_I2CABSTAT.clearGCSTAT; inline;
  20397. begin
  20398. pTDefRegMap(@Self)^.clr := $00000200;
  20399. end;
  20400. procedure TI2C2_I2CABSTAT.setGCSTAT(thebits : TBits_1); inline;
  20401. begin
  20402. if thebits = 0 then
  20403. pTDefRegMap(@Self)^.clr := $00000200
  20404. else
  20405. pTDefRegMap(@Self)^.&set := $00000200;
  20406. end;
  20407. function TI2C2_I2CABSTAT.getGCSTAT : TBits_1; inline;
  20408. begin
  20409. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20410. end;
  20411. procedure TI2C2_I2CABSTAT.setBCL; inline;
  20412. begin
  20413. pTDefRegMap(@Self)^.&set := $00000400;
  20414. end;
  20415. procedure TI2C2_I2CABSTAT.clearBCL; inline;
  20416. begin
  20417. pTDefRegMap(@Self)^.clr := $00000400;
  20418. end;
  20419. procedure TI2C2_I2CABSTAT.setBCL(thebits : TBits_1); inline;
  20420. begin
  20421. if thebits = 0 then
  20422. pTDefRegMap(@Self)^.clr := $00000400
  20423. else
  20424. pTDefRegMap(@Self)^.&set := $00000400;
  20425. end;
  20426. function TI2C2_I2CABSTAT.getBCL : TBits_1; inline;
  20427. begin
  20428. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20429. end;
  20430. procedure TI2C2_I2CABSTAT.setTRSTAT; inline;
  20431. begin
  20432. pTDefRegMap(@Self)^.&set := $00004000;
  20433. end;
  20434. procedure TI2C2_I2CABSTAT.clearTRSTAT; inline;
  20435. begin
  20436. pTDefRegMap(@Self)^.clr := $00004000;
  20437. end;
  20438. procedure TI2C2_I2CABSTAT.setTRSTAT(thebits : TBits_1); inline;
  20439. begin
  20440. if thebits = 0 then
  20441. pTDefRegMap(@Self)^.clr := $00004000
  20442. else
  20443. pTDefRegMap(@Self)^.&set := $00004000;
  20444. end;
  20445. function TI2C2_I2CABSTAT.getTRSTAT : TBits_1; inline;
  20446. begin
  20447. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20448. end;
  20449. procedure TI2C2_I2CABSTAT.setACKSTAT; inline;
  20450. begin
  20451. pTDefRegMap(@Self)^.&set := $00008000;
  20452. end;
  20453. procedure TI2C2_I2CABSTAT.clearACKSTAT; inline;
  20454. begin
  20455. pTDefRegMap(@Self)^.clr := $00008000;
  20456. end;
  20457. procedure TI2C2_I2CABSTAT.setACKSTAT(thebits : TBits_1); inline;
  20458. begin
  20459. if thebits = 0 then
  20460. pTDefRegMap(@Self)^.clr := $00008000
  20461. else
  20462. pTDefRegMap(@Self)^.&set := $00008000;
  20463. end;
  20464. function TI2C2_I2CABSTAT.getACKSTAT : TBits_1; inline;
  20465. begin
  20466. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20467. end;
  20468. procedure TI2C2_I2CABSTAT.setI2CPOV; inline;
  20469. begin
  20470. pTDefRegMap(@Self)^.&set := $00000040;
  20471. end;
  20472. procedure TI2C2_I2CABSTAT.clearI2CPOV; inline;
  20473. begin
  20474. pTDefRegMap(@Self)^.clr := $00000040;
  20475. end;
  20476. procedure TI2C2_I2CABSTAT.setI2CPOV(thebits : TBits_1); inline;
  20477. begin
  20478. if thebits = 0 then
  20479. pTDefRegMap(@Self)^.clr := $00000040
  20480. else
  20481. pTDefRegMap(@Self)^.&set := $00000040;
  20482. end;
  20483. function TI2C2_I2CABSTAT.getI2CPOV : TBits_1; inline;
  20484. begin
  20485. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20486. end;
  20487. procedure TI2C2_I2CABSTAT.setw(thebits : TBits_32); inline;
  20488. begin
  20489. pTDefRegMap(@Self)^.val := thebits;
  20490. end;
  20491. function TI2C2_I2CABSTAT.getw : TBits_32; inline;
  20492. begin
  20493. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20494. end;
  20495. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  20496. begin
  20497. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20498. end;
  20499. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  20500. begin
  20501. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20502. end;
  20503. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  20504. begin
  20505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  20506. end;
  20507. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  20508. begin
  20509. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  20510. end;
  20511. procedure TSPI1_SPI1CON.setDISSDI; inline;
  20512. begin
  20513. pTDefRegMap(@Self)^.&set := $00000010;
  20514. end;
  20515. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  20516. begin
  20517. pTDefRegMap(@Self)^.clr := $00000010;
  20518. end;
  20519. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  20520. begin
  20521. if thebits = 0 then
  20522. pTDefRegMap(@Self)^.clr := $00000010
  20523. else
  20524. pTDefRegMap(@Self)^.&set := $00000010;
  20525. end;
  20526. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  20527. begin
  20528. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20529. end;
  20530. procedure TSPI1_SPI1CON.setMSTEN; inline;
  20531. begin
  20532. pTDefRegMap(@Self)^.&set := $00000020;
  20533. end;
  20534. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  20535. begin
  20536. pTDefRegMap(@Self)^.clr := $00000020;
  20537. end;
  20538. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  20539. begin
  20540. if thebits = 0 then
  20541. pTDefRegMap(@Self)^.clr := $00000020
  20542. else
  20543. pTDefRegMap(@Self)^.&set := $00000020;
  20544. end;
  20545. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  20546. begin
  20547. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20548. end;
  20549. procedure TSPI1_SPI1CON.setCKP; inline;
  20550. begin
  20551. pTDefRegMap(@Self)^.&set := $00000040;
  20552. end;
  20553. procedure TSPI1_SPI1CON.clearCKP; inline;
  20554. begin
  20555. pTDefRegMap(@Self)^.clr := $00000040;
  20556. end;
  20557. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  20558. begin
  20559. if thebits = 0 then
  20560. pTDefRegMap(@Self)^.clr := $00000040
  20561. else
  20562. pTDefRegMap(@Self)^.&set := $00000040;
  20563. end;
  20564. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  20565. begin
  20566. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20567. end;
  20568. procedure TSPI1_SPI1CON.setSSEN; inline;
  20569. begin
  20570. pTDefRegMap(@Self)^.&set := $00000080;
  20571. end;
  20572. procedure TSPI1_SPI1CON.clearSSEN; inline;
  20573. begin
  20574. pTDefRegMap(@Self)^.clr := $00000080;
  20575. end;
  20576. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  20577. begin
  20578. if thebits = 0 then
  20579. pTDefRegMap(@Self)^.clr := $00000080
  20580. else
  20581. pTDefRegMap(@Self)^.&set := $00000080;
  20582. end;
  20583. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  20584. begin
  20585. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20586. end;
  20587. procedure TSPI1_SPI1CON.setCKE; inline;
  20588. begin
  20589. pTDefRegMap(@Self)^.&set := $00000100;
  20590. end;
  20591. procedure TSPI1_SPI1CON.clearCKE; inline;
  20592. begin
  20593. pTDefRegMap(@Self)^.clr := $00000100;
  20594. end;
  20595. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  20596. begin
  20597. if thebits = 0 then
  20598. pTDefRegMap(@Self)^.clr := $00000100
  20599. else
  20600. pTDefRegMap(@Self)^.&set := $00000100;
  20601. end;
  20602. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  20603. begin
  20604. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20605. end;
  20606. procedure TSPI1_SPI1CON.setSMP; inline;
  20607. begin
  20608. pTDefRegMap(@Self)^.&set := $00000200;
  20609. end;
  20610. procedure TSPI1_SPI1CON.clearSMP; inline;
  20611. begin
  20612. pTDefRegMap(@Self)^.clr := $00000200;
  20613. end;
  20614. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  20615. begin
  20616. if thebits = 0 then
  20617. pTDefRegMap(@Self)^.clr := $00000200
  20618. else
  20619. pTDefRegMap(@Self)^.&set := $00000200;
  20620. end;
  20621. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  20622. begin
  20623. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20624. end;
  20625. procedure TSPI1_SPI1CON.setMODE16; inline;
  20626. begin
  20627. pTDefRegMap(@Self)^.&set := $00000400;
  20628. end;
  20629. procedure TSPI1_SPI1CON.clearMODE16; inline;
  20630. begin
  20631. pTDefRegMap(@Self)^.clr := $00000400;
  20632. end;
  20633. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  20634. begin
  20635. if thebits = 0 then
  20636. pTDefRegMap(@Self)^.clr := $00000400
  20637. else
  20638. pTDefRegMap(@Self)^.&set := $00000400;
  20639. end;
  20640. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  20641. begin
  20642. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20643. end;
  20644. procedure TSPI1_SPI1CON.setMODE32; inline;
  20645. begin
  20646. pTDefRegMap(@Self)^.&set := $00000800;
  20647. end;
  20648. procedure TSPI1_SPI1CON.clearMODE32; inline;
  20649. begin
  20650. pTDefRegMap(@Self)^.clr := $00000800;
  20651. end;
  20652. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  20653. begin
  20654. if thebits = 0 then
  20655. pTDefRegMap(@Self)^.clr := $00000800
  20656. else
  20657. pTDefRegMap(@Self)^.&set := $00000800;
  20658. end;
  20659. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  20660. begin
  20661. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20662. end;
  20663. procedure TSPI1_SPI1CON.setDISSDO; inline;
  20664. begin
  20665. pTDefRegMap(@Self)^.&set := $00001000;
  20666. end;
  20667. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  20668. begin
  20669. pTDefRegMap(@Self)^.clr := $00001000;
  20670. end;
  20671. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  20672. begin
  20673. if thebits = 0 then
  20674. pTDefRegMap(@Self)^.clr := $00001000
  20675. else
  20676. pTDefRegMap(@Self)^.&set := $00001000;
  20677. end;
  20678. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  20679. begin
  20680. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20681. end;
  20682. procedure TSPI1_SPI1CON.setSIDL; inline;
  20683. begin
  20684. pTDefRegMap(@Self)^.&set := $00002000;
  20685. end;
  20686. procedure TSPI1_SPI1CON.clearSIDL; inline;
  20687. begin
  20688. pTDefRegMap(@Self)^.clr := $00002000;
  20689. end;
  20690. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  20691. begin
  20692. if thebits = 0 then
  20693. pTDefRegMap(@Self)^.clr := $00002000
  20694. else
  20695. pTDefRegMap(@Self)^.&set := $00002000;
  20696. end;
  20697. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  20698. begin
  20699. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20700. end;
  20701. procedure TSPI1_SPI1CON.setON; inline;
  20702. begin
  20703. pTDefRegMap(@Self)^.&set := $00008000;
  20704. end;
  20705. procedure TSPI1_SPI1CON.clearON; inline;
  20706. begin
  20707. pTDefRegMap(@Self)^.clr := $00008000;
  20708. end;
  20709. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  20710. begin
  20711. if thebits = 0 then
  20712. pTDefRegMap(@Self)^.clr := $00008000
  20713. else
  20714. pTDefRegMap(@Self)^.&set := $00008000;
  20715. end;
  20716. function TSPI1_SPI1CON.getON : TBits_1; inline;
  20717. begin
  20718. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20719. end;
  20720. procedure TSPI1_SPI1CON.setENHBUF; inline;
  20721. begin
  20722. pTDefRegMap(@Self)^.&set := $00010000;
  20723. end;
  20724. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  20725. begin
  20726. pTDefRegMap(@Self)^.clr := $00010000;
  20727. end;
  20728. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  20729. begin
  20730. if thebits = 0 then
  20731. pTDefRegMap(@Self)^.clr := $00010000
  20732. else
  20733. pTDefRegMap(@Self)^.&set := $00010000;
  20734. end;
  20735. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  20736. begin
  20737. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  20738. end;
  20739. procedure TSPI1_SPI1CON.setSPIFE; inline;
  20740. begin
  20741. pTDefRegMap(@Self)^.&set := $00020000;
  20742. end;
  20743. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  20744. begin
  20745. pTDefRegMap(@Self)^.clr := $00020000;
  20746. end;
  20747. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  20748. begin
  20749. if thebits = 0 then
  20750. pTDefRegMap(@Self)^.clr := $00020000
  20751. else
  20752. pTDefRegMap(@Self)^.&set := $00020000;
  20753. end;
  20754. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  20755. begin
  20756. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20757. end;
  20758. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  20759. begin
  20760. pTDefRegMap(@Self)^.&set := $00800000;
  20761. end;
  20762. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  20763. begin
  20764. pTDefRegMap(@Self)^.clr := $00800000;
  20765. end;
  20766. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  20767. begin
  20768. if thebits = 0 then
  20769. pTDefRegMap(@Self)^.clr := $00800000
  20770. else
  20771. pTDefRegMap(@Self)^.&set := $00800000;
  20772. end;
  20773. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  20774. begin
  20775. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  20776. end;
  20777. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  20778. begin
  20779. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  20780. end;
  20781. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  20782. begin
  20783. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  20784. end;
  20785. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  20786. begin
  20787. pTDefRegMap(@Self)^.&set := $08000000;
  20788. end;
  20789. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  20790. begin
  20791. pTDefRegMap(@Self)^.clr := $08000000;
  20792. end;
  20793. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  20794. begin
  20795. if thebits = 0 then
  20796. pTDefRegMap(@Self)^.clr := $08000000
  20797. else
  20798. pTDefRegMap(@Self)^.&set := $08000000;
  20799. end;
  20800. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  20801. begin
  20802. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  20803. end;
  20804. procedure TSPI1_SPI1CON.setMSSEN; inline;
  20805. begin
  20806. pTDefRegMap(@Self)^.&set := $10000000;
  20807. end;
  20808. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  20809. begin
  20810. pTDefRegMap(@Self)^.clr := $10000000;
  20811. end;
  20812. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  20813. begin
  20814. if thebits = 0 then
  20815. pTDefRegMap(@Self)^.clr := $10000000
  20816. else
  20817. pTDefRegMap(@Self)^.&set := $10000000;
  20818. end;
  20819. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  20820. begin
  20821. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  20822. end;
  20823. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  20824. begin
  20825. pTDefRegMap(@Self)^.&set := $20000000;
  20826. end;
  20827. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  20828. begin
  20829. pTDefRegMap(@Self)^.clr := $20000000;
  20830. end;
  20831. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  20832. begin
  20833. if thebits = 0 then
  20834. pTDefRegMap(@Self)^.clr := $20000000
  20835. else
  20836. pTDefRegMap(@Self)^.&set := $20000000;
  20837. end;
  20838. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  20839. begin
  20840. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  20841. end;
  20842. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  20843. begin
  20844. pTDefRegMap(@Self)^.&set := $40000000;
  20845. end;
  20846. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  20847. begin
  20848. pTDefRegMap(@Self)^.clr := $40000000;
  20849. end;
  20850. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  20851. begin
  20852. if thebits = 0 then
  20853. pTDefRegMap(@Self)^.clr := $40000000
  20854. else
  20855. pTDefRegMap(@Self)^.&set := $40000000;
  20856. end;
  20857. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  20858. begin
  20859. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  20860. end;
  20861. procedure TSPI1_SPI1CON.setFRMEN; inline;
  20862. begin
  20863. pTDefRegMap(@Self)^.&set := $80000000;
  20864. end;
  20865. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  20866. begin
  20867. pTDefRegMap(@Self)^.clr := $80000000;
  20868. end;
  20869. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  20870. begin
  20871. if thebits = 0 then
  20872. pTDefRegMap(@Self)^.clr := $80000000
  20873. else
  20874. pTDefRegMap(@Self)^.&set := $80000000;
  20875. end;
  20876. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  20877. begin
  20878. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  20879. end;
  20880. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  20881. begin
  20882. pTDefRegMap(@Self)^.val := thebits;
  20883. end;
  20884. function TSPI1_SPI1CON.getw : TBits_32; inline;
  20885. begin
  20886. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20887. end;
  20888. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  20889. begin
  20890. pTDefRegMap(@Self)^.&set := $00000001;
  20891. end;
  20892. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  20893. begin
  20894. pTDefRegMap(@Self)^.clr := $00000001;
  20895. end;
  20896. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  20897. begin
  20898. if thebits = 0 then
  20899. pTDefRegMap(@Self)^.clr := $00000001
  20900. else
  20901. pTDefRegMap(@Self)^.&set := $00000001;
  20902. end;
  20903. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  20904. begin
  20905. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20906. end;
  20907. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  20908. begin
  20909. pTDefRegMap(@Self)^.&set := $00000002;
  20910. end;
  20911. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  20912. begin
  20913. pTDefRegMap(@Self)^.clr := $00000002;
  20914. end;
  20915. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  20916. begin
  20917. if thebits = 0 then
  20918. pTDefRegMap(@Self)^.clr := $00000002
  20919. else
  20920. pTDefRegMap(@Self)^.&set := $00000002;
  20921. end;
  20922. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  20923. begin
  20924. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20925. end;
  20926. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  20927. begin
  20928. pTDefRegMap(@Self)^.&set := $00000008;
  20929. end;
  20930. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  20931. begin
  20932. pTDefRegMap(@Self)^.clr := $00000008;
  20933. end;
  20934. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  20935. begin
  20936. if thebits = 0 then
  20937. pTDefRegMap(@Self)^.clr := $00000008
  20938. else
  20939. pTDefRegMap(@Self)^.&set := $00000008;
  20940. end;
  20941. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  20942. begin
  20943. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20944. end;
  20945. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  20946. begin
  20947. pTDefRegMap(@Self)^.&set := $00000020;
  20948. end;
  20949. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  20950. begin
  20951. pTDefRegMap(@Self)^.clr := $00000020;
  20952. end;
  20953. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  20954. begin
  20955. if thebits = 0 then
  20956. pTDefRegMap(@Self)^.clr := $00000020
  20957. else
  20958. pTDefRegMap(@Self)^.&set := $00000020;
  20959. end;
  20960. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  20961. begin
  20962. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20963. end;
  20964. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  20965. begin
  20966. pTDefRegMap(@Self)^.&set := $00000040;
  20967. end;
  20968. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  20969. begin
  20970. pTDefRegMap(@Self)^.clr := $00000040;
  20971. end;
  20972. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  20973. begin
  20974. if thebits = 0 then
  20975. pTDefRegMap(@Self)^.clr := $00000040
  20976. else
  20977. pTDefRegMap(@Self)^.&set := $00000040;
  20978. end;
  20979. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  20980. begin
  20981. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20982. end;
  20983. procedure TSPI1_SPI1STAT.setSRMT; inline;
  20984. begin
  20985. pTDefRegMap(@Self)^.&set := $00000080;
  20986. end;
  20987. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  20988. begin
  20989. pTDefRegMap(@Self)^.clr := $00000080;
  20990. end;
  20991. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  20992. begin
  20993. if thebits = 0 then
  20994. pTDefRegMap(@Self)^.clr := $00000080
  20995. else
  20996. pTDefRegMap(@Self)^.&set := $00000080;
  20997. end;
  20998. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  20999. begin
  21000. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21001. end;
  21002. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  21003. begin
  21004. pTDefRegMap(@Self)^.&set := $00000100;
  21005. end;
  21006. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  21007. begin
  21008. pTDefRegMap(@Self)^.clr := $00000100;
  21009. end;
  21010. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  21011. begin
  21012. if thebits = 0 then
  21013. pTDefRegMap(@Self)^.clr := $00000100
  21014. else
  21015. pTDefRegMap(@Self)^.&set := $00000100;
  21016. end;
  21017. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  21018. begin
  21019. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21020. end;
  21021. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  21022. begin
  21023. pTDefRegMap(@Self)^.&set := $00000800;
  21024. end;
  21025. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  21026. begin
  21027. pTDefRegMap(@Self)^.clr := $00000800;
  21028. end;
  21029. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  21030. begin
  21031. if thebits = 0 then
  21032. pTDefRegMap(@Self)^.clr := $00000800
  21033. else
  21034. pTDefRegMap(@Self)^.&set := $00000800;
  21035. end;
  21036. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  21037. begin
  21038. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21039. end;
  21040. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  21041. begin
  21042. pTDefRegMap(@Self)^.&set := $00001000;
  21043. end;
  21044. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  21045. begin
  21046. pTDefRegMap(@Self)^.clr := $00001000;
  21047. end;
  21048. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  21049. begin
  21050. if thebits = 0 then
  21051. pTDefRegMap(@Self)^.clr := $00001000
  21052. else
  21053. pTDefRegMap(@Self)^.&set := $00001000;
  21054. end;
  21055. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  21056. begin
  21057. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21058. end;
  21059. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  21060. begin
  21061. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  21062. end;
  21063. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  21064. begin
  21065. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  21066. end;
  21067. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  21068. begin
  21069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  21070. end;
  21071. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  21072. begin
  21073. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  21074. end;
  21075. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  21076. begin
  21077. pTDefRegMap(@Self)^.val := thebits;
  21078. end;
  21079. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  21080. begin
  21081. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21082. end;
  21083. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  21084. begin
  21085. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21086. end;
  21087. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  21088. begin
  21089. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21090. end;
  21091. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  21092. begin
  21093. pTDefRegMap(@Self)^.&set := $00000008;
  21094. end;
  21095. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  21096. begin
  21097. pTDefRegMap(@Self)^.clr := $00000008;
  21098. end;
  21099. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  21100. begin
  21101. if thebits = 0 then
  21102. pTDefRegMap(@Self)^.clr := $00000008
  21103. else
  21104. pTDefRegMap(@Self)^.&set := $00000008;
  21105. end;
  21106. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  21107. begin
  21108. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21109. end;
  21110. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  21111. begin
  21112. pTDefRegMap(@Self)^.&set := $00000080;
  21113. end;
  21114. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  21115. begin
  21116. pTDefRegMap(@Self)^.clr := $00000080;
  21117. end;
  21118. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  21119. begin
  21120. if thebits = 0 then
  21121. pTDefRegMap(@Self)^.clr := $00000080
  21122. else
  21123. pTDefRegMap(@Self)^.&set := $00000080;
  21124. end;
  21125. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  21126. begin
  21127. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21128. end;
  21129. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  21130. begin
  21131. pTDefRegMap(@Self)^.&set := $00000100;
  21132. end;
  21133. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  21134. begin
  21135. pTDefRegMap(@Self)^.clr := $00000100;
  21136. end;
  21137. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  21138. begin
  21139. if thebits = 0 then
  21140. pTDefRegMap(@Self)^.clr := $00000100
  21141. else
  21142. pTDefRegMap(@Self)^.&set := $00000100;
  21143. end;
  21144. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  21145. begin
  21146. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21147. end;
  21148. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  21149. begin
  21150. pTDefRegMap(@Self)^.&set := $00000200;
  21151. end;
  21152. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  21153. begin
  21154. pTDefRegMap(@Self)^.clr := $00000200;
  21155. end;
  21156. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  21157. begin
  21158. if thebits = 0 then
  21159. pTDefRegMap(@Self)^.clr := $00000200
  21160. else
  21161. pTDefRegMap(@Self)^.&set := $00000200;
  21162. end;
  21163. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  21164. begin
  21165. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21166. end;
  21167. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  21168. begin
  21169. pTDefRegMap(@Self)^.&set := $00000400;
  21170. end;
  21171. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  21172. begin
  21173. pTDefRegMap(@Self)^.clr := $00000400;
  21174. end;
  21175. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  21176. begin
  21177. if thebits = 0 then
  21178. pTDefRegMap(@Self)^.clr := $00000400
  21179. else
  21180. pTDefRegMap(@Self)^.&set := $00000400;
  21181. end;
  21182. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  21183. begin
  21184. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21185. end;
  21186. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  21187. begin
  21188. pTDefRegMap(@Self)^.&set := $00000800;
  21189. end;
  21190. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  21191. begin
  21192. pTDefRegMap(@Self)^.clr := $00000800;
  21193. end;
  21194. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  21195. begin
  21196. if thebits = 0 then
  21197. pTDefRegMap(@Self)^.clr := $00000800
  21198. else
  21199. pTDefRegMap(@Self)^.&set := $00000800;
  21200. end;
  21201. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  21202. begin
  21203. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21204. end;
  21205. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  21206. begin
  21207. pTDefRegMap(@Self)^.&set := $00001000;
  21208. end;
  21209. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  21210. begin
  21211. pTDefRegMap(@Self)^.clr := $00001000;
  21212. end;
  21213. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  21214. begin
  21215. if thebits = 0 then
  21216. pTDefRegMap(@Self)^.clr := $00001000
  21217. else
  21218. pTDefRegMap(@Self)^.&set := $00001000;
  21219. end;
  21220. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  21221. begin
  21222. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21223. end;
  21224. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  21225. begin
  21226. pTDefRegMap(@Self)^.&set := $00008000;
  21227. end;
  21228. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  21229. begin
  21230. pTDefRegMap(@Self)^.clr := $00008000;
  21231. end;
  21232. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  21233. begin
  21234. if thebits = 0 then
  21235. pTDefRegMap(@Self)^.clr := $00008000
  21236. else
  21237. pTDefRegMap(@Self)^.&set := $00008000;
  21238. end;
  21239. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  21240. begin
  21241. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21242. end;
  21243. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  21244. begin
  21245. pTDefRegMap(@Self)^.&set := $00000001;
  21246. end;
  21247. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  21248. begin
  21249. pTDefRegMap(@Self)^.clr := $00000001;
  21250. end;
  21251. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  21252. begin
  21253. if thebits = 0 then
  21254. pTDefRegMap(@Self)^.clr := $00000001
  21255. else
  21256. pTDefRegMap(@Self)^.&set := $00000001;
  21257. end;
  21258. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  21259. begin
  21260. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21261. end;
  21262. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  21263. begin
  21264. pTDefRegMap(@Self)^.&set := $00000002;
  21265. end;
  21266. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  21267. begin
  21268. pTDefRegMap(@Self)^.clr := $00000002;
  21269. end;
  21270. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  21271. begin
  21272. if thebits = 0 then
  21273. pTDefRegMap(@Self)^.clr := $00000002
  21274. else
  21275. pTDefRegMap(@Self)^.&set := $00000002;
  21276. end;
  21277. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  21278. begin
  21279. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21280. end;
  21281. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  21282. begin
  21283. pTDefRegMap(@Self)^.val := thebits;
  21284. end;
  21285. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  21286. begin
  21287. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21288. end;
  21289. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  21290. begin
  21291. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21292. end;
  21293. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  21294. begin
  21295. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21296. end;
  21297. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  21298. begin
  21299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  21300. end;
  21301. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  21302. begin
  21303. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  21304. end;
  21305. procedure TSPI2_SPI2CON.setDISSDI; inline;
  21306. begin
  21307. pTDefRegMap(@Self)^.&set := $00000010;
  21308. end;
  21309. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  21310. begin
  21311. pTDefRegMap(@Self)^.clr := $00000010;
  21312. end;
  21313. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  21314. begin
  21315. if thebits = 0 then
  21316. pTDefRegMap(@Self)^.clr := $00000010
  21317. else
  21318. pTDefRegMap(@Self)^.&set := $00000010;
  21319. end;
  21320. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  21321. begin
  21322. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21323. end;
  21324. procedure TSPI2_SPI2CON.setMSTEN; inline;
  21325. begin
  21326. pTDefRegMap(@Self)^.&set := $00000020;
  21327. end;
  21328. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  21329. begin
  21330. pTDefRegMap(@Self)^.clr := $00000020;
  21331. end;
  21332. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  21333. begin
  21334. if thebits = 0 then
  21335. pTDefRegMap(@Self)^.clr := $00000020
  21336. else
  21337. pTDefRegMap(@Self)^.&set := $00000020;
  21338. end;
  21339. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  21340. begin
  21341. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21342. end;
  21343. procedure TSPI2_SPI2CON.setCKP; inline;
  21344. begin
  21345. pTDefRegMap(@Self)^.&set := $00000040;
  21346. end;
  21347. procedure TSPI2_SPI2CON.clearCKP; inline;
  21348. begin
  21349. pTDefRegMap(@Self)^.clr := $00000040;
  21350. end;
  21351. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  21352. begin
  21353. if thebits = 0 then
  21354. pTDefRegMap(@Self)^.clr := $00000040
  21355. else
  21356. pTDefRegMap(@Self)^.&set := $00000040;
  21357. end;
  21358. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  21359. begin
  21360. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21361. end;
  21362. procedure TSPI2_SPI2CON.setSSEN; inline;
  21363. begin
  21364. pTDefRegMap(@Self)^.&set := $00000080;
  21365. end;
  21366. procedure TSPI2_SPI2CON.clearSSEN; inline;
  21367. begin
  21368. pTDefRegMap(@Self)^.clr := $00000080;
  21369. end;
  21370. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  21371. begin
  21372. if thebits = 0 then
  21373. pTDefRegMap(@Self)^.clr := $00000080
  21374. else
  21375. pTDefRegMap(@Self)^.&set := $00000080;
  21376. end;
  21377. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  21378. begin
  21379. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21380. end;
  21381. procedure TSPI2_SPI2CON.setCKE; inline;
  21382. begin
  21383. pTDefRegMap(@Self)^.&set := $00000100;
  21384. end;
  21385. procedure TSPI2_SPI2CON.clearCKE; inline;
  21386. begin
  21387. pTDefRegMap(@Self)^.clr := $00000100;
  21388. end;
  21389. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  21390. begin
  21391. if thebits = 0 then
  21392. pTDefRegMap(@Self)^.clr := $00000100
  21393. else
  21394. pTDefRegMap(@Self)^.&set := $00000100;
  21395. end;
  21396. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  21397. begin
  21398. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21399. end;
  21400. procedure TSPI2_SPI2CON.setSMP; inline;
  21401. begin
  21402. pTDefRegMap(@Self)^.&set := $00000200;
  21403. end;
  21404. procedure TSPI2_SPI2CON.clearSMP; inline;
  21405. begin
  21406. pTDefRegMap(@Self)^.clr := $00000200;
  21407. end;
  21408. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  21409. begin
  21410. if thebits = 0 then
  21411. pTDefRegMap(@Self)^.clr := $00000200
  21412. else
  21413. pTDefRegMap(@Self)^.&set := $00000200;
  21414. end;
  21415. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  21416. begin
  21417. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21418. end;
  21419. procedure TSPI2_SPI2CON.setMODE16; inline;
  21420. begin
  21421. pTDefRegMap(@Self)^.&set := $00000400;
  21422. end;
  21423. procedure TSPI2_SPI2CON.clearMODE16; inline;
  21424. begin
  21425. pTDefRegMap(@Self)^.clr := $00000400;
  21426. end;
  21427. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  21428. begin
  21429. if thebits = 0 then
  21430. pTDefRegMap(@Self)^.clr := $00000400
  21431. else
  21432. pTDefRegMap(@Self)^.&set := $00000400;
  21433. end;
  21434. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  21435. begin
  21436. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21437. end;
  21438. procedure TSPI2_SPI2CON.setMODE32; inline;
  21439. begin
  21440. pTDefRegMap(@Self)^.&set := $00000800;
  21441. end;
  21442. procedure TSPI2_SPI2CON.clearMODE32; inline;
  21443. begin
  21444. pTDefRegMap(@Self)^.clr := $00000800;
  21445. end;
  21446. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  21447. begin
  21448. if thebits = 0 then
  21449. pTDefRegMap(@Self)^.clr := $00000800
  21450. else
  21451. pTDefRegMap(@Self)^.&set := $00000800;
  21452. end;
  21453. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  21454. begin
  21455. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21456. end;
  21457. procedure TSPI2_SPI2CON.setDISSDO; inline;
  21458. begin
  21459. pTDefRegMap(@Self)^.&set := $00001000;
  21460. end;
  21461. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  21462. begin
  21463. pTDefRegMap(@Self)^.clr := $00001000;
  21464. end;
  21465. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  21466. begin
  21467. if thebits = 0 then
  21468. pTDefRegMap(@Self)^.clr := $00001000
  21469. else
  21470. pTDefRegMap(@Self)^.&set := $00001000;
  21471. end;
  21472. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  21473. begin
  21474. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21475. end;
  21476. procedure TSPI2_SPI2CON.setSIDL; inline;
  21477. begin
  21478. pTDefRegMap(@Self)^.&set := $00002000;
  21479. end;
  21480. procedure TSPI2_SPI2CON.clearSIDL; inline;
  21481. begin
  21482. pTDefRegMap(@Self)^.clr := $00002000;
  21483. end;
  21484. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  21485. begin
  21486. if thebits = 0 then
  21487. pTDefRegMap(@Self)^.clr := $00002000
  21488. else
  21489. pTDefRegMap(@Self)^.&set := $00002000;
  21490. end;
  21491. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  21492. begin
  21493. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21494. end;
  21495. procedure TSPI2_SPI2CON.setON; inline;
  21496. begin
  21497. pTDefRegMap(@Self)^.&set := $00008000;
  21498. end;
  21499. procedure TSPI2_SPI2CON.clearON; inline;
  21500. begin
  21501. pTDefRegMap(@Self)^.clr := $00008000;
  21502. end;
  21503. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  21504. begin
  21505. if thebits = 0 then
  21506. pTDefRegMap(@Self)^.clr := $00008000
  21507. else
  21508. pTDefRegMap(@Self)^.&set := $00008000;
  21509. end;
  21510. function TSPI2_SPI2CON.getON : TBits_1; inline;
  21511. begin
  21512. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21513. end;
  21514. procedure TSPI2_SPI2CON.setENHBUF; inline;
  21515. begin
  21516. pTDefRegMap(@Self)^.&set := $00010000;
  21517. end;
  21518. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  21519. begin
  21520. pTDefRegMap(@Self)^.clr := $00010000;
  21521. end;
  21522. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  21523. begin
  21524. if thebits = 0 then
  21525. pTDefRegMap(@Self)^.clr := $00010000
  21526. else
  21527. pTDefRegMap(@Self)^.&set := $00010000;
  21528. end;
  21529. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  21530. begin
  21531. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  21532. end;
  21533. procedure TSPI2_SPI2CON.setSPIFE; inline;
  21534. begin
  21535. pTDefRegMap(@Self)^.&set := $00020000;
  21536. end;
  21537. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  21538. begin
  21539. pTDefRegMap(@Self)^.clr := $00020000;
  21540. end;
  21541. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  21542. begin
  21543. if thebits = 0 then
  21544. pTDefRegMap(@Self)^.clr := $00020000
  21545. else
  21546. pTDefRegMap(@Self)^.&set := $00020000;
  21547. end;
  21548. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  21549. begin
  21550. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  21551. end;
  21552. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  21553. begin
  21554. pTDefRegMap(@Self)^.&set := $00800000;
  21555. end;
  21556. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  21557. begin
  21558. pTDefRegMap(@Self)^.clr := $00800000;
  21559. end;
  21560. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  21561. begin
  21562. if thebits = 0 then
  21563. pTDefRegMap(@Self)^.clr := $00800000
  21564. else
  21565. pTDefRegMap(@Self)^.&set := $00800000;
  21566. end;
  21567. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  21568. begin
  21569. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  21570. end;
  21571. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  21572. begin
  21573. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  21574. end;
  21575. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  21576. begin
  21577. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  21578. end;
  21579. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  21580. begin
  21581. pTDefRegMap(@Self)^.&set := $08000000;
  21582. end;
  21583. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  21584. begin
  21585. pTDefRegMap(@Self)^.clr := $08000000;
  21586. end;
  21587. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  21588. begin
  21589. if thebits = 0 then
  21590. pTDefRegMap(@Self)^.clr := $08000000
  21591. else
  21592. pTDefRegMap(@Self)^.&set := $08000000;
  21593. end;
  21594. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  21595. begin
  21596. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  21597. end;
  21598. procedure TSPI2_SPI2CON.setMSSEN; inline;
  21599. begin
  21600. pTDefRegMap(@Self)^.&set := $10000000;
  21601. end;
  21602. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  21603. begin
  21604. pTDefRegMap(@Self)^.clr := $10000000;
  21605. end;
  21606. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  21607. begin
  21608. if thebits = 0 then
  21609. pTDefRegMap(@Self)^.clr := $10000000
  21610. else
  21611. pTDefRegMap(@Self)^.&set := $10000000;
  21612. end;
  21613. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  21614. begin
  21615. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  21616. end;
  21617. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  21618. begin
  21619. pTDefRegMap(@Self)^.&set := $20000000;
  21620. end;
  21621. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  21622. begin
  21623. pTDefRegMap(@Self)^.clr := $20000000;
  21624. end;
  21625. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  21626. begin
  21627. if thebits = 0 then
  21628. pTDefRegMap(@Self)^.clr := $20000000
  21629. else
  21630. pTDefRegMap(@Self)^.&set := $20000000;
  21631. end;
  21632. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  21633. begin
  21634. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  21635. end;
  21636. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  21637. begin
  21638. pTDefRegMap(@Self)^.&set := $40000000;
  21639. end;
  21640. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  21641. begin
  21642. pTDefRegMap(@Self)^.clr := $40000000;
  21643. end;
  21644. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  21645. begin
  21646. if thebits = 0 then
  21647. pTDefRegMap(@Self)^.clr := $40000000
  21648. else
  21649. pTDefRegMap(@Self)^.&set := $40000000;
  21650. end;
  21651. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  21652. begin
  21653. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  21654. end;
  21655. procedure TSPI2_SPI2CON.setFRMEN; inline;
  21656. begin
  21657. pTDefRegMap(@Self)^.&set := $80000000;
  21658. end;
  21659. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  21660. begin
  21661. pTDefRegMap(@Self)^.clr := $80000000;
  21662. end;
  21663. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  21664. begin
  21665. if thebits = 0 then
  21666. pTDefRegMap(@Self)^.clr := $80000000
  21667. else
  21668. pTDefRegMap(@Self)^.&set := $80000000;
  21669. end;
  21670. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  21671. begin
  21672. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  21673. end;
  21674. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  21675. begin
  21676. pTDefRegMap(@Self)^.val := thebits;
  21677. end;
  21678. function TSPI2_SPI2CON.getw : TBits_32; inline;
  21679. begin
  21680. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21681. end;
  21682. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  21683. begin
  21684. pTDefRegMap(@Self)^.&set := $00000001;
  21685. end;
  21686. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  21687. begin
  21688. pTDefRegMap(@Self)^.clr := $00000001;
  21689. end;
  21690. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  21691. begin
  21692. if thebits = 0 then
  21693. pTDefRegMap(@Self)^.clr := $00000001
  21694. else
  21695. pTDefRegMap(@Self)^.&set := $00000001;
  21696. end;
  21697. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  21698. begin
  21699. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21700. end;
  21701. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  21702. begin
  21703. pTDefRegMap(@Self)^.&set := $00000002;
  21704. end;
  21705. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  21706. begin
  21707. pTDefRegMap(@Self)^.clr := $00000002;
  21708. end;
  21709. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  21710. begin
  21711. if thebits = 0 then
  21712. pTDefRegMap(@Self)^.clr := $00000002
  21713. else
  21714. pTDefRegMap(@Self)^.&set := $00000002;
  21715. end;
  21716. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  21717. begin
  21718. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21719. end;
  21720. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  21721. begin
  21722. pTDefRegMap(@Self)^.&set := $00000008;
  21723. end;
  21724. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  21725. begin
  21726. pTDefRegMap(@Self)^.clr := $00000008;
  21727. end;
  21728. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  21729. begin
  21730. if thebits = 0 then
  21731. pTDefRegMap(@Self)^.clr := $00000008
  21732. else
  21733. pTDefRegMap(@Self)^.&set := $00000008;
  21734. end;
  21735. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  21736. begin
  21737. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21738. end;
  21739. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  21740. begin
  21741. pTDefRegMap(@Self)^.&set := $00000020;
  21742. end;
  21743. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  21744. begin
  21745. pTDefRegMap(@Self)^.clr := $00000020;
  21746. end;
  21747. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  21748. begin
  21749. if thebits = 0 then
  21750. pTDefRegMap(@Self)^.clr := $00000020
  21751. else
  21752. pTDefRegMap(@Self)^.&set := $00000020;
  21753. end;
  21754. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  21755. begin
  21756. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21757. end;
  21758. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  21759. begin
  21760. pTDefRegMap(@Self)^.&set := $00000040;
  21761. end;
  21762. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  21763. begin
  21764. pTDefRegMap(@Self)^.clr := $00000040;
  21765. end;
  21766. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  21767. begin
  21768. if thebits = 0 then
  21769. pTDefRegMap(@Self)^.clr := $00000040
  21770. else
  21771. pTDefRegMap(@Self)^.&set := $00000040;
  21772. end;
  21773. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  21774. begin
  21775. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21776. end;
  21777. procedure TSPI2_SPI2STAT.setSRMT; inline;
  21778. begin
  21779. pTDefRegMap(@Self)^.&set := $00000080;
  21780. end;
  21781. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  21782. begin
  21783. pTDefRegMap(@Self)^.clr := $00000080;
  21784. end;
  21785. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  21786. begin
  21787. if thebits = 0 then
  21788. pTDefRegMap(@Self)^.clr := $00000080
  21789. else
  21790. pTDefRegMap(@Self)^.&set := $00000080;
  21791. end;
  21792. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  21793. begin
  21794. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21795. end;
  21796. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  21797. begin
  21798. pTDefRegMap(@Self)^.&set := $00000100;
  21799. end;
  21800. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  21801. begin
  21802. pTDefRegMap(@Self)^.clr := $00000100;
  21803. end;
  21804. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  21805. begin
  21806. if thebits = 0 then
  21807. pTDefRegMap(@Self)^.clr := $00000100
  21808. else
  21809. pTDefRegMap(@Self)^.&set := $00000100;
  21810. end;
  21811. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  21812. begin
  21813. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21814. end;
  21815. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  21816. begin
  21817. pTDefRegMap(@Self)^.&set := $00000800;
  21818. end;
  21819. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  21820. begin
  21821. pTDefRegMap(@Self)^.clr := $00000800;
  21822. end;
  21823. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  21824. begin
  21825. if thebits = 0 then
  21826. pTDefRegMap(@Self)^.clr := $00000800
  21827. else
  21828. pTDefRegMap(@Self)^.&set := $00000800;
  21829. end;
  21830. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  21831. begin
  21832. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21833. end;
  21834. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  21835. begin
  21836. pTDefRegMap(@Self)^.&set := $00001000;
  21837. end;
  21838. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  21839. begin
  21840. pTDefRegMap(@Self)^.clr := $00001000;
  21841. end;
  21842. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  21843. begin
  21844. if thebits = 0 then
  21845. pTDefRegMap(@Self)^.clr := $00001000
  21846. else
  21847. pTDefRegMap(@Self)^.&set := $00001000;
  21848. end;
  21849. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  21850. begin
  21851. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21852. end;
  21853. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  21854. begin
  21855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  21856. end;
  21857. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  21858. begin
  21859. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  21860. end;
  21861. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  21862. begin
  21863. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  21864. end;
  21865. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  21866. begin
  21867. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  21868. end;
  21869. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  21870. begin
  21871. pTDefRegMap(@Self)^.val := thebits;
  21872. end;
  21873. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  21874. begin
  21875. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21876. end;
  21877. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  21878. begin
  21879. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21880. end;
  21881. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  21882. begin
  21883. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21884. end;
  21885. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  21886. begin
  21887. pTDefRegMap(@Self)^.&set := $00000008;
  21888. end;
  21889. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  21890. begin
  21891. pTDefRegMap(@Self)^.clr := $00000008;
  21892. end;
  21893. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  21894. begin
  21895. if thebits = 0 then
  21896. pTDefRegMap(@Self)^.clr := $00000008
  21897. else
  21898. pTDefRegMap(@Self)^.&set := $00000008;
  21899. end;
  21900. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  21901. begin
  21902. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21903. end;
  21904. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  21905. begin
  21906. pTDefRegMap(@Self)^.&set := $00000080;
  21907. end;
  21908. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  21909. begin
  21910. pTDefRegMap(@Self)^.clr := $00000080;
  21911. end;
  21912. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  21913. begin
  21914. if thebits = 0 then
  21915. pTDefRegMap(@Self)^.clr := $00000080
  21916. else
  21917. pTDefRegMap(@Self)^.&set := $00000080;
  21918. end;
  21919. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  21920. begin
  21921. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21922. end;
  21923. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  21924. begin
  21925. pTDefRegMap(@Self)^.&set := $00000100;
  21926. end;
  21927. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  21928. begin
  21929. pTDefRegMap(@Self)^.clr := $00000100;
  21930. end;
  21931. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  21932. begin
  21933. if thebits = 0 then
  21934. pTDefRegMap(@Self)^.clr := $00000100
  21935. else
  21936. pTDefRegMap(@Self)^.&set := $00000100;
  21937. end;
  21938. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  21939. begin
  21940. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21941. end;
  21942. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  21943. begin
  21944. pTDefRegMap(@Self)^.&set := $00000200;
  21945. end;
  21946. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  21947. begin
  21948. pTDefRegMap(@Self)^.clr := $00000200;
  21949. end;
  21950. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  21951. begin
  21952. if thebits = 0 then
  21953. pTDefRegMap(@Self)^.clr := $00000200
  21954. else
  21955. pTDefRegMap(@Self)^.&set := $00000200;
  21956. end;
  21957. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  21958. begin
  21959. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21960. end;
  21961. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  21962. begin
  21963. pTDefRegMap(@Self)^.&set := $00000400;
  21964. end;
  21965. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  21966. begin
  21967. pTDefRegMap(@Self)^.clr := $00000400;
  21968. end;
  21969. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  21970. begin
  21971. if thebits = 0 then
  21972. pTDefRegMap(@Self)^.clr := $00000400
  21973. else
  21974. pTDefRegMap(@Self)^.&set := $00000400;
  21975. end;
  21976. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  21977. begin
  21978. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21979. end;
  21980. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  21981. begin
  21982. pTDefRegMap(@Self)^.&set := $00000800;
  21983. end;
  21984. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  21985. begin
  21986. pTDefRegMap(@Self)^.clr := $00000800;
  21987. end;
  21988. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  21989. begin
  21990. if thebits = 0 then
  21991. pTDefRegMap(@Self)^.clr := $00000800
  21992. else
  21993. pTDefRegMap(@Self)^.&set := $00000800;
  21994. end;
  21995. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  21996. begin
  21997. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21998. end;
  21999. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  22000. begin
  22001. pTDefRegMap(@Self)^.&set := $00001000;
  22002. end;
  22003. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  22004. begin
  22005. pTDefRegMap(@Self)^.clr := $00001000;
  22006. end;
  22007. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  22008. begin
  22009. if thebits = 0 then
  22010. pTDefRegMap(@Self)^.clr := $00001000
  22011. else
  22012. pTDefRegMap(@Self)^.&set := $00001000;
  22013. end;
  22014. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  22015. begin
  22016. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22017. end;
  22018. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  22019. begin
  22020. pTDefRegMap(@Self)^.&set := $00008000;
  22021. end;
  22022. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  22023. begin
  22024. pTDefRegMap(@Self)^.clr := $00008000;
  22025. end;
  22026. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  22027. begin
  22028. if thebits = 0 then
  22029. pTDefRegMap(@Self)^.clr := $00008000
  22030. else
  22031. pTDefRegMap(@Self)^.&set := $00008000;
  22032. end;
  22033. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  22034. begin
  22035. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22036. end;
  22037. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  22038. begin
  22039. pTDefRegMap(@Self)^.&set := $00000001;
  22040. end;
  22041. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  22042. begin
  22043. pTDefRegMap(@Self)^.clr := $00000001;
  22044. end;
  22045. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  22046. begin
  22047. if thebits = 0 then
  22048. pTDefRegMap(@Self)^.clr := $00000001
  22049. else
  22050. pTDefRegMap(@Self)^.&set := $00000001;
  22051. end;
  22052. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  22053. begin
  22054. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22055. end;
  22056. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  22057. begin
  22058. pTDefRegMap(@Self)^.&set := $00000002;
  22059. end;
  22060. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  22061. begin
  22062. pTDefRegMap(@Self)^.clr := $00000002;
  22063. end;
  22064. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  22065. begin
  22066. if thebits = 0 then
  22067. pTDefRegMap(@Self)^.clr := $00000002
  22068. else
  22069. pTDefRegMap(@Self)^.&set := $00000002;
  22070. end;
  22071. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  22072. begin
  22073. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22074. end;
  22075. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  22076. begin
  22077. pTDefRegMap(@Self)^.val := thebits;
  22078. end;
  22079. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  22080. begin
  22081. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22082. end;
  22083. procedure TUART1_U1MODE.setSTSEL; inline;
  22084. begin
  22085. pTDefRegMap(@Self)^.&set := $00000001;
  22086. end;
  22087. procedure TUART1_U1MODE.clearSTSEL; inline;
  22088. begin
  22089. pTDefRegMap(@Self)^.clr := $00000001;
  22090. end;
  22091. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  22092. begin
  22093. if thebits = 0 then
  22094. pTDefRegMap(@Self)^.clr := $00000001
  22095. else
  22096. pTDefRegMap(@Self)^.&set := $00000001;
  22097. end;
  22098. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  22099. begin
  22100. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22101. end;
  22102. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  22103. begin
  22104. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  22105. end;
  22106. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  22107. begin
  22108. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  22109. end;
  22110. procedure TUART1_U1MODE.setBRGH; inline;
  22111. begin
  22112. pTDefRegMap(@Self)^.&set := $00000008;
  22113. end;
  22114. procedure TUART1_U1MODE.clearBRGH; inline;
  22115. begin
  22116. pTDefRegMap(@Self)^.clr := $00000008;
  22117. end;
  22118. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  22119. begin
  22120. if thebits = 0 then
  22121. pTDefRegMap(@Self)^.clr := $00000008
  22122. else
  22123. pTDefRegMap(@Self)^.&set := $00000008;
  22124. end;
  22125. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  22126. begin
  22127. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22128. end;
  22129. procedure TUART1_U1MODE.setRXINV; inline;
  22130. begin
  22131. pTDefRegMap(@Self)^.&set := $00000010;
  22132. end;
  22133. procedure TUART1_U1MODE.clearRXINV; inline;
  22134. begin
  22135. pTDefRegMap(@Self)^.clr := $00000010;
  22136. end;
  22137. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  22138. begin
  22139. if thebits = 0 then
  22140. pTDefRegMap(@Self)^.clr := $00000010
  22141. else
  22142. pTDefRegMap(@Self)^.&set := $00000010;
  22143. end;
  22144. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  22145. begin
  22146. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22147. end;
  22148. procedure TUART1_U1MODE.setABAUD; inline;
  22149. begin
  22150. pTDefRegMap(@Self)^.&set := $00000020;
  22151. end;
  22152. procedure TUART1_U1MODE.clearABAUD; inline;
  22153. begin
  22154. pTDefRegMap(@Self)^.clr := $00000020;
  22155. end;
  22156. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  22157. begin
  22158. if thebits = 0 then
  22159. pTDefRegMap(@Self)^.clr := $00000020
  22160. else
  22161. pTDefRegMap(@Self)^.&set := $00000020;
  22162. end;
  22163. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  22164. begin
  22165. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22166. end;
  22167. procedure TUART1_U1MODE.setLPBACK; inline;
  22168. begin
  22169. pTDefRegMap(@Self)^.&set := $00000040;
  22170. end;
  22171. procedure TUART1_U1MODE.clearLPBACK; inline;
  22172. begin
  22173. pTDefRegMap(@Self)^.clr := $00000040;
  22174. end;
  22175. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  22176. begin
  22177. if thebits = 0 then
  22178. pTDefRegMap(@Self)^.clr := $00000040
  22179. else
  22180. pTDefRegMap(@Self)^.&set := $00000040;
  22181. end;
  22182. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  22183. begin
  22184. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22185. end;
  22186. procedure TUART1_U1MODE.setWAKE; inline;
  22187. begin
  22188. pTDefRegMap(@Self)^.&set := $00000080;
  22189. end;
  22190. procedure TUART1_U1MODE.clearWAKE; inline;
  22191. begin
  22192. pTDefRegMap(@Self)^.clr := $00000080;
  22193. end;
  22194. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  22195. begin
  22196. if thebits = 0 then
  22197. pTDefRegMap(@Self)^.clr := $00000080
  22198. else
  22199. pTDefRegMap(@Self)^.&set := $00000080;
  22200. end;
  22201. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  22202. begin
  22203. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22204. end;
  22205. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  22206. begin
  22207. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22208. end;
  22209. function TUART1_U1MODE.getUEN : TBits_2; inline;
  22210. begin
  22211. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22212. end;
  22213. procedure TUART1_U1MODE.setRTSMD; inline;
  22214. begin
  22215. pTDefRegMap(@Self)^.&set := $00000800;
  22216. end;
  22217. procedure TUART1_U1MODE.clearRTSMD; inline;
  22218. begin
  22219. pTDefRegMap(@Self)^.clr := $00000800;
  22220. end;
  22221. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  22222. begin
  22223. if thebits = 0 then
  22224. pTDefRegMap(@Self)^.clr := $00000800
  22225. else
  22226. pTDefRegMap(@Self)^.&set := $00000800;
  22227. end;
  22228. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  22229. begin
  22230. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22231. end;
  22232. procedure TUART1_U1MODE.setIREN; inline;
  22233. begin
  22234. pTDefRegMap(@Self)^.&set := $00001000;
  22235. end;
  22236. procedure TUART1_U1MODE.clearIREN; inline;
  22237. begin
  22238. pTDefRegMap(@Self)^.clr := $00001000;
  22239. end;
  22240. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  22241. begin
  22242. if thebits = 0 then
  22243. pTDefRegMap(@Self)^.clr := $00001000
  22244. else
  22245. pTDefRegMap(@Self)^.&set := $00001000;
  22246. end;
  22247. function TUART1_U1MODE.getIREN : TBits_1; inline;
  22248. begin
  22249. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22250. end;
  22251. procedure TUART1_U1MODE.setSIDL; inline;
  22252. begin
  22253. pTDefRegMap(@Self)^.&set := $00002000;
  22254. end;
  22255. procedure TUART1_U1MODE.clearSIDL; inline;
  22256. begin
  22257. pTDefRegMap(@Self)^.clr := $00002000;
  22258. end;
  22259. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  22260. begin
  22261. if thebits = 0 then
  22262. pTDefRegMap(@Self)^.clr := $00002000
  22263. else
  22264. pTDefRegMap(@Self)^.&set := $00002000;
  22265. end;
  22266. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  22267. begin
  22268. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22269. end;
  22270. procedure TUART1_U1MODE.setON; inline;
  22271. begin
  22272. pTDefRegMap(@Self)^.&set := $00008000;
  22273. end;
  22274. procedure TUART1_U1MODE.clearON; inline;
  22275. begin
  22276. pTDefRegMap(@Self)^.clr := $00008000;
  22277. end;
  22278. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  22279. begin
  22280. if thebits = 0 then
  22281. pTDefRegMap(@Self)^.clr := $00008000
  22282. else
  22283. pTDefRegMap(@Self)^.&set := $00008000;
  22284. end;
  22285. function TUART1_U1MODE.getON : TBits_1; inline;
  22286. begin
  22287. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22288. end;
  22289. procedure TUART1_U1MODE.setPDSEL0; inline;
  22290. begin
  22291. pTDefRegMap(@Self)^.&set := $00000002;
  22292. end;
  22293. procedure TUART1_U1MODE.clearPDSEL0; inline;
  22294. begin
  22295. pTDefRegMap(@Self)^.clr := $00000002;
  22296. end;
  22297. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  22298. begin
  22299. if thebits = 0 then
  22300. pTDefRegMap(@Self)^.clr := $00000002
  22301. else
  22302. pTDefRegMap(@Self)^.&set := $00000002;
  22303. end;
  22304. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  22305. begin
  22306. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22307. end;
  22308. procedure TUART1_U1MODE.setPDSEL1; inline;
  22309. begin
  22310. pTDefRegMap(@Self)^.&set := $00000004;
  22311. end;
  22312. procedure TUART1_U1MODE.clearPDSEL1; inline;
  22313. begin
  22314. pTDefRegMap(@Self)^.clr := $00000004;
  22315. end;
  22316. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  22317. begin
  22318. if thebits = 0 then
  22319. pTDefRegMap(@Self)^.clr := $00000004
  22320. else
  22321. pTDefRegMap(@Self)^.&set := $00000004;
  22322. end;
  22323. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  22324. begin
  22325. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22326. end;
  22327. procedure TUART1_U1MODE.setUEN0; inline;
  22328. begin
  22329. pTDefRegMap(@Self)^.&set := $00000100;
  22330. end;
  22331. procedure TUART1_U1MODE.clearUEN0; inline;
  22332. begin
  22333. pTDefRegMap(@Self)^.clr := $00000100;
  22334. end;
  22335. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  22336. begin
  22337. if thebits = 0 then
  22338. pTDefRegMap(@Self)^.clr := $00000100
  22339. else
  22340. pTDefRegMap(@Self)^.&set := $00000100;
  22341. end;
  22342. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  22343. begin
  22344. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22345. end;
  22346. procedure TUART1_U1MODE.setUEN1; inline;
  22347. begin
  22348. pTDefRegMap(@Self)^.&set := $00000200;
  22349. end;
  22350. procedure TUART1_U1MODE.clearUEN1; inline;
  22351. begin
  22352. pTDefRegMap(@Self)^.clr := $00000200;
  22353. end;
  22354. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  22355. begin
  22356. if thebits = 0 then
  22357. pTDefRegMap(@Self)^.clr := $00000200
  22358. else
  22359. pTDefRegMap(@Self)^.&set := $00000200;
  22360. end;
  22361. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  22362. begin
  22363. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22364. end;
  22365. procedure TUART1_U1MODE.setUSIDL; inline;
  22366. begin
  22367. pTDefRegMap(@Self)^.&set := $00002000;
  22368. end;
  22369. procedure TUART1_U1MODE.clearUSIDL; inline;
  22370. begin
  22371. pTDefRegMap(@Self)^.clr := $00002000;
  22372. end;
  22373. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  22374. begin
  22375. if thebits = 0 then
  22376. pTDefRegMap(@Self)^.clr := $00002000
  22377. else
  22378. pTDefRegMap(@Self)^.&set := $00002000;
  22379. end;
  22380. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  22381. begin
  22382. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22383. end;
  22384. procedure TUART1_U1MODE.setUARTEN; inline;
  22385. begin
  22386. pTDefRegMap(@Self)^.&set := $00008000;
  22387. end;
  22388. procedure TUART1_U1MODE.clearUARTEN; inline;
  22389. begin
  22390. pTDefRegMap(@Self)^.clr := $00008000;
  22391. end;
  22392. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  22393. begin
  22394. if thebits = 0 then
  22395. pTDefRegMap(@Self)^.clr := $00008000
  22396. else
  22397. pTDefRegMap(@Self)^.&set := $00008000;
  22398. end;
  22399. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  22400. begin
  22401. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22402. end;
  22403. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  22404. begin
  22405. pTDefRegMap(@Self)^.val := thebits;
  22406. end;
  22407. function TUART1_U1MODE.getw : TBits_32; inline;
  22408. begin
  22409. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22410. end;
  22411. procedure TUART1_UDCMODE.setSTSEL; inline;
  22412. begin
  22413. pTDefRegMap(@Self)^.&set := $00000001;
  22414. end;
  22415. procedure TUART1_UDCMODE.clearSTSEL; inline;
  22416. begin
  22417. pTDefRegMap(@Self)^.clr := $00000001;
  22418. end;
  22419. procedure TUART1_UDCMODE.setSTSEL(thebits : TBits_1); inline;
  22420. begin
  22421. if thebits = 0 then
  22422. pTDefRegMap(@Self)^.clr := $00000001
  22423. else
  22424. pTDefRegMap(@Self)^.&set := $00000001;
  22425. end;
  22426. function TUART1_UDCMODE.getSTSEL : TBits_1; inline;
  22427. begin
  22428. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22429. end;
  22430. procedure TUART1_UDCMODE.setPDSEL(thebits : TBits_2); inline;
  22431. begin
  22432. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  22433. end;
  22434. function TUART1_UDCMODE.getPDSEL : TBits_2; inline;
  22435. begin
  22436. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  22437. end;
  22438. procedure TUART1_UDCMODE.setBRGH; inline;
  22439. begin
  22440. pTDefRegMap(@Self)^.&set := $00000008;
  22441. end;
  22442. procedure TUART1_UDCMODE.clearBRGH; inline;
  22443. begin
  22444. pTDefRegMap(@Self)^.clr := $00000008;
  22445. end;
  22446. procedure TUART1_UDCMODE.setBRGH(thebits : TBits_1); inline;
  22447. begin
  22448. if thebits = 0 then
  22449. pTDefRegMap(@Self)^.clr := $00000008
  22450. else
  22451. pTDefRegMap(@Self)^.&set := $00000008;
  22452. end;
  22453. function TUART1_UDCMODE.getBRGH : TBits_1; inline;
  22454. begin
  22455. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22456. end;
  22457. procedure TUART1_UDCMODE.setRXINV; inline;
  22458. begin
  22459. pTDefRegMap(@Self)^.&set := $00000010;
  22460. end;
  22461. procedure TUART1_UDCMODE.clearRXINV; inline;
  22462. begin
  22463. pTDefRegMap(@Self)^.clr := $00000010;
  22464. end;
  22465. procedure TUART1_UDCMODE.setRXINV(thebits : TBits_1); inline;
  22466. begin
  22467. if thebits = 0 then
  22468. pTDefRegMap(@Self)^.clr := $00000010
  22469. else
  22470. pTDefRegMap(@Self)^.&set := $00000010;
  22471. end;
  22472. function TUART1_UDCMODE.getRXINV : TBits_1; inline;
  22473. begin
  22474. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22475. end;
  22476. procedure TUART1_UDCMODE.setABAUD; inline;
  22477. begin
  22478. pTDefRegMap(@Self)^.&set := $00000020;
  22479. end;
  22480. procedure TUART1_UDCMODE.clearABAUD; inline;
  22481. begin
  22482. pTDefRegMap(@Self)^.clr := $00000020;
  22483. end;
  22484. procedure TUART1_UDCMODE.setABAUD(thebits : TBits_1); inline;
  22485. begin
  22486. if thebits = 0 then
  22487. pTDefRegMap(@Self)^.clr := $00000020
  22488. else
  22489. pTDefRegMap(@Self)^.&set := $00000020;
  22490. end;
  22491. function TUART1_UDCMODE.getABAUD : TBits_1; inline;
  22492. begin
  22493. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22494. end;
  22495. procedure TUART1_UDCMODE.setLPBACK; inline;
  22496. begin
  22497. pTDefRegMap(@Self)^.&set := $00000040;
  22498. end;
  22499. procedure TUART1_UDCMODE.clearLPBACK; inline;
  22500. begin
  22501. pTDefRegMap(@Self)^.clr := $00000040;
  22502. end;
  22503. procedure TUART1_UDCMODE.setLPBACK(thebits : TBits_1); inline;
  22504. begin
  22505. if thebits = 0 then
  22506. pTDefRegMap(@Self)^.clr := $00000040
  22507. else
  22508. pTDefRegMap(@Self)^.&set := $00000040;
  22509. end;
  22510. function TUART1_UDCMODE.getLPBACK : TBits_1; inline;
  22511. begin
  22512. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22513. end;
  22514. procedure TUART1_UDCMODE.setWAKE; inline;
  22515. begin
  22516. pTDefRegMap(@Self)^.&set := $00000080;
  22517. end;
  22518. procedure TUART1_UDCMODE.clearWAKE; inline;
  22519. begin
  22520. pTDefRegMap(@Self)^.clr := $00000080;
  22521. end;
  22522. procedure TUART1_UDCMODE.setWAKE(thebits : TBits_1); inline;
  22523. begin
  22524. if thebits = 0 then
  22525. pTDefRegMap(@Self)^.clr := $00000080
  22526. else
  22527. pTDefRegMap(@Self)^.&set := $00000080;
  22528. end;
  22529. function TUART1_UDCMODE.getWAKE : TBits_1; inline;
  22530. begin
  22531. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22532. end;
  22533. procedure TUART1_UDCMODE.setUEN(thebits : TBits_2); inline;
  22534. begin
  22535. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22536. end;
  22537. function TUART1_UDCMODE.getUEN : TBits_2; inline;
  22538. begin
  22539. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22540. end;
  22541. procedure TUART1_UDCMODE.setRTSMD; inline;
  22542. begin
  22543. pTDefRegMap(@Self)^.&set := $00000800;
  22544. end;
  22545. procedure TUART1_UDCMODE.clearRTSMD; inline;
  22546. begin
  22547. pTDefRegMap(@Self)^.clr := $00000800;
  22548. end;
  22549. procedure TUART1_UDCMODE.setRTSMD(thebits : TBits_1); inline;
  22550. begin
  22551. if thebits = 0 then
  22552. pTDefRegMap(@Self)^.clr := $00000800
  22553. else
  22554. pTDefRegMap(@Self)^.&set := $00000800;
  22555. end;
  22556. function TUART1_UDCMODE.getRTSMD : TBits_1; inline;
  22557. begin
  22558. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22559. end;
  22560. procedure TUART1_UDCMODE.setIREN; inline;
  22561. begin
  22562. pTDefRegMap(@Self)^.&set := $00001000;
  22563. end;
  22564. procedure TUART1_UDCMODE.clearIREN; inline;
  22565. begin
  22566. pTDefRegMap(@Self)^.clr := $00001000;
  22567. end;
  22568. procedure TUART1_UDCMODE.setIREN(thebits : TBits_1); inline;
  22569. begin
  22570. if thebits = 0 then
  22571. pTDefRegMap(@Self)^.clr := $00001000
  22572. else
  22573. pTDefRegMap(@Self)^.&set := $00001000;
  22574. end;
  22575. function TUART1_UDCMODE.getIREN : TBits_1; inline;
  22576. begin
  22577. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22578. end;
  22579. procedure TUART1_UDCMODE.setSIDL; inline;
  22580. begin
  22581. pTDefRegMap(@Self)^.&set := $00002000;
  22582. end;
  22583. procedure TUART1_UDCMODE.clearSIDL; inline;
  22584. begin
  22585. pTDefRegMap(@Self)^.clr := $00002000;
  22586. end;
  22587. procedure TUART1_UDCMODE.setSIDL(thebits : TBits_1); inline;
  22588. begin
  22589. if thebits = 0 then
  22590. pTDefRegMap(@Self)^.clr := $00002000
  22591. else
  22592. pTDefRegMap(@Self)^.&set := $00002000;
  22593. end;
  22594. function TUART1_UDCMODE.getSIDL : TBits_1; inline;
  22595. begin
  22596. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22597. end;
  22598. procedure TUART1_UDCMODE.setON; inline;
  22599. begin
  22600. pTDefRegMap(@Self)^.&set := $00008000;
  22601. end;
  22602. procedure TUART1_UDCMODE.clearON; inline;
  22603. begin
  22604. pTDefRegMap(@Self)^.clr := $00008000;
  22605. end;
  22606. procedure TUART1_UDCMODE.setON(thebits : TBits_1); inline;
  22607. begin
  22608. if thebits = 0 then
  22609. pTDefRegMap(@Self)^.clr := $00008000
  22610. else
  22611. pTDefRegMap(@Self)^.&set := $00008000;
  22612. end;
  22613. function TUART1_UDCMODE.getON : TBits_1; inline;
  22614. begin
  22615. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22616. end;
  22617. procedure TUART1_UDCMODE.setPDSEL0; inline;
  22618. begin
  22619. pTDefRegMap(@Self)^.&set := $00000002;
  22620. end;
  22621. procedure TUART1_UDCMODE.clearPDSEL0; inline;
  22622. begin
  22623. pTDefRegMap(@Self)^.clr := $00000002;
  22624. end;
  22625. procedure TUART1_UDCMODE.setPDSEL0(thebits : TBits_1); inline;
  22626. begin
  22627. if thebits = 0 then
  22628. pTDefRegMap(@Self)^.clr := $00000002
  22629. else
  22630. pTDefRegMap(@Self)^.&set := $00000002;
  22631. end;
  22632. function TUART1_UDCMODE.getPDSEL0 : TBits_1; inline;
  22633. begin
  22634. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22635. end;
  22636. procedure TUART1_UDCMODE.setPDSEL1; inline;
  22637. begin
  22638. pTDefRegMap(@Self)^.&set := $00000004;
  22639. end;
  22640. procedure TUART1_UDCMODE.clearPDSEL1; inline;
  22641. begin
  22642. pTDefRegMap(@Self)^.clr := $00000004;
  22643. end;
  22644. procedure TUART1_UDCMODE.setPDSEL1(thebits : TBits_1); inline;
  22645. begin
  22646. if thebits = 0 then
  22647. pTDefRegMap(@Self)^.clr := $00000004
  22648. else
  22649. pTDefRegMap(@Self)^.&set := $00000004;
  22650. end;
  22651. function TUART1_UDCMODE.getPDSEL1 : TBits_1; inline;
  22652. begin
  22653. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22654. end;
  22655. procedure TUART1_UDCMODE.setUEN0; inline;
  22656. begin
  22657. pTDefRegMap(@Self)^.&set := $00000100;
  22658. end;
  22659. procedure TUART1_UDCMODE.clearUEN0; inline;
  22660. begin
  22661. pTDefRegMap(@Self)^.clr := $00000100;
  22662. end;
  22663. procedure TUART1_UDCMODE.setUEN0(thebits : TBits_1); inline;
  22664. begin
  22665. if thebits = 0 then
  22666. pTDefRegMap(@Self)^.clr := $00000100
  22667. else
  22668. pTDefRegMap(@Self)^.&set := $00000100;
  22669. end;
  22670. function TUART1_UDCMODE.getUEN0 : TBits_1; inline;
  22671. begin
  22672. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22673. end;
  22674. procedure TUART1_UDCMODE.setUEN1; inline;
  22675. begin
  22676. pTDefRegMap(@Self)^.&set := $00000200;
  22677. end;
  22678. procedure TUART1_UDCMODE.clearUEN1; inline;
  22679. begin
  22680. pTDefRegMap(@Self)^.clr := $00000200;
  22681. end;
  22682. procedure TUART1_UDCMODE.setUEN1(thebits : TBits_1); inline;
  22683. begin
  22684. if thebits = 0 then
  22685. pTDefRegMap(@Self)^.clr := $00000200
  22686. else
  22687. pTDefRegMap(@Self)^.&set := $00000200;
  22688. end;
  22689. function TUART1_UDCMODE.getUEN1 : TBits_1; inline;
  22690. begin
  22691. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22692. end;
  22693. procedure TUART1_UDCMODE.setUSIDL; inline;
  22694. begin
  22695. pTDefRegMap(@Self)^.&set := $00002000;
  22696. end;
  22697. procedure TUART1_UDCMODE.clearUSIDL; inline;
  22698. begin
  22699. pTDefRegMap(@Self)^.clr := $00002000;
  22700. end;
  22701. procedure TUART1_UDCMODE.setUSIDL(thebits : TBits_1); inline;
  22702. begin
  22703. if thebits = 0 then
  22704. pTDefRegMap(@Self)^.clr := $00002000
  22705. else
  22706. pTDefRegMap(@Self)^.&set := $00002000;
  22707. end;
  22708. function TUART1_UDCMODE.getUSIDL : TBits_1; inline;
  22709. begin
  22710. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22711. end;
  22712. procedure TUART1_UDCMODE.setUARTEN; inline;
  22713. begin
  22714. pTDefRegMap(@Self)^.&set := $00008000;
  22715. end;
  22716. procedure TUART1_UDCMODE.clearUARTEN; inline;
  22717. begin
  22718. pTDefRegMap(@Self)^.clr := $00008000;
  22719. end;
  22720. procedure TUART1_UDCMODE.setUARTEN(thebits : TBits_1); inline;
  22721. begin
  22722. if thebits = 0 then
  22723. pTDefRegMap(@Self)^.clr := $00008000
  22724. else
  22725. pTDefRegMap(@Self)^.&set := $00008000;
  22726. end;
  22727. function TUART1_UDCMODE.getUARTEN : TBits_1; inline;
  22728. begin
  22729. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22730. end;
  22731. procedure TUART1_UDCMODE.setw(thebits : TBits_32); inline;
  22732. begin
  22733. pTDefRegMap(@Self)^.val := thebits;
  22734. end;
  22735. function TUART1_UDCMODE.getw : TBits_32; inline;
  22736. begin
  22737. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22738. end;
  22739. procedure TUART1_U1STA.setURXDA; inline;
  22740. begin
  22741. pTDefRegMap(@Self)^.&set := $00000001;
  22742. end;
  22743. procedure TUART1_U1STA.clearURXDA; inline;
  22744. begin
  22745. pTDefRegMap(@Self)^.clr := $00000001;
  22746. end;
  22747. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  22748. begin
  22749. if thebits = 0 then
  22750. pTDefRegMap(@Self)^.clr := $00000001
  22751. else
  22752. pTDefRegMap(@Self)^.&set := $00000001;
  22753. end;
  22754. function TUART1_U1STA.getURXDA : TBits_1; inline;
  22755. begin
  22756. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22757. end;
  22758. procedure TUART1_U1STA.setOERR; inline;
  22759. begin
  22760. pTDefRegMap(@Self)^.&set := $00000002;
  22761. end;
  22762. procedure TUART1_U1STA.clearOERR; inline;
  22763. begin
  22764. pTDefRegMap(@Self)^.clr := $00000002;
  22765. end;
  22766. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  22767. begin
  22768. if thebits = 0 then
  22769. pTDefRegMap(@Self)^.clr := $00000002
  22770. else
  22771. pTDefRegMap(@Self)^.&set := $00000002;
  22772. end;
  22773. function TUART1_U1STA.getOERR : TBits_1; inline;
  22774. begin
  22775. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22776. end;
  22777. procedure TUART1_U1STA.setFERR; inline;
  22778. begin
  22779. pTDefRegMap(@Self)^.&set := $00000004;
  22780. end;
  22781. procedure TUART1_U1STA.clearFERR; inline;
  22782. begin
  22783. pTDefRegMap(@Self)^.clr := $00000004;
  22784. end;
  22785. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  22786. begin
  22787. if thebits = 0 then
  22788. pTDefRegMap(@Self)^.clr := $00000004
  22789. else
  22790. pTDefRegMap(@Self)^.&set := $00000004;
  22791. end;
  22792. function TUART1_U1STA.getFERR : TBits_1; inline;
  22793. begin
  22794. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22795. end;
  22796. procedure TUART1_U1STA.setPERR; inline;
  22797. begin
  22798. pTDefRegMap(@Self)^.&set := $00000008;
  22799. end;
  22800. procedure TUART1_U1STA.clearPERR; inline;
  22801. begin
  22802. pTDefRegMap(@Self)^.clr := $00000008;
  22803. end;
  22804. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  22805. begin
  22806. if thebits = 0 then
  22807. pTDefRegMap(@Self)^.clr := $00000008
  22808. else
  22809. pTDefRegMap(@Self)^.&set := $00000008;
  22810. end;
  22811. function TUART1_U1STA.getPERR : TBits_1; inline;
  22812. begin
  22813. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22814. end;
  22815. procedure TUART1_U1STA.setRIDLE; inline;
  22816. begin
  22817. pTDefRegMap(@Self)^.&set := $00000010;
  22818. end;
  22819. procedure TUART1_U1STA.clearRIDLE; inline;
  22820. begin
  22821. pTDefRegMap(@Self)^.clr := $00000010;
  22822. end;
  22823. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  22824. begin
  22825. if thebits = 0 then
  22826. pTDefRegMap(@Self)^.clr := $00000010
  22827. else
  22828. pTDefRegMap(@Self)^.&set := $00000010;
  22829. end;
  22830. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  22831. begin
  22832. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22833. end;
  22834. procedure TUART1_U1STA.setADDEN; inline;
  22835. begin
  22836. pTDefRegMap(@Self)^.&set := $00000020;
  22837. end;
  22838. procedure TUART1_U1STA.clearADDEN; inline;
  22839. begin
  22840. pTDefRegMap(@Self)^.clr := $00000020;
  22841. end;
  22842. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  22843. begin
  22844. if thebits = 0 then
  22845. pTDefRegMap(@Self)^.clr := $00000020
  22846. else
  22847. pTDefRegMap(@Self)^.&set := $00000020;
  22848. end;
  22849. function TUART1_U1STA.getADDEN : TBits_1; inline;
  22850. begin
  22851. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22852. end;
  22853. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  22854. begin
  22855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  22856. end;
  22857. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  22858. begin
  22859. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  22860. end;
  22861. procedure TUART1_U1STA.setTRMT; inline;
  22862. begin
  22863. pTDefRegMap(@Self)^.&set := $00000100;
  22864. end;
  22865. procedure TUART1_U1STA.clearTRMT; inline;
  22866. begin
  22867. pTDefRegMap(@Self)^.clr := $00000100;
  22868. end;
  22869. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  22870. begin
  22871. if thebits = 0 then
  22872. pTDefRegMap(@Self)^.clr := $00000100
  22873. else
  22874. pTDefRegMap(@Self)^.&set := $00000100;
  22875. end;
  22876. function TUART1_U1STA.getTRMT : TBits_1; inline;
  22877. begin
  22878. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22879. end;
  22880. procedure TUART1_U1STA.setUTXBF; inline;
  22881. begin
  22882. pTDefRegMap(@Self)^.&set := $00000200;
  22883. end;
  22884. procedure TUART1_U1STA.clearUTXBF; inline;
  22885. begin
  22886. pTDefRegMap(@Self)^.clr := $00000200;
  22887. end;
  22888. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  22889. begin
  22890. if thebits = 0 then
  22891. pTDefRegMap(@Self)^.clr := $00000200
  22892. else
  22893. pTDefRegMap(@Self)^.&set := $00000200;
  22894. end;
  22895. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  22896. begin
  22897. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22898. end;
  22899. procedure TUART1_U1STA.setUTXEN; inline;
  22900. begin
  22901. pTDefRegMap(@Self)^.&set := $00000400;
  22902. end;
  22903. procedure TUART1_U1STA.clearUTXEN; inline;
  22904. begin
  22905. pTDefRegMap(@Self)^.clr := $00000400;
  22906. end;
  22907. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  22908. begin
  22909. if thebits = 0 then
  22910. pTDefRegMap(@Self)^.clr := $00000400
  22911. else
  22912. pTDefRegMap(@Self)^.&set := $00000400;
  22913. end;
  22914. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  22915. begin
  22916. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22917. end;
  22918. procedure TUART1_U1STA.setUTXBRK; inline;
  22919. begin
  22920. pTDefRegMap(@Self)^.&set := $00000800;
  22921. end;
  22922. procedure TUART1_U1STA.clearUTXBRK; inline;
  22923. begin
  22924. pTDefRegMap(@Self)^.clr := $00000800;
  22925. end;
  22926. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  22927. begin
  22928. if thebits = 0 then
  22929. pTDefRegMap(@Self)^.clr := $00000800
  22930. else
  22931. pTDefRegMap(@Self)^.&set := $00000800;
  22932. end;
  22933. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  22934. begin
  22935. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22936. end;
  22937. procedure TUART1_U1STA.setURXEN; inline;
  22938. begin
  22939. pTDefRegMap(@Self)^.&set := $00001000;
  22940. end;
  22941. procedure TUART1_U1STA.clearURXEN; inline;
  22942. begin
  22943. pTDefRegMap(@Self)^.clr := $00001000;
  22944. end;
  22945. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  22946. begin
  22947. if thebits = 0 then
  22948. pTDefRegMap(@Self)^.clr := $00001000
  22949. else
  22950. pTDefRegMap(@Self)^.&set := $00001000;
  22951. end;
  22952. function TUART1_U1STA.getURXEN : TBits_1; inline;
  22953. begin
  22954. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22955. end;
  22956. procedure TUART1_U1STA.setUTXINV; inline;
  22957. begin
  22958. pTDefRegMap(@Self)^.&set := $00002000;
  22959. end;
  22960. procedure TUART1_U1STA.clearUTXINV; inline;
  22961. begin
  22962. pTDefRegMap(@Self)^.clr := $00002000;
  22963. end;
  22964. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  22965. begin
  22966. if thebits = 0 then
  22967. pTDefRegMap(@Self)^.clr := $00002000
  22968. else
  22969. pTDefRegMap(@Self)^.&set := $00002000;
  22970. end;
  22971. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  22972. begin
  22973. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22974. end;
  22975. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  22976. begin
  22977. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  22978. end;
  22979. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  22980. begin
  22981. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  22982. end;
  22983. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  22984. begin
  22985. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  22986. end;
  22987. function TUART1_U1STA.getADDR : TBits_8; inline;
  22988. begin
  22989. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  22990. end;
  22991. procedure TUART1_U1STA.setADM_EN; inline;
  22992. begin
  22993. pTDefRegMap(@Self)^.&set := $01000000;
  22994. end;
  22995. procedure TUART1_U1STA.clearADM_EN; inline;
  22996. begin
  22997. pTDefRegMap(@Self)^.clr := $01000000;
  22998. end;
  22999. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  23000. begin
  23001. if thebits = 0 then
  23002. pTDefRegMap(@Self)^.clr := $01000000
  23003. else
  23004. pTDefRegMap(@Self)^.&set := $01000000;
  23005. end;
  23006. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  23007. begin
  23008. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23009. end;
  23010. procedure TUART1_U1STA.setURXISEL0; inline;
  23011. begin
  23012. pTDefRegMap(@Self)^.&set := $00000040;
  23013. end;
  23014. procedure TUART1_U1STA.clearURXISEL0; inline;
  23015. begin
  23016. pTDefRegMap(@Self)^.clr := $00000040;
  23017. end;
  23018. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  23019. begin
  23020. if thebits = 0 then
  23021. pTDefRegMap(@Self)^.clr := $00000040
  23022. else
  23023. pTDefRegMap(@Self)^.&set := $00000040;
  23024. end;
  23025. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  23026. begin
  23027. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23028. end;
  23029. procedure TUART1_U1STA.setURXISEL1; inline;
  23030. begin
  23031. pTDefRegMap(@Self)^.&set := $00000080;
  23032. end;
  23033. procedure TUART1_U1STA.clearURXISEL1; inline;
  23034. begin
  23035. pTDefRegMap(@Self)^.clr := $00000080;
  23036. end;
  23037. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  23038. begin
  23039. if thebits = 0 then
  23040. pTDefRegMap(@Self)^.clr := $00000080
  23041. else
  23042. pTDefRegMap(@Self)^.&set := $00000080;
  23043. end;
  23044. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  23045. begin
  23046. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23047. end;
  23048. procedure TUART1_U1STA.setUTXISEL0; inline;
  23049. begin
  23050. pTDefRegMap(@Self)^.&set := $00004000;
  23051. end;
  23052. procedure TUART1_U1STA.clearUTXISEL0; inline;
  23053. begin
  23054. pTDefRegMap(@Self)^.clr := $00004000;
  23055. end;
  23056. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  23057. begin
  23058. if thebits = 0 then
  23059. pTDefRegMap(@Self)^.clr := $00004000
  23060. else
  23061. pTDefRegMap(@Self)^.&set := $00004000;
  23062. end;
  23063. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  23064. begin
  23065. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23066. end;
  23067. procedure TUART1_U1STA.setUTXISEL1; inline;
  23068. begin
  23069. pTDefRegMap(@Self)^.&set := $00008000;
  23070. end;
  23071. procedure TUART1_U1STA.clearUTXISEL1; inline;
  23072. begin
  23073. pTDefRegMap(@Self)^.clr := $00008000;
  23074. end;
  23075. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  23076. begin
  23077. if thebits = 0 then
  23078. pTDefRegMap(@Self)^.clr := $00008000
  23079. else
  23080. pTDefRegMap(@Self)^.&set := $00008000;
  23081. end;
  23082. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  23083. begin
  23084. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23085. end;
  23086. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  23087. begin
  23088. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23089. end;
  23090. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  23091. begin
  23092. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23093. end;
  23094. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  23095. begin
  23096. pTDefRegMap(@Self)^.val := thebits;
  23097. end;
  23098. function TUART1_U1STA.getw : TBits_32; inline;
  23099. begin
  23100. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23101. end;
  23102. procedure TUART1_UDCSTA.setURXDA; inline;
  23103. begin
  23104. pTDefRegMap(@Self)^.&set := $00000001;
  23105. end;
  23106. procedure TUART1_UDCSTA.clearURXDA; inline;
  23107. begin
  23108. pTDefRegMap(@Self)^.clr := $00000001;
  23109. end;
  23110. procedure TUART1_UDCSTA.setURXDA(thebits : TBits_1); inline;
  23111. begin
  23112. if thebits = 0 then
  23113. pTDefRegMap(@Self)^.clr := $00000001
  23114. else
  23115. pTDefRegMap(@Self)^.&set := $00000001;
  23116. end;
  23117. function TUART1_UDCSTA.getURXDA : TBits_1; inline;
  23118. begin
  23119. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23120. end;
  23121. procedure TUART1_UDCSTA.setOERR; inline;
  23122. begin
  23123. pTDefRegMap(@Self)^.&set := $00000002;
  23124. end;
  23125. procedure TUART1_UDCSTA.clearOERR; inline;
  23126. begin
  23127. pTDefRegMap(@Self)^.clr := $00000002;
  23128. end;
  23129. procedure TUART1_UDCSTA.setOERR(thebits : TBits_1); inline;
  23130. begin
  23131. if thebits = 0 then
  23132. pTDefRegMap(@Self)^.clr := $00000002
  23133. else
  23134. pTDefRegMap(@Self)^.&set := $00000002;
  23135. end;
  23136. function TUART1_UDCSTA.getOERR : TBits_1; inline;
  23137. begin
  23138. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23139. end;
  23140. procedure TUART1_UDCSTA.setFERR; inline;
  23141. begin
  23142. pTDefRegMap(@Self)^.&set := $00000004;
  23143. end;
  23144. procedure TUART1_UDCSTA.clearFERR; inline;
  23145. begin
  23146. pTDefRegMap(@Self)^.clr := $00000004;
  23147. end;
  23148. procedure TUART1_UDCSTA.setFERR(thebits : TBits_1); inline;
  23149. begin
  23150. if thebits = 0 then
  23151. pTDefRegMap(@Self)^.clr := $00000004
  23152. else
  23153. pTDefRegMap(@Self)^.&set := $00000004;
  23154. end;
  23155. function TUART1_UDCSTA.getFERR : TBits_1; inline;
  23156. begin
  23157. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23158. end;
  23159. procedure TUART1_UDCSTA.setPERR; inline;
  23160. begin
  23161. pTDefRegMap(@Self)^.&set := $00000008;
  23162. end;
  23163. procedure TUART1_UDCSTA.clearPERR; inline;
  23164. begin
  23165. pTDefRegMap(@Self)^.clr := $00000008;
  23166. end;
  23167. procedure TUART1_UDCSTA.setPERR(thebits : TBits_1); inline;
  23168. begin
  23169. if thebits = 0 then
  23170. pTDefRegMap(@Self)^.clr := $00000008
  23171. else
  23172. pTDefRegMap(@Self)^.&set := $00000008;
  23173. end;
  23174. function TUART1_UDCSTA.getPERR : TBits_1; inline;
  23175. begin
  23176. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23177. end;
  23178. procedure TUART1_UDCSTA.setRIDLE; inline;
  23179. begin
  23180. pTDefRegMap(@Self)^.&set := $00000010;
  23181. end;
  23182. procedure TUART1_UDCSTA.clearRIDLE; inline;
  23183. begin
  23184. pTDefRegMap(@Self)^.clr := $00000010;
  23185. end;
  23186. procedure TUART1_UDCSTA.setRIDLE(thebits : TBits_1); inline;
  23187. begin
  23188. if thebits = 0 then
  23189. pTDefRegMap(@Self)^.clr := $00000010
  23190. else
  23191. pTDefRegMap(@Self)^.&set := $00000010;
  23192. end;
  23193. function TUART1_UDCSTA.getRIDLE : TBits_1; inline;
  23194. begin
  23195. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23196. end;
  23197. procedure TUART1_UDCSTA.setADDEN; inline;
  23198. begin
  23199. pTDefRegMap(@Self)^.&set := $00000020;
  23200. end;
  23201. procedure TUART1_UDCSTA.clearADDEN; inline;
  23202. begin
  23203. pTDefRegMap(@Self)^.clr := $00000020;
  23204. end;
  23205. procedure TUART1_UDCSTA.setADDEN(thebits : TBits_1); inline;
  23206. begin
  23207. if thebits = 0 then
  23208. pTDefRegMap(@Self)^.clr := $00000020
  23209. else
  23210. pTDefRegMap(@Self)^.&set := $00000020;
  23211. end;
  23212. function TUART1_UDCSTA.getADDEN : TBits_1; inline;
  23213. begin
  23214. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23215. end;
  23216. procedure TUART1_UDCSTA.setURXISEL(thebits : TBits_2); inline;
  23217. begin
  23218. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23219. end;
  23220. function TUART1_UDCSTA.getURXISEL : TBits_2; inline;
  23221. begin
  23222. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23223. end;
  23224. procedure TUART1_UDCSTA.setTRMT; inline;
  23225. begin
  23226. pTDefRegMap(@Self)^.&set := $00000100;
  23227. end;
  23228. procedure TUART1_UDCSTA.clearTRMT; inline;
  23229. begin
  23230. pTDefRegMap(@Self)^.clr := $00000100;
  23231. end;
  23232. procedure TUART1_UDCSTA.setTRMT(thebits : TBits_1); inline;
  23233. begin
  23234. if thebits = 0 then
  23235. pTDefRegMap(@Self)^.clr := $00000100
  23236. else
  23237. pTDefRegMap(@Self)^.&set := $00000100;
  23238. end;
  23239. function TUART1_UDCSTA.getTRMT : TBits_1; inline;
  23240. begin
  23241. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23242. end;
  23243. procedure TUART1_UDCSTA.setUTXBF; inline;
  23244. begin
  23245. pTDefRegMap(@Self)^.&set := $00000200;
  23246. end;
  23247. procedure TUART1_UDCSTA.clearUTXBF; inline;
  23248. begin
  23249. pTDefRegMap(@Self)^.clr := $00000200;
  23250. end;
  23251. procedure TUART1_UDCSTA.setUTXBF(thebits : TBits_1); inline;
  23252. begin
  23253. if thebits = 0 then
  23254. pTDefRegMap(@Self)^.clr := $00000200
  23255. else
  23256. pTDefRegMap(@Self)^.&set := $00000200;
  23257. end;
  23258. function TUART1_UDCSTA.getUTXBF : TBits_1; inline;
  23259. begin
  23260. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23261. end;
  23262. procedure TUART1_UDCSTA.setUTXEN; inline;
  23263. begin
  23264. pTDefRegMap(@Self)^.&set := $00000400;
  23265. end;
  23266. procedure TUART1_UDCSTA.clearUTXEN; inline;
  23267. begin
  23268. pTDefRegMap(@Self)^.clr := $00000400;
  23269. end;
  23270. procedure TUART1_UDCSTA.setUTXEN(thebits : TBits_1); inline;
  23271. begin
  23272. if thebits = 0 then
  23273. pTDefRegMap(@Self)^.clr := $00000400
  23274. else
  23275. pTDefRegMap(@Self)^.&set := $00000400;
  23276. end;
  23277. function TUART1_UDCSTA.getUTXEN : TBits_1; inline;
  23278. begin
  23279. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23280. end;
  23281. procedure TUART1_UDCSTA.setUTXBRK; inline;
  23282. begin
  23283. pTDefRegMap(@Self)^.&set := $00000800;
  23284. end;
  23285. procedure TUART1_UDCSTA.clearUTXBRK; inline;
  23286. begin
  23287. pTDefRegMap(@Self)^.clr := $00000800;
  23288. end;
  23289. procedure TUART1_UDCSTA.setUTXBRK(thebits : TBits_1); inline;
  23290. begin
  23291. if thebits = 0 then
  23292. pTDefRegMap(@Self)^.clr := $00000800
  23293. else
  23294. pTDefRegMap(@Self)^.&set := $00000800;
  23295. end;
  23296. function TUART1_UDCSTA.getUTXBRK : TBits_1; inline;
  23297. begin
  23298. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23299. end;
  23300. procedure TUART1_UDCSTA.setURXEN; inline;
  23301. begin
  23302. pTDefRegMap(@Self)^.&set := $00001000;
  23303. end;
  23304. procedure TUART1_UDCSTA.clearURXEN; inline;
  23305. begin
  23306. pTDefRegMap(@Self)^.clr := $00001000;
  23307. end;
  23308. procedure TUART1_UDCSTA.setURXEN(thebits : TBits_1); inline;
  23309. begin
  23310. if thebits = 0 then
  23311. pTDefRegMap(@Self)^.clr := $00001000
  23312. else
  23313. pTDefRegMap(@Self)^.&set := $00001000;
  23314. end;
  23315. function TUART1_UDCSTA.getURXEN : TBits_1; inline;
  23316. begin
  23317. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23318. end;
  23319. procedure TUART1_UDCSTA.setUTXINV; inline;
  23320. begin
  23321. pTDefRegMap(@Self)^.&set := $00002000;
  23322. end;
  23323. procedure TUART1_UDCSTA.clearUTXINV; inline;
  23324. begin
  23325. pTDefRegMap(@Self)^.clr := $00002000;
  23326. end;
  23327. procedure TUART1_UDCSTA.setUTXINV(thebits : TBits_1); inline;
  23328. begin
  23329. if thebits = 0 then
  23330. pTDefRegMap(@Self)^.clr := $00002000
  23331. else
  23332. pTDefRegMap(@Self)^.&set := $00002000;
  23333. end;
  23334. function TUART1_UDCSTA.getUTXINV : TBits_1; inline;
  23335. begin
  23336. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23337. end;
  23338. procedure TUART1_UDCSTA.setUTXISEL(thebits : TBits_2); inline;
  23339. begin
  23340. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23341. end;
  23342. function TUART1_UDCSTA.getUTXISEL : TBits_2; inline;
  23343. begin
  23344. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23345. end;
  23346. procedure TUART1_UDCSTA.setADDR(thebits : TBits_8); inline;
  23347. begin
  23348. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  23349. end;
  23350. function TUART1_UDCSTA.getADDR : TBits_8; inline;
  23351. begin
  23352. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  23353. end;
  23354. procedure TUART1_UDCSTA.setADM_EN; inline;
  23355. begin
  23356. pTDefRegMap(@Self)^.&set := $01000000;
  23357. end;
  23358. procedure TUART1_UDCSTA.clearADM_EN; inline;
  23359. begin
  23360. pTDefRegMap(@Self)^.clr := $01000000;
  23361. end;
  23362. procedure TUART1_UDCSTA.setADM_EN(thebits : TBits_1); inline;
  23363. begin
  23364. if thebits = 0 then
  23365. pTDefRegMap(@Self)^.clr := $01000000
  23366. else
  23367. pTDefRegMap(@Self)^.&set := $01000000;
  23368. end;
  23369. function TUART1_UDCSTA.getADM_EN : TBits_1; inline;
  23370. begin
  23371. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23372. end;
  23373. procedure TUART1_UDCSTA.setURXISEL0; inline;
  23374. begin
  23375. pTDefRegMap(@Self)^.&set := $00000040;
  23376. end;
  23377. procedure TUART1_UDCSTA.clearURXISEL0; inline;
  23378. begin
  23379. pTDefRegMap(@Self)^.clr := $00000040;
  23380. end;
  23381. procedure TUART1_UDCSTA.setURXISEL0(thebits : TBits_1); inline;
  23382. begin
  23383. if thebits = 0 then
  23384. pTDefRegMap(@Self)^.clr := $00000040
  23385. else
  23386. pTDefRegMap(@Self)^.&set := $00000040;
  23387. end;
  23388. function TUART1_UDCSTA.getURXISEL0 : TBits_1; inline;
  23389. begin
  23390. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23391. end;
  23392. procedure TUART1_UDCSTA.setURXISEL1; inline;
  23393. begin
  23394. pTDefRegMap(@Self)^.&set := $00000080;
  23395. end;
  23396. procedure TUART1_UDCSTA.clearURXISEL1; inline;
  23397. begin
  23398. pTDefRegMap(@Self)^.clr := $00000080;
  23399. end;
  23400. procedure TUART1_UDCSTA.setURXISEL1(thebits : TBits_1); inline;
  23401. begin
  23402. if thebits = 0 then
  23403. pTDefRegMap(@Self)^.clr := $00000080
  23404. else
  23405. pTDefRegMap(@Self)^.&set := $00000080;
  23406. end;
  23407. function TUART1_UDCSTA.getURXISEL1 : TBits_1; inline;
  23408. begin
  23409. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23410. end;
  23411. procedure TUART1_UDCSTA.setUTXISEL0; inline;
  23412. begin
  23413. pTDefRegMap(@Self)^.&set := $00004000;
  23414. end;
  23415. procedure TUART1_UDCSTA.clearUTXISEL0; inline;
  23416. begin
  23417. pTDefRegMap(@Self)^.clr := $00004000;
  23418. end;
  23419. procedure TUART1_UDCSTA.setUTXISEL0(thebits : TBits_1); inline;
  23420. begin
  23421. if thebits = 0 then
  23422. pTDefRegMap(@Self)^.clr := $00004000
  23423. else
  23424. pTDefRegMap(@Self)^.&set := $00004000;
  23425. end;
  23426. function TUART1_UDCSTA.getUTXISEL0 : TBits_1; inline;
  23427. begin
  23428. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23429. end;
  23430. procedure TUART1_UDCSTA.setUTXISEL1; inline;
  23431. begin
  23432. pTDefRegMap(@Self)^.&set := $00008000;
  23433. end;
  23434. procedure TUART1_UDCSTA.clearUTXISEL1; inline;
  23435. begin
  23436. pTDefRegMap(@Self)^.clr := $00008000;
  23437. end;
  23438. procedure TUART1_UDCSTA.setUTXISEL1(thebits : TBits_1); inline;
  23439. begin
  23440. if thebits = 0 then
  23441. pTDefRegMap(@Self)^.clr := $00008000
  23442. else
  23443. pTDefRegMap(@Self)^.&set := $00008000;
  23444. end;
  23445. function TUART1_UDCSTA.getUTXISEL1 : TBits_1; inline;
  23446. begin
  23447. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23448. end;
  23449. procedure TUART1_UDCSTA.setUTXSEL(thebits : TBits_2); inline;
  23450. begin
  23451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23452. end;
  23453. function TUART1_UDCSTA.getUTXSEL : TBits_2; inline;
  23454. begin
  23455. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23456. end;
  23457. procedure TUART1_UDCSTA.setw(thebits : TBits_32); inline;
  23458. begin
  23459. pTDefRegMap(@Self)^.val := thebits;
  23460. end;
  23461. function TUART1_UDCSTA.getw : TBits_32; inline;
  23462. begin
  23463. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23464. end;
  23465. procedure TUART2_U2MODE.setSTSEL; inline;
  23466. begin
  23467. pTDefRegMap(@Self)^.&set := $00000001;
  23468. end;
  23469. procedure TUART2_U2MODE.clearSTSEL; inline;
  23470. begin
  23471. pTDefRegMap(@Self)^.clr := $00000001;
  23472. end;
  23473. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  23474. begin
  23475. if thebits = 0 then
  23476. pTDefRegMap(@Self)^.clr := $00000001
  23477. else
  23478. pTDefRegMap(@Self)^.&set := $00000001;
  23479. end;
  23480. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  23481. begin
  23482. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23483. end;
  23484. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  23485. begin
  23486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  23487. end;
  23488. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  23489. begin
  23490. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  23491. end;
  23492. procedure TUART2_U2MODE.setBRGH; inline;
  23493. begin
  23494. pTDefRegMap(@Self)^.&set := $00000008;
  23495. end;
  23496. procedure TUART2_U2MODE.clearBRGH; inline;
  23497. begin
  23498. pTDefRegMap(@Self)^.clr := $00000008;
  23499. end;
  23500. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  23501. begin
  23502. if thebits = 0 then
  23503. pTDefRegMap(@Self)^.clr := $00000008
  23504. else
  23505. pTDefRegMap(@Self)^.&set := $00000008;
  23506. end;
  23507. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  23508. begin
  23509. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23510. end;
  23511. procedure TUART2_U2MODE.setRXINV; inline;
  23512. begin
  23513. pTDefRegMap(@Self)^.&set := $00000010;
  23514. end;
  23515. procedure TUART2_U2MODE.clearRXINV; inline;
  23516. begin
  23517. pTDefRegMap(@Self)^.clr := $00000010;
  23518. end;
  23519. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  23520. begin
  23521. if thebits = 0 then
  23522. pTDefRegMap(@Self)^.clr := $00000010
  23523. else
  23524. pTDefRegMap(@Self)^.&set := $00000010;
  23525. end;
  23526. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  23527. begin
  23528. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23529. end;
  23530. procedure TUART2_U2MODE.setABAUD; inline;
  23531. begin
  23532. pTDefRegMap(@Self)^.&set := $00000020;
  23533. end;
  23534. procedure TUART2_U2MODE.clearABAUD; inline;
  23535. begin
  23536. pTDefRegMap(@Self)^.clr := $00000020;
  23537. end;
  23538. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  23539. begin
  23540. if thebits = 0 then
  23541. pTDefRegMap(@Self)^.clr := $00000020
  23542. else
  23543. pTDefRegMap(@Self)^.&set := $00000020;
  23544. end;
  23545. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  23546. begin
  23547. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23548. end;
  23549. procedure TUART2_U2MODE.setLPBACK; inline;
  23550. begin
  23551. pTDefRegMap(@Self)^.&set := $00000040;
  23552. end;
  23553. procedure TUART2_U2MODE.clearLPBACK; inline;
  23554. begin
  23555. pTDefRegMap(@Self)^.clr := $00000040;
  23556. end;
  23557. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  23558. begin
  23559. if thebits = 0 then
  23560. pTDefRegMap(@Self)^.clr := $00000040
  23561. else
  23562. pTDefRegMap(@Self)^.&set := $00000040;
  23563. end;
  23564. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  23565. begin
  23566. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23567. end;
  23568. procedure TUART2_U2MODE.setWAKE; inline;
  23569. begin
  23570. pTDefRegMap(@Self)^.&set := $00000080;
  23571. end;
  23572. procedure TUART2_U2MODE.clearWAKE; inline;
  23573. begin
  23574. pTDefRegMap(@Self)^.clr := $00000080;
  23575. end;
  23576. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  23577. begin
  23578. if thebits = 0 then
  23579. pTDefRegMap(@Self)^.clr := $00000080
  23580. else
  23581. pTDefRegMap(@Self)^.&set := $00000080;
  23582. end;
  23583. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  23584. begin
  23585. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23586. end;
  23587. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  23588. begin
  23589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  23590. end;
  23591. function TUART2_U2MODE.getUEN : TBits_2; inline;
  23592. begin
  23593. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  23594. end;
  23595. procedure TUART2_U2MODE.setRTSMD; inline;
  23596. begin
  23597. pTDefRegMap(@Self)^.&set := $00000800;
  23598. end;
  23599. procedure TUART2_U2MODE.clearRTSMD; inline;
  23600. begin
  23601. pTDefRegMap(@Self)^.clr := $00000800;
  23602. end;
  23603. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  23604. begin
  23605. if thebits = 0 then
  23606. pTDefRegMap(@Self)^.clr := $00000800
  23607. else
  23608. pTDefRegMap(@Self)^.&set := $00000800;
  23609. end;
  23610. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  23611. begin
  23612. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23613. end;
  23614. procedure TUART2_U2MODE.setIREN; inline;
  23615. begin
  23616. pTDefRegMap(@Self)^.&set := $00001000;
  23617. end;
  23618. procedure TUART2_U2MODE.clearIREN; inline;
  23619. begin
  23620. pTDefRegMap(@Self)^.clr := $00001000;
  23621. end;
  23622. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  23623. begin
  23624. if thebits = 0 then
  23625. pTDefRegMap(@Self)^.clr := $00001000
  23626. else
  23627. pTDefRegMap(@Self)^.&set := $00001000;
  23628. end;
  23629. function TUART2_U2MODE.getIREN : TBits_1; inline;
  23630. begin
  23631. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23632. end;
  23633. procedure TUART2_U2MODE.setSIDL; inline;
  23634. begin
  23635. pTDefRegMap(@Self)^.&set := $00002000;
  23636. end;
  23637. procedure TUART2_U2MODE.clearSIDL; inline;
  23638. begin
  23639. pTDefRegMap(@Self)^.clr := $00002000;
  23640. end;
  23641. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  23642. begin
  23643. if thebits = 0 then
  23644. pTDefRegMap(@Self)^.clr := $00002000
  23645. else
  23646. pTDefRegMap(@Self)^.&set := $00002000;
  23647. end;
  23648. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  23649. begin
  23650. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23651. end;
  23652. procedure TUART2_U2MODE.setON; inline;
  23653. begin
  23654. pTDefRegMap(@Self)^.&set := $00008000;
  23655. end;
  23656. procedure TUART2_U2MODE.clearON; inline;
  23657. begin
  23658. pTDefRegMap(@Self)^.clr := $00008000;
  23659. end;
  23660. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  23661. begin
  23662. if thebits = 0 then
  23663. pTDefRegMap(@Self)^.clr := $00008000
  23664. else
  23665. pTDefRegMap(@Self)^.&set := $00008000;
  23666. end;
  23667. function TUART2_U2MODE.getON : TBits_1; inline;
  23668. begin
  23669. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23670. end;
  23671. procedure TUART2_U2MODE.setPDSEL0; inline;
  23672. begin
  23673. pTDefRegMap(@Self)^.&set := $00000002;
  23674. end;
  23675. procedure TUART2_U2MODE.clearPDSEL0; inline;
  23676. begin
  23677. pTDefRegMap(@Self)^.clr := $00000002;
  23678. end;
  23679. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  23680. begin
  23681. if thebits = 0 then
  23682. pTDefRegMap(@Self)^.clr := $00000002
  23683. else
  23684. pTDefRegMap(@Self)^.&set := $00000002;
  23685. end;
  23686. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  23687. begin
  23688. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23689. end;
  23690. procedure TUART2_U2MODE.setPDSEL1; inline;
  23691. begin
  23692. pTDefRegMap(@Self)^.&set := $00000004;
  23693. end;
  23694. procedure TUART2_U2MODE.clearPDSEL1; inline;
  23695. begin
  23696. pTDefRegMap(@Self)^.clr := $00000004;
  23697. end;
  23698. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  23699. begin
  23700. if thebits = 0 then
  23701. pTDefRegMap(@Self)^.clr := $00000004
  23702. else
  23703. pTDefRegMap(@Self)^.&set := $00000004;
  23704. end;
  23705. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  23706. begin
  23707. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23708. end;
  23709. procedure TUART2_U2MODE.setUEN0; inline;
  23710. begin
  23711. pTDefRegMap(@Self)^.&set := $00000100;
  23712. end;
  23713. procedure TUART2_U2MODE.clearUEN0; inline;
  23714. begin
  23715. pTDefRegMap(@Self)^.clr := $00000100;
  23716. end;
  23717. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  23718. begin
  23719. if thebits = 0 then
  23720. pTDefRegMap(@Self)^.clr := $00000100
  23721. else
  23722. pTDefRegMap(@Self)^.&set := $00000100;
  23723. end;
  23724. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  23725. begin
  23726. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23727. end;
  23728. procedure TUART2_U2MODE.setUEN1; inline;
  23729. begin
  23730. pTDefRegMap(@Self)^.&set := $00000200;
  23731. end;
  23732. procedure TUART2_U2MODE.clearUEN1; inline;
  23733. begin
  23734. pTDefRegMap(@Self)^.clr := $00000200;
  23735. end;
  23736. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  23737. begin
  23738. if thebits = 0 then
  23739. pTDefRegMap(@Self)^.clr := $00000200
  23740. else
  23741. pTDefRegMap(@Self)^.&set := $00000200;
  23742. end;
  23743. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  23744. begin
  23745. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23746. end;
  23747. procedure TUART2_U2MODE.setUSIDL; inline;
  23748. begin
  23749. pTDefRegMap(@Self)^.&set := $00002000;
  23750. end;
  23751. procedure TUART2_U2MODE.clearUSIDL; inline;
  23752. begin
  23753. pTDefRegMap(@Self)^.clr := $00002000;
  23754. end;
  23755. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  23756. begin
  23757. if thebits = 0 then
  23758. pTDefRegMap(@Self)^.clr := $00002000
  23759. else
  23760. pTDefRegMap(@Self)^.&set := $00002000;
  23761. end;
  23762. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  23763. begin
  23764. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23765. end;
  23766. procedure TUART2_U2MODE.setUARTEN; inline;
  23767. begin
  23768. pTDefRegMap(@Self)^.&set := $00008000;
  23769. end;
  23770. procedure TUART2_U2MODE.clearUARTEN; inline;
  23771. begin
  23772. pTDefRegMap(@Self)^.clr := $00008000;
  23773. end;
  23774. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  23775. begin
  23776. if thebits = 0 then
  23777. pTDefRegMap(@Self)^.clr := $00008000
  23778. else
  23779. pTDefRegMap(@Self)^.&set := $00008000;
  23780. end;
  23781. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  23782. begin
  23783. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23784. end;
  23785. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  23786. begin
  23787. pTDefRegMap(@Self)^.val := thebits;
  23788. end;
  23789. function TUART2_U2MODE.getw : TBits_32; inline;
  23790. begin
  23791. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23792. end;
  23793. procedure TUART2_U8932MODE.setSTSEL; inline;
  23794. begin
  23795. pTDefRegMap(@Self)^.&set := $00000001;
  23796. end;
  23797. procedure TUART2_U8932MODE.clearSTSEL; inline;
  23798. begin
  23799. pTDefRegMap(@Self)^.clr := $00000001;
  23800. end;
  23801. procedure TUART2_U8932MODE.setSTSEL(thebits : TBits_1); inline;
  23802. begin
  23803. if thebits = 0 then
  23804. pTDefRegMap(@Self)^.clr := $00000001
  23805. else
  23806. pTDefRegMap(@Self)^.&set := $00000001;
  23807. end;
  23808. function TUART2_U8932MODE.getSTSEL : TBits_1; inline;
  23809. begin
  23810. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23811. end;
  23812. procedure TUART2_U8932MODE.setPDSEL(thebits : TBits_2); inline;
  23813. begin
  23814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  23815. end;
  23816. function TUART2_U8932MODE.getPDSEL : TBits_2; inline;
  23817. begin
  23818. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  23819. end;
  23820. procedure TUART2_U8932MODE.setBRGH; inline;
  23821. begin
  23822. pTDefRegMap(@Self)^.&set := $00000008;
  23823. end;
  23824. procedure TUART2_U8932MODE.clearBRGH; inline;
  23825. begin
  23826. pTDefRegMap(@Self)^.clr := $00000008;
  23827. end;
  23828. procedure TUART2_U8932MODE.setBRGH(thebits : TBits_1); inline;
  23829. begin
  23830. if thebits = 0 then
  23831. pTDefRegMap(@Self)^.clr := $00000008
  23832. else
  23833. pTDefRegMap(@Self)^.&set := $00000008;
  23834. end;
  23835. function TUART2_U8932MODE.getBRGH : TBits_1; inline;
  23836. begin
  23837. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23838. end;
  23839. procedure TUART2_U8932MODE.setRXINV; inline;
  23840. begin
  23841. pTDefRegMap(@Self)^.&set := $00000010;
  23842. end;
  23843. procedure TUART2_U8932MODE.clearRXINV; inline;
  23844. begin
  23845. pTDefRegMap(@Self)^.clr := $00000010;
  23846. end;
  23847. procedure TUART2_U8932MODE.setRXINV(thebits : TBits_1); inline;
  23848. begin
  23849. if thebits = 0 then
  23850. pTDefRegMap(@Self)^.clr := $00000010
  23851. else
  23852. pTDefRegMap(@Self)^.&set := $00000010;
  23853. end;
  23854. function TUART2_U8932MODE.getRXINV : TBits_1; inline;
  23855. begin
  23856. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23857. end;
  23858. procedure TUART2_U8932MODE.setABAUD; inline;
  23859. begin
  23860. pTDefRegMap(@Self)^.&set := $00000020;
  23861. end;
  23862. procedure TUART2_U8932MODE.clearABAUD; inline;
  23863. begin
  23864. pTDefRegMap(@Self)^.clr := $00000020;
  23865. end;
  23866. procedure TUART2_U8932MODE.setABAUD(thebits : TBits_1); inline;
  23867. begin
  23868. if thebits = 0 then
  23869. pTDefRegMap(@Self)^.clr := $00000020
  23870. else
  23871. pTDefRegMap(@Self)^.&set := $00000020;
  23872. end;
  23873. function TUART2_U8932MODE.getABAUD : TBits_1; inline;
  23874. begin
  23875. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23876. end;
  23877. procedure TUART2_U8932MODE.setLPBACK; inline;
  23878. begin
  23879. pTDefRegMap(@Self)^.&set := $00000040;
  23880. end;
  23881. procedure TUART2_U8932MODE.clearLPBACK; inline;
  23882. begin
  23883. pTDefRegMap(@Self)^.clr := $00000040;
  23884. end;
  23885. procedure TUART2_U8932MODE.setLPBACK(thebits : TBits_1); inline;
  23886. begin
  23887. if thebits = 0 then
  23888. pTDefRegMap(@Self)^.clr := $00000040
  23889. else
  23890. pTDefRegMap(@Self)^.&set := $00000040;
  23891. end;
  23892. function TUART2_U8932MODE.getLPBACK : TBits_1; inline;
  23893. begin
  23894. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23895. end;
  23896. procedure TUART2_U8932MODE.setWAKE; inline;
  23897. begin
  23898. pTDefRegMap(@Self)^.&set := $00000080;
  23899. end;
  23900. procedure TUART2_U8932MODE.clearWAKE; inline;
  23901. begin
  23902. pTDefRegMap(@Self)^.clr := $00000080;
  23903. end;
  23904. procedure TUART2_U8932MODE.setWAKE(thebits : TBits_1); inline;
  23905. begin
  23906. if thebits = 0 then
  23907. pTDefRegMap(@Self)^.clr := $00000080
  23908. else
  23909. pTDefRegMap(@Self)^.&set := $00000080;
  23910. end;
  23911. function TUART2_U8932MODE.getWAKE : TBits_1; inline;
  23912. begin
  23913. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23914. end;
  23915. procedure TUART2_U8932MODE.setUEN(thebits : TBits_2); inline;
  23916. begin
  23917. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  23918. end;
  23919. function TUART2_U8932MODE.getUEN : TBits_2; inline;
  23920. begin
  23921. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  23922. end;
  23923. procedure TUART2_U8932MODE.setRTSMD; inline;
  23924. begin
  23925. pTDefRegMap(@Self)^.&set := $00000800;
  23926. end;
  23927. procedure TUART2_U8932MODE.clearRTSMD; inline;
  23928. begin
  23929. pTDefRegMap(@Self)^.clr := $00000800;
  23930. end;
  23931. procedure TUART2_U8932MODE.setRTSMD(thebits : TBits_1); inline;
  23932. begin
  23933. if thebits = 0 then
  23934. pTDefRegMap(@Self)^.clr := $00000800
  23935. else
  23936. pTDefRegMap(@Self)^.&set := $00000800;
  23937. end;
  23938. function TUART2_U8932MODE.getRTSMD : TBits_1; inline;
  23939. begin
  23940. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23941. end;
  23942. procedure TUART2_U8932MODE.setIREN; inline;
  23943. begin
  23944. pTDefRegMap(@Self)^.&set := $00001000;
  23945. end;
  23946. procedure TUART2_U8932MODE.clearIREN; inline;
  23947. begin
  23948. pTDefRegMap(@Self)^.clr := $00001000;
  23949. end;
  23950. procedure TUART2_U8932MODE.setIREN(thebits : TBits_1); inline;
  23951. begin
  23952. if thebits = 0 then
  23953. pTDefRegMap(@Self)^.clr := $00001000
  23954. else
  23955. pTDefRegMap(@Self)^.&set := $00001000;
  23956. end;
  23957. function TUART2_U8932MODE.getIREN : TBits_1; inline;
  23958. begin
  23959. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23960. end;
  23961. procedure TUART2_U8932MODE.setSIDL; inline;
  23962. begin
  23963. pTDefRegMap(@Self)^.&set := $00002000;
  23964. end;
  23965. procedure TUART2_U8932MODE.clearSIDL; inline;
  23966. begin
  23967. pTDefRegMap(@Self)^.clr := $00002000;
  23968. end;
  23969. procedure TUART2_U8932MODE.setSIDL(thebits : TBits_1); inline;
  23970. begin
  23971. if thebits = 0 then
  23972. pTDefRegMap(@Self)^.clr := $00002000
  23973. else
  23974. pTDefRegMap(@Self)^.&set := $00002000;
  23975. end;
  23976. function TUART2_U8932MODE.getSIDL : TBits_1; inline;
  23977. begin
  23978. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23979. end;
  23980. procedure TUART2_U8932MODE.setON; inline;
  23981. begin
  23982. pTDefRegMap(@Self)^.&set := $00008000;
  23983. end;
  23984. procedure TUART2_U8932MODE.clearON; inline;
  23985. begin
  23986. pTDefRegMap(@Self)^.clr := $00008000;
  23987. end;
  23988. procedure TUART2_U8932MODE.setON(thebits : TBits_1); inline;
  23989. begin
  23990. if thebits = 0 then
  23991. pTDefRegMap(@Self)^.clr := $00008000
  23992. else
  23993. pTDefRegMap(@Self)^.&set := $00008000;
  23994. end;
  23995. function TUART2_U8932MODE.getON : TBits_1; inline;
  23996. begin
  23997. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23998. end;
  23999. procedure TUART2_U8932MODE.setPDSEL0; inline;
  24000. begin
  24001. pTDefRegMap(@Self)^.&set := $00000002;
  24002. end;
  24003. procedure TUART2_U8932MODE.clearPDSEL0; inline;
  24004. begin
  24005. pTDefRegMap(@Self)^.clr := $00000002;
  24006. end;
  24007. procedure TUART2_U8932MODE.setPDSEL0(thebits : TBits_1); inline;
  24008. begin
  24009. if thebits = 0 then
  24010. pTDefRegMap(@Self)^.clr := $00000002
  24011. else
  24012. pTDefRegMap(@Self)^.&set := $00000002;
  24013. end;
  24014. function TUART2_U8932MODE.getPDSEL0 : TBits_1; inline;
  24015. begin
  24016. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24017. end;
  24018. procedure TUART2_U8932MODE.setPDSEL1; inline;
  24019. begin
  24020. pTDefRegMap(@Self)^.&set := $00000004;
  24021. end;
  24022. procedure TUART2_U8932MODE.clearPDSEL1; inline;
  24023. begin
  24024. pTDefRegMap(@Self)^.clr := $00000004;
  24025. end;
  24026. procedure TUART2_U8932MODE.setPDSEL1(thebits : TBits_1); inline;
  24027. begin
  24028. if thebits = 0 then
  24029. pTDefRegMap(@Self)^.clr := $00000004
  24030. else
  24031. pTDefRegMap(@Self)^.&set := $00000004;
  24032. end;
  24033. function TUART2_U8932MODE.getPDSEL1 : TBits_1; inline;
  24034. begin
  24035. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24036. end;
  24037. procedure TUART2_U8932MODE.setUEN0; inline;
  24038. begin
  24039. pTDefRegMap(@Self)^.&set := $00000100;
  24040. end;
  24041. procedure TUART2_U8932MODE.clearUEN0; inline;
  24042. begin
  24043. pTDefRegMap(@Self)^.clr := $00000100;
  24044. end;
  24045. procedure TUART2_U8932MODE.setUEN0(thebits : TBits_1); inline;
  24046. begin
  24047. if thebits = 0 then
  24048. pTDefRegMap(@Self)^.clr := $00000100
  24049. else
  24050. pTDefRegMap(@Self)^.&set := $00000100;
  24051. end;
  24052. function TUART2_U8932MODE.getUEN0 : TBits_1; inline;
  24053. begin
  24054. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24055. end;
  24056. procedure TUART2_U8932MODE.setUEN1; inline;
  24057. begin
  24058. pTDefRegMap(@Self)^.&set := $00000200;
  24059. end;
  24060. procedure TUART2_U8932MODE.clearUEN1; inline;
  24061. begin
  24062. pTDefRegMap(@Self)^.clr := $00000200;
  24063. end;
  24064. procedure TUART2_U8932MODE.setUEN1(thebits : TBits_1); inline;
  24065. begin
  24066. if thebits = 0 then
  24067. pTDefRegMap(@Self)^.clr := $00000200
  24068. else
  24069. pTDefRegMap(@Self)^.&set := $00000200;
  24070. end;
  24071. function TUART2_U8932MODE.getUEN1 : TBits_1; inline;
  24072. begin
  24073. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24074. end;
  24075. procedure TUART2_U8932MODE.setUSIDL; inline;
  24076. begin
  24077. pTDefRegMap(@Self)^.&set := $00002000;
  24078. end;
  24079. procedure TUART2_U8932MODE.clearUSIDL; inline;
  24080. begin
  24081. pTDefRegMap(@Self)^.clr := $00002000;
  24082. end;
  24083. procedure TUART2_U8932MODE.setUSIDL(thebits : TBits_1); inline;
  24084. begin
  24085. if thebits = 0 then
  24086. pTDefRegMap(@Self)^.clr := $00002000
  24087. else
  24088. pTDefRegMap(@Self)^.&set := $00002000;
  24089. end;
  24090. function TUART2_U8932MODE.getUSIDL : TBits_1; inline;
  24091. begin
  24092. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24093. end;
  24094. procedure TUART2_U8932MODE.setUARTEN; inline;
  24095. begin
  24096. pTDefRegMap(@Self)^.&set := $00008000;
  24097. end;
  24098. procedure TUART2_U8932MODE.clearUARTEN; inline;
  24099. begin
  24100. pTDefRegMap(@Self)^.clr := $00008000;
  24101. end;
  24102. procedure TUART2_U8932MODE.setUARTEN(thebits : TBits_1); inline;
  24103. begin
  24104. if thebits = 0 then
  24105. pTDefRegMap(@Self)^.clr := $00008000
  24106. else
  24107. pTDefRegMap(@Self)^.&set := $00008000;
  24108. end;
  24109. function TUART2_U8932MODE.getUARTEN : TBits_1; inline;
  24110. begin
  24111. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24112. end;
  24113. procedure TUART2_U8932MODE.setw(thebits : TBits_32); inline;
  24114. begin
  24115. pTDefRegMap(@Self)^.val := thebits;
  24116. end;
  24117. function TUART2_U8932MODE.getw : TBits_32; inline;
  24118. begin
  24119. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24120. end;
  24121. procedure TUART2_U2STA.setURXDA; inline;
  24122. begin
  24123. pTDefRegMap(@Self)^.&set := $00000001;
  24124. end;
  24125. procedure TUART2_U2STA.clearURXDA; inline;
  24126. begin
  24127. pTDefRegMap(@Self)^.clr := $00000001;
  24128. end;
  24129. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  24130. begin
  24131. if thebits = 0 then
  24132. pTDefRegMap(@Self)^.clr := $00000001
  24133. else
  24134. pTDefRegMap(@Self)^.&set := $00000001;
  24135. end;
  24136. function TUART2_U2STA.getURXDA : TBits_1; inline;
  24137. begin
  24138. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24139. end;
  24140. procedure TUART2_U2STA.setOERR; inline;
  24141. begin
  24142. pTDefRegMap(@Self)^.&set := $00000002;
  24143. end;
  24144. procedure TUART2_U2STA.clearOERR; inline;
  24145. begin
  24146. pTDefRegMap(@Self)^.clr := $00000002;
  24147. end;
  24148. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  24149. begin
  24150. if thebits = 0 then
  24151. pTDefRegMap(@Self)^.clr := $00000002
  24152. else
  24153. pTDefRegMap(@Self)^.&set := $00000002;
  24154. end;
  24155. function TUART2_U2STA.getOERR : TBits_1; inline;
  24156. begin
  24157. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24158. end;
  24159. procedure TUART2_U2STA.setFERR; inline;
  24160. begin
  24161. pTDefRegMap(@Self)^.&set := $00000004;
  24162. end;
  24163. procedure TUART2_U2STA.clearFERR; inline;
  24164. begin
  24165. pTDefRegMap(@Self)^.clr := $00000004;
  24166. end;
  24167. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  24168. begin
  24169. if thebits = 0 then
  24170. pTDefRegMap(@Self)^.clr := $00000004
  24171. else
  24172. pTDefRegMap(@Self)^.&set := $00000004;
  24173. end;
  24174. function TUART2_U2STA.getFERR : TBits_1; inline;
  24175. begin
  24176. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24177. end;
  24178. procedure TUART2_U2STA.setPERR; inline;
  24179. begin
  24180. pTDefRegMap(@Self)^.&set := $00000008;
  24181. end;
  24182. procedure TUART2_U2STA.clearPERR; inline;
  24183. begin
  24184. pTDefRegMap(@Self)^.clr := $00000008;
  24185. end;
  24186. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  24187. begin
  24188. if thebits = 0 then
  24189. pTDefRegMap(@Self)^.clr := $00000008
  24190. else
  24191. pTDefRegMap(@Self)^.&set := $00000008;
  24192. end;
  24193. function TUART2_U2STA.getPERR : TBits_1; inline;
  24194. begin
  24195. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24196. end;
  24197. procedure TUART2_U2STA.setRIDLE; inline;
  24198. begin
  24199. pTDefRegMap(@Self)^.&set := $00000010;
  24200. end;
  24201. procedure TUART2_U2STA.clearRIDLE; inline;
  24202. begin
  24203. pTDefRegMap(@Self)^.clr := $00000010;
  24204. end;
  24205. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  24206. begin
  24207. if thebits = 0 then
  24208. pTDefRegMap(@Self)^.clr := $00000010
  24209. else
  24210. pTDefRegMap(@Self)^.&set := $00000010;
  24211. end;
  24212. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  24213. begin
  24214. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24215. end;
  24216. procedure TUART2_U2STA.setADDEN; inline;
  24217. begin
  24218. pTDefRegMap(@Self)^.&set := $00000020;
  24219. end;
  24220. procedure TUART2_U2STA.clearADDEN; inline;
  24221. begin
  24222. pTDefRegMap(@Self)^.clr := $00000020;
  24223. end;
  24224. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  24225. begin
  24226. if thebits = 0 then
  24227. pTDefRegMap(@Self)^.clr := $00000020
  24228. else
  24229. pTDefRegMap(@Self)^.&set := $00000020;
  24230. end;
  24231. function TUART2_U2STA.getADDEN : TBits_1; inline;
  24232. begin
  24233. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24234. end;
  24235. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  24236. begin
  24237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24238. end;
  24239. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  24240. begin
  24241. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24242. end;
  24243. procedure TUART2_U2STA.setTRMT; inline;
  24244. begin
  24245. pTDefRegMap(@Self)^.&set := $00000100;
  24246. end;
  24247. procedure TUART2_U2STA.clearTRMT; inline;
  24248. begin
  24249. pTDefRegMap(@Self)^.clr := $00000100;
  24250. end;
  24251. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  24252. begin
  24253. if thebits = 0 then
  24254. pTDefRegMap(@Self)^.clr := $00000100
  24255. else
  24256. pTDefRegMap(@Self)^.&set := $00000100;
  24257. end;
  24258. function TUART2_U2STA.getTRMT : TBits_1; inline;
  24259. begin
  24260. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24261. end;
  24262. procedure TUART2_U2STA.setUTXBF; inline;
  24263. begin
  24264. pTDefRegMap(@Self)^.&set := $00000200;
  24265. end;
  24266. procedure TUART2_U2STA.clearUTXBF; inline;
  24267. begin
  24268. pTDefRegMap(@Self)^.clr := $00000200;
  24269. end;
  24270. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  24271. begin
  24272. if thebits = 0 then
  24273. pTDefRegMap(@Self)^.clr := $00000200
  24274. else
  24275. pTDefRegMap(@Self)^.&set := $00000200;
  24276. end;
  24277. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  24278. begin
  24279. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24280. end;
  24281. procedure TUART2_U2STA.setUTXEN; inline;
  24282. begin
  24283. pTDefRegMap(@Self)^.&set := $00000400;
  24284. end;
  24285. procedure TUART2_U2STA.clearUTXEN; inline;
  24286. begin
  24287. pTDefRegMap(@Self)^.clr := $00000400;
  24288. end;
  24289. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  24290. begin
  24291. if thebits = 0 then
  24292. pTDefRegMap(@Self)^.clr := $00000400
  24293. else
  24294. pTDefRegMap(@Self)^.&set := $00000400;
  24295. end;
  24296. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  24297. begin
  24298. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24299. end;
  24300. procedure TUART2_U2STA.setUTXBRK; inline;
  24301. begin
  24302. pTDefRegMap(@Self)^.&set := $00000800;
  24303. end;
  24304. procedure TUART2_U2STA.clearUTXBRK; inline;
  24305. begin
  24306. pTDefRegMap(@Self)^.clr := $00000800;
  24307. end;
  24308. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  24309. begin
  24310. if thebits = 0 then
  24311. pTDefRegMap(@Self)^.clr := $00000800
  24312. else
  24313. pTDefRegMap(@Self)^.&set := $00000800;
  24314. end;
  24315. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  24316. begin
  24317. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24318. end;
  24319. procedure TUART2_U2STA.setURXEN; inline;
  24320. begin
  24321. pTDefRegMap(@Self)^.&set := $00001000;
  24322. end;
  24323. procedure TUART2_U2STA.clearURXEN; inline;
  24324. begin
  24325. pTDefRegMap(@Self)^.clr := $00001000;
  24326. end;
  24327. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  24328. begin
  24329. if thebits = 0 then
  24330. pTDefRegMap(@Self)^.clr := $00001000
  24331. else
  24332. pTDefRegMap(@Self)^.&set := $00001000;
  24333. end;
  24334. function TUART2_U2STA.getURXEN : TBits_1; inline;
  24335. begin
  24336. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24337. end;
  24338. procedure TUART2_U2STA.setUTXINV; inline;
  24339. begin
  24340. pTDefRegMap(@Self)^.&set := $00002000;
  24341. end;
  24342. procedure TUART2_U2STA.clearUTXINV; inline;
  24343. begin
  24344. pTDefRegMap(@Self)^.clr := $00002000;
  24345. end;
  24346. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  24347. begin
  24348. if thebits = 0 then
  24349. pTDefRegMap(@Self)^.clr := $00002000
  24350. else
  24351. pTDefRegMap(@Self)^.&set := $00002000;
  24352. end;
  24353. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  24354. begin
  24355. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24356. end;
  24357. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  24358. begin
  24359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24360. end;
  24361. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  24362. begin
  24363. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24364. end;
  24365. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  24366. begin
  24367. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  24368. end;
  24369. function TUART2_U2STA.getADDR : TBits_8; inline;
  24370. begin
  24371. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  24372. end;
  24373. procedure TUART2_U2STA.setADM_EN; inline;
  24374. begin
  24375. pTDefRegMap(@Self)^.&set := $01000000;
  24376. end;
  24377. procedure TUART2_U2STA.clearADM_EN; inline;
  24378. begin
  24379. pTDefRegMap(@Self)^.clr := $01000000;
  24380. end;
  24381. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  24382. begin
  24383. if thebits = 0 then
  24384. pTDefRegMap(@Self)^.clr := $01000000
  24385. else
  24386. pTDefRegMap(@Self)^.&set := $01000000;
  24387. end;
  24388. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  24389. begin
  24390. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24391. end;
  24392. procedure TUART2_U2STA.setURXISEL0; inline;
  24393. begin
  24394. pTDefRegMap(@Self)^.&set := $00000040;
  24395. end;
  24396. procedure TUART2_U2STA.clearURXISEL0; inline;
  24397. begin
  24398. pTDefRegMap(@Self)^.clr := $00000040;
  24399. end;
  24400. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  24401. begin
  24402. if thebits = 0 then
  24403. pTDefRegMap(@Self)^.clr := $00000040
  24404. else
  24405. pTDefRegMap(@Self)^.&set := $00000040;
  24406. end;
  24407. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  24408. begin
  24409. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24410. end;
  24411. procedure TUART2_U2STA.setURXISEL1; inline;
  24412. begin
  24413. pTDefRegMap(@Self)^.&set := $00000080;
  24414. end;
  24415. procedure TUART2_U2STA.clearURXISEL1; inline;
  24416. begin
  24417. pTDefRegMap(@Self)^.clr := $00000080;
  24418. end;
  24419. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  24420. begin
  24421. if thebits = 0 then
  24422. pTDefRegMap(@Self)^.clr := $00000080
  24423. else
  24424. pTDefRegMap(@Self)^.&set := $00000080;
  24425. end;
  24426. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  24427. begin
  24428. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24429. end;
  24430. procedure TUART2_U2STA.setUTXISEL0; inline;
  24431. begin
  24432. pTDefRegMap(@Self)^.&set := $00004000;
  24433. end;
  24434. procedure TUART2_U2STA.clearUTXISEL0; inline;
  24435. begin
  24436. pTDefRegMap(@Self)^.clr := $00004000;
  24437. end;
  24438. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  24439. begin
  24440. if thebits = 0 then
  24441. pTDefRegMap(@Self)^.clr := $00004000
  24442. else
  24443. pTDefRegMap(@Self)^.&set := $00004000;
  24444. end;
  24445. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  24446. begin
  24447. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24448. end;
  24449. procedure TUART2_U2STA.setUTXISEL1; inline;
  24450. begin
  24451. pTDefRegMap(@Self)^.&set := $00008000;
  24452. end;
  24453. procedure TUART2_U2STA.clearUTXISEL1; inline;
  24454. begin
  24455. pTDefRegMap(@Self)^.clr := $00008000;
  24456. end;
  24457. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  24458. begin
  24459. if thebits = 0 then
  24460. pTDefRegMap(@Self)^.clr := $00008000
  24461. else
  24462. pTDefRegMap(@Self)^.&set := $00008000;
  24463. end;
  24464. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  24465. begin
  24466. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24467. end;
  24468. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  24469. begin
  24470. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24471. end;
  24472. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  24473. begin
  24474. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24475. end;
  24476. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  24477. begin
  24478. pTDefRegMap(@Self)^.val := thebits;
  24479. end;
  24480. function TUART2_U2STA.getw : TBits_32; inline;
  24481. begin
  24482. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24483. end;
  24484. procedure TUART2_U8932STA.setURXDA; inline;
  24485. begin
  24486. pTDefRegMap(@Self)^.&set := $00000001;
  24487. end;
  24488. procedure TUART2_U8932STA.clearURXDA; inline;
  24489. begin
  24490. pTDefRegMap(@Self)^.clr := $00000001;
  24491. end;
  24492. procedure TUART2_U8932STA.setURXDA(thebits : TBits_1); inline;
  24493. begin
  24494. if thebits = 0 then
  24495. pTDefRegMap(@Self)^.clr := $00000001
  24496. else
  24497. pTDefRegMap(@Self)^.&set := $00000001;
  24498. end;
  24499. function TUART2_U8932STA.getURXDA : TBits_1; inline;
  24500. begin
  24501. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24502. end;
  24503. procedure TUART2_U8932STA.setOERR; inline;
  24504. begin
  24505. pTDefRegMap(@Self)^.&set := $00000002;
  24506. end;
  24507. procedure TUART2_U8932STA.clearOERR; inline;
  24508. begin
  24509. pTDefRegMap(@Self)^.clr := $00000002;
  24510. end;
  24511. procedure TUART2_U8932STA.setOERR(thebits : TBits_1); inline;
  24512. begin
  24513. if thebits = 0 then
  24514. pTDefRegMap(@Self)^.clr := $00000002
  24515. else
  24516. pTDefRegMap(@Self)^.&set := $00000002;
  24517. end;
  24518. function TUART2_U8932STA.getOERR : TBits_1; inline;
  24519. begin
  24520. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24521. end;
  24522. procedure TUART2_U8932STA.setFERR; inline;
  24523. begin
  24524. pTDefRegMap(@Self)^.&set := $00000004;
  24525. end;
  24526. procedure TUART2_U8932STA.clearFERR; inline;
  24527. begin
  24528. pTDefRegMap(@Self)^.clr := $00000004;
  24529. end;
  24530. procedure TUART2_U8932STA.setFERR(thebits : TBits_1); inline;
  24531. begin
  24532. if thebits = 0 then
  24533. pTDefRegMap(@Self)^.clr := $00000004
  24534. else
  24535. pTDefRegMap(@Self)^.&set := $00000004;
  24536. end;
  24537. function TUART2_U8932STA.getFERR : TBits_1; inline;
  24538. begin
  24539. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24540. end;
  24541. procedure TUART2_U8932STA.setPERR; inline;
  24542. begin
  24543. pTDefRegMap(@Self)^.&set := $00000008;
  24544. end;
  24545. procedure TUART2_U8932STA.clearPERR; inline;
  24546. begin
  24547. pTDefRegMap(@Self)^.clr := $00000008;
  24548. end;
  24549. procedure TUART2_U8932STA.setPERR(thebits : TBits_1); inline;
  24550. begin
  24551. if thebits = 0 then
  24552. pTDefRegMap(@Self)^.clr := $00000008
  24553. else
  24554. pTDefRegMap(@Self)^.&set := $00000008;
  24555. end;
  24556. function TUART2_U8932STA.getPERR : TBits_1; inline;
  24557. begin
  24558. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24559. end;
  24560. procedure TUART2_U8932STA.setRIDLE; inline;
  24561. begin
  24562. pTDefRegMap(@Self)^.&set := $00000010;
  24563. end;
  24564. procedure TUART2_U8932STA.clearRIDLE; inline;
  24565. begin
  24566. pTDefRegMap(@Self)^.clr := $00000010;
  24567. end;
  24568. procedure TUART2_U8932STA.setRIDLE(thebits : TBits_1); inline;
  24569. begin
  24570. if thebits = 0 then
  24571. pTDefRegMap(@Self)^.clr := $00000010
  24572. else
  24573. pTDefRegMap(@Self)^.&set := $00000010;
  24574. end;
  24575. function TUART2_U8932STA.getRIDLE : TBits_1; inline;
  24576. begin
  24577. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24578. end;
  24579. procedure TUART2_U8932STA.setADDEN; inline;
  24580. begin
  24581. pTDefRegMap(@Self)^.&set := $00000020;
  24582. end;
  24583. procedure TUART2_U8932STA.clearADDEN; inline;
  24584. begin
  24585. pTDefRegMap(@Self)^.clr := $00000020;
  24586. end;
  24587. procedure TUART2_U8932STA.setADDEN(thebits : TBits_1); inline;
  24588. begin
  24589. if thebits = 0 then
  24590. pTDefRegMap(@Self)^.clr := $00000020
  24591. else
  24592. pTDefRegMap(@Self)^.&set := $00000020;
  24593. end;
  24594. function TUART2_U8932STA.getADDEN : TBits_1; inline;
  24595. begin
  24596. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24597. end;
  24598. procedure TUART2_U8932STA.setURXISEL(thebits : TBits_2); inline;
  24599. begin
  24600. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24601. end;
  24602. function TUART2_U8932STA.getURXISEL : TBits_2; inline;
  24603. begin
  24604. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24605. end;
  24606. procedure TUART2_U8932STA.setTRMT; inline;
  24607. begin
  24608. pTDefRegMap(@Self)^.&set := $00000100;
  24609. end;
  24610. procedure TUART2_U8932STA.clearTRMT; inline;
  24611. begin
  24612. pTDefRegMap(@Self)^.clr := $00000100;
  24613. end;
  24614. procedure TUART2_U8932STA.setTRMT(thebits : TBits_1); inline;
  24615. begin
  24616. if thebits = 0 then
  24617. pTDefRegMap(@Self)^.clr := $00000100
  24618. else
  24619. pTDefRegMap(@Self)^.&set := $00000100;
  24620. end;
  24621. function TUART2_U8932STA.getTRMT : TBits_1; inline;
  24622. begin
  24623. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24624. end;
  24625. procedure TUART2_U8932STA.setUTXBF; inline;
  24626. begin
  24627. pTDefRegMap(@Self)^.&set := $00000200;
  24628. end;
  24629. procedure TUART2_U8932STA.clearUTXBF; inline;
  24630. begin
  24631. pTDefRegMap(@Self)^.clr := $00000200;
  24632. end;
  24633. procedure TUART2_U8932STA.setUTXBF(thebits : TBits_1); inline;
  24634. begin
  24635. if thebits = 0 then
  24636. pTDefRegMap(@Self)^.clr := $00000200
  24637. else
  24638. pTDefRegMap(@Self)^.&set := $00000200;
  24639. end;
  24640. function TUART2_U8932STA.getUTXBF : TBits_1; inline;
  24641. begin
  24642. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24643. end;
  24644. procedure TUART2_U8932STA.setUTXEN; inline;
  24645. begin
  24646. pTDefRegMap(@Self)^.&set := $00000400;
  24647. end;
  24648. procedure TUART2_U8932STA.clearUTXEN; inline;
  24649. begin
  24650. pTDefRegMap(@Self)^.clr := $00000400;
  24651. end;
  24652. procedure TUART2_U8932STA.setUTXEN(thebits : TBits_1); inline;
  24653. begin
  24654. if thebits = 0 then
  24655. pTDefRegMap(@Self)^.clr := $00000400
  24656. else
  24657. pTDefRegMap(@Self)^.&set := $00000400;
  24658. end;
  24659. function TUART2_U8932STA.getUTXEN : TBits_1; inline;
  24660. begin
  24661. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24662. end;
  24663. procedure TUART2_U8932STA.setUTXBRK; inline;
  24664. begin
  24665. pTDefRegMap(@Self)^.&set := $00000800;
  24666. end;
  24667. procedure TUART2_U8932STA.clearUTXBRK; inline;
  24668. begin
  24669. pTDefRegMap(@Self)^.clr := $00000800;
  24670. end;
  24671. procedure TUART2_U8932STA.setUTXBRK(thebits : TBits_1); inline;
  24672. begin
  24673. if thebits = 0 then
  24674. pTDefRegMap(@Self)^.clr := $00000800
  24675. else
  24676. pTDefRegMap(@Self)^.&set := $00000800;
  24677. end;
  24678. function TUART2_U8932STA.getUTXBRK : TBits_1; inline;
  24679. begin
  24680. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24681. end;
  24682. procedure TUART2_U8932STA.setURXEN; inline;
  24683. begin
  24684. pTDefRegMap(@Self)^.&set := $00001000;
  24685. end;
  24686. procedure TUART2_U8932STA.clearURXEN; inline;
  24687. begin
  24688. pTDefRegMap(@Self)^.clr := $00001000;
  24689. end;
  24690. procedure TUART2_U8932STA.setURXEN(thebits : TBits_1); inline;
  24691. begin
  24692. if thebits = 0 then
  24693. pTDefRegMap(@Self)^.clr := $00001000
  24694. else
  24695. pTDefRegMap(@Self)^.&set := $00001000;
  24696. end;
  24697. function TUART2_U8932STA.getURXEN : TBits_1; inline;
  24698. begin
  24699. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24700. end;
  24701. procedure TUART2_U8932STA.setUTXINV; inline;
  24702. begin
  24703. pTDefRegMap(@Self)^.&set := $00002000;
  24704. end;
  24705. procedure TUART2_U8932STA.clearUTXINV; inline;
  24706. begin
  24707. pTDefRegMap(@Self)^.clr := $00002000;
  24708. end;
  24709. procedure TUART2_U8932STA.setUTXINV(thebits : TBits_1); inline;
  24710. begin
  24711. if thebits = 0 then
  24712. pTDefRegMap(@Self)^.clr := $00002000
  24713. else
  24714. pTDefRegMap(@Self)^.&set := $00002000;
  24715. end;
  24716. function TUART2_U8932STA.getUTXINV : TBits_1; inline;
  24717. begin
  24718. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24719. end;
  24720. procedure TUART2_U8932STA.setUTXISEL(thebits : TBits_2); inline;
  24721. begin
  24722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24723. end;
  24724. function TUART2_U8932STA.getUTXISEL : TBits_2; inline;
  24725. begin
  24726. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24727. end;
  24728. procedure TUART2_U8932STA.setADDR(thebits : TBits_8); inline;
  24729. begin
  24730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  24731. end;
  24732. function TUART2_U8932STA.getADDR : TBits_8; inline;
  24733. begin
  24734. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  24735. end;
  24736. procedure TUART2_U8932STA.setADM_EN; inline;
  24737. begin
  24738. pTDefRegMap(@Self)^.&set := $01000000;
  24739. end;
  24740. procedure TUART2_U8932STA.clearADM_EN; inline;
  24741. begin
  24742. pTDefRegMap(@Self)^.clr := $01000000;
  24743. end;
  24744. procedure TUART2_U8932STA.setADM_EN(thebits : TBits_1); inline;
  24745. begin
  24746. if thebits = 0 then
  24747. pTDefRegMap(@Self)^.clr := $01000000
  24748. else
  24749. pTDefRegMap(@Self)^.&set := $01000000;
  24750. end;
  24751. function TUART2_U8932STA.getADM_EN : TBits_1; inline;
  24752. begin
  24753. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24754. end;
  24755. procedure TUART2_U8932STA.setURXISEL0; inline;
  24756. begin
  24757. pTDefRegMap(@Self)^.&set := $00000040;
  24758. end;
  24759. procedure TUART2_U8932STA.clearURXISEL0; inline;
  24760. begin
  24761. pTDefRegMap(@Self)^.clr := $00000040;
  24762. end;
  24763. procedure TUART2_U8932STA.setURXISEL0(thebits : TBits_1); inline;
  24764. begin
  24765. if thebits = 0 then
  24766. pTDefRegMap(@Self)^.clr := $00000040
  24767. else
  24768. pTDefRegMap(@Self)^.&set := $00000040;
  24769. end;
  24770. function TUART2_U8932STA.getURXISEL0 : TBits_1; inline;
  24771. begin
  24772. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24773. end;
  24774. procedure TUART2_U8932STA.setURXISEL1; inline;
  24775. begin
  24776. pTDefRegMap(@Self)^.&set := $00000080;
  24777. end;
  24778. procedure TUART2_U8932STA.clearURXISEL1; inline;
  24779. begin
  24780. pTDefRegMap(@Self)^.clr := $00000080;
  24781. end;
  24782. procedure TUART2_U8932STA.setURXISEL1(thebits : TBits_1); inline;
  24783. begin
  24784. if thebits = 0 then
  24785. pTDefRegMap(@Self)^.clr := $00000080
  24786. else
  24787. pTDefRegMap(@Self)^.&set := $00000080;
  24788. end;
  24789. function TUART2_U8932STA.getURXISEL1 : TBits_1; inline;
  24790. begin
  24791. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24792. end;
  24793. procedure TUART2_U8932STA.setUTXISEL0; inline;
  24794. begin
  24795. pTDefRegMap(@Self)^.&set := $00004000;
  24796. end;
  24797. procedure TUART2_U8932STA.clearUTXISEL0; inline;
  24798. begin
  24799. pTDefRegMap(@Self)^.clr := $00004000;
  24800. end;
  24801. procedure TUART2_U8932STA.setUTXISEL0(thebits : TBits_1); inline;
  24802. begin
  24803. if thebits = 0 then
  24804. pTDefRegMap(@Self)^.clr := $00004000
  24805. else
  24806. pTDefRegMap(@Self)^.&set := $00004000;
  24807. end;
  24808. function TUART2_U8932STA.getUTXISEL0 : TBits_1; inline;
  24809. begin
  24810. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24811. end;
  24812. procedure TUART2_U8932STA.setUTXISEL1; inline;
  24813. begin
  24814. pTDefRegMap(@Self)^.&set := $00008000;
  24815. end;
  24816. procedure TUART2_U8932STA.clearUTXISEL1; inline;
  24817. begin
  24818. pTDefRegMap(@Self)^.clr := $00008000;
  24819. end;
  24820. procedure TUART2_U8932STA.setUTXISEL1(thebits : TBits_1); inline;
  24821. begin
  24822. if thebits = 0 then
  24823. pTDefRegMap(@Self)^.clr := $00008000
  24824. else
  24825. pTDefRegMap(@Self)^.&set := $00008000;
  24826. end;
  24827. function TUART2_U8932STA.getUTXISEL1 : TBits_1; inline;
  24828. begin
  24829. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24830. end;
  24831. procedure TUART2_U8932STA.setUTXSEL(thebits : TBits_2); inline;
  24832. begin
  24833. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  24834. end;
  24835. function TUART2_U8932STA.getUTXSEL : TBits_2; inline;
  24836. begin
  24837. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  24838. end;
  24839. procedure TUART2_U8932STA.setw(thebits : TBits_32); inline;
  24840. begin
  24841. pTDefRegMap(@Self)^.val := thebits;
  24842. end;
  24843. function TUART2_U8932STA.getw : TBits_32; inline;
  24844. begin
  24845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24846. end;
  24847. procedure TUART3_U39MODE.setSTSEL; inline;
  24848. begin
  24849. pTDefRegMap(@Self)^.&set := $00000001;
  24850. end;
  24851. procedure TUART3_U39MODE.clearSTSEL; inline;
  24852. begin
  24853. pTDefRegMap(@Self)^.clr := $00000001;
  24854. end;
  24855. procedure TUART3_U39MODE.setSTSEL(thebits : TBits_1); inline;
  24856. begin
  24857. if thebits = 0 then
  24858. pTDefRegMap(@Self)^.clr := $00000001
  24859. else
  24860. pTDefRegMap(@Self)^.&set := $00000001;
  24861. end;
  24862. function TUART3_U39MODE.getSTSEL : TBits_1; inline;
  24863. begin
  24864. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24865. end;
  24866. procedure TUART3_U39MODE.setPDSEL(thebits : TBits_2); inline;
  24867. begin
  24868. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  24869. end;
  24870. function TUART3_U39MODE.getPDSEL : TBits_2; inline;
  24871. begin
  24872. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  24873. end;
  24874. procedure TUART3_U39MODE.setBRGH; inline;
  24875. begin
  24876. pTDefRegMap(@Self)^.&set := $00000008;
  24877. end;
  24878. procedure TUART3_U39MODE.clearBRGH; inline;
  24879. begin
  24880. pTDefRegMap(@Self)^.clr := $00000008;
  24881. end;
  24882. procedure TUART3_U39MODE.setBRGH(thebits : TBits_1); inline;
  24883. begin
  24884. if thebits = 0 then
  24885. pTDefRegMap(@Self)^.clr := $00000008
  24886. else
  24887. pTDefRegMap(@Self)^.&set := $00000008;
  24888. end;
  24889. function TUART3_U39MODE.getBRGH : TBits_1; inline;
  24890. begin
  24891. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24892. end;
  24893. procedure TUART3_U39MODE.setRXINV; inline;
  24894. begin
  24895. pTDefRegMap(@Self)^.&set := $00000010;
  24896. end;
  24897. procedure TUART3_U39MODE.clearRXINV; inline;
  24898. begin
  24899. pTDefRegMap(@Self)^.clr := $00000010;
  24900. end;
  24901. procedure TUART3_U39MODE.setRXINV(thebits : TBits_1); inline;
  24902. begin
  24903. if thebits = 0 then
  24904. pTDefRegMap(@Self)^.clr := $00000010
  24905. else
  24906. pTDefRegMap(@Self)^.&set := $00000010;
  24907. end;
  24908. function TUART3_U39MODE.getRXINV : TBits_1; inline;
  24909. begin
  24910. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24911. end;
  24912. procedure TUART3_U39MODE.setABAUD; inline;
  24913. begin
  24914. pTDefRegMap(@Self)^.&set := $00000020;
  24915. end;
  24916. procedure TUART3_U39MODE.clearABAUD; inline;
  24917. begin
  24918. pTDefRegMap(@Self)^.clr := $00000020;
  24919. end;
  24920. procedure TUART3_U39MODE.setABAUD(thebits : TBits_1); inline;
  24921. begin
  24922. if thebits = 0 then
  24923. pTDefRegMap(@Self)^.clr := $00000020
  24924. else
  24925. pTDefRegMap(@Self)^.&set := $00000020;
  24926. end;
  24927. function TUART3_U39MODE.getABAUD : TBits_1; inline;
  24928. begin
  24929. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24930. end;
  24931. procedure TUART3_U39MODE.setLPBACK; inline;
  24932. begin
  24933. pTDefRegMap(@Self)^.&set := $00000040;
  24934. end;
  24935. procedure TUART3_U39MODE.clearLPBACK; inline;
  24936. begin
  24937. pTDefRegMap(@Self)^.clr := $00000040;
  24938. end;
  24939. procedure TUART3_U39MODE.setLPBACK(thebits : TBits_1); inline;
  24940. begin
  24941. if thebits = 0 then
  24942. pTDefRegMap(@Self)^.clr := $00000040
  24943. else
  24944. pTDefRegMap(@Self)^.&set := $00000040;
  24945. end;
  24946. function TUART3_U39MODE.getLPBACK : TBits_1; inline;
  24947. begin
  24948. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24949. end;
  24950. procedure TUART3_U39MODE.setWAKE; inline;
  24951. begin
  24952. pTDefRegMap(@Self)^.&set := $00000080;
  24953. end;
  24954. procedure TUART3_U39MODE.clearWAKE; inline;
  24955. begin
  24956. pTDefRegMap(@Self)^.clr := $00000080;
  24957. end;
  24958. procedure TUART3_U39MODE.setWAKE(thebits : TBits_1); inline;
  24959. begin
  24960. if thebits = 0 then
  24961. pTDefRegMap(@Self)^.clr := $00000080
  24962. else
  24963. pTDefRegMap(@Self)^.&set := $00000080;
  24964. end;
  24965. function TUART3_U39MODE.getWAKE : TBits_1; inline;
  24966. begin
  24967. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24968. end;
  24969. procedure TUART3_U39MODE.setUEN(thebits : TBits_2); inline;
  24970. begin
  24971. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  24972. end;
  24973. function TUART3_U39MODE.getUEN : TBits_2; inline;
  24974. begin
  24975. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  24976. end;
  24977. procedure TUART3_U39MODE.setRTSMD; inline;
  24978. begin
  24979. pTDefRegMap(@Self)^.&set := $00000800;
  24980. end;
  24981. procedure TUART3_U39MODE.clearRTSMD; inline;
  24982. begin
  24983. pTDefRegMap(@Self)^.clr := $00000800;
  24984. end;
  24985. procedure TUART3_U39MODE.setRTSMD(thebits : TBits_1); inline;
  24986. begin
  24987. if thebits = 0 then
  24988. pTDefRegMap(@Self)^.clr := $00000800
  24989. else
  24990. pTDefRegMap(@Self)^.&set := $00000800;
  24991. end;
  24992. function TUART3_U39MODE.getRTSMD : TBits_1; inline;
  24993. begin
  24994. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24995. end;
  24996. procedure TUART3_U39MODE.setIREN; inline;
  24997. begin
  24998. pTDefRegMap(@Self)^.&set := $00001000;
  24999. end;
  25000. procedure TUART3_U39MODE.clearIREN; inline;
  25001. begin
  25002. pTDefRegMap(@Self)^.clr := $00001000;
  25003. end;
  25004. procedure TUART3_U39MODE.setIREN(thebits : TBits_1); inline;
  25005. begin
  25006. if thebits = 0 then
  25007. pTDefRegMap(@Self)^.clr := $00001000
  25008. else
  25009. pTDefRegMap(@Self)^.&set := $00001000;
  25010. end;
  25011. function TUART3_U39MODE.getIREN : TBits_1; inline;
  25012. begin
  25013. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25014. end;
  25015. procedure TUART3_U39MODE.setSIDL; inline;
  25016. begin
  25017. pTDefRegMap(@Self)^.&set := $00002000;
  25018. end;
  25019. procedure TUART3_U39MODE.clearSIDL; inline;
  25020. begin
  25021. pTDefRegMap(@Self)^.clr := $00002000;
  25022. end;
  25023. procedure TUART3_U39MODE.setSIDL(thebits : TBits_1); inline;
  25024. begin
  25025. if thebits = 0 then
  25026. pTDefRegMap(@Self)^.clr := $00002000
  25027. else
  25028. pTDefRegMap(@Self)^.&set := $00002000;
  25029. end;
  25030. function TUART3_U39MODE.getSIDL : TBits_1; inline;
  25031. begin
  25032. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25033. end;
  25034. procedure TUART3_U39MODE.setON; inline;
  25035. begin
  25036. pTDefRegMap(@Self)^.&set := $00008000;
  25037. end;
  25038. procedure TUART3_U39MODE.clearON; inline;
  25039. begin
  25040. pTDefRegMap(@Self)^.clr := $00008000;
  25041. end;
  25042. procedure TUART3_U39MODE.setON(thebits : TBits_1); inline;
  25043. begin
  25044. if thebits = 0 then
  25045. pTDefRegMap(@Self)^.clr := $00008000
  25046. else
  25047. pTDefRegMap(@Self)^.&set := $00008000;
  25048. end;
  25049. function TUART3_U39MODE.getON : TBits_1; inline;
  25050. begin
  25051. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25052. end;
  25053. procedure TUART3_U39MODE.setPDSEL0; inline;
  25054. begin
  25055. pTDefRegMap(@Self)^.&set := $00000002;
  25056. end;
  25057. procedure TUART3_U39MODE.clearPDSEL0; inline;
  25058. begin
  25059. pTDefRegMap(@Self)^.clr := $00000002;
  25060. end;
  25061. procedure TUART3_U39MODE.setPDSEL0(thebits : TBits_1); inline;
  25062. begin
  25063. if thebits = 0 then
  25064. pTDefRegMap(@Self)^.clr := $00000002
  25065. else
  25066. pTDefRegMap(@Self)^.&set := $00000002;
  25067. end;
  25068. function TUART3_U39MODE.getPDSEL0 : TBits_1; inline;
  25069. begin
  25070. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25071. end;
  25072. procedure TUART3_U39MODE.setPDSEL1; inline;
  25073. begin
  25074. pTDefRegMap(@Self)^.&set := $00000004;
  25075. end;
  25076. procedure TUART3_U39MODE.clearPDSEL1; inline;
  25077. begin
  25078. pTDefRegMap(@Self)^.clr := $00000004;
  25079. end;
  25080. procedure TUART3_U39MODE.setPDSEL1(thebits : TBits_1); inline;
  25081. begin
  25082. if thebits = 0 then
  25083. pTDefRegMap(@Self)^.clr := $00000004
  25084. else
  25085. pTDefRegMap(@Self)^.&set := $00000004;
  25086. end;
  25087. function TUART3_U39MODE.getPDSEL1 : TBits_1; inline;
  25088. begin
  25089. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25090. end;
  25091. procedure TUART3_U39MODE.setUEN0; inline;
  25092. begin
  25093. pTDefRegMap(@Self)^.&set := $00000100;
  25094. end;
  25095. procedure TUART3_U39MODE.clearUEN0; inline;
  25096. begin
  25097. pTDefRegMap(@Self)^.clr := $00000100;
  25098. end;
  25099. procedure TUART3_U39MODE.setUEN0(thebits : TBits_1); inline;
  25100. begin
  25101. if thebits = 0 then
  25102. pTDefRegMap(@Self)^.clr := $00000100
  25103. else
  25104. pTDefRegMap(@Self)^.&set := $00000100;
  25105. end;
  25106. function TUART3_U39MODE.getUEN0 : TBits_1; inline;
  25107. begin
  25108. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25109. end;
  25110. procedure TUART3_U39MODE.setUEN1; inline;
  25111. begin
  25112. pTDefRegMap(@Self)^.&set := $00000200;
  25113. end;
  25114. procedure TUART3_U39MODE.clearUEN1; inline;
  25115. begin
  25116. pTDefRegMap(@Self)^.clr := $00000200;
  25117. end;
  25118. procedure TUART3_U39MODE.setUEN1(thebits : TBits_1); inline;
  25119. begin
  25120. if thebits = 0 then
  25121. pTDefRegMap(@Self)^.clr := $00000200
  25122. else
  25123. pTDefRegMap(@Self)^.&set := $00000200;
  25124. end;
  25125. function TUART3_U39MODE.getUEN1 : TBits_1; inline;
  25126. begin
  25127. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25128. end;
  25129. procedure TUART3_U39MODE.setUSIDL; inline;
  25130. begin
  25131. pTDefRegMap(@Self)^.&set := $00002000;
  25132. end;
  25133. procedure TUART3_U39MODE.clearUSIDL; inline;
  25134. begin
  25135. pTDefRegMap(@Self)^.clr := $00002000;
  25136. end;
  25137. procedure TUART3_U39MODE.setUSIDL(thebits : TBits_1); inline;
  25138. begin
  25139. if thebits = 0 then
  25140. pTDefRegMap(@Self)^.clr := $00002000
  25141. else
  25142. pTDefRegMap(@Self)^.&set := $00002000;
  25143. end;
  25144. function TUART3_U39MODE.getUSIDL : TBits_1; inline;
  25145. begin
  25146. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25147. end;
  25148. procedure TUART3_U39MODE.setUARTEN; inline;
  25149. begin
  25150. pTDefRegMap(@Self)^.&set := $00008000;
  25151. end;
  25152. procedure TUART3_U39MODE.clearUARTEN; inline;
  25153. begin
  25154. pTDefRegMap(@Self)^.clr := $00008000;
  25155. end;
  25156. procedure TUART3_U39MODE.setUARTEN(thebits : TBits_1); inline;
  25157. begin
  25158. if thebits = 0 then
  25159. pTDefRegMap(@Self)^.clr := $00008000
  25160. else
  25161. pTDefRegMap(@Self)^.&set := $00008000;
  25162. end;
  25163. function TUART3_U39MODE.getUARTEN : TBits_1; inline;
  25164. begin
  25165. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25166. end;
  25167. procedure TUART3_U39MODE.setw(thebits : TBits_32); inline;
  25168. begin
  25169. pTDefRegMap(@Self)^.val := thebits;
  25170. end;
  25171. function TUART3_U39MODE.getw : TBits_32; inline;
  25172. begin
  25173. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25174. end;
  25175. procedure TUART3_U3MODE.setSTSEL; inline;
  25176. begin
  25177. pTDefRegMap(@Self)^.&set := $00000001;
  25178. end;
  25179. procedure TUART3_U3MODE.clearSTSEL; inline;
  25180. begin
  25181. pTDefRegMap(@Self)^.clr := $00000001;
  25182. end;
  25183. procedure TUART3_U3MODE.setSTSEL(thebits : TBits_1); inline;
  25184. begin
  25185. if thebits = 0 then
  25186. pTDefRegMap(@Self)^.clr := $00000001
  25187. else
  25188. pTDefRegMap(@Self)^.&set := $00000001;
  25189. end;
  25190. function TUART3_U3MODE.getSTSEL : TBits_1; inline;
  25191. begin
  25192. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25193. end;
  25194. procedure TUART3_U3MODE.setPDSEL(thebits : TBits_2); inline;
  25195. begin
  25196. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  25197. end;
  25198. function TUART3_U3MODE.getPDSEL : TBits_2; inline;
  25199. begin
  25200. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  25201. end;
  25202. procedure TUART3_U3MODE.setBRGH; inline;
  25203. begin
  25204. pTDefRegMap(@Self)^.&set := $00000008;
  25205. end;
  25206. procedure TUART3_U3MODE.clearBRGH; inline;
  25207. begin
  25208. pTDefRegMap(@Self)^.clr := $00000008;
  25209. end;
  25210. procedure TUART3_U3MODE.setBRGH(thebits : TBits_1); inline;
  25211. begin
  25212. if thebits = 0 then
  25213. pTDefRegMap(@Self)^.clr := $00000008
  25214. else
  25215. pTDefRegMap(@Self)^.&set := $00000008;
  25216. end;
  25217. function TUART3_U3MODE.getBRGH : TBits_1; inline;
  25218. begin
  25219. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25220. end;
  25221. procedure TUART3_U3MODE.setRXINV; inline;
  25222. begin
  25223. pTDefRegMap(@Self)^.&set := $00000010;
  25224. end;
  25225. procedure TUART3_U3MODE.clearRXINV; inline;
  25226. begin
  25227. pTDefRegMap(@Self)^.clr := $00000010;
  25228. end;
  25229. procedure TUART3_U3MODE.setRXINV(thebits : TBits_1); inline;
  25230. begin
  25231. if thebits = 0 then
  25232. pTDefRegMap(@Self)^.clr := $00000010
  25233. else
  25234. pTDefRegMap(@Self)^.&set := $00000010;
  25235. end;
  25236. function TUART3_U3MODE.getRXINV : TBits_1; inline;
  25237. begin
  25238. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25239. end;
  25240. procedure TUART3_U3MODE.setABAUD; inline;
  25241. begin
  25242. pTDefRegMap(@Self)^.&set := $00000020;
  25243. end;
  25244. procedure TUART3_U3MODE.clearABAUD; inline;
  25245. begin
  25246. pTDefRegMap(@Self)^.clr := $00000020;
  25247. end;
  25248. procedure TUART3_U3MODE.setABAUD(thebits : TBits_1); inline;
  25249. begin
  25250. if thebits = 0 then
  25251. pTDefRegMap(@Self)^.clr := $00000020
  25252. else
  25253. pTDefRegMap(@Self)^.&set := $00000020;
  25254. end;
  25255. function TUART3_U3MODE.getABAUD : TBits_1; inline;
  25256. begin
  25257. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25258. end;
  25259. procedure TUART3_U3MODE.setLPBACK; inline;
  25260. begin
  25261. pTDefRegMap(@Self)^.&set := $00000040;
  25262. end;
  25263. procedure TUART3_U3MODE.clearLPBACK; inline;
  25264. begin
  25265. pTDefRegMap(@Self)^.clr := $00000040;
  25266. end;
  25267. procedure TUART3_U3MODE.setLPBACK(thebits : TBits_1); inline;
  25268. begin
  25269. if thebits = 0 then
  25270. pTDefRegMap(@Self)^.clr := $00000040
  25271. else
  25272. pTDefRegMap(@Self)^.&set := $00000040;
  25273. end;
  25274. function TUART3_U3MODE.getLPBACK : TBits_1; inline;
  25275. begin
  25276. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25277. end;
  25278. procedure TUART3_U3MODE.setWAKE; inline;
  25279. begin
  25280. pTDefRegMap(@Self)^.&set := $00000080;
  25281. end;
  25282. procedure TUART3_U3MODE.clearWAKE; inline;
  25283. begin
  25284. pTDefRegMap(@Self)^.clr := $00000080;
  25285. end;
  25286. procedure TUART3_U3MODE.setWAKE(thebits : TBits_1); inline;
  25287. begin
  25288. if thebits = 0 then
  25289. pTDefRegMap(@Self)^.clr := $00000080
  25290. else
  25291. pTDefRegMap(@Self)^.&set := $00000080;
  25292. end;
  25293. function TUART3_U3MODE.getWAKE : TBits_1; inline;
  25294. begin
  25295. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25296. end;
  25297. procedure TUART3_U3MODE.setUEN(thebits : TBits_2); inline;
  25298. begin
  25299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  25300. end;
  25301. function TUART3_U3MODE.getUEN : TBits_2; inline;
  25302. begin
  25303. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  25304. end;
  25305. procedure TUART3_U3MODE.setRTSMD; inline;
  25306. begin
  25307. pTDefRegMap(@Self)^.&set := $00000800;
  25308. end;
  25309. procedure TUART3_U3MODE.clearRTSMD; inline;
  25310. begin
  25311. pTDefRegMap(@Self)^.clr := $00000800;
  25312. end;
  25313. procedure TUART3_U3MODE.setRTSMD(thebits : TBits_1); inline;
  25314. begin
  25315. if thebits = 0 then
  25316. pTDefRegMap(@Self)^.clr := $00000800
  25317. else
  25318. pTDefRegMap(@Self)^.&set := $00000800;
  25319. end;
  25320. function TUART3_U3MODE.getRTSMD : TBits_1; inline;
  25321. begin
  25322. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25323. end;
  25324. procedure TUART3_U3MODE.setIREN; inline;
  25325. begin
  25326. pTDefRegMap(@Self)^.&set := $00001000;
  25327. end;
  25328. procedure TUART3_U3MODE.clearIREN; inline;
  25329. begin
  25330. pTDefRegMap(@Self)^.clr := $00001000;
  25331. end;
  25332. procedure TUART3_U3MODE.setIREN(thebits : TBits_1); inline;
  25333. begin
  25334. if thebits = 0 then
  25335. pTDefRegMap(@Self)^.clr := $00001000
  25336. else
  25337. pTDefRegMap(@Self)^.&set := $00001000;
  25338. end;
  25339. function TUART3_U3MODE.getIREN : TBits_1; inline;
  25340. begin
  25341. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25342. end;
  25343. procedure TUART3_U3MODE.setSIDL; inline;
  25344. begin
  25345. pTDefRegMap(@Self)^.&set := $00002000;
  25346. end;
  25347. procedure TUART3_U3MODE.clearSIDL; inline;
  25348. begin
  25349. pTDefRegMap(@Self)^.clr := $00002000;
  25350. end;
  25351. procedure TUART3_U3MODE.setSIDL(thebits : TBits_1); inline;
  25352. begin
  25353. if thebits = 0 then
  25354. pTDefRegMap(@Self)^.clr := $00002000
  25355. else
  25356. pTDefRegMap(@Self)^.&set := $00002000;
  25357. end;
  25358. function TUART3_U3MODE.getSIDL : TBits_1; inline;
  25359. begin
  25360. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25361. end;
  25362. procedure TUART3_U3MODE.setON; inline;
  25363. begin
  25364. pTDefRegMap(@Self)^.&set := $00008000;
  25365. end;
  25366. procedure TUART3_U3MODE.clearON; inline;
  25367. begin
  25368. pTDefRegMap(@Self)^.clr := $00008000;
  25369. end;
  25370. procedure TUART3_U3MODE.setON(thebits : TBits_1); inline;
  25371. begin
  25372. if thebits = 0 then
  25373. pTDefRegMap(@Self)^.clr := $00008000
  25374. else
  25375. pTDefRegMap(@Self)^.&set := $00008000;
  25376. end;
  25377. function TUART3_U3MODE.getON : TBits_1; inline;
  25378. begin
  25379. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25380. end;
  25381. procedure TUART3_U3MODE.setPDSEL0; inline;
  25382. begin
  25383. pTDefRegMap(@Self)^.&set := $00000002;
  25384. end;
  25385. procedure TUART3_U3MODE.clearPDSEL0; inline;
  25386. begin
  25387. pTDefRegMap(@Self)^.clr := $00000002;
  25388. end;
  25389. procedure TUART3_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  25390. begin
  25391. if thebits = 0 then
  25392. pTDefRegMap(@Self)^.clr := $00000002
  25393. else
  25394. pTDefRegMap(@Self)^.&set := $00000002;
  25395. end;
  25396. function TUART3_U3MODE.getPDSEL0 : TBits_1; inline;
  25397. begin
  25398. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25399. end;
  25400. procedure TUART3_U3MODE.setPDSEL1; inline;
  25401. begin
  25402. pTDefRegMap(@Self)^.&set := $00000004;
  25403. end;
  25404. procedure TUART3_U3MODE.clearPDSEL1; inline;
  25405. begin
  25406. pTDefRegMap(@Self)^.clr := $00000004;
  25407. end;
  25408. procedure TUART3_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  25409. begin
  25410. if thebits = 0 then
  25411. pTDefRegMap(@Self)^.clr := $00000004
  25412. else
  25413. pTDefRegMap(@Self)^.&set := $00000004;
  25414. end;
  25415. function TUART3_U3MODE.getPDSEL1 : TBits_1; inline;
  25416. begin
  25417. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25418. end;
  25419. procedure TUART3_U3MODE.setUEN0; inline;
  25420. begin
  25421. pTDefRegMap(@Self)^.&set := $00000100;
  25422. end;
  25423. procedure TUART3_U3MODE.clearUEN0; inline;
  25424. begin
  25425. pTDefRegMap(@Self)^.clr := $00000100;
  25426. end;
  25427. procedure TUART3_U3MODE.setUEN0(thebits : TBits_1); inline;
  25428. begin
  25429. if thebits = 0 then
  25430. pTDefRegMap(@Self)^.clr := $00000100
  25431. else
  25432. pTDefRegMap(@Self)^.&set := $00000100;
  25433. end;
  25434. function TUART3_U3MODE.getUEN0 : TBits_1; inline;
  25435. begin
  25436. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25437. end;
  25438. procedure TUART3_U3MODE.setUEN1; inline;
  25439. begin
  25440. pTDefRegMap(@Self)^.&set := $00000200;
  25441. end;
  25442. procedure TUART3_U3MODE.clearUEN1; inline;
  25443. begin
  25444. pTDefRegMap(@Self)^.clr := $00000200;
  25445. end;
  25446. procedure TUART3_U3MODE.setUEN1(thebits : TBits_1); inline;
  25447. begin
  25448. if thebits = 0 then
  25449. pTDefRegMap(@Self)^.clr := $00000200
  25450. else
  25451. pTDefRegMap(@Self)^.&set := $00000200;
  25452. end;
  25453. function TUART3_U3MODE.getUEN1 : TBits_1; inline;
  25454. begin
  25455. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25456. end;
  25457. procedure TUART3_U3MODE.setUSIDL; inline;
  25458. begin
  25459. pTDefRegMap(@Self)^.&set := $00002000;
  25460. end;
  25461. procedure TUART3_U3MODE.clearUSIDL; inline;
  25462. begin
  25463. pTDefRegMap(@Self)^.clr := $00002000;
  25464. end;
  25465. procedure TUART3_U3MODE.setUSIDL(thebits : TBits_1); inline;
  25466. begin
  25467. if thebits = 0 then
  25468. pTDefRegMap(@Self)^.clr := $00002000
  25469. else
  25470. pTDefRegMap(@Self)^.&set := $00002000;
  25471. end;
  25472. function TUART3_U3MODE.getUSIDL : TBits_1; inline;
  25473. begin
  25474. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25475. end;
  25476. procedure TUART3_U3MODE.setUARTEN; inline;
  25477. begin
  25478. pTDefRegMap(@Self)^.&set := $00008000;
  25479. end;
  25480. procedure TUART3_U3MODE.clearUARTEN; inline;
  25481. begin
  25482. pTDefRegMap(@Self)^.clr := $00008000;
  25483. end;
  25484. procedure TUART3_U3MODE.setUARTEN(thebits : TBits_1); inline;
  25485. begin
  25486. if thebits = 0 then
  25487. pTDefRegMap(@Self)^.clr := $00008000
  25488. else
  25489. pTDefRegMap(@Self)^.&set := $00008000;
  25490. end;
  25491. function TUART3_U3MODE.getUARTEN : TBits_1; inline;
  25492. begin
  25493. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25494. end;
  25495. procedure TUART3_U3MODE.setw(thebits : TBits_32); inline;
  25496. begin
  25497. pTDefRegMap(@Self)^.val := thebits;
  25498. end;
  25499. function TUART3_U3MODE.getw : TBits_32; inline;
  25500. begin
  25501. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25502. end;
  25503. procedure TUART3_U39STA.setURXDA; inline;
  25504. begin
  25505. pTDefRegMap(@Self)^.&set := $00000001;
  25506. end;
  25507. procedure TUART3_U39STA.clearURXDA; inline;
  25508. begin
  25509. pTDefRegMap(@Self)^.clr := $00000001;
  25510. end;
  25511. procedure TUART3_U39STA.setURXDA(thebits : TBits_1); inline;
  25512. begin
  25513. if thebits = 0 then
  25514. pTDefRegMap(@Self)^.clr := $00000001
  25515. else
  25516. pTDefRegMap(@Self)^.&set := $00000001;
  25517. end;
  25518. function TUART3_U39STA.getURXDA : TBits_1; inline;
  25519. begin
  25520. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25521. end;
  25522. procedure TUART3_U39STA.setOERR; inline;
  25523. begin
  25524. pTDefRegMap(@Self)^.&set := $00000002;
  25525. end;
  25526. procedure TUART3_U39STA.clearOERR; inline;
  25527. begin
  25528. pTDefRegMap(@Self)^.clr := $00000002;
  25529. end;
  25530. procedure TUART3_U39STA.setOERR(thebits : TBits_1); inline;
  25531. begin
  25532. if thebits = 0 then
  25533. pTDefRegMap(@Self)^.clr := $00000002
  25534. else
  25535. pTDefRegMap(@Self)^.&set := $00000002;
  25536. end;
  25537. function TUART3_U39STA.getOERR : TBits_1; inline;
  25538. begin
  25539. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25540. end;
  25541. procedure TUART3_U39STA.setFERR; inline;
  25542. begin
  25543. pTDefRegMap(@Self)^.&set := $00000004;
  25544. end;
  25545. procedure TUART3_U39STA.clearFERR; inline;
  25546. begin
  25547. pTDefRegMap(@Self)^.clr := $00000004;
  25548. end;
  25549. procedure TUART3_U39STA.setFERR(thebits : TBits_1); inline;
  25550. begin
  25551. if thebits = 0 then
  25552. pTDefRegMap(@Self)^.clr := $00000004
  25553. else
  25554. pTDefRegMap(@Self)^.&set := $00000004;
  25555. end;
  25556. function TUART3_U39STA.getFERR : TBits_1; inline;
  25557. begin
  25558. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25559. end;
  25560. procedure TUART3_U39STA.setPERR; inline;
  25561. begin
  25562. pTDefRegMap(@Self)^.&set := $00000008;
  25563. end;
  25564. procedure TUART3_U39STA.clearPERR; inline;
  25565. begin
  25566. pTDefRegMap(@Self)^.clr := $00000008;
  25567. end;
  25568. procedure TUART3_U39STA.setPERR(thebits : TBits_1); inline;
  25569. begin
  25570. if thebits = 0 then
  25571. pTDefRegMap(@Self)^.clr := $00000008
  25572. else
  25573. pTDefRegMap(@Self)^.&set := $00000008;
  25574. end;
  25575. function TUART3_U39STA.getPERR : TBits_1; inline;
  25576. begin
  25577. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25578. end;
  25579. procedure TUART3_U39STA.setRIDLE; inline;
  25580. begin
  25581. pTDefRegMap(@Self)^.&set := $00000010;
  25582. end;
  25583. procedure TUART3_U39STA.clearRIDLE; inline;
  25584. begin
  25585. pTDefRegMap(@Self)^.clr := $00000010;
  25586. end;
  25587. procedure TUART3_U39STA.setRIDLE(thebits : TBits_1); inline;
  25588. begin
  25589. if thebits = 0 then
  25590. pTDefRegMap(@Self)^.clr := $00000010
  25591. else
  25592. pTDefRegMap(@Self)^.&set := $00000010;
  25593. end;
  25594. function TUART3_U39STA.getRIDLE : TBits_1; inline;
  25595. begin
  25596. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25597. end;
  25598. procedure TUART3_U39STA.setADDEN; inline;
  25599. begin
  25600. pTDefRegMap(@Self)^.&set := $00000020;
  25601. end;
  25602. procedure TUART3_U39STA.clearADDEN; inline;
  25603. begin
  25604. pTDefRegMap(@Self)^.clr := $00000020;
  25605. end;
  25606. procedure TUART3_U39STA.setADDEN(thebits : TBits_1); inline;
  25607. begin
  25608. if thebits = 0 then
  25609. pTDefRegMap(@Self)^.clr := $00000020
  25610. else
  25611. pTDefRegMap(@Self)^.&set := $00000020;
  25612. end;
  25613. function TUART3_U39STA.getADDEN : TBits_1; inline;
  25614. begin
  25615. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25616. end;
  25617. procedure TUART3_U39STA.setURXISEL(thebits : TBits_2); inline;
  25618. begin
  25619. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  25620. end;
  25621. function TUART3_U39STA.getURXISEL : TBits_2; inline;
  25622. begin
  25623. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  25624. end;
  25625. procedure TUART3_U39STA.setTRMT; inline;
  25626. begin
  25627. pTDefRegMap(@Self)^.&set := $00000100;
  25628. end;
  25629. procedure TUART3_U39STA.clearTRMT; inline;
  25630. begin
  25631. pTDefRegMap(@Self)^.clr := $00000100;
  25632. end;
  25633. procedure TUART3_U39STA.setTRMT(thebits : TBits_1); inline;
  25634. begin
  25635. if thebits = 0 then
  25636. pTDefRegMap(@Self)^.clr := $00000100
  25637. else
  25638. pTDefRegMap(@Self)^.&set := $00000100;
  25639. end;
  25640. function TUART3_U39STA.getTRMT : TBits_1; inline;
  25641. begin
  25642. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25643. end;
  25644. procedure TUART3_U39STA.setUTXBF; inline;
  25645. begin
  25646. pTDefRegMap(@Self)^.&set := $00000200;
  25647. end;
  25648. procedure TUART3_U39STA.clearUTXBF; inline;
  25649. begin
  25650. pTDefRegMap(@Self)^.clr := $00000200;
  25651. end;
  25652. procedure TUART3_U39STA.setUTXBF(thebits : TBits_1); inline;
  25653. begin
  25654. if thebits = 0 then
  25655. pTDefRegMap(@Self)^.clr := $00000200
  25656. else
  25657. pTDefRegMap(@Self)^.&set := $00000200;
  25658. end;
  25659. function TUART3_U39STA.getUTXBF : TBits_1; inline;
  25660. begin
  25661. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25662. end;
  25663. procedure TUART3_U39STA.setUTXEN; inline;
  25664. begin
  25665. pTDefRegMap(@Self)^.&set := $00000400;
  25666. end;
  25667. procedure TUART3_U39STA.clearUTXEN; inline;
  25668. begin
  25669. pTDefRegMap(@Self)^.clr := $00000400;
  25670. end;
  25671. procedure TUART3_U39STA.setUTXEN(thebits : TBits_1); inline;
  25672. begin
  25673. if thebits = 0 then
  25674. pTDefRegMap(@Self)^.clr := $00000400
  25675. else
  25676. pTDefRegMap(@Self)^.&set := $00000400;
  25677. end;
  25678. function TUART3_U39STA.getUTXEN : TBits_1; inline;
  25679. begin
  25680. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25681. end;
  25682. procedure TUART3_U39STA.setUTXBRK; inline;
  25683. begin
  25684. pTDefRegMap(@Self)^.&set := $00000800;
  25685. end;
  25686. procedure TUART3_U39STA.clearUTXBRK; inline;
  25687. begin
  25688. pTDefRegMap(@Self)^.clr := $00000800;
  25689. end;
  25690. procedure TUART3_U39STA.setUTXBRK(thebits : TBits_1); inline;
  25691. begin
  25692. if thebits = 0 then
  25693. pTDefRegMap(@Self)^.clr := $00000800
  25694. else
  25695. pTDefRegMap(@Self)^.&set := $00000800;
  25696. end;
  25697. function TUART3_U39STA.getUTXBRK : TBits_1; inline;
  25698. begin
  25699. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25700. end;
  25701. procedure TUART3_U39STA.setURXEN; inline;
  25702. begin
  25703. pTDefRegMap(@Self)^.&set := $00001000;
  25704. end;
  25705. procedure TUART3_U39STA.clearURXEN; inline;
  25706. begin
  25707. pTDefRegMap(@Self)^.clr := $00001000;
  25708. end;
  25709. procedure TUART3_U39STA.setURXEN(thebits : TBits_1); inline;
  25710. begin
  25711. if thebits = 0 then
  25712. pTDefRegMap(@Self)^.clr := $00001000
  25713. else
  25714. pTDefRegMap(@Self)^.&set := $00001000;
  25715. end;
  25716. function TUART3_U39STA.getURXEN : TBits_1; inline;
  25717. begin
  25718. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25719. end;
  25720. procedure TUART3_U39STA.setUTXINV; inline;
  25721. begin
  25722. pTDefRegMap(@Self)^.&set := $00002000;
  25723. end;
  25724. procedure TUART3_U39STA.clearUTXINV; inline;
  25725. begin
  25726. pTDefRegMap(@Self)^.clr := $00002000;
  25727. end;
  25728. procedure TUART3_U39STA.setUTXINV(thebits : TBits_1); inline;
  25729. begin
  25730. if thebits = 0 then
  25731. pTDefRegMap(@Self)^.clr := $00002000
  25732. else
  25733. pTDefRegMap(@Self)^.&set := $00002000;
  25734. end;
  25735. function TUART3_U39STA.getUTXINV : TBits_1; inline;
  25736. begin
  25737. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25738. end;
  25739. procedure TUART3_U39STA.setUTXISEL(thebits : TBits_2); inline;
  25740. begin
  25741. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25742. end;
  25743. function TUART3_U39STA.getUTXISEL : TBits_2; inline;
  25744. begin
  25745. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25746. end;
  25747. procedure TUART3_U39STA.setADDR(thebits : TBits_8); inline;
  25748. begin
  25749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  25750. end;
  25751. function TUART3_U39STA.getADDR : TBits_8; inline;
  25752. begin
  25753. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  25754. end;
  25755. procedure TUART3_U39STA.setADM_EN; inline;
  25756. begin
  25757. pTDefRegMap(@Self)^.&set := $01000000;
  25758. end;
  25759. procedure TUART3_U39STA.clearADM_EN; inline;
  25760. begin
  25761. pTDefRegMap(@Self)^.clr := $01000000;
  25762. end;
  25763. procedure TUART3_U39STA.setADM_EN(thebits : TBits_1); inline;
  25764. begin
  25765. if thebits = 0 then
  25766. pTDefRegMap(@Self)^.clr := $01000000
  25767. else
  25768. pTDefRegMap(@Self)^.&set := $01000000;
  25769. end;
  25770. function TUART3_U39STA.getADM_EN : TBits_1; inline;
  25771. begin
  25772. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25773. end;
  25774. procedure TUART3_U39STA.setURXISEL0; inline;
  25775. begin
  25776. pTDefRegMap(@Self)^.&set := $00000040;
  25777. end;
  25778. procedure TUART3_U39STA.clearURXISEL0; inline;
  25779. begin
  25780. pTDefRegMap(@Self)^.clr := $00000040;
  25781. end;
  25782. procedure TUART3_U39STA.setURXISEL0(thebits : TBits_1); inline;
  25783. begin
  25784. if thebits = 0 then
  25785. pTDefRegMap(@Self)^.clr := $00000040
  25786. else
  25787. pTDefRegMap(@Self)^.&set := $00000040;
  25788. end;
  25789. function TUART3_U39STA.getURXISEL0 : TBits_1; inline;
  25790. begin
  25791. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25792. end;
  25793. procedure TUART3_U39STA.setURXISEL1; inline;
  25794. begin
  25795. pTDefRegMap(@Self)^.&set := $00000080;
  25796. end;
  25797. procedure TUART3_U39STA.clearURXISEL1; inline;
  25798. begin
  25799. pTDefRegMap(@Self)^.clr := $00000080;
  25800. end;
  25801. procedure TUART3_U39STA.setURXISEL1(thebits : TBits_1); inline;
  25802. begin
  25803. if thebits = 0 then
  25804. pTDefRegMap(@Self)^.clr := $00000080
  25805. else
  25806. pTDefRegMap(@Self)^.&set := $00000080;
  25807. end;
  25808. function TUART3_U39STA.getURXISEL1 : TBits_1; inline;
  25809. begin
  25810. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25811. end;
  25812. procedure TUART3_U39STA.setUTXISEL0; inline;
  25813. begin
  25814. pTDefRegMap(@Self)^.&set := $00004000;
  25815. end;
  25816. procedure TUART3_U39STA.clearUTXISEL0; inline;
  25817. begin
  25818. pTDefRegMap(@Self)^.clr := $00004000;
  25819. end;
  25820. procedure TUART3_U39STA.setUTXISEL0(thebits : TBits_1); inline;
  25821. begin
  25822. if thebits = 0 then
  25823. pTDefRegMap(@Self)^.clr := $00004000
  25824. else
  25825. pTDefRegMap(@Self)^.&set := $00004000;
  25826. end;
  25827. function TUART3_U39STA.getUTXISEL0 : TBits_1; inline;
  25828. begin
  25829. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25830. end;
  25831. procedure TUART3_U39STA.setUTXISEL1; inline;
  25832. begin
  25833. pTDefRegMap(@Self)^.&set := $00008000;
  25834. end;
  25835. procedure TUART3_U39STA.clearUTXISEL1; inline;
  25836. begin
  25837. pTDefRegMap(@Self)^.clr := $00008000;
  25838. end;
  25839. procedure TUART3_U39STA.setUTXISEL1(thebits : TBits_1); inline;
  25840. begin
  25841. if thebits = 0 then
  25842. pTDefRegMap(@Self)^.clr := $00008000
  25843. else
  25844. pTDefRegMap(@Self)^.&set := $00008000;
  25845. end;
  25846. function TUART3_U39STA.getUTXISEL1 : TBits_1; inline;
  25847. begin
  25848. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25849. end;
  25850. procedure TUART3_U39STA.setUTXSEL(thebits : TBits_2); inline;
  25851. begin
  25852. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  25853. end;
  25854. function TUART3_U39STA.getUTXSEL : TBits_2; inline;
  25855. begin
  25856. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  25857. end;
  25858. procedure TUART3_U39STA.setw(thebits : TBits_32); inline;
  25859. begin
  25860. pTDefRegMap(@Self)^.val := thebits;
  25861. end;
  25862. function TUART3_U39STA.getw : TBits_32; inline;
  25863. begin
  25864. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25865. end;
  25866. procedure TUART3_U3STA.setURXDA; inline;
  25867. begin
  25868. pTDefRegMap(@Self)^.&set := $00000001;
  25869. end;
  25870. procedure TUART3_U3STA.clearURXDA; inline;
  25871. begin
  25872. pTDefRegMap(@Self)^.clr := $00000001;
  25873. end;
  25874. procedure TUART3_U3STA.setURXDA(thebits : TBits_1); inline;
  25875. begin
  25876. if thebits = 0 then
  25877. pTDefRegMap(@Self)^.clr := $00000001
  25878. else
  25879. pTDefRegMap(@Self)^.&set := $00000001;
  25880. end;
  25881. function TUART3_U3STA.getURXDA : TBits_1; inline;
  25882. begin
  25883. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25884. end;
  25885. procedure TUART3_U3STA.setOERR; inline;
  25886. begin
  25887. pTDefRegMap(@Self)^.&set := $00000002;
  25888. end;
  25889. procedure TUART3_U3STA.clearOERR; inline;
  25890. begin
  25891. pTDefRegMap(@Self)^.clr := $00000002;
  25892. end;
  25893. procedure TUART3_U3STA.setOERR(thebits : TBits_1); inline;
  25894. begin
  25895. if thebits = 0 then
  25896. pTDefRegMap(@Self)^.clr := $00000002
  25897. else
  25898. pTDefRegMap(@Self)^.&set := $00000002;
  25899. end;
  25900. function TUART3_U3STA.getOERR : TBits_1; inline;
  25901. begin
  25902. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25903. end;
  25904. procedure TUART3_U3STA.setFERR; inline;
  25905. begin
  25906. pTDefRegMap(@Self)^.&set := $00000004;
  25907. end;
  25908. procedure TUART3_U3STA.clearFERR; inline;
  25909. begin
  25910. pTDefRegMap(@Self)^.clr := $00000004;
  25911. end;
  25912. procedure TUART3_U3STA.setFERR(thebits : TBits_1); inline;
  25913. begin
  25914. if thebits = 0 then
  25915. pTDefRegMap(@Self)^.clr := $00000004
  25916. else
  25917. pTDefRegMap(@Self)^.&set := $00000004;
  25918. end;
  25919. function TUART3_U3STA.getFERR : TBits_1; inline;
  25920. begin
  25921. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25922. end;
  25923. procedure TUART3_U3STA.setPERR; inline;
  25924. begin
  25925. pTDefRegMap(@Self)^.&set := $00000008;
  25926. end;
  25927. procedure TUART3_U3STA.clearPERR; inline;
  25928. begin
  25929. pTDefRegMap(@Self)^.clr := $00000008;
  25930. end;
  25931. procedure TUART3_U3STA.setPERR(thebits : TBits_1); inline;
  25932. begin
  25933. if thebits = 0 then
  25934. pTDefRegMap(@Self)^.clr := $00000008
  25935. else
  25936. pTDefRegMap(@Self)^.&set := $00000008;
  25937. end;
  25938. function TUART3_U3STA.getPERR : TBits_1; inline;
  25939. begin
  25940. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25941. end;
  25942. procedure TUART3_U3STA.setRIDLE; inline;
  25943. begin
  25944. pTDefRegMap(@Self)^.&set := $00000010;
  25945. end;
  25946. procedure TUART3_U3STA.clearRIDLE; inline;
  25947. begin
  25948. pTDefRegMap(@Self)^.clr := $00000010;
  25949. end;
  25950. procedure TUART3_U3STA.setRIDLE(thebits : TBits_1); inline;
  25951. begin
  25952. if thebits = 0 then
  25953. pTDefRegMap(@Self)^.clr := $00000010
  25954. else
  25955. pTDefRegMap(@Self)^.&set := $00000010;
  25956. end;
  25957. function TUART3_U3STA.getRIDLE : TBits_1; inline;
  25958. begin
  25959. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25960. end;
  25961. procedure TUART3_U3STA.setADDEN; inline;
  25962. begin
  25963. pTDefRegMap(@Self)^.&set := $00000020;
  25964. end;
  25965. procedure TUART3_U3STA.clearADDEN; inline;
  25966. begin
  25967. pTDefRegMap(@Self)^.clr := $00000020;
  25968. end;
  25969. procedure TUART3_U3STA.setADDEN(thebits : TBits_1); inline;
  25970. begin
  25971. if thebits = 0 then
  25972. pTDefRegMap(@Self)^.clr := $00000020
  25973. else
  25974. pTDefRegMap(@Self)^.&set := $00000020;
  25975. end;
  25976. function TUART3_U3STA.getADDEN : TBits_1; inline;
  25977. begin
  25978. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25979. end;
  25980. procedure TUART3_U3STA.setURXISEL(thebits : TBits_2); inline;
  25981. begin
  25982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  25983. end;
  25984. function TUART3_U3STA.getURXISEL : TBits_2; inline;
  25985. begin
  25986. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  25987. end;
  25988. procedure TUART3_U3STA.setTRMT; inline;
  25989. begin
  25990. pTDefRegMap(@Self)^.&set := $00000100;
  25991. end;
  25992. procedure TUART3_U3STA.clearTRMT; inline;
  25993. begin
  25994. pTDefRegMap(@Self)^.clr := $00000100;
  25995. end;
  25996. procedure TUART3_U3STA.setTRMT(thebits : TBits_1); inline;
  25997. begin
  25998. if thebits = 0 then
  25999. pTDefRegMap(@Self)^.clr := $00000100
  26000. else
  26001. pTDefRegMap(@Self)^.&set := $00000100;
  26002. end;
  26003. function TUART3_U3STA.getTRMT : TBits_1; inline;
  26004. begin
  26005. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26006. end;
  26007. procedure TUART3_U3STA.setUTXBF; inline;
  26008. begin
  26009. pTDefRegMap(@Self)^.&set := $00000200;
  26010. end;
  26011. procedure TUART3_U3STA.clearUTXBF; inline;
  26012. begin
  26013. pTDefRegMap(@Self)^.clr := $00000200;
  26014. end;
  26015. procedure TUART3_U3STA.setUTXBF(thebits : TBits_1); inline;
  26016. begin
  26017. if thebits = 0 then
  26018. pTDefRegMap(@Self)^.clr := $00000200
  26019. else
  26020. pTDefRegMap(@Self)^.&set := $00000200;
  26021. end;
  26022. function TUART3_U3STA.getUTXBF : TBits_1; inline;
  26023. begin
  26024. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26025. end;
  26026. procedure TUART3_U3STA.setUTXEN; inline;
  26027. begin
  26028. pTDefRegMap(@Self)^.&set := $00000400;
  26029. end;
  26030. procedure TUART3_U3STA.clearUTXEN; inline;
  26031. begin
  26032. pTDefRegMap(@Self)^.clr := $00000400;
  26033. end;
  26034. procedure TUART3_U3STA.setUTXEN(thebits : TBits_1); inline;
  26035. begin
  26036. if thebits = 0 then
  26037. pTDefRegMap(@Self)^.clr := $00000400
  26038. else
  26039. pTDefRegMap(@Self)^.&set := $00000400;
  26040. end;
  26041. function TUART3_U3STA.getUTXEN : TBits_1; inline;
  26042. begin
  26043. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26044. end;
  26045. procedure TUART3_U3STA.setUTXBRK; inline;
  26046. begin
  26047. pTDefRegMap(@Self)^.&set := $00000800;
  26048. end;
  26049. procedure TUART3_U3STA.clearUTXBRK; inline;
  26050. begin
  26051. pTDefRegMap(@Self)^.clr := $00000800;
  26052. end;
  26053. procedure TUART3_U3STA.setUTXBRK(thebits : TBits_1); inline;
  26054. begin
  26055. if thebits = 0 then
  26056. pTDefRegMap(@Self)^.clr := $00000800
  26057. else
  26058. pTDefRegMap(@Self)^.&set := $00000800;
  26059. end;
  26060. function TUART3_U3STA.getUTXBRK : TBits_1; inline;
  26061. begin
  26062. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26063. end;
  26064. procedure TUART3_U3STA.setURXEN; inline;
  26065. begin
  26066. pTDefRegMap(@Self)^.&set := $00001000;
  26067. end;
  26068. procedure TUART3_U3STA.clearURXEN; inline;
  26069. begin
  26070. pTDefRegMap(@Self)^.clr := $00001000;
  26071. end;
  26072. procedure TUART3_U3STA.setURXEN(thebits : TBits_1); inline;
  26073. begin
  26074. if thebits = 0 then
  26075. pTDefRegMap(@Self)^.clr := $00001000
  26076. else
  26077. pTDefRegMap(@Self)^.&set := $00001000;
  26078. end;
  26079. function TUART3_U3STA.getURXEN : TBits_1; inline;
  26080. begin
  26081. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26082. end;
  26083. procedure TUART3_U3STA.setUTXINV; inline;
  26084. begin
  26085. pTDefRegMap(@Self)^.&set := $00002000;
  26086. end;
  26087. procedure TUART3_U3STA.clearUTXINV; inline;
  26088. begin
  26089. pTDefRegMap(@Self)^.clr := $00002000;
  26090. end;
  26091. procedure TUART3_U3STA.setUTXINV(thebits : TBits_1); inline;
  26092. begin
  26093. if thebits = 0 then
  26094. pTDefRegMap(@Self)^.clr := $00002000
  26095. else
  26096. pTDefRegMap(@Self)^.&set := $00002000;
  26097. end;
  26098. function TUART3_U3STA.getUTXINV : TBits_1; inline;
  26099. begin
  26100. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26101. end;
  26102. procedure TUART3_U3STA.setUTXISEL(thebits : TBits_2); inline;
  26103. begin
  26104. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26105. end;
  26106. function TUART3_U3STA.getUTXISEL : TBits_2; inline;
  26107. begin
  26108. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26109. end;
  26110. procedure TUART3_U3STA.setADDR(thebits : TBits_8); inline;
  26111. begin
  26112. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  26113. end;
  26114. function TUART3_U3STA.getADDR : TBits_8; inline;
  26115. begin
  26116. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  26117. end;
  26118. procedure TUART3_U3STA.setADM_EN; inline;
  26119. begin
  26120. pTDefRegMap(@Self)^.&set := $01000000;
  26121. end;
  26122. procedure TUART3_U3STA.clearADM_EN; inline;
  26123. begin
  26124. pTDefRegMap(@Self)^.clr := $01000000;
  26125. end;
  26126. procedure TUART3_U3STA.setADM_EN(thebits : TBits_1); inline;
  26127. begin
  26128. if thebits = 0 then
  26129. pTDefRegMap(@Self)^.clr := $01000000
  26130. else
  26131. pTDefRegMap(@Self)^.&set := $01000000;
  26132. end;
  26133. function TUART3_U3STA.getADM_EN : TBits_1; inline;
  26134. begin
  26135. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26136. end;
  26137. procedure TUART3_U3STA.setURXISEL0; inline;
  26138. begin
  26139. pTDefRegMap(@Self)^.&set := $00000040;
  26140. end;
  26141. procedure TUART3_U3STA.clearURXISEL0; inline;
  26142. begin
  26143. pTDefRegMap(@Self)^.clr := $00000040;
  26144. end;
  26145. procedure TUART3_U3STA.setURXISEL0(thebits : TBits_1); inline;
  26146. begin
  26147. if thebits = 0 then
  26148. pTDefRegMap(@Self)^.clr := $00000040
  26149. else
  26150. pTDefRegMap(@Self)^.&set := $00000040;
  26151. end;
  26152. function TUART3_U3STA.getURXISEL0 : TBits_1; inline;
  26153. begin
  26154. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26155. end;
  26156. procedure TUART3_U3STA.setURXISEL1; inline;
  26157. begin
  26158. pTDefRegMap(@Self)^.&set := $00000080;
  26159. end;
  26160. procedure TUART3_U3STA.clearURXISEL1; inline;
  26161. begin
  26162. pTDefRegMap(@Self)^.clr := $00000080;
  26163. end;
  26164. procedure TUART3_U3STA.setURXISEL1(thebits : TBits_1); inline;
  26165. begin
  26166. if thebits = 0 then
  26167. pTDefRegMap(@Self)^.clr := $00000080
  26168. else
  26169. pTDefRegMap(@Self)^.&set := $00000080;
  26170. end;
  26171. function TUART3_U3STA.getURXISEL1 : TBits_1; inline;
  26172. begin
  26173. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26174. end;
  26175. procedure TUART3_U3STA.setUTXISEL0; inline;
  26176. begin
  26177. pTDefRegMap(@Self)^.&set := $00004000;
  26178. end;
  26179. procedure TUART3_U3STA.clearUTXISEL0; inline;
  26180. begin
  26181. pTDefRegMap(@Self)^.clr := $00004000;
  26182. end;
  26183. procedure TUART3_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  26184. begin
  26185. if thebits = 0 then
  26186. pTDefRegMap(@Self)^.clr := $00004000
  26187. else
  26188. pTDefRegMap(@Self)^.&set := $00004000;
  26189. end;
  26190. function TUART3_U3STA.getUTXISEL0 : TBits_1; inline;
  26191. begin
  26192. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26193. end;
  26194. procedure TUART3_U3STA.setUTXISEL1; inline;
  26195. begin
  26196. pTDefRegMap(@Self)^.&set := $00008000;
  26197. end;
  26198. procedure TUART3_U3STA.clearUTXISEL1; inline;
  26199. begin
  26200. pTDefRegMap(@Self)^.clr := $00008000;
  26201. end;
  26202. procedure TUART3_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  26203. begin
  26204. if thebits = 0 then
  26205. pTDefRegMap(@Self)^.clr := $00008000
  26206. else
  26207. pTDefRegMap(@Self)^.&set := $00008000;
  26208. end;
  26209. function TUART3_U3STA.getUTXISEL1 : TBits_1; inline;
  26210. begin
  26211. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26212. end;
  26213. procedure TUART3_U3STA.setUTXSEL(thebits : TBits_2); inline;
  26214. begin
  26215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  26216. end;
  26217. function TUART3_U3STA.getUTXSEL : TBits_2; inline;
  26218. begin
  26219. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  26220. end;
  26221. procedure TUART3_U3STA.setw(thebits : TBits_32); inline;
  26222. begin
  26223. pTDefRegMap(@Self)^.val := thebits;
  26224. end;
  26225. function TUART3_U3STA.getw : TBits_32; inline;
  26226. begin
  26227. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26228. end;
  26229. procedure TUART4_U4MODE.setSTSEL; inline;
  26230. begin
  26231. pTDefRegMap(@Self)^.&set := $00000001;
  26232. end;
  26233. procedure TUART4_U4MODE.clearSTSEL; inline;
  26234. begin
  26235. pTDefRegMap(@Self)^.clr := $00000001;
  26236. end;
  26237. procedure TUART4_U4MODE.setSTSEL(thebits : TBits_1); inline;
  26238. begin
  26239. if thebits = 0 then
  26240. pTDefRegMap(@Self)^.clr := $00000001
  26241. else
  26242. pTDefRegMap(@Self)^.&set := $00000001;
  26243. end;
  26244. function TUART4_U4MODE.getSTSEL : TBits_1; inline;
  26245. begin
  26246. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26247. end;
  26248. procedure TUART4_U4MODE.setPDSEL(thebits : TBits_2); inline;
  26249. begin
  26250. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  26251. end;
  26252. function TUART4_U4MODE.getPDSEL : TBits_2; inline;
  26253. begin
  26254. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  26255. end;
  26256. procedure TUART4_U4MODE.setBRGH; inline;
  26257. begin
  26258. pTDefRegMap(@Self)^.&set := $00000008;
  26259. end;
  26260. procedure TUART4_U4MODE.clearBRGH; inline;
  26261. begin
  26262. pTDefRegMap(@Self)^.clr := $00000008;
  26263. end;
  26264. procedure TUART4_U4MODE.setBRGH(thebits : TBits_1); inline;
  26265. begin
  26266. if thebits = 0 then
  26267. pTDefRegMap(@Self)^.clr := $00000008
  26268. else
  26269. pTDefRegMap(@Self)^.&set := $00000008;
  26270. end;
  26271. function TUART4_U4MODE.getBRGH : TBits_1; inline;
  26272. begin
  26273. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26274. end;
  26275. procedure TUART4_U4MODE.setRXINV; inline;
  26276. begin
  26277. pTDefRegMap(@Self)^.&set := $00000010;
  26278. end;
  26279. procedure TUART4_U4MODE.clearRXINV; inline;
  26280. begin
  26281. pTDefRegMap(@Self)^.clr := $00000010;
  26282. end;
  26283. procedure TUART4_U4MODE.setRXINV(thebits : TBits_1); inline;
  26284. begin
  26285. if thebits = 0 then
  26286. pTDefRegMap(@Self)^.clr := $00000010
  26287. else
  26288. pTDefRegMap(@Self)^.&set := $00000010;
  26289. end;
  26290. function TUART4_U4MODE.getRXINV : TBits_1; inline;
  26291. begin
  26292. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26293. end;
  26294. procedure TUART4_U4MODE.setABAUD; inline;
  26295. begin
  26296. pTDefRegMap(@Self)^.&set := $00000020;
  26297. end;
  26298. procedure TUART4_U4MODE.clearABAUD; inline;
  26299. begin
  26300. pTDefRegMap(@Self)^.clr := $00000020;
  26301. end;
  26302. procedure TUART4_U4MODE.setABAUD(thebits : TBits_1); inline;
  26303. begin
  26304. if thebits = 0 then
  26305. pTDefRegMap(@Self)^.clr := $00000020
  26306. else
  26307. pTDefRegMap(@Self)^.&set := $00000020;
  26308. end;
  26309. function TUART4_U4MODE.getABAUD : TBits_1; inline;
  26310. begin
  26311. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26312. end;
  26313. procedure TUART4_U4MODE.setLPBACK; inline;
  26314. begin
  26315. pTDefRegMap(@Self)^.&set := $00000040;
  26316. end;
  26317. procedure TUART4_U4MODE.clearLPBACK; inline;
  26318. begin
  26319. pTDefRegMap(@Self)^.clr := $00000040;
  26320. end;
  26321. procedure TUART4_U4MODE.setLPBACK(thebits : TBits_1); inline;
  26322. begin
  26323. if thebits = 0 then
  26324. pTDefRegMap(@Self)^.clr := $00000040
  26325. else
  26326. pTDefRegMap(@Self)^.&set := $00000040;
  26327. end;
  26328. function TUART4_U4MODE.getLPBACK : TBits_1; inline;
  26329. begin
  26330. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26331. end;
  26332. procedure TUART4_U4MODE.setWAKE; inline;
  26333. begin
  26334. pTDefRegMap(@Self)^.&set := $00000080;
  26335. end;
  26336. procedure TUART4_U4MODE.clearWAKE; inline;
  26337. begin
  26338. pTDefRegMap(@Self)^.clr := $00000080;
  26339. end;
  26340. procedure TUART4_U4MODE.setWAKE(thebits : TBits_1); inline;
  26341. begin
  26342. if thebits = 0 then
  26343. pTDefRegMap(@Self)^.clr := $00000080
  26344. else
  26345. pTDefRegMap(@Self)^.&set := $00000080;
  26346. end;
  26347. function TUART4_U4MODE.getWAKE : TBits_1; inline;
  26348. begin
  26349. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26350. end;
  26351. procedure TUART4_U4MODE.setUEN(thebits : TBits_2); inline;
  26352. begin
  26353. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  26354. end;
  26355. function TUART4_U4MODE.getUEN : TBits_2; inline;
  26356. begin
  26357. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  26358. end;
  26359. procedure TUART4_U4MODE.setRTSMD; inline;
  26360. begin
  26361. pTDefRegMap(@Self)^.&set := $00000800;
  26362. end;
  26363. procedure TUART4_U4MODE.clearRTSMD; inline;
  26364. begin
  26365. pTDefRegMap(@Self)^.clr := $00000800;
  26366. end;
  26367. procedure TUART4_U4MODE.setRTSMD(thebits : TBits_1); inline;
  26368. begin
  26369. if thebits = 0 then
  26370. pTDefRegMap(@Self)^.clr := $00000800
  26371. else
  26372. pTDefRegMap(@Self)^.&set := $00000800;
  26373. end;
  26374. function TUART4_U4MODE.getRTSMD : TBits_1; inline;
  26375. begin
  26376. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26377. end;
  26378. procedure TUART4_U4MODE.setIREN; inline;
  26379. begin
  26380. pTDefRegMap(@Self)^.&set := $00001000;
  26381. end;
  26382. procedure TUART4_U4MODE.clearIREN; inline;
  26383. begin
  26384. pTDefRegMap(@Self)^.clr := $00001000;
  26385. end;
  26386. procedure TUART4_U4MODE.setIREN(thebits : TBits_1); inline;
  26387. begin
  26388. if thebits = 0 then
  26389. pTDefRegMap(@Self)^.clr := $00001000
  26390. else
  26391. pTDefRegMap(@Self)^.&set := $00001000;
  26392. end;
  26393. function TUART4_U4MODE.getIREN : TBits_1; inline;
  26394. begin
  26395. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26396. end;
  26397. procedure TUART4_U4MODE.setSIDL; inline;
  26398. begin
  26399. pTDefRegMap(@Self)^.&set := $00002000;
  26400. end;
  26401. procedure TUART4_U4MODE.clearSIDL; inline;
  26402. begin
  26403. pTDefRegMap(@Self)^.clr := $00002000;
  26404. end;
  26405. procedure TUART4_U4MODE.setSIDL(thebits : TBits_1); inline;
  26406. begin
  26407. if thebits = 0 then
  26408. pTDefRegMap(@Self)^.clr := $00002000
  26409. else
  26410. pTDefRegMap(@Self)^.&set := $00002000;
  26411. end;
  26412. function TUART4_U4MODE.getSIDL : TBits_1; inline;
  26413. begin
  26414. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26415. end;
  26416. procedure TUART4_U4MODE.setON; inline;
  26417. begin
  26418. pTDefRegMap(@Self)^.&set := $00008000;
  26419. end;
  26420. procedure TUART4_U4MODE.clearON; inline;
  26421. begin
  26422. pTDefRegMap(@Self)^.clr := $00008000;
  26423. end;
  26424. procedure TUART4_U4MODE.setON(thebits : TBits_1); inline;
  26425. begin
  26426. if thebits = 0 then
  26427. pTDefRegMap(@Self)^.clr := $00008000
  26428. else
  26429. pTDefRegMap(@Self)^.&set := $00008000;
  26430. end;
  26431. function TUART4_U4MODE.getON : TBits_1; inline;
  26432. begin
  26433. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26434. end;
  26435. procedure TUART4_U4MODE.setPDSEL0; inline;
  26436. begin
  26437. pTDefRegMap(@Self)^.&set := $00000002;
  26438. end;
  26439. procedure TUART4_U4MODE.clearPDSEL0; inline;
  26440. begin
  26441. pTDefRegMap(@Self)^.clr := $00000002;
  26442. end;
  26443. procedure TUART4_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  26444. begin
  26445. if thebits = 0 then
  26446. pTDefRegMap(@Self)^.clr := $00000002
  26447. else
  26448. pTDefRegMap(@Self)^.&set := $00000002;
  26449. end;
  26450. function TUART4_U4MODE.getPDSEL0 : TBits_1; inline;
  26451. begin
  26452. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26453. end;
  26454. procedure TUART4_U4MODE.setPDSEL1; inline;
  26455. begin
  26456. pTDefRegMap(@Self)^.&set := $00000004;
  26457. end;
  26458. procedure TUART4_U4MODE.clearPDSEL1; inline;
  26459. begin
  26460. pTDefRegMap(@Self)^.clr := $00000004;
  26461. end;
  26462. procedure TUART4_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  26463. begin
  26464. if thebits = 0 then
  26465. pTDefRegMap(@Self)^.clr := $00000004
  26466. else
  26467. pTDefRegMap(@Self)^.&set := $00000004;
  26468. end;
  26469. function TUART4_U4MODE.getPDSEL1 : TBits_1; inline;
  26470. begin
  26471. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26472. end;
  26473. procedure TUART4_U4MODE.setUEN0; inline;
  26474. begin
  26475. pTDefRegMap(@Self)^.&set := $00000100;
  26476. end;
  26477. procedure TUART4_U4MODE.clearUEN0; inline;
  26478. begin
  26479. pTDefRegMap(@Self)^.clr := $00000100;
  26480. end;
  26481. procedure TUART4_U4MODE.setUEN0(thebits : TBits_1); inline;
  26482. begin
  26483. if thebits = 0 then
  26484. pTDefRegMap(@Self)^.clr := $00000100
  26485. else
  26486. pTDefRegMap(@Self)^.&set := $00000100;
  26487. end;
  26488. function TUART4_U4MODE.getUEN0 : TBits_1; inline;
  26489. begin
  26490. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26491. end;
  26492. procedure TUART4_U4MODE.setUEN1; inline;
  26493. begin
  26494. pTDefRegMap(@Self)^.&set := $00000200;
  26495. end;
  26496. procedure TUART4_U4MODE.clearUEN1; inline;
  26497. begin
  26498. pTDefRegMap(@Self)^.clr := $00000200;
  26499. end;
  26500. procedure TUART4_U4MODE.setUEN1(thebits : TBits_1); inline;
  26501. begin
  26502. if thebits = 0 then
  26503. pTDefRegMap(@Self)^.clr := $00000200
  26504. else
  26505. pTDefRegMap(@Self)^.&set := $00000200;
  26506. end;
  26507. function TUART4_U4MODE.getUEN1 : TBits_1; inline;
  26508. begin
  26509. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26510. end;
  26511. procedure TUART4_U4MODE.setUSIDL; inline;
  26512. begin
  26513. pTDefRegMap(@Self)^.&set := $00002000;
  26514. end;
  26515. procedure TUART4_U4MODE.clearUSIDL; inline;
  26516. begin
  26517. pTDefRegMap(@Self)^.clr := $00002000;
  26518. end;
  26519. procedure TUART4_U4MODE.setUSIDL(thebits : TBits_1); inline;
  26520. begin
  26521. if thebits = 0 then
  26522. pTDefRegMap(@Self)^.clr := $00002000
  26523. else
  26524. pTDefRegMap(@Self)^.&set := $00002000;
  26525. end;
  26526. function TUART4_U4MODE.getUSIDL : TBits_1; inline;
  26527. begin
  26528. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26529. end;
  26530. procedure TUART4_U4MODE.setUARTEN; inline;
  26531. begin
  26532. pTDefRegMap(@Self)^.&set := $00008000;
  26533. end;
  26534. procedure TUART4_U4MODE.clearUARTEN; inline;
  26535. begin
  26536. pTDefRegMap(@Self)^.clr := $00008000;
  26537. end;
  26538. procedure TUART4_U4MODE.setUARTEN(thebits : TBits_1); inline;
  26539. begin
  26540. if thebits = 0 then
  26541. pTDefRegMap(@Self)^.clr := $00008000
  26542. else
  26543. pTDefRegMap(@Self)^.&set := $00008000;
  26544. end;
  26545. function TUART4_U4MODE.getUARTEN : TBits_1; inline;
  26546. begin
  26547. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26548. end;
  26549. procedure TUART4_U4MODE.setw(thebits : TBits_32); inline;
  26550. begin
  26551. pTDefRegMap(@Self)^.val := thebits;
  26552. end;
  26553. function TUART4_U4MODE.getw : TBits_32; inline;
  26554. begin
  26555. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26556. end;
  26557. procedure TUART4_UodMODE.setSTSEL; inline;
  26558. begin
  26559. pTDefRegMap(@Self)^.&set := $00000001;
  26560. end;
  26561. procedure TUART4_UodMODE.clearSTSEL; inline;
  26562. begin
  26563. pTDefRegMap(@Self)^.clr := $00000001;
  26564. end;
  26565. procedure TUART4_UodMODE.setSTSEL(thebits : TBits_1); inline;
  26566. begin
  26567. if thebits = 0 then
  26568. pTDefRegMap(@Self)^.clr := $00000001
  26569. else
  26570. pTDefRegMap(@Self)^.&set := $00000001;
  26571. end;
  26572. function TUART4_UodMODE.getSTSEL : TBits_1; inline;
  26573. begin
  26574. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26575. end;
  26576. procedure TUART4_UodMODE.setPDSEL(thebits : TBits_2); inline;
  26577. begin
  26578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  26579. end;
  26580. function TUART4_UodMODE.getPDSEL : TBits_2; inline;
  26581. begin
  26582. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  26583. end;
  26584. procedure TUART4_UodMODE.setBRGH; inline;
  26585. begin
  26586. pTDefRegMap(@Self)^.&set := $00000008;
  26587. end;
  26588. procedure TUART4_UodMODE.clearBRGH; inline;
  26589. begin
  26590. pTDefRegMap(@Self)^.clr := $00000008;
  26591. end;
  26592. procedure TUART4_UodMODE.setBRGH(thebits : TBits_1); inline;
  26593. begin
  26594. if thebits = 0 then
  26595. pTDefRegMap(@Self)^.clr := $00000008
  26596. else
  26597. pTDefRegMap(@Self)^.&set := $00000008;
  26598. end;
  26599. function TUART4_UodMODE.getBRGH : TBits_1; inline;
  26600. begin
  26601. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26602. end;
  26603. procedure TUART4_UodMODE.setRXINV; inline;
  26604. begin
  26605. pTDefRegMap(@Self)^.&set := $00000010;
  26606. end;
  26607. procedure TUART4_UodMODE.clearRXINV; inline;
  26608. begin
  26609. pTDefRegMap(@Self)^.clr := $00000010;
  26610. end;
  26611. procedure TUART4_UodMODE.setRXINV(thebits : TBits_1); inline;
  26612. begin
  26613. if thebits = 0 then
  26614. pTDefRegMap(@Self)^.clr := $00000010
  26615. else
  26616. pTDefRegMap(@Self)^.&set := $00000010;
  26617. end;
  26618. function TUART4_UodMODE.getRXINV : TBits_1; inline;
  26619. begin
  26620. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26621. end;
  26622. procedure TUART4_UodMODE.setABAUD; inline;
  26623. begin
  26624. pTDefRegMap(@Self)^.&set := $00000020;
  26625. end;
  26626. procedure TUART4_UodMODE.clearABAUD; inline;
  26627. begin
  26628. pTDefRegMap(@Self)^.clr := $00000020;
  26629. end;
  26630. procedure TUART4_UodMODE.setABAUD(thebits : TBits_1); inline;
  26631. begin
  26632. if thebits = 0 then
  26633. pTDefRegMap(@Self)^.clr := $00000020
  26634. else
  26635. pTDefRegMap(@Self)^.&set := $00000020;
  26636. end;
  26637. function TUART4_UodMODE.getABAUD : TBits_1; inline;
  26638. begin
  26639. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26640. end;
  26641. procedure TUART4_UodMODE.setLPBACK; inline;
  26642. begin
  26643. pTDefRegMap(@Self)^.&set := $00000040;
  26644. end;
  26645. procedure TUART4_UodMODE.clearLPBACK; inline;
  26646. begin
  26647. pTDefRegMap(@Self)^.clr := $00000040;
  26648. end;
  26649. procedure TUART4_UodMODE.setLPBACK(thebits : TBits_1); inline;
  26650. begin
  26651. if thebits = 0 then
  26652. pTDefRegMap(@Self)^.clr := $00000040
  26653. else
  26654. pTDefRegMap(@Self)^.&set := $00000040;
  26655. end;
  26656. function TUART4_UodMODE.getLPBACK : TBits_1; inline;
  26657. begin
  26658. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26659. end;
  26660. procedure TUART4_UodMODE.setWAKE; inline;
  26661. begin
  26662. pTDefRegMap(@Self)^.&set := $00000080;
  26663. end;
  26664. procedure TUART4_UodMODE.clearWAKE; inline;
  26665. begin
  26666. pTDefRegMap(@Self)^.clr := $00000080;
  26667. end;
  26668. procedure TUART4_UodMODE.setWAKE(thebits : TBits_1); inline;
  26669. begin
  26670. if thebits = 0 then
  26671. pTDefRegMap(@Self)^.clr := $00000080
  26672. else
  26673. pTDefRegMap(@Self)^.&set := $00000080;
  26674. end;
  26675. function TUART4_UodMODE.getWAKE : TBits_1; inline;
  26676. begin
  26677. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26678. end;
  26679. procedure TUART4_UodMODE.setUEN(thebits : TBits_2); inline;
  26680. begin
  26681. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  26682. end;
  26683. function TUART4_UodMODE.getUEN : TBits_2; inline;
  26684. begin
  26685. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  26686. end;
  26687. procedure TUART4_UodMODE.setRTSMD; inline;
  26688. begin
  26689. pTDefRegMap(@Self)^.&set := $00000800;
  26690. end;
  26691. procedure TUART4_UodMODE.clearRTSMD; inline;
  26692. begin
  26693. pTDefRegMap(@Self)^.clr := $00000800;
  26694. end;
  26695. procedure TUART4_UodMODE.setRTSMD(thebits : TBits_1); inline;
  26696. begin
  26697. if thebits = 0 then
  26698. pTDefRegMap(@Self)^.clr := $00000800
  26699. else
  26700. pTDefRegMap(@Self)^.&set := $00000800;
  26701. end;
  26702. function TUART4_UodMODE.getRTSMD : TBits_1; inline;
  26703. begin
  26704. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26705. end;
  26706. procedure TUART4_UodMODE.setIREN; inline;
  26707. begin
  26708. pTDefRegMap(@Self)^.&set := $00001000;
  26709. end;
  26710. procedure TUART4_UodMODE.clearIREN; inline;
  26711. begin
  26712. pTDefRegMap(@Self)^.clr := $00001000;
  26713. end;
  26714. procedure TUART4_UodMODE.setIREN(thebits : TBits_1); inline;
  26715. begin
  26716. if thebits = 0 then
  26717. pTDefRegMap(@Self)^.clr := $00001000
  26718. else
  26719. pTDefRegMap(@Self)^.&set := $00001000;
  26720. end;
  26721. function TUART4_UodMODE.getIREN : TBits_1; inline;
  26722. begin
  26723. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26724. end;
  26725. procedure TUART4_UodMODE.setSIDL; inline;
  26726. begin
  26727. pTDefRegMap(@Self)^.&set := $00002000;
  26728. end;
  26729. procedure TUART4_UodMODE.clearSIDL; inline;
  26730. begin
  26731. pTDefRegMap(@Self)^.clr := $00002000;
  26732. end;
  26733. procedure TUART4_UodMODE.setSIDL(thebits : TBits_1); inline;
  26734. begin
  26735. if thebits = 0 then
  26736. pTDefRegMap(@Self)^.clr := $00002000
  26737. else
  26738. pTDefRegMap(@Self)^.&set := $00002000;
  26739. end;
  26740. function TUART4_UodMODE.getSIDL : TBits_1; inline;
  26741. begin
  26742. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26743. end;
  26744. procedure TUART4_UodMODE.setON; inline;
  26745. begin
  26746. pTDefRegMap(@Self)^.&set := $00008000;
  26747. end;
  26748. procedure TUART4_UodMODE.clearON; inline;
  26749. begin
  26750. pTDefRegMap(@Self)^.clr := $00008000;
  26751. end;
  26752. procedure TUART4_UodMODE.setON(thebits : TBits_1); inline;
  26753. begin
  26754. if thebits = 0 then
  26755. pTDefRegMap(@Self)^.clr := $00008000
  26756. else
  26757. pTDefRegMap(@Self)^.&set := $00008000;
  26758. end;
  26759. function TUART4_UodMODE.getON : TBits_1; inline;
  26760. begin
  26761. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26762. end;
  26763. procedure TUART4_UodMODE.setPDSEL0; inline;
  26764. begin
  26765. pTDefRegMap(@Self)^.&set := $00000002;
  26766. end;
  26767. procedure TUART4_UodMODE.clearPDSEL0; inline;
  26768. begin
  26769. pTDefRegMap(@Self)^.clr := $00000002;
  26770. end;
  26771. procedure TUART4_UodMODE.setPDSEL0(thebits : TBits_1); inline;
  26772. begin
  26773. if thebits = 0 then
  26774. pTDefRegMap(@Self)^.clr := $00000002
  26775. else
  26776. pTDefRegMap(@Self)^.&set := $00000002;
  26777. end;
  26778. function TUART4_UodMODE.getPDSEL0 : TBits_1; inline;
  26779. begin
  26780. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26781. end;
  26782. procedure TUART4_UodMODE.setPDSEL1; inline;
  26783. begin
  26784. pTDefRegMap(@Self)^.&set := $00000004;
  26785. end;
  26786. procedure TUART4_UodMODE.clearPDSEL1; inline;
  26787. begin
  26788. pTDefRegMap(@Self)^.clr := $00000004;
  26789. end;
  26790. procedure TUART4_UodMODE.setPDSEL1(thebits : TBits_1); inline;
  26791. begin
  26792. if thebits = 0 then
  26793. pTDefRegMap(@Self)^.clr := $00000004
  26794. else
  26795. pTDefRegMap(@Self)^.&set := $00000004;
  26796. end;
  26797. function TUART4_UodMODE.getPDSEL1 : TBits_1; inline;
  26798. begin
  26799. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26800. end;
  26801. procedure TUART4_UodMODE.setUEN0; inline;
  26802. begin
  26803. pTDefRegMap(@Self)^.&set := $00000100;
  26804. end;
  26805. procedure TUART4_UodMODE.clearUEN0; inline;
  26806. begin
  26807. pTDefRegMap(@Self)^.clr := $00000100;
  26808. end;
  26809. procedure TUART4_UodMODE.setUEN0(thebits : TBits_1); inline;
  26810. begin
  26811. if thebits = 0 then
  26812. pTDefRegMap(@Self)^.clr := $00000100
  26813. else
  26814. pTDefRegMap(@Self)^.&set := $00000100;
  26815. end;
  26816. function TUART4_UodMODE.getUEN0 : TBits_1; inline;
  26817. begin
  26818. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26819. end;
  26820. procedure TUART4_UodMODE.setUEN1; inline;
  26821. begin
  26822. pTDefRegMap(@Self)^.&set := $00000200;
  26823. end;
  26824. procedure TUART4_UodMODE.clearUEN1; inline;
  26825. begin
  26826. pTDefRegMap(@Self)^.clr := $00000200;
  26827. end;
  26828. procedure TUART4_UodMODE.setUEN1(thebits : TBits_1); inline;
  26829. begin
  26830. if thebits = 0 then
  26831. pTDefRegMap(@Self)^.clr := $00000200
  26832. else
  26833. pTDefRegMap(@Self)^.&set := $00000200;
  26834. end;
  26835. function TUART4_UodMODE.getUEN1 : TBits_1; inline;
  26836. begin
  26837. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26838. end;
  26839. procedure TUART4_UodMODE.setUSIDL; inline;
  26840. begin
  26841. pTDefRegMap(@Self)^.&set := $00002000;
  26842. end;
  26843. procedure TUART4_UodMODE.clearUSIDL; inline;
  26844. begin
  26845. pTDefRegMap(@Self)^.clr := $00002000;
  26846. end;
  26847. procedure TUART4_UodMODE.setUSIDL(thebits : TBits_1); inline;
  26848. begin
  26849. if thebits = 0 then
  26850. pTDefRegMap(@Self)^.clr := $00002000
  26851. else
  26852. pTDefRegMap(@Self)^.&set := $00002000;
  26853. end;
  26854. function TUART4_UodMODE.getUSIDL : TBits_1; inline;
  26855. begin
  26856. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26857. end;
  26858. procedure TUART4_UodMODE.setUARTEN; inline;
  26859. begin
  26860. pTDefRegMap(@Self)^.&set := $00008000;
  26861. end;
  26862. procedure TUART4_UodMODE.clearUARTEN; inline;
  26863. begin
  26864. pTDefRegMap(@Self)^.clr := $00008000;
  26865. end;
  26866. procedure TUART4_UodMODE.setUARTEN(thebits : TBits_1); inline;
  26867. begin
  26868. if thebits = 0 then
  26869. pTDefRegMap(@Self)^.clr := $00008000
  26870. else
  26871. pTDefRegMap(@Self)^.&set := $00008000;
  26872. end;
  26873. function TUART4_UodMODE.getUARTEN : TBits_1; inline;
  26874. begin
  26875. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26876. end;
  26877. procedure TUART4_UodMODE.setw(thebits : TBits_32); inline;
  26878. begin
  26879. pTDefRegMap(@Self)^.val := thebits;
  26880. end;
  26881. function TUART4_UodMODE.getw : TBits_32; inline;
  26882. begin
  26883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26884. end;
  26885. procedure TUART4_U4STA.setURXDA; inline;
  26886. begin
  26887. pTDefRegMap(@Self)^.&set := $00000001;
  26888. end;
  26889. procedure TUART4_U4STA.clearURXDA; inline;
  26890. begin
  26891. pTDefRegMap(@Self)^.clr := $00000001;
  26892. end;
  26893. procedure TUART4_U4STA.setURXDA(thebits : TBits_1); inline;
  26894. begin
  26895. if thebits = 0 then
  26896. pTDefRegMap(@Self)^.clr := $00000001
  26897. else
  26898. pTDefRegMap(@Self)^.&set := $00000001;
  26899. end;
  26900. function TUART4_U4STA.getURXDA : TBits_1; inline;
  26901. begin
  26902. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26903. end;
  26904. procedure TUART4_U4STA.setOERR; inline;
  26905. begin
  26906. pTDefRegMap(@Self)^.&set := $00000002;
  26907. end;
  26908. procedure TUART4_U4STA.clearOERR; inline;
  26909. begin
  26910. pTDefRegMap(@Self)^.clr := $00000002;
  26911. end;
  26912. procedure TUART4_U4STA.setOERR(thebits : TBits_1); inline;
  26913. begin
  26914. if thebits = 0 then
  26915. pTDefRegMap(@Self)^.clr := $00000002
  26916. else
  26917. pTDefRegMap(@Self)^.&set := $00000002;
  26918. end;
  26919. function TUART4_U4STA.getOERR : TBits_1; inline;
  26920. begin
  26921. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26922. end;
  26923. procedure TUART4_U4STA.setFERR; inline;
  26924. begin
  26925. pTDefRegMap(@Self)^.&set := $00000004;
  26926. end;
  26927. procedure TUART4_U4STA.clearFERR; inline;
  26928. begin
  26929. pTDefRegMap(@Self)^.clr := $00000004;
  26930. end;
  26931. procedure TUART4_U4STA.setFERR(thebits : TBits_1); inline;
  26932. begin
  26933. if thebits = 0 then
  26934. pTDefRegMap(@Self)^.clr := $00000004
  26935. else
  26936. pTDefRegMap(@Self)^.&set := $00000004;
  26937. end;
  26938. function TUART4_U4STA.getFERR : TBits_1; inline;
  26939. begin
  26940. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26941. end;
  26942. procedure TUART4_U4STA.setPERR; inline;
  26943. begin
  26944. pTDefRegMap(@Self)^.&set := $00000008;
  26945. end;
  26946. procedure TUART4_U4STA.clearPERR; inline;
  26947. begin
  26948. pTDefRegMap(@Self)^.clr := $00000008;
  26949. end;
  26950. procedure TUART4_U4STA.setPERR(thebits : TBits_1); inline;
  26951. begin
  26952. if thebits = 0 then
  26953. pTDefRegMap(@Self)^.clr := $00000008
  26954. else
  26955. pTDefRegMap(@Self)^.&set := $00000008;
  26956. end;
  26957. function TUART4_U4STA.getPERR : TBits_1; inline;
  26958. begin
  26959. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26960. end;
  26961. procedure TUART4_U4STA.setRIDLE; inline;
  26962. begin
  26963. pTDefRegMap(@Self)^.&set := $00000010;
  26964. end;
  26965. procedure TUART4_U4STA.clearRIDLE; inline;
  26966. begin
  26967. pTDefRegMap(@Self)^.clr := $00000010;
  26968. end;
  26969. procedure TUART4_U4STA.setRIDLE(thebits : TBits_1); inline;
  26970. begin
  26971. if thebits = 0 then
  26972. pTDefRegMap(@Self)^.clr := $00000010
  26973. else
  26974. pTDefRegMap(@Self)^.&set := $00000010;
  26975. end;
  26976. function TUART4_U4STA.getRIDLE : TBits_1; inline;
  26977. begin
  26978. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26979. end;
  26980. procedure TUART4_U4STA.setADDEN; inline;
  26981. begin
  26982. pTDefRegMap(@Self)^.&set := $00000020;
  26983. end;
  26984. procedure TUART4_U4STA.clearADDEN; inline;
  26985. begin
  26986. pTDefRegMap(@Self)^.clr := $00000020;
  26987. end;
  26988. procedure TUART4_U4STA.setADDEN(thebits : TBits_1); inline;
  26989. begin
  26990. if thebits = 0 then
  26991. pTDefRegMap(@Self)^.clr := $00000020
  26992. else
  26993. pTDefRegMap(@Self)^.&set := $00000020;
  26994. end;
  26995. function TUART4_U4STA.getADDEN : TBits_1; inline;
  26996. begin
  26997. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26998. end;
  26999. procedure TUART4_U4STA.setURXISEL(thebits : TBits_2); inline;
  27000. begin
  27001. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  27002. end;
  27003. function TUART4_U4STA.getURXISEL : TBits_2; inline;
  27004. begin
  27005. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  27006. end;
  27007. procedure TUART4_U4STA.setTRMT; inline;
  27008. begin
  27009. pTDefRegMap(@Self)^.&set := $00000100;
  27010. end;
  27011. procedure TUART4_U4STA.clearTRMT; inline;
  27012. begin
  27013. pTDefRegMap(@Self)^.clr := $00000100;
  27014. end;
  27015. procedure TUART4_U4STA.setTRMT(thebits : TBits_1); inline;
  27016. begin
  27017. if thebits = 0 then
  27018. pTDefRegMap(@Self)^.clr := $00000100
  27019. else
  27020. pTDefRegMap(@Self)^.&set := $00000100;
  27021. end;
  27022. function TUART4_U4STA.getTRMT : TBits_1; inline;
  27023. begin
  27024. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27025. end;
  27026. procedure TUART4_U4STA.setUTXBF; inline;
  27027. begin
  27028. pTDefRegMap(@Self)^.&set := $00000200;
  27029. end;
  27030. procedure TUART4_U4STA.clearUTXBF; inline;
  27031. begin
  27032. pTDefRegMap(@Self)^.clr := $00000200;
  27033. end;
  27034. procedure TUART4_U4STA.setUTXBF(thebits : TBits_1); inline;
  27035. begin
  27036. if thebits = 0 then
  27037. pTDefRegMap(@Self)^.clr := $00000200
  27038. else
  27039. pTDefRegMap(@Self)^.&set := $00000200;
  27040. end;
  27041. function TUART4_U4STA.getUTXBF : TBits_1; inline;
  27042. begin
  27043. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27044. end;
  27045. procedure TUART4_U4STA.setUTXEN; inline;
  27046. begin
  27047. pTDefRegMap(@Self)^.&set := $00000400;
  27048. end;
  27049. procedure TUART4_U4STA.clearUTXEN; inline;
  27050. begin
  27051. pTDefRegMap(@Self)^.clr := $00000400;
  27052. end;
  27053. procedure TUART4_U4STA.setUTXEN(thebits : TBits_1); inline;
  27054. begin
  27055. if thebits = 0 then
  27056. pTDefRegMap(@Self)^.clr := $00000400
  27057. else
  27058. pTDefRegMap(@Self)^.&set := $00000400;
  27059. end;
  27060. function TUART4_U4STA.getUTXEN : TBits_1; inline;
  27061. begin
  27062. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27063. end;
  27064. procedure TUART4_U4STA.setUTXBRK; inline;
  27065. begin
  27066. pTDefRegMap(@Self)^.&set := $00000800;
  27067. end;
  27068. procedure TUART4_U4STA.clearUTXBRK; inline;
  27069. begin
  27070. pTDefRegMap(@Self)^.clr := $00000800;
  27071. end;
  27072. procedure TUART4_U4STA.setUTXBRK(thebits : TBits_1); inline;
  27073. begin
  27074. if thebits = 0 then
  27075. pTDefRegMap(@Self)^.clr := $00000800
  27076. else
  27077. pTDefRegMap(@Self)^.&set := $00000800;
  27078. end;
  27079. function TUART4_U4STA.getUTXBRK : TBits_1; inline;
  27080. begin
  27081. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27082. end;
  27083. procedure TUART4_U4STA.setURXEN; inline;
  27084. begin
  27085. pTDefRegMap(@Self)^.&set := $00001000;
  27086. end;
  27087. procedure TUART4_U4STA.clearURXEN; inline;
  27088. begin
  27089. pTDefRegMap(@Self)^.clr := $00001000;
  27090. end;
  27091. procedure TUART4_U4STA.setURXEN(thebits : TBits_1); inline;
  27092. begin
  27093. if thebits = 0 then
  27094. pTDefRegMap(@Self)^.clr := $00001000
  27095. else
  27096. pTDefRegMap(@Self)^.&set := $00001000;
  27097. end;
  27098. function TUART4_U4STA.getURXEN : TBits_1; inline;
  27099. begin
  27100. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27101. end;
  27102. procedure TUART4_U4STA.setUTXINV; inline;
  27103. begin
  27104. pTDefRegMap(@Self)^.&set := $00002000;
  27105. end;
  27106. procedure TUART4_U4STA.clearUTXINV; inline;
  27107. begin
  27108. pTDefRegMap(@Self)^.clr := $00002000;
  27109. end;
  27110. procedure TUART4_U4STA.setUTXINV(thebits : TBits_1); inline;
  27111. begin
  27112. if thebits = 0 then
  27113. pTDefRegMap(@Self)^.clr := $00002000
  27114. else
  27115. pTDefRegMap(@Self)^.&set := $00002000;
  27116. end;
  27117. function TUART4_U4STA.getUTXINV : TBits_1; inline;
  27118. begin
  27119. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27120. end;
  27121. procedure TUART4_U4STA.setUTXISEL(thebits : TBits_2); inline;
  27122. begin
  27123. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27124. end;
  27125. function TUART4_U4STA.getUTXISEL : TBits_2; inline;
  27126. begin
  27127. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27128. end;
  27129. procedure TUART4_U4STA.setADDR(thebits : TBits_8); inline;
  27130. begin
  27131. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  27132. end;
  27133. function TUART4_U4STA.getADDR : TBits_8; inline;
  27134. begin
  27135. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  27136. end;
  27137. procedure TUART4_U4STA.setADM_EN; inline;
  27138. begin
  27139. pTDefRegMap(@Self)^.&set := $01000000;
  27140. end;
  27141. procedure TUART4_U4STA.clearADM_EN; inline;
  27142. begin
  27143. pTDefRegMap(@Self)^.clr := $01000000;
  27144. end;
  27145. procedure TUART4_U4STA.setADM_EN(thebits : TBits_1); inline;
  27146. begin
  27147. if thebits = 0 then
  27148. pTDefRegMap(@Self)^.clr := $01000000
  27149. else
  27150. pTDefRegMap(@Self)^.&set := $01000000;
  27151. end;
  27152. function TUART4_U4STA.getADM_EN : TBits_1; inline;
  27153. begin
  27154. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27155. end;
  27156. procedure TUART4_U4STA.setURXISEL0; inline;
  27157. begin
  27158. pTDefRegMap(@Self)^.&set := $00000040;
  27159. end;
  27160. procedure TUART4_U4STA.clearURXISEL0; inline;
  27161. begin
  27162. pTDefRegMap(@Self)^.clr := $00000040;
  27163. end;
  27164. procedure TUART4_U4STA.setURXISEL0(thebits : TBits_1); inline;
  27165. begin
  27166. if thebits = 0 then
  27167. pTDefRegMap(@Self)^.clr := $00000040
  27168. else
  27169. pTDefRegMap(@Self)^.&set := $00000040;
  27170. end;
  27171. function TUART4_U4STA.getURXISEL0 : TBits_1; inline;
  27172. begin
  27173. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27174. end;
  27175. procedure TUART4_U4STA.setURXISEL1; inline;
  27176. begin
  27177. pTDefRegMap(@Self)^.&set := $00000080;
  27178. end;
  27179. procedure TUART4_U4STA.clearURXISEL1; inline;
  27180. begin
  27181. pTDefRegMap(@Self)^.clr := $00000080;
  27182. end;
  27183. procedure TUART4_U4STA.setURXISEL1(thebits : TBits_1); inline;
  27184. begin
  27185. if thebits = 0 then
  27186. pTDefRegMap(@Self)^.clr := $00000080
  27187. else
  27188. pTDefRegMap(@Self)^.&set := $00000080;
  27189. end;
  27190. function TUART4_U4STA.getURXISEL1 : TBits_1; inline;
  27191. begin
  27192. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27193. end;
  27194. procedure TUART4_U4STA.setUTXISEL0; inline;
  27195. begin
  27196. pTDefRegMap(@Self)^.&set := $00004000;
  27197. end;
  27198. procedure TUART4_U4STA.clearUTXISEL0; inline;
  27199. begin
  27200. pTDefRegMap(@Self)^.clr := $00004000;
  27201. end;
  27202. procedure TUART4_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  27203. begin
  27204. if thebits = 0 then
  27205. pTDefRegMap(@Self)^.clr := $00004000
  27206. else
  27207. pTDefRegMap(@Self)^.&set := $00004000;
  27208. end;
  27209. function TUART4_U4STA.getUTXISEL0 : TBits_1; inline;
  27210. begin
  27211. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27212. end;
  27213. procedure TUART4_U4STA.setUTXISEL1; inline;
  27214. begin
  27215. pTDefRegMap(@Self)^.&set := $00008000;
  27216. end;
  27217. procedure TUART4_U4STA.clearUTXISEL1; inline;
  27218. begin
  27219. pTDefRegMap(@Self)^.clr := $00008000;
  27220. end;
  27221. procedure TUART4_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  27222. begin
  27223. if thebits = 0 then
  27224. pTDefRegMap(@Self)^.clr := $00008000
  27225. else
  27226. pTDefRegMap(@Self)^.&set := $00008000;
  27227. end;
  27228. function TUART4_U4STA.getUTXISEL1 : TBits_1; inline;
  27229. begin
  27230. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27231. end;
  27232. procedure TUART4_U4STA.setUTXSEL(thebits : TBits_2); inline;
  27233. begin
  27234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27235. end;
  27236. function TUART4_U4STA.getUTXSEL : TBits_2; inline;
  27237. begin
  27238. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27239. end;
  27240. procedure TUART4_U4STA.setw(thebits : TBits_32); inline;
  27241. begin
  27242. pTDefRegMap(@Self)^.val := thebits;
  27243. end;
  27244. function TUART4_U4STA.getw : TBits_32; inline;
  27245. begin
  27246. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27247. end;
  27248. procedure TUART4_UodSTA.setURXDA; inline;
  27249. begin
  27250. pTDefRegMap(@Self)^.&set := $00000001;
  27251. end;
  27252. procedure TUART4_UodSTA.clearURXDA; inline;
  27253. begin
  27254. pTDefRegMap(@Self)^.clr := $00000001;
  27255. end;
  27256. procedure TUART4_UodSTA.setURXDA(thebits : TBits_1); inline;
  27257. begin
  27258. if thebits = 0 then
  27259. pTDefRegMap(@Self)^.clr := $00000001
  27260. else
  27261. pTDefRegMap(@Self)^.&set := $00000001;
  27262. end;
  27263. function TUART4_UodSTA.getURXDA : TBits_1; inline;
  27264. begin
  27265. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27266. end;
  27267. procedure TUART4_UodSTA.setOERR; inline;
  27268. begin
  27269. pTDefRegMap(@Self)^.&set := $00000002;
  27270. end;
  27271. procedure TUART4_UodSTA.clearOERR; inline;
  27272. begin
  27273. pTDefRegMap(@Self)^.clr := $00000002;
  27274. end;
  27275. procedure TUART4_UodSTA.setOERR(thebits : TBits_1); inline;
  27276. begin
  27277. if thebits = 0 then
  27278. pTDefRegMap(@Self)^.clr := $00000002
  27279. else
  27280. pTDefRegMap(@Self)^.&set := $00000002;
  27281. end;
  27282. function TUART4_UodSTA.getOERR : TBits_1; inline;
  27283. begin
  27284. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27285. end;
  27286. procedure TUART4_UodSTA.setFERR; inline;
  27287. begin
  27288. pTDefRegMap(@Self)^.&set := $00000004;
  27289. end;
  27290. procedure TUART4_UodSTA.clearFERR; inline;
  27291. begin
  27292. pTDefRegMap(@Self)^.clr := $00000004;
  27293. end;
  27294. procedure TUART4_UodSTA.setFERR(thebits : TBits_1); inline;
  27295. begin
  27296. if thebits = 0 then
  27297. pTDefRegMap(@Self)^.clr := $00000004
  27298. else
  27299. pTDefRegMap(@Self)^.&set := $00000004;
  27300. end;
  27301. function TUART4_UodSTA.getFERR : TBits_1; inline;
  27302. begin
  27303. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27304. end;
  27305. procedure TUART4_UodSTA.setPERR; inline;
  27306. begin
  27307. pTDefRegMap(@Self)^.&set := $00000008;
  27308. end;
  27309. procedure TUART4_UodSTA.clearPERR; inline;
  27310. begin
  27311. pTDefRegMap(@Self)^.clr := $00000008;
  27312. end;
  27313. procedure TUART4_UodSTA.setPERR(thebits : TBits_1); inline;
  27314. begin
  27315. if thebits = 0 then
  27316. pTDefRegMap(@Self)^.clr := $00000008
  27317. else
  27318. pTDefRegMap(@Self)^.&set := $00000008;
  27319. end;
  27320. function TUART4_UodSTA.getPERR : TBits_1; inline;
  27321. begin
  27322. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27323. end;
  27324. procedure TUART4_UodSTA.setRIDLE; inline;
  27325. begin
  27326. pTDefRegMap(@Self)^.&set := $00000010;
  27327. end;
  27328. procedure TUART4_UodSTA.clearRIDLE; inline;
  27329. begin
  27330. pTDefRegMap(@Self)^.clr := $00000010;
  27331. end;
  27332. procedure TUART4_UodSTA.setRIDLE(thebits : TBits_1); inline;
  27333. begin
  27334. if thebits = 0 then
  27335. pTDefRegMap(@Self)^.clr := $00000010
  27336. else
  27337. pTDefRegMap(@Self)^.&set := $00000010;
  27338. end;
  27339. function TUART4_UodSTA.getRIDLE : TBits_1; inline;
  27340. begin
  27341. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27342. end;
  27343. procedure TUART4_UodSTA.setADDEN; inline;
  27344. begin
  27345. pTDefRegMap(@Self)^.&set := $00000020;
  27346. end;
  27347. procedure TUART4_UodSTA.clearADDEN; inline;
  27348. begin
  27349. pTDefRegMap(@Self)^.clr := $00000020;
  27350. end;
  27351. procedure TUART4_UodSTA.setADDEN(thebits : TBits_1); inline;
  27352. begin
  27353. if thebits = 0 then
  27354. pTDefRegMap(@Self)^.clr := $00000020
  27355. else
  27356. pTDefRegMap(@Self)^.&set := $00000020;
  27357. end;
  27358. function TUART4_UodSTA.getADDEN : TBits_1; inline;
  27359. begin
  27360. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27361. end;
  27362. procedure TUART4_UodSTA.setURXISEL(thebits : TBits_2); inline;
  27363. begin
  27364. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  27365. end;
  27366. function TUART4_UodSTA.getURXISEL : TBits_2; inline;
  27367. begin
  27368. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  27369. end;
  27370. procedure TUART4_UodSTA.setTRMT; inline;
  27371. begin
  27372. pTDefRegMap(@Self)^.&set := $00000100;
  27373. end;
  27374. procedure TUART4_UodSTA.clearTRMT; inline;
  27375. begin
  27376. pTDefRegMap(@Self)^.clr := $00000100;
  27377. end;
  27378. procedure TUART4_UodSTA.setTRMT(thebits : TBits_1); inline;
  27379. begin
  27380. if thebits = 0 then
  27381. pTDefRegMap(@Self)^.clr := $00000100
  27382. else
  27383. pTDefRegMap(@Self)^.&set := $00000100;
  27384. end;
  27385. function TUART4_UodSTA.getTRMT : TBits_1; inline;
  27386. begin
  27387. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27388. end;
  27389. procedure TUART4_UodSTA.setUTXBF; inline;
  27390. begin
  27391. pTDefRegMap(@Self)^.&set := $00000200;
  27392. end;
  27393. procedure TUART4_UodSTA.clearUTXBF; inline;
  27394. begin
  27395. pTDefRegMap(@Self)^.clr := $00000200;
  27396. end;
  27397. procedure TUART4_UodSTA.setUTXBF(thebits : TBits_1); inline;
  27398. begin
  27399. if thebits = 0 then
  27400. pTDefRegMap(@Self)^.clr := $00000200
  27401. else
  27402. pTDefRegMap(@Self)^.&set := $00000200;
  27403. end;
  27404. function TUART4_UodSTA.getUTXBF : TBits_1; inline;
  27405. begin
  27406. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27407. end;
  27408. procedure TUART4_UodSTA.setUTXEN; inline;
  27409. begin
  27410. pTDefRegMap(@Self)^.&set := $00000400;
  27411. end;
  27412. procedure TUART4_UodSTA.clearUTXEN; inline;
  27413. begin
  27414. pTDefRegMap(@Self)^.clr := $00000400;
  27415. end;
  27416. procedure TUART4_UodSTA.setUTXEN(thebits : TBits_1); inline;
  27417. begin
  27418. if thebits = 0 then
  27419. pTDefRegMap(@Self)^.clr := $00000400
  27420. else
  27421. pTDefRegMap(@Self)^.&set := $00000400;
  27422. end;
  27423. function TUART4_UodSTA.getUTXEN : TBits_1; inline;
  27424. begin
  27425. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27426. end;
  27427. procedure TUART4_UodSTA.setUTXBRK; inline;
  27428. begin
  27429. pTDefRegMap(@Self)^.&set := $00000800;
  27430. end;
  27431. procedure TUART4_UodSTA.clearUTXBRK; inline;
  27432. begin
  27433. pTDefRegMap(@Self)^.clr := $00000800;
  27434. end;
  27435. procedure TUART4_UodSTA.setUTXBRK(thebits : TBits_1); inline;
  27436. begin
  27437. if thebits = 0 then
  27438. pTDefRegMap(@Self)^.clr := $00000800
  27439. else
  27440. pTDefRegMap(@Self)^.&set := $00000800;
  27441. end;
  27442. function TUART4_UodSTA.getUTXBRK : TBits_1; inline;
  27443. begin
  27444. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27445. end;
  27446. procedure TUART4_UodSTA.setURXEN; inline;
  27447. begin
  27448. pTDefRegMap(@Self)^.&set := $00001000;
  27449. end;
  27450. procedure TUART4_UodSTA.clearURXEN; inline;
  27451. begin
  27452. pTDefRegMap(@Self)^.clr := $00001000;
  27453. end;
  27454. procedure TUART4_UodSTA.setURXEN(thebits : TBits_1); inline;
  27455. begin
  27456. if thebits = 0 then
  27457. pTDefRegMap(@Self)^.clr := $00001000
  27458. else
  27459. pTDefRegMap(@Self)^.&set := $00001000;
  27460. end;
  27461. function TUART4_UodSTA.getURXEN : TBits_1; inline;
  27462. begin
  27463. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27464. end;
  27465. procedure TUART4_UodSTA.setUTXINV; inline;
  27466. begin
  27467. pTDefRegMap(@Self)^.&set := $00002000;
  27468. end;
  27469. procedure TUART4_UodSTA.clearUTXINV; inline;
  27470. begin
  27471. pTDefRegMap(@Self)^.clr := $00002000;
  27472. end;
  27473. procedure TUART4_UodSTA.setUTXINV(thebits : TBits_1); inline;
  27474. begin
  27475. if thebits = 0 then
  27476. pTDefRegMap(@Self)^.clr := $00002000
  27477. else
  27478. pTDefRegMap(@Self)^.&set := $00002000;
  27479. end;
  27480. function TUART4_UodSTA.getUTXINV : TBits_1; inline;
  27481. begin
  27482. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27483. end;
  27484. procedure TUART4_UodSTA.setUTXISEL(thebits : TBits_2); inline;
  27485. begin
  27486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27487. end;
  27488. function TUART4_UodSTA.getUTXISEL : TBits_2; inline;
  27489. begin
  27490. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27491. end;
  27492. procedure TUART4_UodSTA.setADDR(thebits : TBits_8); inline;
  27493. begin
  27494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  27495. end;
  27496. function TUART4_UodSTA.getADDR : TBits_8; inline;
  27497. begin
  27498. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  27499. end;
  27500. procedure TUART4_UodSTA.setADM_EN; inline;
  27501. begin
  27502. pTDefRegMap(@Self)^.&set := $01000000;
  27503. end;
  27504. procedure TUART4_UodSTA.clearADM_EN; inline;
  27505. begin
  27506. pTDefRegMap(@Self)^.clr := $01000000;
  27507. end;
  27508. procedure TUART4_UodSTA.setADM_EN(thebits : TBits_1); inline;
  27509. begin
  27510. if thebits = 0 then
  27511. pTDefRegMap(@Self)^.clr := $01000000
  27512. else
  27513. pTDefRegMap(@Self)^.&set := $01000000;
  27514. end;
  27515. function TUART4_UodSTA.getADM_EN : TBits_1; inline;
  27516. begin
  27517. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27518. end;
  27519. procedure TUART4_UodSTA.setURXISEL0; inline;
  27520. begin
  27521. pTDefRegMap(@Self)^.&set := $00000040;
  27522. end;
  27523. procedure TUART4_UodSTA.clearURXISEL0; inline;
  27524. begin
  27525. pTDefRegMap(@Self)^.clr := $00000040;
  27526. end;
  27527. procedure TUART4_UodSTA.setURXISEL0(thebits : TBits_1); inline;
  27528. begin
  27529. if thebits = 0 then
  27530. pTDefRegMap(@Self)^.clr := $00000040
  27531. else
  27532. pTDefRegMap(@Self)^.&set := $00000040;
  27533. end;
  27534. function TUART4_UodSTA.getURXISEL0 : TBits_1; inline;
  27535. begin
  27536. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27537. end;
  27538. procedure TUART4_UodSTA.setURXISEL1; inline;
  27539. begin
  27540. pTDefRegMap(@Self)^.&set := $00000080;
  27541. end;
  27542. procedure TUART4_UodSTA.clearURXISEL1; inline;
  27543. begin
  27544. pTDefRegMap(@Self)^.clr := $00000080;
  27545. end;
  27546. procedure TUART4_UodSTA.setURXISEL1(thebits : TBits_1); inline;
  27547. begin
  27548. if thebits = 0 then
  27549. pTDefRegMap(@Self)^.clr := $00000080
  27550. else
  27551. pTDefRegMap(@Self)^.&set := $00000080;
  27552. end;
  27553. function TUART4_UodSTA.getURXISEL1 : TBits_1; inline;
  27554. begin
  27555. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27556. end;
  27557. procedure TUART4_UodSTA.setUTXISEL0; inline;
  27558. begin
  27559. pTDefRegMap(@Self)^.&set := $00004000;
  27560. end;
  27561. procedure TUART4_UodSTA.clearUTXISEL0; inline;
  27562. begin
  27563. pTDefRegMap(@Self)^.clr := $00004000;
  27564. end;
  27565. procedure TUART4_UodSTA.setUTXISEL0(thebits : TBits_1); inline;
  27566. begin
  27567. if thebits = 0 then
  27568. pTDefRegMap(@Self)^.clr := $00004000
  27569. else
  27570. pTDefRegMap(@Self)^.&set := $00004000;
  27571. end;
  27572. function TUART4_UodSTA.getUTXISEL0 : TBits_1; inline;
  27573. begin
  27574. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27575. end;
  27576. procedure TUART4_UodSTA.setUTXISEL1; inline;
  27577. begin
  27578. pTDefRegMap(@Self)^.&set := $00008000;
  27579. end;
  27580. procedure TUART4_UodSTA.clearUTXISEL1; inline;
  27581. begin
  27582. pTDefRegMap(@Self)^.clr := $00008000;
  27583. end;
  27584. procedure TUART4_UodSTA.setUTXISEL1(thebits : TBits_1); inline;
  27585. begin
  27586. if thebits = 0 then
  27587. pTDefRegMap(@Self)^.clr := $00008000
  27588. else
  27589. pTDefRegMap(@Self)^.&set := $00008000;
  27590. end;
  27591. function TUART4_UodSTA.getUTXISEL1 : TBits_1; inline;
  27592. begin
  27593. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27594. end;
  27595. procedure TUART4_UodSTA.setUTXSEL(thebits : TBits_2); inline;
  27596. begin
  27597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27598. end;
  27599. function TUART4_UodSTA.getUTXSEL : TBits_2; inline;
  27600. begin
  27601. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27602. end;
  27603. procedure TUART4_UodSTA.setw(thebits : TBits_32); inline;
  27604. begin
  27605. pTDefRegMap(@Self)^.val := thebits;
  27606. end;
  27607. function TUART4_UodSTA.getw : TBits_32; inline;
  27608. begin
  27609. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27610. end;
  27611. procedure TUART5_U5MODE.setSTSEL; inline;
  27612. begin
  27613. pTDefRegMap(@Self)^.&set := $00000001;
  27614. end;
  27615. procedure TUART5_U5MODE.clearSTSEL; inline;
  27616. begin
  27617. pTDefRegMap(@Self)^.clr := $00000001;
  27618. end;
  27619. procedure TUART5_U5MODE.setSTSEL(thebits : TBits_1); inline;
  27620. begin
  27621. if thebits = 0 then
  27622. pTDefRegMap(@Self)^.clr := $00000001
  27623. else
  27624. pTDefRegMap(@Self)^.&set := $00000001;
  27625. end;
  27626. function TUART5_U5MODE.getSTSEL : TBits_1; inline;
  27627. begin
  27628. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27629. end;
  27630. procedure TUART5_U5MODE.setPDSEL(thebits : TBits_2); inline;
  27631. begin
  27632. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  27633. end;
  27634. function TUART5_U5MODE.getPDSEL : TBits_2; inline;
  27635. begin
  27636. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  27637. end;
  27638. procedure TUART5_U5MODE.setBRGH; inline;
  27639. begin
  27640. pTDefRegMap(@Self)^.&set := $00000008;
  27641. end;
  27642. procedure TUART5_U5MODE.clearBRGH; inline;
  27643. begin
  27644. pTDefRegMap(@Self)^.clr := $00000008;
  27645. end;
  27646. procedure TUART5_U5MODE.setBRGH(thebits : TBits_1); inline;
  27647. begin
  27648. if thebits = 0 then
  27649. pTDefRegMap(@Self)^.clr := $00000008
  27650. else
  27651. pTDefRegMap(@Self)^.&set := $00000008;
  27652. end;
  27653. function TUART5_U5MODE.getBRGH : TBits_1; inline;
  27654. begin
  27655. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27656. end;
  27657. procedure TUART5_U5MODE.setRXINV; inline;
  27658. begin
  27659. pTDefRegMap(@Self)^.&set := $00000010;
  27660. end;
  27661. procedure TUART5_U5MODE.clearRXINV; inline;
  27662. begin
  27663. pTDefRegMap(@Self)^.clr := $00000010;
  27664. end;
  27665. procedure TUART5_U5MODE.setRXINV(thebits : TBits_1); inline;
  27666. begin
  27667. if thebits = 0 then
  27668. pTDefRegMap(@Self)^.clr := $00000010
  27669. else
  27670. pTDefRegMap(@Self)^.&set := $00000010;
  27671. end;
  27672. function TUART5_U5MODE.getRXINV : TBits_1; inline;
  27673. begin
  27674. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27675. end;
  27676. procedure TUART5_U5MODE.setABAUD; inline;
  27677. begin
  27678. pTDefRegMap(@Self)^.&set := $00000020;
  27679. end;
  27680. procedure TUART5_U5MODE.clearABAUD; inline;
  27681. begin
  27682. pTDefRegMap(@Self)^.clr := $00000020;
  27683. end;
  27684. procedure TUART5_U5MODE.setABAUD(thebits : TBits_1); inline;
  27685. begin
  27686. if thebits = 0 then
  27687. pTDefRegMap(@Self)^.clr := $00000020
  27688. else
  27689. pTDefRegMap(@Self)^.&set := $00000020;
  27690. end;
  27691. function TUART5_U5MODE.getABAUD : TBits_1; inline;
  27692. begin
  27693. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27694. end;
  27695. procedure TUART5_U5MODE.setLPBACK; inline;
  27696. begin
  27697. pTDefRegMap(@Self)^.&set := $00000040;
  27698. end;
  27699. procedure TUART5_U5MODE.clearLPBACK; inline;
  27700. begin
  27701. pTDefRegMap(@Self)^.clr := $00000040;
  27702. end;
  27703. procedure TUART5_U5MODE.setLPBACK(thebits : TBits_1); inline;
  27704. begin
  27705. if thebits = 0 then
  27706. pTDefRegMap(@Self)^.clr := $00000040
  27707. else
  27708. pTDefRegMap(@Self)^.&set := $00000040;
  27709. end;
  27710. function TUART5_U5MODE.getLPBACK : TBits_1; inline;
  27711. begin
  27712. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27713. end;
  27714. procedure TUART5_U5MODE.setWAKE; inline;
  27715. begin
  27716. pTDefRegMap(@Self)^.&set := $00000080;
  27717. end;
  27718. procedure TUART5_U5MODE.clearWAKE; inline;
  27719. begin
  27720. pTDefRegMap(@Self)^.clr := $00000080;
  27721. end;
  27722. procedure TUART5_U5MODE.setWAKE(thebits : TBits_1); inline;
  27723. begin
  27724. if thebits = 0 then
  27725. pTDefRegMap(@Self)^.clr := $00000080
  27726. else
  27727. pTDefRegMap(@Self)^.&set := $00000080;
  27728. end;
  27729. function TUART5_U5MODE.getWAKE : TBits_1; inline;
  27730. begin
  27731. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27732. end;
  27733. procedure TUART5_U5MODE.setUEN(thebits : TBits_2); inline;
  27734. begin
  27735. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  27736. end;
  27737. function TUART5_U5MODE.getUEN : TBits_2; inline;
  27738. begin
  27739. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  27740. end;
  27741. procedure TUART5_U5MODE.setRTSMD; inline;
  27742. begin
  27743. pTDefRegMap(@Self)^.&set := $00000800;
  27744. end;
  27745. procedure TUART5_U5MODE.clearRTSMD; inline;
  27746. begin
  27747. pTDefRegMap(@Self)^.clr := $00000800;
  27748. end;
  27749. procedure TUART5_U5MODE.setRTSMD(thebits : TBits_1); inline;
  27750. begin
  27751. if thebits = 0 then
  27752. pTDefRegMap(@Self)^.clr := $00000800
  27753. else
  27754. pTDefRegMap(@Self)^.&set := $00000800;
  27755. end;
  27756. function TUART5_U5MODE.getRTSMD : TBits_1; inline;
  27757. begin
  27758. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27759. end;
  27760. procedure TUART5_U5MODE.setIREN; inline;
  27761. begin
  27762. pTDefRegMap(@Self)^.&set := $00001000;
  27763. end;
  27764. procedure TUART5_U5MODE.clearIREN; inline;
  27765. begin
  27766. pTDefRegMap(@Self)^.clr := $00001000;
  27767. end;
  27768. procedure TUART5_U5MODE.setIREN(thebits : TBits_1); inline;
  27769. begin
  27770. if thebits = 0 then
  27771. pTDefRegMap(@Self)^.clr := $00001000
  27772. else
  27773. pTDefRegMap(@Self)^.&set := $00001000;
  27774. end;
  27775. function TUART5_U5MODE.getIREN : TBits_1; inline;
  27776. begin
  27777. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27778. end;
  27779. procedure TUART5_U5MODE.setSIDL; inline;
  27780. begin
  27781. pTDefRegMap(@Self)^.&set := $00002000;
  27782. end;
  27783. procedure TUART5_U5MODE.clearSIDL; inline;
  27784. begin
  27785. pTDefRegMap(@Self)^.clr := $00002000;
  27786. end;
  27787. procedure TUART5_U5MODE.setSIDL(thebits : TBits_1); inline;
  27788. begin
  27789. if thebits = 0 then
  27790. pTDefRegMap(@Self)^.clr := $00002000
  27791. else
  27792. pTDefRegMap(@Self)^.&set := $00002000;
  27793. end;
  27794. function TUART5_U5MODE.getSIDL : TBits_1; inline;
  27795. begin
  27796. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27797. end;
  27798. procedure TUART5_U5MODE.setON; inline;
  27799. begin
  27800. pTDefRegMap(@Self)^.&set := $00008000;
  27801. end;
  27802. procedure TUART5_U5MODE.clearON; inline;
  27803. begin
  27804. pTDefRegMap(@Self)^.clr := $00008000;
  27805. end;
  27806. procedure TUART5_U5MODE.setON(thebits : TBits_1); inline;
  27807. begin
  27808. if thebits = 0 then
  27809. pTDefRegMap(@Self)^.clr := $00008000
  27810. else
  27811. pTDefRegMap(@Self)^.&set := $00008000;
  27812. end;
  27813. function TUART5_U5MODE.getON : TBits_1; inline;
  27814. begin
  27815. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27816. end;
  27817. procedure TUART5_U5MODE.setPDSEL0; inline;
  27818. begin
  27819. pTDefRegMap(@Self)^.&set := $00000002;
  27820. end;
  27821. procedure TUART5_U5MODE.clearPDSEL0; inline;
  27822. begin
  27823. pTDefRegMap(@Self)^.clr := $00000002;
  27824. end;
  27825. procedure TUART5_U5MODE.setPDSEL0(thebits : TBits_1); inline;
  27826. begin
  27827. if thebits = 0 then
  27828. pTDefRegMap(@Self)^.clr := $00000002
  27829. else
  27830. pTDefRegMap(@Self)^.&set := $00000002;
  27831. end;
  27832. function TUART5_U5MODE.getPDSEL0 : TBits_1; inline;
  27833. begin
  27834. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27835. end;
  27836. procedure TUART5_U5MODE.setPDSEL1; inline;
  27837. begin
  27838. pTDefRegMap(@Self)^.&set := $00000004;
  27839. end;
  27840. procedure TUART5_U5MODE.clearPDSEL1; inline;
  27841. begin
  27842. pTDefRegMap(@Self)^.clr := $00000004;
  27843. end;
  27844. procedure TUART5_U5MODE.setPDSEL1(thebits : TBits_1); inline;
  27845. begin
  27846. if thebits = 0 then
  27847. pTDefRegMap(@Self)^.clr := $00000004
  27848. else
  27849. pTDefRegMap(@Self)^.&set := $00000004;
  27850. end;
  27851. function TUART5_U5MODE.getPDSEL1 : TBits_1; inline;
  27852. begin
  27853. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27854. end;
  27855. procedure TUART5_U5MODE.setUEN0; inline;
  27856. begin
  27857. pTDefRegMap(@Self)^.&set := $00000100;
  27858. end;
  27859. procedure TUART5_U5MODE.clearUEN0; inline;
  27860. begin
  27861. pTDefRegMap(@Self)^.clr := $00000100;
  27862. end;
  27863. procedure TUART5_U5MODE.setUEN0(thebits : TBits_1); inline;
  27864. begin
  27865. if thebits = 0 then
  27866. pTDefRegMap(@Self)^.clr := $00000100
  27867. else
  27868. pTDefRegMap(@Self)^.&set := $00000100;
  27869. end;
  27870. function TUART5_U5MODE.getUEN0 : TBits_1; inline;
  27871. begin
  27872. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27873. end;
  27874. procedure TUART5_U5MODE.setUEN1; inline;
  27875. begin
  27876. pTDefRegMap(@Self)^.&set := $00000200;
  27877. end;
  27878. procedure TUART5_U5MODE.clearUEN1; inline;
  27879. begin
  27880. pTDefRegMap(@Self)^.clr := $00000200;
  27881. end;
  27882. procedure TUART5_U5MODE.setUEN1(thebits : TBits_1); inline;
  27883. begin
  27884. if thebits = 0 then
  27885. pTDefRegMap(@Self)^.clr := $00000200
  27886. else
  27887. pTDefRegMap(@Self)^.&set := $00000200;
  27888. end;
  27889. function TUART5_U5MODE.getUEN1 : TBits_1; inline;
  27890. begin
  27891. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27892. end;
  27893. procedure TUART5_U5MODE.setUSIDL; inline;
  27894. begin
  27895. pTDefRegMap(@Self)^.&set := $00002000;
  27896. end;
  27897. procedure TUART5_U5MODE.clearUSIDL; inline;
  27898. begin
  27899. pTDefRegMap(@Self)^.clr := $00002000;
  27900. end;
  27901. procedure TUART5_U5MODE.setUSIDL(thebits : TBits_1); inline;
  27902. begin
  27903. if thebits = 0 then
  27904. pTDefRegMap(@Self)^.clr := $00002000
  27905. else
  27906. pTDefRegMap(@Self)^.&set := $00002000;
  27907. end;
  27908. function TUART5_U5MODE.getUSIDL : TBits_1; inline;
  27909. begin
  27910. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27911. end;
  27912. procedure TUART5_U5MODE.setUARTEN; inline;
  27913. begin
  27914. pTDefRegMap(@Self)^.&set := $00008000;
  27915. end;
  27916. procedure TUART5_U5MODE.clearUARTEN; inline;
  27917. begin
  27918. pTDefRegMap(@Self)^.clr := $00008000;
  27919. end;
  27920. procedure TUART5_U5MODE.setUARTEN(thebits : TBits_1); inline;
  27921. begin
  27922. if thebits = 0 then
  27923. pTDefRegMap(@Self)^.clr := $00008000
  27924. else
  27925. pTDefRegMap(@Self)^.&set := $00008000;
  27926. end;
  27927. function TUART5_U5MODE.getUARTEN : TBits_1; inline;
  27928. begin
  27929. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27930. end;
  27931. procedure TUART5_U5MODE.setw(thebits : TBits_32); inline;
  27932. begin
  27933. pTDefRegMap(@Self)^.val := thebits;
  27934. end;
  27935. function TUART5_U5MODE.getw : TBits_32; inline;
  27936. begin
  27937. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27938. end;
  27939. procedure TUART5_UabMODE.setSTSEL; inline;
  27940. begin
  27941. pTDefRegMap(@Self)^.&set := $00000001;
  27942. end;
  27943. procedure TUART5_UabMODE.clearSTSEL; inline;
  27944. begin
  27945. pTDefRegMap(@Self)^.clr := $00000001;
  27946. end;
  27947. procedure TUART5_UabMODE.setSTSEL(thebits : TBits_1); inline;
  27948. begin
  27949. if thebits = 0 then
  27950. pTDefRegMap(@Self)^.clr := $00000001
  27951. else
  27952. pTDefRegMap(@Self)^.&set := $00000001;
  27953. end;
  27954. function TUART5_UabMODE.getSTSEL : TBits_1; inline;
  27955. begin
  27956. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27957. end;
  27958. procedure TUART5_UabMODE.setPDSEL(thebits : TBits_2); inline;
  27959. begin
  27960. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  27961. end;
  27962. function TUART5_UabMODE.getPDSEL : TBits_2; inline;
  27963. begin
  27964. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  27965. end;
  27966. procedure TUART5_UabMODE.setBRGH; inline;
  27967. begin
  27968. pTDefRegMap(@Self)^.&set := $00000008;
  27969. end;
  27970. procedure TUART5_UabMODE.clearBRGH; inline;
  27971. begin
  27972. pTDefRegMap(@Self)^.clr := $00000008;
  27973. end;
  27974. procedure TUART5_UabMODE.setBRGH(thebits : TBits_1); inline;
  27975. begin
  27976. if thebits = 0 then
  27977. pTDefRegMap(@Self)^.clr := $00000008
  27978. else
  27979. pTDefRegMap(@Self)^.&set := $00000008;
  27980. end;
  27981. function TUART5_UabMODE.getBRGH : TBits_1; inline;
  27982. begin
  27983. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27984. end;
  27985. procedure TUART5_UabMODE.setRXINV; inline;
  27986. begin
  27987. pTDefRegMap(@Self)^.&set := $00000010;
  27988. end;
  27989. procedure TUART5_UabMODE.clearRXINV; inline;
  27990. begin
  27991. pTDefRegMap(@Self)^.clr := $00000010;
  27992. end;
  27993. procedure TUART5_UabMODE.setRXINV(thebits : TBits_1); inline;
  27994. begin
  27995. if thebits = 0 then
  27996. pTDefRegMap(@Self)^.clr := $00000010
  27997. else
  27998. pTDefRegMap(@Self)^.&set := $00000010;
  27999. end;
  28000. function TUART5_UabMODE.getRXINV : TBits_1; inline;
  28001. begin
  28002. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28003. end;
  28004. procedure TUART5_UabMODE.setABAUD; inline;
  28005. begin
  28006. pTDefRegMap(@Self)^.&set := $00000020;
  28007. end;
  28008. procedure TUART5_UabMODE.clearABAUD; inline;
  28009. begin
  28010. pTDefRegMap(@Self)^.clr := $00000020;
  28011. end;
  28012. procedure TUART5_UabMODE.setABAUD(thebits : TBits_1); inline;
  28013. begin
  28014. if thebits = 0 then
  28015. pTDefRegMap(@Self)^.clr := $00000020
  28016. else
  28017. pTDefRegMap(@Self)^.&set := $00000020;
  28018. end;
  28019. function TUART5_UabMODE.getABAUD : TBits_1; inline;
  28020. begin
  28021. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28022. end;
  28023. procedure TUART5_UabMODE.setLPBACK; inline;
  28024. begin
  28025. pTDefRegMap(@Self)^.&set := $00000040;
  28026. end;
  28027. procedure TUART5_UabMODE.clearLPBACK; inline;
  28028. begin
  28029. pTDefRegMap(@Self)^.clr := $00000040;
  28030. end;
  28031. procedure TUART5_UabMODE.setLPBACK(thebits : TBits_1); inline;
  28032. begin
  28033. if thebits = 0 then
  28034. pTDefRegMap(@Self)^.clr := $00000040
  28035. else
  28036. pTDefRegMap(@Self)^.&set := $00000040;
  28037. end;
  28038. function TUART5_UabMODE.getLPBACK : TBits_1; inline;
  28039. begin
  28040. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28041. end;
  28042. procedure TUART5_UabMODE.setWAKE; inline;
  28043. begin
  28044. pTDefRegMap(@Self)^.&set := $00000080;
  28045. end;
  28046. procedure TUART5_UabMODE.clearWAKE; inline;
  28047. begin
  28048. pTDefRegMap(@Self)^.clr := $00000080;
  28049. end;
  28050. procedure TUART5_UabMODE.setWAKE(thebits : TBits_1); inline;
  28051. begin
  28052. if thebits = 0 then
  28053. pTDefRegMap(@Self)^.clr := $00000080
  28054. else
  28055. pTDefRegMap(@Self)^.&set := $00000080;
  28056. end;
  28057. function TUART5_UabMODE.getWAKE : TBits_1; inline;
  28058. begin
  28059. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28060. end;
  28061. procedure TUART5_UabMODE.setUEN(thebits : TBits_2); inline;
  28062. begin
  28063. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28064. end;
  28065. function TUART5_UabMODE.getUEN : TBits_2; inline;
  28066. begin
  28067. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28068. end;
  28069. procedure TUART5_UabMODE.setRTSMD; inline;
  28070. begin
  28071. pTDefRegMap(@Self)^.&set := $00000800;
  28072. end;
  28073. procedure TUART5_UabMODE.clearRTSMD; inline;
  28074. begin
  28075. pTDefRegMap(@Self)^.clr := $00000800;
  28076. end;
  28077. procedure TUART5_UabMODE.setRTSMD(thebits : TBits_1); inline;
  28078. begin
  28079. if thebits = 0 then
  28080. pTDefRegMap(@Self)^.clr := $00000800
  28081. else
  28082. pTDefRegMap(@Self)^.&set := $00000800;
  28083. end;
  28084. function TUART5_UabMODE.getRTSMD : TBits_1; inline;
  28085. begin
  28086. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28087. end;
  28088. procedure TUART5_UabMODE.setIREN; inline;
  28089. begin
  28090. pTDefRegMap(@Self)^.&set := $00001000;
  28091. end;
  28092. procedure TUART5_UabMODE.clearIREN; inline;
  28093. begin
  28094. pTDefRegMap(@Self)^.clr := $00001000;
  28095. end;
  28096. procedure TUART5_UabMODE.setIREN(thebits : TBits_1); inline;
  28097. begin
  28098. if thebits = 0 then
  28099. pTDefRegMap(@Self)^.clr := $00001000
  28100. else
  28101. pTDefRegMap(@Self)^.&set := $00001000;
  28102. end;
  28103. function TUART5_UabMODE.getIREN : TBits_1; inline;
  28104. begin
  28105. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28106. end;
  28107. procedure TUART5_UabMODE.setSIDL; inline;
  28108. begin
  28109. pTDefRegMap(@Self)^.&set := $00002000;
  28110. end;
  28111. procedure TUART5_UabMODE.clearSIDL; inline;
  28112. begin
  28113. pTDefRegMap(@Self)^.clr := $00002000;
  28114. end;
  28115. procedure TUART5_UabMODE.setSIDL(thebits : TBits_1); inline;
  28116. begin
  28117. if thebits = 0 then
  28118. pTDefRegMap(@Self)^.clr := $00002000
  28119. else
  28120. pTDefRegMap(@Self)^.&set := $00002000;
  28121. end;
  28122. function TUART5_UabMODE.getSIDL : TBits_1; inline;
  28123. begin
  28124. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28125. end;
  28126. procedure TUART5_UabMODE.setON; inline;
  28127. begin
  28128. pTDefRegMap(@Self)^.&set := $00008000;
  28129. end;
  28130. procedure TUART5_UabMODE.clearON; inline;
  28131. begin
  28132. pTDefRegMap(@Self)^.clr := $00008000;
  28133. end;
  28134. procedure TUART5_UabMODE.setON(thebits : TBits_1); inline;
  28135. begin
  28136. if thebits = 0 then
  28137. pTDefRegMap(@Self)^.clr := $00008000
  28138. else
  28139. pTDefRegMap(@Self)^.&set := $00008000;
  28140. end;
  28141. function TUART5_UabMODE.getON : TBits_1; inline;
  28142. begin
  28143. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28144. end;
  28145. procedure TUART5_UabMODE.setPDSEL0; inline;
  28146. begin
  28147. pTDefRegMap(@Self)^.&set := $00000002;
  28148. end;
  28149. procedure TUART5_UabMODE.clearPDSEL0; inline;
  28150. begin
  28151. pTDefRegMap(@Self)^.clr := $00000002;
  28152. end;
  28153. procedure TUART5_UabMODE.setPDSEL0(thebits : TBits_1); inline;
  28154. begin
  28155. if thebits = 0 then
  28156. pTDefRegMap(@Self)^.clr := $00000002
  28157. else
  28158. pTDefRegMap(@Self)^.&set := $00000002;
  28159. end;
  28160. function TUART5_UabMODE.getPDSEL0 : TBits_1; inline;
  28161. begin
  28162. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28163. end;
  28164. procedure TUART5_UabMODE.setPDSEL1; inline;
  28165. begin
  28166. pTDefRegMap(@Self)^.&set := $00000004;
  28167. end;
  28168. procedure TUART5_UabMODE.clearPDSEL1; inline;
  28169. begin
  28170. pTDefRegMap(@Self)^.clr := $00000004;
  28171. end;
  28172. procedure TUART5_UabMODE.setPDSEL1(thebits : TBits_1); inline;
  28173. begin
  28174. if thebits = 0 then
  28175. pTDefRegMap(@Self)^.clr := $00000004
  28176. else
  28177. pTDefRegMap(@Self)^.&set := $00000004;
  28178. end;
  28179. function TUART5_UabMODE.getPDSEL1 : TBits_1; inline;
  28180. begin
  28181. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28182. end;
  28183. procedure TUART5_UabMODE.setUEN0; inline;
  28184. begin
  28185. pTDefRegMap(@Self)^.&set := $00000100;
  28186. end;
  28187. procedure TUART5_UabMODE.clearUEN0; inline;
  28188. begin
  28189. pTDefRegMap(@Self)^.clr := $00000100;
  28190. end;
  28191. procedure TUART5_UabMODE.setUEN0(thebits : TBits_1); inline;
  28192. begin
  28193. if thebits = 0 then
  28194. pTDefRegMap(@Self)^.clr := $00000100
  28195. else
  28196. pTDefRegMap(@Self)^.&set := $00000100;
  28197. end;
  28198. function TUART5_UabMODE.getUEN0 : TBits_1; inline;
  28199. begin
  28200. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28201. end;
  28202. procedure TUART5_UabMODE.setUEN1; inline;
  28203. begin
  28204. pTDefRegMap(@Self)^.&set := $00000200;
  28205. end;
  28206. procedure TUART5_UabMODE.clearUEN1; inline;
  28207. begin
  28208. pTDefRegMap(@Self)^.clr := $00000200;
  28209. end;
  28210. procedure TUART5_UabMODE.setUEN1(thebits : TBits_1); inline;
  28211. begin
  28212. if thebits = 0 then
  28213. pTDefRegMap(@Self)^.clr := $00000200
  28214. else
  28215. pTDefRegMap(@Self)^.&set := $00000200;
  28216. end;
  28217. function TUART5_UabMODE.getUEN1 : TBits_1; inline;
  28218. begin
  28219. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28220. end;
  28221. procedure TUART5_UabMODE.setUSIDL; inline;
  28222. begin
  28223. pTDefRegMap(@Self)^.&set := $00002000;
  28224. end;
  28225. procedure TUART5_UabMODE.clearUSIDL; inline;
  28226. begin
  28227. pTDefRegMap(@Self)^.clr := $00002000;
  28228. end;
  28229. procedure TUART5_UabMODE.setUSIDL(thebits : TBits_1); inline;
  28230. begin
  28231. if thebits = 0 then
  28232. pTDefRegMap(@Self)^.clr := $00002000
  28233. else
  28234. pTDefRegMap(@Self)^.&set := $00002000;
  28235. end;
  28236. function TUART5_UabMODE.getUSIDL : TBits_1; inline;
  28237. begin
  28238. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28239. end;
  28240. procedure TUART5_UabMODE.setUARTEN; inline;
  28241. begin
  28242. pTDefRegMap(@Self)^.&set := $00008000;
  28243. end;
  28244. procedure TUART5_UabMODE.clearUARTEN; inline;
  28245. begin
  28246. pTDefRegMap(@Self)^.clr := $00008000;
  28247. end;
  28248. procedure TUART5_UabMODE.setUARTEN(thebits : TBits_1); inline;
  28249. begin
  28250. if thebits = 0 then
  28251. pTDefRegMap(@Self)^.clr := $00008000
  28252. else
  28253. pTDefRegMap(@Self)^.&set := $00008000;
  28254. end;
  28255. function TUART5_UabMODE.getUARTEN : TBits_1; inline;
  28256. begin
  28257. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28258. end;
  28259. procedure TUART5_UabMODE.setw(thebits : TBits_32); inline;
  28260. begin
  28261. pTDefRegMap(@Self)^.val := thebits;
  28262. end;
  28263. function TUART5_UabMODE.getw : TBits_32; inline;
  28264. begin
  28265. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28266. end;
  28267. procedure TUART5_U5STA.setURXDA; inline;
  28268. begin
  28269. pTDefRegMap(@Self)^.&set := $00000001;
  28270. end;
  28271. procedure TUART5_U5STA.clearURXDA; inline;
  28272. begin
  28273. pTDefRegMap(@Self)^.clr := $00000001;
  28274. end;
  28275. procedure TUART5_U5STA.setURXDA(thebits : TBits_1); inline;
  28276. begin
  28277. if thebits = 0 then
  28278. pTDefRegMap(@Self)^.clr := $00000001
  28279. else
  28280. pTDefRegMap(@Self)^.&set := $00000001;
  28281. end;
  28282. function TUART5_U5STA.getURXDA : TBits_1; inline;
  28283. begin
  28284. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28285. end;
  28286. procedure TUART5_U5STA.setOERR; inline;
  28287. begin
  28288. pTDefRegMap(@Self)^.&set := $00000002;
  28289. end;
  28290. procedure TUART5_U5STA.clearOERR; inline;
  28291. begin
  28292. pTDefRegMap(@Self)^.clr := $00000002;
  28293. end;
  28294. procedure TUART5_U5STA.setOERR(thebits : TBits_1); inline;
  28295. begin
  28296. if thebits = 0 then
  28297. pTDefRegMap(@Self)^.clr := $00000002
  28298. else
  28299. pTDefRegMap(@Self)^.&set := $00000002;
  28300. end;
  28301. function TUART5_U5STA.getOERR : TBits_1; inline;
  28302. begin
  28303. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28304. end;
  28305. procedure TUART5_U5STA.setFERR; inline;
  28306. begin
  28307. pTDefRegMap(@Self)^.&set := $00000004;
  28308. end;
  28309. procedure TUART5_U5STA.clearFERR; inline;
  28310. begin
  28311. pTDefRegMap(@Self)^.clr := $00000004;
  28312. end;
  28313. procedure TUART5_U5STA.setFERR(thebits : TBits_1); inline;
  28314. begin
  28315. if thebits = 0 then
  28316. pTDefRegMap(@Self)^.clr := $00000004
  28317. else
  28318. pTDefRegMap(@Self)^.&set := $00000004;
  28319. end;
  28320. function TUART5_U5STA.getFERR : TBits_1; inline;
  28321. begin
  28322. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28323. end;
  28324. procedure TUART5_U5STA.setPERR; inline;
  28325. begin
  28326. pTDefRegMap(@Self)^.&set := $00000008;
  28327. end;
  28328. procedure TUART5_U5STA.clearPERR; inline;
  28329. begin
  28330. pTDefRegMap(@Self)^.clr := $00000008;
  28331. end;
  28332. procedure TUART5_U5STA.setPERR(thebits : TBits_1); inline;
  28333. begin
  28334. if thebits = 0 then
  28335. pTDefRegMap(@Self)^.clr := $00000008
  28336. else
  28337. pTDefRegMap(@Self)^.&set := $00000008;
  28338. end;
  28339. function TUART5_U5STA.getPERR : TBits_1; inline;
  28340. begin
  28341. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28342. end;
  28343. procedure TUART5_U5STA.setRIDLE; inline;
  28344. begin
  28345. pTDefRegMap(@Self)^.&set := $00000010;
  28346. end;
  28347. procedure TUART5_U5STA.clearRIDLE; inline;
  28348. begin
  28349. pTDefRegMap(@Self)^.clr := $00000010;
  28350. end;
  28351. procedure TUART5_U5STA.setRIDLE(thebits : TBits_1); inline;
  28352. begin
  28353. if thebits = 0 then
  28354. pTDefRegMap(@Self)^.clr := $00000010
  28355. else
  28356. pTDefRegMap(@Self)^.&set := $00000010;
  28357. end;
  28358. function TUART5_U5STA.getRIDLE : TBits_1; inline;
  28359. begin
  28360. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28361. end;
  28362. procedure TUART5_U5STA.setADDEN; inline;
  28363. begin
  28364. pTDefRegMap(@Self)^.&set := $00000020;
  28365. end;
  28366. procedure TUART5_U5STA.clearADDEN; inline;
  28367. begin
  28368. pTDefRegMap(@Self)^.clr := $00000020;
  28369. end;
  28370. procedure TUART5_U5STA.setADDEN(thebits : TBits_1); inline;
  28371. begin
  28372. if thebits = 0 then
  28373. pTDefRegMap(@Self)^.clr := $00000020
  28374. else
  28375. pTDefRegMap(@Self)^.&set := $00000020;
  28376. end;
  28377. function TUART5_U5STA.getADDEN : TBits_1; inline;
  28378. begin
  28379. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28380. end;
  28381. procedure TUART5_U5STA.setURXISEL(thebits : TBits_2); inline;
  28382. begin
  28383. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  28384. end;
  28385. function TUART5_U5STA.getURXISEL : TBits_2; inline;
  28386. begin
  28387. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  28388. end;
  28389. procedure TUART5_U5STA.setTRMT; inline;
  28390. begin
  28391. pTDefRegMap(@Self)^.&set := $00000100;
  28392. end;
  28393. procedure TUART5_U5STA.clearTRMT; inline;
  28394. begin
  28395. pTDefRegMap(@Self)^.clr := $00000100;
  28396. end;
  28397. procedure TUART5_U5STA.setTRMT(thebits : TBits_1); inline;
  28398. begin
  28399. if thebits = 0 then
  28400. pTDefRegMap(@Self)^.clr := $00000100
  28401. else
  28402. pTDefRegMap(@Self)^.&set := $00000100;
  28403. end;
  28404. function TUART5_U5STA.getTRMT : TBits_1; inline;
  28405. begin
  28406. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28407. end;
  28408. procedure TUART5_U5STA.setUTXBF; inline;
  28409. begin
  28410. pTDefRegMap(@Self)^.&set := $00000200;
  28411. end;
  28412. procedure TUART5_U5STA.clearUTXBF; inline;
  28413. begin
  28414. pTDefRegMap(@Self)^.clr := $00000200;
  28415. end;
  28416. procedure TUART5_U5STA.setUTXBF(thebits : TBits_1); inline;
  28417. begin
  28418. if thebits = 0 then
  28419. pTDefRegMap(@Self)^.clr := $00000200
  28420. else
  28421. pTDefRegMap(@Self)^.&set := $00000200;
  28422. end;
  28423. function TUART5_U5STA.getUTXBF : TBits_1; inline;
  28424. begin
  28425. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28426. end;
  28427. procedure TUART5_U5STA.setUTXEN; inline;
  28428. begin
  28429. pTDefRegMap(@Self)^.&set := $00000400;
  28430. end;
  28431. procedure TUART5_U5STA.clearUTXEN; inline;
  28432. begin
  28433. pTDefRegMap(@Self)^.clr := $00000400;
  28434. end;
  28435. procedure TUART5_U5STA.setUTXEN(thebits : TBits_1); inline;
  28436. begin
  28437. if thebits = 0 then
  28438. pTDefRegMap(@Self)^.clr := $00000400
  28439. else
  28440. pTDefRegMap(@Self)^.&set := $00000400;
  28441. end;
  28442. function TUART5_U5STA.getUTXEN : TBits_1; inline;
  28443. begin
  28444. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28445. end;
  28446. procedure TUART5_U5STA.setUTXBRK; inline;
  28447. begin
  28448. pTDefRegMap(@Self)^.&set := $00000800;
  28449. end;
  28450. procedure TUART5_U5STA.clearUTXBRK; inline;
  28451. begin
  28452. pTDefRegMap(@Self)^.clr := $00000800;
  28453. end;
  28454. procedure TUART5_U5STA.setUTXBRK(thebits : TBits_1); inline;
  28455. begin
  28456. if thebits = 0 then
  28457. pTDefRegMap(@Self)^.clr := $00000800
  28458. else
  28459. pTDefRegMap(@Self)^.&set := $00000800;
  28460. end;
  28461. function TUART5_U5STA.getUTXBRK : TBits_1; inline;
  28462. begin
  28463. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28464. end;
  28465. procedure TUART5_U5STA.setURXEN; inline;
  28466. begin
  28467. pTDefRegMap(@Self)^.&set := $00001000;
  28468. end;
  28469. procedure TUART5_U5STA.clearURXEN; inline;
  28470. begin
  28471. pTDefRegMap(@Self)^.clr := $00001000;
  28472. end;
  28473. procedure TUART5_U5STA.setURXEN(thebits : TBits_1); inline;
  28474. begin
  28475. if thebits = 0 then
  28476. pTDefRegMap(@Self)^.clr := $00001000
  28477. else
  28478. pTDefRegMap(@Self)^.&set := $00001000;
  28479. end;
  28480. function TUART5_U5STA.getURXEN : TBits_1; inline;
  28481. begin
  28482. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28483. end;
  28484. procedure TUART5_U5STA.setUTXINV; inline;
  28485. begin
  28486. pTDefRegMap(@Self)^.&set := $00002000;
  28487. end;
  28488. procedure TUART5_U5STA.clearUTXINV; inline;
  28489. begin
  28490. pTDefRegMap(@Self)^.clr := $00002000;
  28491. end;
  28492. procedure TUART5_U5STA.setUTXINV(thebits : TBits_1); inline;
  28493. begin
  28494. if thebits = 0 then
  28495. pTDefRegMap(@Self)^.clr := $00002000
  28496. else
  28497. pTDefRegMap(@Self)^.&set := $00002000;
  28498. end;
  28499. function TUART5_U5STA.getUTXINV : TBits_1; inline;
  28500. begin
  28501. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28502. end;
  28503. procedure TUART5_U5STA.setUTXISEL(thebits : TBits_2); inline;
  28504. begin
  28505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28506. end;
  28507. function TUART5_U5STA.getUTXISEL : TBits_2; inline;
  28508. begin
  28509. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28510. end;
  28511. procedure TUART5_U5STA.setADDR(thebits : TBits_8); inline;
  28512. begin
  28513. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  28514. end;
  28515. function TUART5_U5STA.getADDR : TBits_8; inline;
  28516. begin
  28517. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  28518. end;
  28519. procedure TUART5_U5STA.setADM_EN; inline;
  28520. begin
  28521. pTDefRegMap(@Self)^.&set := $01000000;
  28522. end;
  28523. procedure TUART5_U5STA.clearADM_EN; inline;
  28524. begin
  28525. pTDefRegMap(@Self)^.clr := $01000000;
  28526. end;
  28527. procedure TUART5_U5STA.setADM_EN(thebits : TBits_1); inline;
  28528. begin
  28529. if thebits = 0 then
  28530. pTDefRegMap(@Self)^.clr := $01000000
  28531. else
  28532. pTDefRegMap(@Self)^.&set := $01000000;
  28533. end;
  28534. function TUART5_U5STA.getADM_EN : TBits_1; inline;
  28535. begin
  28536. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28537. end;
  28538. procedure TUART5_U5STA.setURXISEL0; inline;
  28539. begin
  28540. pTDefRegMap(@Self)^.&set := $00000040;
  28541. end;
  28542. procedure TUART5_U5STA.clearURXISEL0; inline;
  28543. begin
  28544. pTDefRegMap(@Self)^.clr := $00000040;
  28545. end;
  28546. procedure TUART5_U5STA.setURXISEL0(thebits : TBits_1); inline;
  28547. begin
  28548. if thebits = 0 then
  28549. pTDefRegMap(@Self)^.clr := $00000040
  28550. else
  28551. pTDefRegMap(@Self)^.&set := $00000040;
  28552. end;
  28553. function TUART5_U5STA.getURXISEL0 : TBits_1; inline;
  28554. begin
  28555. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28556. end;
  28557. procedure TUART5_U5STA.setURXISEL1; inline;
  28558. begin
  28559. pTDefRegMap(@Self)^.&set := $00000080;
  28560. end;
  28561. procedure TUART5_U5STA.clearURXISEL1; inline;
  28562. begin
  28563. pTDefRegMap(@Self)^.clr := $00000080;
  28564. end;
  28565. procedure TUART5_U5STA.setURXISEL1(thebits : TBits_1); inline;
  28566. begin
  28567. if thebits = 0 then
  28568. pTDefRegMap(@Self)^.clr := $00000080
  28569. else
  28570. pTDefRegMap(@Self)^.&set := $00000080;
  28571. end;
  28572. function TUART5_U5STA.getURXISEL1 : TBits_1; inline;
  28573. begin
  28574. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28575. end;
  28576. procedure TUART5_U5STA.setUTXISEL0; inline;
  28577. begin
  28578. pTDefRegMap(@Self)^.&set := $00004000;
  28579. end;
  28580. procedure TUART5_U5STA.clearUTXISEL0; inline;
  28581. begin
  28582. pTDefRegMap(@Self)^.clr := $00004000;
  28583. end;
  28584. procedure TUART5_U5STA.setUTXISEL0(thebits : TBits_1); inline;
  28585. begin
  28586. if thebits = 0 then
  28587. pTDefRegMap(@Self)^.clr := $00004000
  28588. else
  28589. pTDefRegMap(@Self)^.&set := $00004000;
  28590. end;
  28591. function TUART5_U5STA.getUTXISEL0 : TBits_1; inline;
  28592. begin
  28593. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28594. end;
  28595. procedure TUART5_U5STA.setUTXISEL1; inline;
  28596. begin
  28597. pTDefRegMap(@Self)^.&set := $00008000;
  28598. end;
  28599. procedure TUART5_U5STA.clearUTXISEL1; inline;
  28600. begin
  28601. pTDefRegMap(@Self)^.clr := $00008000;
  28602. end;
  28603. procedure TUART5_U5STA.setUTXISEL1(thebits : TBits_1); inline;
  28604. begin
  28605. if thebits = 0 then
  28606. pTDefRegMap(@Self)^.clr := $00008000
  28607. else
  28608. pTDefRegMap(@Self)^.&set := $00008000;
  28609. end;
  28610. function TUART5_U5STA.getUTXISEL1 : TBits_1; inline;
  28611. begin
  28612. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28613. end;
  28614. procedure TUART5_U5STA.setUTXSEL(thebits : TBits_2); inline;
  28615. begin
  28616. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28617. end;
  28618. function TUART5_U5STA.getUTXSEL : TBits_2; inline;
  28619. begin
  28620. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28621. end;
  28622. procedure TUART5_U5STA.setw(thebits : TBits_32); inline;
  28623. begin
  28624. pTDefRegMap(@Self)^.val := thebits;
  28625. end;
  28626. function TUART5_U5STA.getw : TBits_32; inline;
  28627. begin
  28628. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28629. end;
  28630. procedure TUART5_UabSTA.setURXDA; inline;
  28631. begin
  28632. pTDefRegMap(@Self)^.&set := $00000001;
  28633. end;
  28634. procedure TUART5_UabSTA.clearURXDA; inline;
  28635. begin
  28636. pTDefRegMap(@Self)^.clr := $00000001;
  28637. end;
  28638. procedure TUART5_UabSTA.setURXDA(thebits : TBits_1); inline;
  28639. begin
  28640. if thebits = 0 then
  28641. pTDefRegMap(@Self)^.clr := $00000001
  28642. else
  28643. pTDefRegMap(@Self)^.&set := $00000001;
  28644. end;
  28645. function TUART5_UabSTA.getURXDA : TBits_1; inline;
  28646. begin
  28647. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28648. end;
  28649. procedure TUART5_UabSTA.setOERR; inline;
  28650. begin
  28651. pTDefRegMap(@Self)^.&set := $00000002;
  28652. end;
  28653. procedure TUART5_UabSTA.clearOERR; inline;
  28654. begin
  28655. pTDefRegMap(@Self)^.clr := $00000002;
  28656. end;
  28657. procedure TUART5_UabSTA.setOERR(thebits : TBits_1); inline;
  28658. begin
  28659. if thebits = 0 then
  28660. pTDefRegMap(@Self)^.clr := $00000002
  28661. else
  28662. pTDefRegMap(@Self)^.&set := $00000002;
  28663. end;
  28664. function TUART5_UabSTA.getOERR : TBits_1; inline;
  28665. begin
  28666. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28667. end;
  28668. procedure TUART5_UabSTA.setFERR; inline;
  28669. begin
  28670. pTDefRegMap(@Self)^.&set := $00000004;
  28671. end;
  28672. procedure TUART5_UabSTA.clearFERR; inline;
  28673. begin
  28674. pTDefRegMap(@Self)^.clr := $00000004;
  28675. end;
  28676. procedure TUART5_UabSTA.setFERR(thebits : TBits_1); inline;
  28677. begin
  28678. if thebits = 0 then
  28679. pTDefRegMap(@Self)^.clr := $00000004
  28680. else
  28681. pTDefRegMap(@Self)^.&set := $00000004;
  28682. end;
  28683. function TUART5_UabSTA.getFERR : TBits_1; inline;
  28684. begin
  28685. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28686. end;
  28687. procedure TUART5_UabSTA.setPERR; inline;
  28688. begin
  28689. pTDefRegMap(@Self)^.&set := $00000008;
  28690. end;
  28691. procedure TUART5_UabSTA.clearPERR; inline;
  28692. begin
  28693. pTDefRegMap(@Self)^.clr := $00000008;
  28694. end;
  28695. procedure TUART5_UabSTA.setPERR(thebits : TBits_1); inline;
  28696. begin
  28697. if thebits = 0 then
  28698. pTDefRegMap(@Self)^.clr := $00000008
  28699. else
  28700. pTDefRegMap(@Self)^.&set := $00000008;
  28701. end;
  28702. function TUART5_UabSTA.getPERR : TBits_1; inline;
  28703. begin
  28704. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28705. end;
  28706. procedure TUART5_UabSTA.setRIDLE; inline;
  28707. begin
  28708. pTDefRegMap(@Self)^.&set := $00000010;
  28709. end;
  28710. procedure TUART5_UabSTA.clearRIDLE; inline;
  28711. begin
  28712. pTDefRegMap(@Self)^.clr := $00000010;
  28713. end;
  28714. procedure TUART5_UabSTA.setRIDLE(thebits : TBits_1); inline;
  28715. begin
  28716. if thebits = 0 then
  28717. pTDefRegMap(@Self)^.clr := $00000010
  28718. else
  28719. pTDefRegMap(@Self)^.&set := $00000010;
  28720. end;
  28721. function TUART5_UabSTA.getRIDLE : TBits_1; inline;
  28722. begin
  28723. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28724. end;
  28725. procedure TUART5_UabSTA.setADDEN; inline;
  28726. begin
  28727. pTDefRegMap(@Self)^.&set := $00000020;
  28728. end;
  28729. procedure TUART5_UabSTA.clearADDEN; inline;
  28730. begin
  28731. pTDefRegMap(@Self)^.clr := $00000020;
  28732. end;
  28733. procedure TUART5_UabSTA.setADDEN(thebits : TBits_1); inline;
  28734. begin
  28735. if thebits = 0 then
  28736. pTDefRegMap(@Self)^.clr := $00000020
  28737. else
  28738. pTDefRegMap(@Self)^.&set := $00000020;
  28739. end;
  28740. function TUART5_UabSTA.getADDEN : TBits_1; inline;
  28741. begin
  28742. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28743. end;
  28744. procedure TUART5_UabSTA.setURXISEL(thebits : TBits_2); inline;
  28745. begin
  28746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  28747. end;
  28748. function TUART5_UabSTA.getURXISEL : TBits_2; inline;
  28749. begin
  28750. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  28751. end;
  28752. procedure TUART5_UabSTA.setTRMT; inline;
  28753. begin
  28754. pTDefRegMap(@Self)^.&set := $00000100;
  28755. end;
  28756. procedure TUART5_UabSTA.clearTRMT; inline;
  28757. begin
  28758. pTDefRegMap(@Self)^.clr := $00000100;
  28759. end;
  28760. procedure TUART5_UabSTA.setTRMT(thebits : TBits_1); inline;
  28761. begin
  28762. if thebits = 0 then
  28763. pTDefRegMap(@Self)^.clr := $00000100
  28764. else
  28765. pTDefRegMap(@Self)^.&set := $00000100;
  28766. end;
  28767. function TUART5_UabSTA.getTRMT : TBits_1; inline;
  28768. begin
  28769. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28770. end;
  28771. procedure TUART5_UabSTA.setUTXBF; inline;
  28772. begin
  28773. pTDefRegMap(@Self)^.&set := $00000200;
  28774. end;
  28775. procedure TUART5_UabSTA.clearUTXBF; inline;
  28776. begin
  28777. pTDefRegMap(@Self)^.clr := $00000200;
  28778. end;
  28779. procedure TUART5_UabSTA.setUTXBF(thebits : TBits_1); inline;
  28780. begin
  28781. if thebits = 0 then
  28782. pTDefRegMap(@Self)^.clr := $00000200
  28783. else
  28784. pTDefRegMap(@Self)^.&set := $00000200;
  28785. end;
  28786. function TUART5_UabSTA.getUTXBF : TBits_1; inline;
  28787. begin
  28788. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28789. end;
  28790. procedure TUART5_UabSTA.setUTXEN; inline;
  28791. begin
  28792. pTDefRegMap(@Self)^.&set := $00000400;
  28793. end;
  28794. procedure TUART5_UabSTA.clearUTXEN; inline;
  28795. begin
  28796. pTDefRegMap(@Self)^.clr := $00000400;
  28797. end;
  28798. procedure TUART5_UabSTA.setUTXEN(thebits : TBits_1); inline;
  28799. begin
  28800. if thebits = 0 then
  28801. pTDefRegMap(@Self)^.clr := $00000400
  28802. else
  28803. pTDefRegMap(@Self)^.&set := $00000400;
  28804. end;
  28805. function TUART5_UabSTA.getUTXEN : TBits_1; inline;
  28806. begin
  28807. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28808. end;
  28809. procedure TUART5_UabSTA.setUTXBRK; inline;
  28810. begin
  28811. pTDefRegMap(@Self)^.&set := $00000800;
  28812. end;
  28813. procedure TUART5_UabSTA.clearUTXBRK; inline;
  28814. begin
  28815. pTDefRegMap(@Self)^.clr := $00000800;
  28816. end;
  28817. procedure TUART5_UabSTA.setUTXBRK(thebits : TBits_1); inline;
  28818. begin
  28819. if thebits = 0 then
  28820. pTDefRegMap(@Self)^.clr := $00000800
  28821. else
  28822. pTDefRegMap(@Self)^.&set := $00000800;
  28823. end;
  28824. function TUART5_UabSTA.getUTXBRK : TBits_1; inline;
  28825. begin
  28826. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28827. end;
  28828. procedure TUART5_UabSTA.setURXEN; inline;
  28829. begin
  28830. pTDefRegMap(@Self)^.&set := $00001000;
  28831. end;
  28832. procedure TUART5_UabSTA.clearURXEN; inline;
  28833. begin
  28834. pTDefRegMap(@Self)^.clr := $00001000;
  28835. end;
  28836. procedure TUART5_UabSTA.setURXEN(thebits : TBits_1); inline;
  28837. begin
  28838. if thebits = 0 then
  28839. pTDefRegMap(@Self)^.clr := $00001000
  28840. else
  28841. pTDefRegMap(@Self)^.&set := $00001000;
  28842. end;
  28843. function TUART5_UabSTA.getURXEN : TBits_1; inline;
  28844. begin
  28845. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28846. end;
  28847. procedure TUART5_UabSTA.setUTXINV; inline;
  28848. begin
  28849. pTDefRegMap(@Self)^.&set := $00002000;
  28850. end;
  28851. procedure TUART5_UabSTA.clearUTXINV; inline;
  28852. begin
  28853. pTDefRegMap(@Self)^.clr := $00002000;
  28854. end;
  28855. procedure TUART5_UabSTA.setUTXINV(thebits : TBits_1); inline;
  28856. begin
  28857. if thebits = 0 then
  28858. pTDefRegMap(@Self)^.clr := $00002000
  28859. else
  28860. pTDefRegMap(@Self)^.&set := $00002000;
  28861. end;
  28862. function TUART5_UabSTA.getUTXINV : TBits_1; inline;
  28863. begin
  28864. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28865. end;
  28866. procedure TUART5_UabSTA.setUTXISEL(thebits : TBits_2); inline;
  28867. begin
  28868. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28869. end;
  28870. function TUART5_UabSTA.getUTXISEL : TBits_2; inline;
  28871. begin
  28872. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28873. end;
  28874. procedure TUART5_UabSTA.setADDR(thebits : TBits_8); inline;
  28875. begin
  28876. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  28877. end;
  28878. function TUART5_UabSTA.getADDR : TBits_8; inline;
  28879. begin
  28880. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  28881. end;
  28882. procedure TUART5_UabSTA.setADM_EN; inline;
  28883. begin
  28884. pTDefRegMap(@Self)^.&set := $01000000;
  28885. end;
  28886. procedure TUART5_UabSTA.clearADM_EN; inline;
  28887. begin
  28888. pTDefRegMap(@Self)^.clr := $01000000;
  28889. end;
  28890. procedure TUART5_UabSTA.setADM_EN(thebits : TBits_1); inline;
  28891. begin
  28892. if thebits = 0 then
  28893. pTDefRegMap(@Self)^.clr := $01000000
  28894. else
  28895. pTDefRegMap(@Self)^.&set := $01000000;
  28896. end;
  28897. function TUART5_UabSTA.getADM_EN : TBits_1; inline;
  28898. begin
  28899. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28900. end;
  28901. procedure TUART5_UabSTA.setURXISEL0; inline;
  28902. begin
  28903. pTDefRegMap(@Self)^.&set := $00000040;
  28904. end;
  28905. procedure TUART5_UabSTA.clearURXISEL0; inline;
  28906. begin
  28907. pTDefRegMap(@Self)^.clr := $00000040;
  28908. end;
  28909. procedure TUART5_UabSTA.setURXISEL0(thebits : TBits_1); inline;
  28910. begin
  28911. if thebits = 0 then
  28912. pTDefRegMap(@Self)^.clr := $00000040
  28913. else
  28914. pTDefRegMap(@Self)^.&set := $00000040;
  28915. end;
  28916. function TUART5_UabSTA.getURXISEL0 : TBits_1; inline;
  28917. begin
  28918. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28919. end;
  28920. procedure TUART5_UabSTA.setURXISEL1; inline;
  28921. begin
  28922. pTDefRegMap(@Self)^.&set := $00000080;
  28923. end;
  28924. procedure TUART5_UabSTA.clearURXISEL1; inline;
  28925. begin
  28926. pTDefRegMap(@Self)^.clr := $00000080;
  28927. end;
  28928. procedure TUART5_UabSTA.setURXISEL1(thebits : TBits_1); inline;
  28929. begin
  28930. if thebits = 0 then
  28931. pTDefRegMap(@Self)^.clr := $00000080
  28932. else
  28933. pTDefRegMap(@Self)^.&set := $00000080;
  28934. end;
  28935. function TUART5_UabSTA.getURXISEL1 : TBits_1; inline;
  28936. begin
  28937. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28938. end;
  28939. procedure TUART5_UabSTA.setUTXISEL0; inline;
  28940. begin
  28941. pTDefRegMap(@Self)^.&set := $00004000;
  28942. end;
  28943. procedure TUART5_UabSTA.clearUTXISEL0; inline;
  28944. begin
  28945. pTDefRegMap(@Self)^.clr := $00004000;
  28946. end;
  28947. procedure TUART5_UabSTA.setUTXISEL0(thebits : TBits_1); inline;
  28948. begin
  28949. if thebits = 0 then
  28950. pTDefRegMap(@Self)^.clr := $00004000
  28951. else
  28952. pTDefRegMap(@Self)^.&set := $00004000;
  28953. end;
  28954. function TUART5_UabSTA.getUTXISEL0 : TBits_1; inline;
  28955. begin
  28956. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28957. end;
  28958. procedure TUART5_UabSTA.setUTXISEL1; inline;
  28959. begin
  28960. pTDefRegMap(@Self)^.&set := $00008000;
  28961. end;
  28962. procedure TUART5_UabSTA.clearUTXISEL1; inline;
  28963. begin
  28964. pTDefRegMap(@Self)^.clr := $00008000;
  28965. end;
  28966. procedure TUART5_UabSTA.setUTXISEL1(thebits : TBits_1); inline;
  28967. begin
  28968. if thebits = 0 then
  28969. pTDefRegMap(@Self)^.clr := $00008000
  28970. else
  28971. pTDefRegMap(@Self)^.&set := $00008000;
  28972. end;
  28973. function TUART5_UabSTA.getUTXISEL1 : TBits_1; inline;
  28974. begin
  28975. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28976. end;
  28977. procedure TUART5_UabSTA.setUTXSEL(thebits : TBits_2); inline;
  28978. begin
  28979. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28980. end;
  28981. function TUART5_UabSTA.getUTXSEL : TBits_2; inline;
  28982. begin
  28983. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28984. end;
  28985. procedure TUART5_UabSTA.setw(thebits : TBits_32); inline;
  28986. begin
  28987. pTDefRegMap(@Self)^.val := thebits;
  28988. end;
  28989. function TUART5_UabSTA.getw : TBits_32; inline;
  28990. begin
  28991. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28992. end;
  28993. procedure TPMP_PMCON.setRDSP; inline;
  28994. begin
  28995. pTDefRegMap(@Self)^.&set := $00000001;
  28996. end;
  28997. procedure TPMP_PMCON.clearRDSP; inline;
  28998. begin
  28999. pTDefRegMap(@Self)^.clr := $00000001;
  29000. end;
  29001. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  29002. begin
  29003. if thebits = 0 then
  29004. pTDefRegMap(@Self)^.clr := $00000001
  29005. else
  29006. pTDefRegMap(@Self)^.&set := $00000001;
  29007. end;
  29008. function TPMP_PMCON.getRDSP : TBits_1; inline;
  29009. begin
  29010. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29011. end;
  29012. procedure TPMP_PMCON.setWRSP; inline;
  29013. begin
  29014. pTDefRegMap(@Self)^.&set := $00000002;
  29015. end;
  29016. procedure TPMP_PMCON.clearWRSP; inline;
  29017. begin
  29018. pTDefRegMap(@Self)^.clr := $00000002;
  29019. end;
  29020. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  29021. begin
  29022. if thebits = 0 then
  29023. pTDefRegMap(@Self)^.clr := $00000002
  29024. else
  29025. pTDefRegMap(@Self)^.&set := $00000002;
  29026. end;
  29027. function TPMP_PMCON.getWRSP : TBits_1; inline;
  29028. begin
  29029. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29030. end;
  29031. procedure TPMP_PMCON.setCS1P; inline;
  29032. begin
  29033. pTDefRegMap(@Self)^.&set := $00000008;
  29034. end;
  29035. procedure TPMP_PMCON.clearCS1P; inline;
  29036. begin
  29037. pTDefRegMap(@Self)^.clr := $00000008;
  29038. end;
  29039. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  29040. begin
  29041. if thebits = 0 then
  29042. pTDefRegMap(@Self)^.clr := $00000008
  29043. else
  29044. pTDefRegMap(@Self)^.&set := $00000008;
  29045. end;
  29046. function TPMP_PMCON.getCS1P : TBits_1; inline;
  29047. begin
  29048. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29049. end;
  29050. procedure TPMP_PMCON.setCS2P; inline;
  29051. begin
  29052. pTDefRegMap(@Self)^.&set := $00000010;
  29053. end;
  29054. procedure TPMP_PMCON.clearCS2P; inline;
  29055. begin
  29056. pTDefRegMap(@Self)^.clr := $00000010;
  29057. end;
  29058. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  29059. begin
  29060. if thebits = 0 then
  29061. pTDefRegMap(@Self)^.clr := $00000010
  29062. else
  29063. pTDefRegMap(@Self)^.&set := $00000010;
  29064. end;
  29065. function TPMP_PMCON.getCS2P : TBits_1; inline;
  29066. begin
  29067. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29068. end;
  29069. procedure TPMP_PMCON.setALP; inline;
  29070. begin
  29071. pTDefRegMap(@Self)^.&set := $00000020;
  29072. end;
  29073. procedure TPMP_PMCON.clearALP; inline;
  29074. begin
  29075. pTDefRegMap(@Self)^.clr := $00000020;
  29076. end;
  29077. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  29078. begin
  29079. if thebits = 0 then
  29080. pTDefRegMap(@Self)^.clr := $00000020
  29081. else
  29082. pTDefRegMap(@Self)^.&set := $00000020;
  29083. end;
  29084. function TPMP_PMCON.getALP : TBits_1; inline;
  29085. begin
  29086. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29087. end;
  29088. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  29089. begin
  29090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29091. end;
  29092. function TPMP_PMCON.getCSF : TBits_2; inline;
  29093. begin
  29094. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29095. end;
  29096. procedure TPMP_PMCON.setPTRDEN; inline;
  29097. begin
  29098. pTDefRegMap(@Self)^.&set := $00000100;
  29099. end;
  29100. procedure TPMP_PMCON.clearPTRDEN; inline;
  29101. begin
  29102. pTDefRegMap(@Self)^.clr := $00000100;
  29103. end;
  29104. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  29105. begin
  29106. if thebits = 0 then
  29107. pTDefRegMap(@Self)^.clr := $00000100
  29108. else
  29109. pTDefRegMap(@Self)^.&set := $00000100;
  29110. end;
  29111. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  29112. begin
  29113. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29114. end;
  29115. procedure TPMP_PMCON.setPTWREN; inline;
  29116. begin
  29117. pTDefRegMap(@Self)^.&set := $00000200;
  29118. end;
  29119. procedure TPMP_PMCON.clearPTWREN; inline;
  29120. begin
  29121. pTDefRegMap(@Self)^.clr := $00000200;
  29122. end;
  29123. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  29124. begin
  29125. if thebits = 0 then
  29126. pTDefRegMap(@Self)^.clr := $00000200
  29127. else
  29128. pTDefRegMap(@Self)^.&set := $00000200;
  29129. end;
  29130. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  29131. begin
  29132. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29133. end;
  29134. procedure TPMP_PMCON.setPMPTTL; inline;
  29135. begin
  29136. pTDefRegMap(@Self)^.&set := $00000400;
  29137. end;
  29138. procedure TPMP_PMCON.clearPMPTTL; inline;
  29139. begin
  29140. pTDefRegMap(@Self)^.clr := $00000400;
  29141. end;
  29142. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  29143. begin
  29144. if thebits = 0 then
  29145. pTDefRegMap(@Self)^.clr := $00000400
  29146. else
  29147. pTDefRegMap(@Self)^.&set := $00000400;
  29148. end;
  29149. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  29150. begin
  29151. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29152. end;
  29153. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  29154. begin
  29155. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  29156. end;
  29157. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  29158. begin
  29159. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  29160. end;
  29161. procedure TPMP_PMCON.setSIDL; inline;
  29162. begin
  29163. pTDefRegMap(@Self)^.&set := $00002000;
  29164. end;
  29165. procedure TPMP_PMCON.clearSIDL; inline;
  29166. begin
  29167. pTDefRegMap(@Self)^.clr := $00002000;
  29168. end;
  29169. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  29170. begin
  29171. if thebits = 0 then
  29172. pTDefRegMap(@Self)^.clr := $00002000
  29173. else
  29174. pTDefRegMap(@Self)^.&set := $00002000;
  29175. end;
  29176. function TPMP_PMCON.getSIDL : TBits_1; inline;
  29177. begin
  29178. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29179. end;
  29180. procedure TPMP_PMCON.setON; inline;
  29181. begin
  29182. pTDefRegMap(@Self)^.&set := $00008000;
  29183. end;
  29184. procedure TPMP_PMCON.clearON; inline;
  29185. begin
  29186. pTDefRegMap(@Self)^.clr := $00008000;
  29187. end;
  29188. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  29189. begin
  29190. if thebits = 0 then
  29191. pTDefRegMap(@Self)^.clr := $00008000
  29192. else
  29193. pTDefRegMap(@Self)^.&set := $00008000;
  29194. end;
  29195. function TPMP_PMCON.getON : TBits_1; inline;
  29196. begin
  29197. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29198. end;
  29199. procedure TPMP_PMCON.setCSF0; inline;
  29200. begin
  29201. pTDefRegMap(@Self)^.&set := $00000040;
  29202. end;
  29203. procedure TPMP_PMCON.clearCSF0; inline;
  29204. begin
  29205. pTDefRegMap(@Self)^.clr := $00000040;
  29206. end;
  29207. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  29208. begin
  29209. if thebits = 0 then
  29210. pTDefRegMap(@Self)^.clr := $00000040
  29211. else
  29212. pTDefRegMap(@Self)^.&set := $00000040;
  29213. end;
  29214. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  29215. begin
  29216. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29217. end;
  29218. procedure TPMP_PMCON.setCSF1; inline;
  29219. begin
  29220. pTDefRegMap(@Self)^.&set := $00000080;
  29221. end;
  29222. procedure TPMP_PMCON.clearCSF1; inline;
  29223. begin
  29224. pTDefRegMap(@Self)^.clr := $00000080;
  29225. end;
  29226. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  29227. begin
  29228. if thebits = 0 then
  29229. pTDefRegMap(@Self)^.clr := $00000080
  29230. else
  29231. pTDefRegMap(@Self)^.&set := $00000080;
  29232. end;
  29233. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  29234. begin
  29235. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29236. end;
  29237. procedure TPMP_PMCON.setADRMUX0; inline;
  29238. begin
  29239. pTDefRegMap(@Self)^.&set := $00000800;
  29240. end;
  29241. procedure TPMP_PMCON.clearADRMUX0; inline;
  29242. begin
  29243. pTDefRegMap(@Self)^.clr := $00000800;
  29244. end;
  29245. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  29246. begin
  29247. if thebits = 0 then
  29248. pTDefRegMap(@Self)^.clr := $00000800
  29249. else
  29250. pTDefRegMap(@Self)^.&set := $00000800;
  29251. end;
  29252. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  29253. begin
  29254. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29255. end;
  29256. procedure TPMP_PMCON.setADRMUX1; inline;
  29257. begin
  29258. pTDefRegMap(@Self)^.&set := $00001000;
  29259. end;
  29260. procedure TPMP_PMCON.clearADRMUX1; inline;
  29261. begin
  29262. pTDefRegMap(@Self)^.clr := $00001000;
  29263. end;
  29264. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  29265. begin
  29266. if thebits = 0 then
  29267. pTDefRegMap(@Self)^.clr := $00001000
  29268. else
  29269. pTDefRegMap(@Self)^.&set := $00001000;
  29270. end;
  29271. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  29272. begin
  29273. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29274. end;
  29275. procedure TPMP_PMCON.setPSIDL; inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.&set := $00002000;
  29278. end;
  29279. procedure TPMP_PMCON.clearPSIDL; inline;
  29280. begin
  29281. pTDefRegMap(@Self)^.clr := $00002000;
  29282. end;
  29283. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  29284. begin
  29285. if thebits = 0 then
  29286. pTDefRegMap(@Self)^.clr := $00002000
  29287. else
  29288. pTDefRegMap(@Self)^.&set := $00002000;
  29289. end;
  29290. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  29291. begin
  29292. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29293. end;
  29294. procedure TPMP_PMCON.setPMPEN; inline;
  29295. begin
  29296. pTDefRegMap(@Self)^.&set := $00008000;
  29297. end;
  29298. procedure TPMP_PMCON.clearPMPEN; inline;
  29299. begin
  29300. pTDefRegMap(@Self)^.clr := $00008000;
  29301. end;
  29302. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  29303. begin
  29304. if thebits = 0 then
  29305. pTDefRegMap(@Self)^.clr := $00008000
  29306. else
  29307. pTDefRegMap(@Self)^.&set := $00008000;
  29308. end;
  29309. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  29310. begin
  29311. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29312. end;
  29313. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  29314. begin
  29315. pTDefRegMap(@Self)^.val := thebits;
  29316. end;
  29317. function TPMP_PMCON.getw : TBits_32; inline;
  29318. begin
  29319. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29320. end;
  29321. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  29322. begin
  29323. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29324. end;
  29325. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  29326. begin
  29327. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29328. end;
  29329. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  29330. begin
  29331. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  29332. end;
  29333. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  29334. begin
  29335. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  29336. end;
  29337. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  29338. begin
  29339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29340. end;
  29341. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  29342. begin
  29343. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29344. end;
  29345. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  29346. begin
  29347. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29348. end;
  29349. function TPMP_PMMODE.getMODE : TBits_2; inline;
  29350. begin
  29351. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29352. end;
  29353. procedure TPMP_PMMODE.setMODE16; inline;
  29354. begin
  29355. pTDefRegMap(@Self)^.&set := $00000400;
  29356. end;
  29357. procedure TPMP_PMMODE.clearMODE16; inline;
  29358. begin
  29359. pTDefRegMap(@Self)^.clr := $00000400;
  29360. end;
  29361. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  29362. begin
  29363. if thebits = 0 then
  29364. pTDefRegMap(@Self)^.clr := $00000400
  29365. else
  29366. pTDefRegMap(@Self)^.&set := $00000400;
  29367. end;
  29368. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  29369. begin
  29370. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29371. end;
  29372. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  29373. begin
  29374. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  29375. end;
  29376. function TPMP_PMMODE.getINCM : TBits_2; inline;
  29377. begin
  29378. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  29379. end;
  29380. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  29381. begin
  29382. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  29383. end;
  29384. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  29385. begin
  29386. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  29387. end;
  29388. procedure TPMP_PMMODE.setBUSY; inline;
  29389. begin
  29390. pTDefRegMap(@Self)^.&set := $00008000;
  29391. end;
  29392. procedure TPMP_PMMODE.clearBUSY; inline;
  29393. begin
  29394. pTDefRegMap(@Self)^.clr := $00008000;
  29395. end;
  29396. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  29397. begin
  29398. if thebits = 0 then
  29399. pTDefRegMap(@Self)^.clr := $00008000
  29400. else
  29401. pTDefRegMap(@Self)^.&set := $00008000;
  29402. end;
  29403. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  29404. begin
  29405. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29406. end;
  29407. procedure TPMP_PMMODE.setWAITE0; inline;
  29408. begin
  29409. pTDefRegMap(@Self)^.&set := $00000001;
  29410. end;
  29411. procedure TPMP_PMMODE.clearWAITE0; inline;
  29412. begin
  29413. pTDefRegMap(@Self)^.clr := $00000001;
  29414. end;
  29415. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  29416. begin
  29417. if thebits = 0 then
  29418. pTDefRegMap(@Self)^.clr := $00000001
  29419. else
  29420. pTDefRegMap(@Self)^.&set := $00000001;
  29421. end;
  29422. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  29423. begin
  29424. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29425. end;
  29426. procedure TPMP_PMMODE.setWAITE1; inline;
  29427. begin
  29428. pTDefRegMap(@Self)^.&set := $00000002;
  29429. end;
  29430. procedure TPMP_PMMODE.clearWAITE1; inline;
  29431. begin
  29432. pTDefRegMap(@Self)^.clr := $00000002;
  29433. end;
  29434. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  29435. begin
  29436. if thebits = 0 then
  29437. pTDefRegMap(@Self)^.clr := $00000002
  29438. else
  29439. pTDefRegMap(@Self)^.&set := $00000002;
  29440. end;
  29441. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  29442. begin
  29443. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29444. end;
  29445. procedure TPMP_PMMODE.setWAITM0; inline;
  29446. begin
  29447. pTDefRegMap(@Self)^.&set := $00000004;
  29448. end;
  29449. procedure TPMP_PMMODE.clearWAITM0; inline;
  29450. begin
  29451. pTDefRegMap(@Self)^.clr := $00000004;
  29452. end;
  29453. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  29454. begin
  29455. if thebits = 0 then
  29456. pTDefRegMap(@Self)^.clr := $00000004
  29457. else
  29458. pTDefRegMap(@Self)^.&set := $00000004;
  29459. end;
  29460. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  29461. begin
  29462. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29463. end;
  29464. procedure TPMP_PMMODE.setWAITM1; inline;
  29465. begin
  29466. pTDefRegMap(@Self)^.&set := $00000008;
  29467. end;
  29468. procedure TPMP_PMMODE.clearWAITM1; inline;
  29469. begin
  29470. pTDefRegMap(@Self)^.clr := $00000008;
  29471. end;
  29472. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  29473. begin
  29474. if thebits = 0 then
  29475. pTDefRegMap(@Self)^.clr := $00000008
  29476. else
  29477. pTDefRegMap(@Self)^.&set := $00000008;
  29478. end;
  29479. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  29480. begin
  29481. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29482. end;
  29483. procedure TPMP_PMMODE.setWAITM2; inline;
  29484. begin
  29485. pTDefRegMap(@Self)^.&set := $00000010;
  29486. end;
  29487. procedure TPMP_PMMODE.clearWAITM2; inline;
  29488. begin
  29489. pTDefRegMap(@Self)^.clr := $00000010;
  29490. end;
  29491. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  29492. begin
  29493. if thebits = 0 then
  29494. pTDefRegMap(@Self)^.clr := $00000010
  29495. else
  29496. pTDefRegMap(@Self)^.&set := $00000010;
  29497. end;
  29498. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  29499. begin
  29500. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29501. end;
  29502. procedure TPMP_PMMODE.setWAITM3; inline;
  29503. begin
  29504. pTDefRegMap(@Self)^.&set := $00000020;
  29505. end;
  29506. procedure TPMP_PMMODE.clearWAITM3; inline;
  29507. begin
  29508. pTDefRegMap(@Self)^.clr := $00000020;
  29509. end;
  29510. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  29511. begin
  29512. if thebits = 0 then
  29513. pTDefRegMap(@Self)^.clr := $00000020
  29514. else
  29515. pTDefRegMap(@Self)^.&set := $00000020;
  29516. end;
  29517. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  29518. begin
  29519. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29520. end;
  29521. procedure TPMP_PMMODE.setWAITB0; inline;
  29522. begin
  29523. pTDefRegMap(@Self)^.&set := $00000040;
  29524. end;
  29525. procedure TPMP_PMMODE.clearWAITB0; inline;
  29526. begin
  29527. pTDefRegMap(@Self)^.clr := $00000040;
  29528. end;
  29529. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  29530. begin
  29531. if thebits = 0 then
  29532. pTDefRegMap(@Self)^.clr := $00000040
  29533. else
  29534. pTDefRegMap(@Self)^.&set := $00000040;
  29535. end;
  29536. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  29537. begin
  29538. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29539. end;
  29540. procedure TPMP_PMMODE.setWAITB1; inline;
  29541. begin
  29542. pTDefRegMap(@Self)^.&set := $00000080;
  29543. end;
  29544. procedure TPMP_PMMODE.clearWAITB1; inline;
  29545. begin
  29546. pTDefRegMap(@Self)^.clr := $00000080;
  29547. end;
  29548. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  29549. begin
  29550. if thebits = 0 then
  29551. pTDefRegMap(@Self)^.clr := $00000080
  29552. else
  29553. pTDefRegMap(@Self)^.&set := $00000080;
  29554. end;
  29555. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  29556. begin
  29557. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29558. end;
  29559. procedure TPMP_PMMODE.setMODE0; inline;
  29560. begin
  29561. pTDefRegMap(@Self)^.&set := $00000100;
  29562. end;
  29563. procedure TPMP_PMMODE.clearMODE0; inline;
  29564. begin
  29565. pTDefRegMap(@Self)^.clr := $00000100;
  29566. end;
  29567. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  29568. begin
  29569. if thebits = 0 then
  29570. pTDefRegMap(@Self)^.clr := $00000100
  29571. else
  29572. pTDefRegMap(@Self)^.&set := $00000100;
  29573. end;
  29574. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  29575. begin
  29576. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29577. end;
  29578. procedure TPMP_PMMODE.setMODE1; inline;
  29579. begin
  29580. pTDefRegMap(@Self)^.&set := $00000200;
  29581. end;
  29582. procedure TPMP_PMMODE.clearMODE1; inline;
  29583. begin
  29584. pTDefRegMap(@Self)^.clr := $00000200;
  29585. end;
  29586. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  29587. begin
  29588. if thebits = 0 then
  29589. pTDefRegMap(@Self)^.clr := $00000200
  29590. else
  29591. pTDefRegMap(@Self)^.&set := $00000200;
  29592. end;
  29593. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  29594. begin
  29595. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29596. end;
  29597. procedure TPMP_PMMODE.setINCM0; inline;
  29598. begin
  29599. pTDefRegMap(@Self)^.&set := $00000800;
  29600. end;
  29601. procedure TPMP_PMMODE.clearINCM0; inline;
  29602. begin
  29603. pTDefRegMap(@Self)^.clr := $00000800;
  29604. end;
  29605. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  29606. begin
  29607. if thebits = 0 then
  29608. pTDefRegMap(@Self)^.clr := $00000800
  29609. else
  29610. pTDefRegMap(@Self)^.&set := $00000800;
  29611. end;
  29612. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  29613. begin
  29614. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29615. end;
  29616. procedure TPMP_PMMODE.setINCM1; inline;
  29617. begin
  29618. pTDefRegMap(@Self)^.&set := $00001000;
  29619. end;
  29620. procedure TPMP_PMMODE.clearINCM1; inline;
  29621. begin
  29622. pTDefRegMap(@Self)^.clr := $00001000;
  29623. end;
  29624. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  29625. begin
  29626. if thebits = 0 then
  29627. pTDefRegMap(@Self)^.clr := $00001000
  29628. else
  29629. pTDefRegMap(@Self)^.&set := $00001000;
  29630. end;
  29631. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  29632. begin
  29633. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29634. end;
  29635. procedure TPMP_PMMODE.setIRQM0; inline;
  29636. begin
  29637. pTDefRegMap(@Self)^.&set := $00002000;
  29638. end;
  29639. procedure TPMP_PMMODE.clearIRQM0; inline;
  29640. begin
  29641. pTDefRegMap(@Self)^.clr := $00002000;
  29642. end;
  29643. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  29644. begin
  29645. if thebits = 0 then
  29646. pTDefRegMap(@Self)^.clr := $00002000
  29647. else
  29648. pTDefRegMap(@Self)^.&set := $00002000;
  29649. end;
  29650. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  29651. begin
  29652. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29653. end;
  29654. procedure TPMP_PMMODE.setIRQM1; inline;
  29655. begin
  29656. pTDefRegMap(@Self)^.&set := $00004000;
  29657. end;
  29658. procedure TPMP_PMMODE.clearIRQM1; inline;
  29659. begin
  29660. pTDefRegMap(@Self)^.clr := $00004000;
  29661. end;
  29662. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  29663. begin
  29664. if thebits = 0 then
  29665. pTDefRegMap(@Self)^.clr := $00004000
  29666. else
  29667. pTDefRegMap(@Self)^.&set := $00004000;
  29668. end;
  29669. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  29670. begin
  29671. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29672. end;
  29673. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  29674. begin
  29675. pTDefRegMap(@Self)^.val := thebits;
  29676. end;
  29677. function TPMP_PMMODE.getw : TBits_32; inline;
  29678. begin
  29679. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29680. end;
  29681. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  29682. begin
  29683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  29684. end;
  29685. function TPMP_PMADDR.getADDR : TBits_14; inline;
  29686. begin
  29687. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  29688. end;
  29689. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  29690. begin
  29691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29692. end;
  29693. function TPMP_PMADDR.getCS : TBits_2; inline;
  29694. begin
  29695. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29696. end;
  29697. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  29698. begin
  29699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  29700. end;
  29701. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  29702. begin
  29703. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  29704. end;
  29705. procedure TPMP_PMADDR.setCS1; inline;
  29706. begin
  29707. pTDefRegMap(@Self)^.&set := $00004000;
  29708. end;
  29709. procedure TPMP_PMADDR.clearCS1; inline;
  29710. begin
  29711. pTDefRegMap(@Self)^.clr := $00004000;
  29712. end;
  29713. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  29714. begin
  29715. if thebits = 0 then
  29716. pTDefRegMap(@Self)^.clr := $00004000
  29717. else
  29718. pTDefRegMap(@Self)^.&set := $00004000;
  29719. end;
  29720. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  29721. begin
  29722. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29723. end;
  29724. procedure TPMP_PMADDR.setCS2; inline;
  29725. begin
  29726. pTDefRegMap(@Self)^.&set := $00008000;
  29727. end;
  29728. procedure TPMP_PMADDR.clearCS2; inline;
  29729. begin
  29730. pTDefRegMap(@Self)^.clr := $00008000;
  29731. end;
  29732. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  29733. begin
  29734. if thebits = 0 then
  29735. pTDefRegMap(@Self)^.clr := $00008000
  29736. else
  29737. pTDefRegMap(@Self)^.&set := $00008000;
  29738. end;
  29739. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  29740. begin
  29741. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29742. end;
  29743. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  29744. begin
  29745. pTDefRegMap(@Self)^.val := thebits;
  29746. end;
  29747. function TPMP_PMADDR.getw : TBits_32; inline;
  29748. begin
  29749. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29750. end;
  29751. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  29752. begin
  29753. pTDefRegMap(@Self)^.val := thebits;
  29754. end;
  29755. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  29756. begin
  29757. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29758. end;
  29759. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  29760. begin
  29761. pTDefRegMap(@Self)^.val := thebits;
  29762. end;
  29763. function TPMP_PMDOUT.getw : TBits_32; inline;
  29764. begin
  29765. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29766. end;
  29767. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  29768. begin
  29769. pTDefRegMap(@Self)^.val := thebits;
  29770. end;
  29771. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  29772. begin
  29773. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29774. end;
  29775. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  29776. begin
  29777. pTDefRegMap(@Self)^.val := thebits;
  29778. end;
  29779. function TPMP_PMDIN.getw : TBits_32; inline;
  29780. begin
  29781. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29782. end;
  29783. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  29784. begin
  29785. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  29786. end;
  29787. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  29788. begin
  29789. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  29790. end;
  29791. procedure TPMP_PMAEN.setPTEN0; inline;
  29792. begin
  29793. pTDefRegMap(@Self)^.&set := $00000001;
  29794. end;
  29795. procedure TPMP_PMAEN.clearPTEN0; inline;
  29796. begin
  29797. pTDefRegMap(@Self)^.clr := $00000001;
  29798. end;
  29799. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  29800. begin
  29801. if thebits = 0 then
  29802. pTDefRegMap(@Self)^.clr := $00000001
  29803. else
  29804. pTDefRegMap(@Self)^.&set := $00000001;
  29805. end;
  29806. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  29807. begin
  29808. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29809. end;
  29810. procedure TPMP_PMAEN.setPTEN1; inline;
  29811. begin
  29812. pTDefRegMap(@Self)^.&set := $00000002;
  29813. end;
  29814. procedure TPMP_PMAEN.clearPTEN1; inline;
  29815. begin
  29816. pTDefRegMap(@Self)^.clr := $00000002;
  29817. end;
  29818. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  29819. begin
  29820. if thebits = 0 then
  29821. pTDefRegMap(@Self)^.clr := $00000002
  29822. else
  29823. pTDefRegMap(@Self)^.&set := $00000002;
  29824. end;
  29825. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  29826. begin
  29827. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29828. end;
  29829. procedure TPMP_PMAEN.setPTEN2; inline;
  29830. begin
  29831. pTDefRegMap(@Self)^.&set := $00000004;
  29832. end;
  29833. procedure TPMP_PMAEN.clearPTEN2; inline;
  29834. begin
  29835. pTDefRegMap(@Self)^.clr := $00000004;
  29836. end;
  29837. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  29838. begin
  29839. if thebits = 0 then
  29840. pTDefRegMap(@Self)^.clr := $00000004
  29841. else
  29842. pTDefRegMap(@Self)^.&set := $00000004;
  29843. end;
  29844. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  29845. begin
  29846. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29847. end;
  29848. procedure TPMP_PMAEN.setPTEN3; inline;
  29849. begin
  29850. pTDefRegMap(@Self)^.&set := $00000008;
  29851. end;
  29852. procedure TPMP_PMAEN.clearPTEN3; inline;
  29853. begin
  29854. pTDefRegMap(@Self)^.clr := $00000008;
  29855. end;
  29856. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  29857. begin
  29858. if thebits = 0 then
  29859. pTDefRegMap(@Self)^.clr := $00000008
  29860. else
  29861. pTDefRegMap(@Self)^.&set := $00000008;
  29862. end;
  29863. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  29864. begin
  29865. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29866. end;
  29867. procedure TPMP_PMAEN.setPTEN4; inline;
  29868. begin
  29869. pTDefRegMap(@Self)^.&set := $00000010;
  29870. end;
  29871. procedure TPMP_PMAEN.clearPTEN4; inline;
  29872. begin
  29873. pTDefRegMap(@Self)^.clr := $00000010;
  29874. end;
  29875. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  29876. begin
  29877. if thebits = 0 then
  29878. pTDefRegMap(@Self)^.clr := $00000010
  29879. else
  29880. pTDefRegMap(@Self)^.&set := $00000010;
  29881. end;
  29882. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  29883. begin
  29884. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29885. end;
  29886. procedure TPMP_PMAEN.setPTEN5; inline;
  29887. begin
  29888. pTDefRegMap(@Self)^.&set := $00000020;
  29889. end;
  29890. procedure TPMP_PMAEN.clearPTEN5; inline;
  29891. begin
  29892. pTDefRegMap(@Self)^.clr := $00000020;
  29893. end;
  29894. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  29895. begin
  29896. if thebits = 0 then
  29897. pTDefRegMap(@Self)^.clr := $00000020
  29898. else
  29899. pTDefRegMap(@Self)^.&set := $00000020;
  29900. end;
  29901. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  29902. begin
  29903. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29904. end;
  29905. procedure TPMP_PMAEN.setPTEN6; inline;
  29906. begin
  29907. pTDefRegMap(@Self)^.&set := $00000040;
  29908. end;
  29909. procedure TPMP_PMAEN.clearPTEN6; inline;
  29910. begin
  29911. pTDefRegMap(@Self)^.clr := $00000040;
  29912. end;
  29913. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  29914. begin
  29915. if thebits = 0 then
  29916. pTDefRegMap(@Self)^.clr := $00000040
  29917. else
  29918. pTDefRegMap(@Self)^.&set := $00000040;
  29919. end;
  29920. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  29921. begin
  29922. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29923. end;
  29924. procedure TPMP_PMAEN.setPTEN7; inline;
  29925. begin
  29926. pTDefRegMap(@Self)^.&set := $00000080;
  29927. end;
  29928. procedure TPMP_PMAEN.clearPTEN7; inline;
  29929. begin
  29930. pTDefRegMap(@Self)^.clr := $00000080;
  29931. end;
  29932. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  29933. begin
  29934. if thebits = 0 then
  29935. pTDefRegMap(@Self)^.clr := $00000080
  29936. else
  29937. pTDefRegMap(@Self)^.&set := $00000080;
  29938. end;
  29939. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  29940. begin
  29941. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29942. end;
  29943. procedure TPMP_PMAEN.setPTEN8; inline;
  29944. begin
  29945. pTDefRegMap(@Self)^.&set := $00000100;
  29946. end;
  29947. procedure TPMP_PMAEN.clearPTEN8; inline;
  29948. begin
  29949. pTDefRegMap(@Self)^.clr := $00000100;
  29950. end;
  29951. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  29952. begin
  29953. if thebits = 0 then
  29954. pTDefRegMap(@Self)^.clr := $00000100
  29955. else
  29956. pTDefRegMap(@Self)^.&set := $00000100;
  29957. end;
  29958. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  29959. begin
  29960. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29961. end;
  29962. procedure TPMP_PMAEN.setPTEN9; inline;
  29963. begin
  29964. pTDefRegMap(@Self)^.&set := $00000200;
  29965. end;
  29966. procedure TPMP_PMAEN.clearPTEN9; inline;
  29967. begin
  29968. pTDefRegMap(@Self)^.clr := $00000200;
  29969. end;
  29970. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  29971. begin
  29972. if thebits = 0 then
  29973. pTDefRegMap(@Self)^.clr := $00000200
  29974. else
  29975. pTDefRegMap(@Self)^.&set := $00000200;
  29976. end;
  29977. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  29978. begin
  29979. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29980. end;
  29981. procedure TPMP_PMAEN.setPTEN10; inline;
  29982. begin
  29983. pTDefRegMap(@Self)^.&set := $00000400;
  29984. end;
  29985. procedure TPMP_PMAEN.clearPTEN10; inline;
  29986. begin
  29987. pTDefRegMap(@Self)^.clr := $00000400;
  29988. end;
  29989. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  29990. begin
  29991. if thebits = 0 then
  29992. pTDefRegMap(@Self)^.clr := $00000400
  29993. else
  29994. pTDefRegMap(@Self)^.&set := $00000400;
  29995. end;
  29996. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  29997. begin
  29998. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29999. end;
  30000. procedure TPMP_PMAEN.setPTEN11; inline;
  30001. begin
  30002. pTDefRegMap(@Self)^.&set := $00000800;
  30003. end;
  30004. procedure TPMP_PMAEN.clearPTEN11; inline;
  30005. begin
  30006. pTDefRegMap(@Self)^.clr := $00000800;
  30007. end;
  30008. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  30009. begin
  30010. if thebits = 0 then
  30011. pTDefRegMap(@Self)^.clr := $00000800
  30012. else
  30013. pTDefRegMap(@Self)^.&set := $00000800;
  30014. end;
  30015. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  30016. begin
  30017. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30018. end;
  30019. procedure TPMP_PMAEN.setPTEN12; inline;
  30020. begin
  30021. pTDefRegMap(@Self)^.&set := $00001000;
  30022. end;
  30023. procedure TPMP_PMAEN.clearPTEN12; inline;
  30024. begin
  30025. pTDefRegMap(@Self)^.clr := $00001000;
  30026. end;
  30027. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  30028. begin
  30029. if thebits = 0 then
  30030. pTDefRegMap(@Self)^.clr := $00001000
  30031. else
  30032. pTDefRegMap(@Self)^.&set := $00001000;
  30033. end;
  30034. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  30035. begin
  30036. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30037. end;
  30038. procedure TPMP_PMAEN.setPTEN13; inline;
  30039. begin
  30040. pTDefRegMap(@Self)^.&set := $00002000;
  30041. end;
  30042. procedure TPMP_PMAEN.clearPTEN13; inline;
  30043. begin
  30044. pTDefRegMap(@Self)^.clr := $00002000;
  30045. end;
  30046. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  30047. begin
  30048. if thebits = 0 then
  30049. pTDefRegMap(@Self)^.clr := $00002000
  30050. else
  30051. pTDefRegMap(@Self)^.&set := $00002000;
  30052. end;
  30053. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  30054. begin
  30055. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30056. end;
  30057. procedure TPMP_PMAEN.setPTEN14; inline;
  30058. begin
  30059. pTDefRegMap(@Self)^.&set := $00004000;
  30060. end;
  30061. procedure TPMP_PMAEN.clearPTEN14; inline;
  30062. begin
  30063. pTDefRegMap(@Self)^.clr := $00004000;
  30064. end;
  30065. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  30066. begin
  30067. if thebits = 0 then
  30068. pTDefRegMap(@Self)^.clr := $00004000
  30069. else
  30070. pTDefRegMap(@Self)^.&set := $00004000;
  30071. end;
  30072. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  30073. begin
  30074. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30075. end;
  30076. procedure TPMP_PMAEN.setPTEN15; inline;
  30077. begin
  30078. pTDefRegMap(@Self)^.&set := $00008000;
  30079. end;
  30080. procedure TPMP_PMAEN.clearPTEN15; inline;
  30081. begin
  30082. pTDefRegMap(@Self)^.clr := $00008000;
  30083. end;
  30084. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  30085. begin
  30086. if thebits = 0 then
  30087. pTDefRegMap(@Self)^.clr := $00008000
  30088. else
  30089. pTDefRegMap(@Self)^.&set := $00008000;
  30090. end;
  30091. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  30092. begin
  30093. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30094. end;
  30095. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  30096. begin
  30097. pTDefRegMap(@Self)^.val := thebits;
  30098. end;
  30099. function TPMP_PMAEN.getw : TBits_32; inline;
  30100. begin
  30101. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30102. end;
  30103. procedure TPMP_PMSTAT.setOB0E; inline;
  30104. begin
  30105. pTDefRegMap(@Self)^.&set := $00000001;
  30106. end;
  30107. procedure TPMP_PMSTAT.clearOB0E; inline;
  30108. begin
  30109. pTDefRegMap(@Self)^.clr := $00000001;
  30110. end;
  30111. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  30112. begin
  30113. if thebits = 0 then
  30114. pTDefRegMap(@Self)^.clr := $00000001
  30115. else
  30116. pTDefRegMap(@Self)^.&set := $00000001;
  30117. end;
  30118. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  30119. begin
  30120. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30121. end;
  30122. procedure TPMP_PMSTAT.setOB1E; inline;
  30123. begin
  30124. pTDefRegMap(@Self)^.&set := $00000002;
  30125. end;
  30126. procedure TPMP_PMSTAT.clearOB1E; inline;
  30127. begin
  30128. pTDefRegMap(@Self)^.clr := $00000002;
  30129. end;
  30130. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  30131. begin
  30132. if thebits = 0 then
  30133. pTDefRegMap(@Self)^.clr := $00000002
  30134. else
  30135. pTDefRegMap(@Self)^.&set := $00000002;
  30136. end;
  30137. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  30138. begin
  30139. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30140. end;
  30141. procedure TPMP_PMSTAT.setOB2E; inline;
  30142. begin
  30143. pTDefRegMap(@Self)^.&set := $00000004;
  30144. end;
  30145. procedure TPMP_PMSTAT.clearOB2E; inline;
  30146. begin
  30147. pTDefRegMap(@Self)^.clr := $00000004;
  30148. end;
  30149. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  30150. begin
  30151. if thebits = 0 then
  30152. pTDefRegMap(@Self)^.clr := $00000004
  30153. else
  30154. pTDefRegMap(@Self)^.&set := $00000004;
  30155. end;
  30156. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  30157. begin
  30158. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30159. end;
  30160. procedure TPMP_PMSTAT.setOB3E; inline;
  30161. begin
  30162. pTDefRegMap(@Self)^.&set := $00000008;
  30163. end;
  30164. procedure TPMP_PMSTAT.clearOB3E; inline;
  30165. begin
  30166. pTDefRegMap(@Self)^.clr := $00000008;
  30167. end;
  30168. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  30169. begin
  30170. if thebits = 0 then
  30171. pTDefRegMap(@Self)^.clr := $00000008
  30172. else
  30173. pTDefRegMap(@Self)^.&set := $00000008;
  30174. end;
  30175. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  30176. begin
  30177. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30178. end;
  30179. procedure TPMP_PMSTAT.setOBUF; inline;
  30180. begin
  30181. pTDefRegMap(@Self)^.&set := $00000040;
  30182. end;
  30183. procedure TPMP_PMSTAT.clearOBUF; inline;
  30184. begin
  30185. pTDefRegMap(@Self)^.clr := $00000040;
  30186. end;
  30187. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  30188. begin
  30189. if thebits = 0 then
  30190. pTDefRegMap(@Self)^.clr := $00000040
  30191. else
  30192. pTDefRegMap(@Self)^.&set := $00000040;
  30193. end;
  30194. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  30195. begin
  30196. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30197. end;
  30198. procedure TPMP_PMSTAT.setOBE; inline;
  30199. begin
  30200. pTDefRegMap(@Self)^.&set := $00000080;
  30201. end;
  30202. procedure TPMP_PMSTAT.clearOBE; inline;
  30203. begin
  30204. pTDefRegMap(@Self)^.clr := $00000080;
  30205. end;
  30206. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  30207. begin
  30208. if thebits = 0 then
  30209. pTDefRegMap(@Self)^.clr := $00000080
  30210. else
  30211. pTDefRegMap(@Self)^.&set := $00000080;
  30212. end;
  30213. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  30214. begin
  30215. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30216. end;
  30217. procedure TPMP_PMSTAT.setIB0F; inline;
  30218. begin
  30219. pTDefRegMap(@Self)^.&set := $00000100;
  30220. end;
  30221. procedure TPMP_PMSTAT.clearIB0F; inline;
  30222. begin
  30223. pTDefRegMap(@Self)^.clr := $00000100;
  30224. end;
  30225. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  30226. begin
  30227. if thebits = 0 then
  30228. pTDefRegMap(@Self)^.clr := $00000100
  30229. else
  30230. pTDefRegMap(@Self)^.&set := $00000100;
  30231. end;
  30232. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  30233. begin
  30234. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30235. end;
  30236. procedure TPMP_PMSTAT.setIB1F; inline;
  30237. begin
  30238. pTDefRegMap(@Self)^.&set := $00000200;
  30239. end;
  30240. procedure TPMP_PMSTAT.clearIB1F; inline;
  30241. begin
  30242. pTDefRegMap(@Self)^.clr := $00000200;
  30243. end;
  30244. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  30245. begin
  30246. if thebits = 0 then
  30247. pTDefRegMap(@Self)^.clr := $00000200
  30248. else
  30249. pTDefRegMap(@Self)^.&set := $00000200;
  30250. end;
  30251. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  30252. begin
  30253. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30254. end;
  30255. procedure TPMP_PMSTAT.setIB2F; inline;
  30256. begin
  30257. pTDefRegMap(@Self)^.&set := $00000400;
  30258. end;
  30259. procedure TPMP_PMSTAT.clearIB2F; inline;
  30260. begin
  30261. pTDefRegMap(@Self)^.clr := $00000400;
  30262. end;
  30263. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  30264. begin
  30265. if thebits = 0 then
  30266. pTDefRegMap(@Self)^.clr := $00000400
  30267. else
  30268. pTDefRegMap(@Self)^.&set := $00000400;
  30269. end;
  30270. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  30271. begin
  30272. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30273. end;
  30274. procedure TPMP_PMSTAT.setIB3F; inline;
  30275. begin
  30276. pTDefRegMap(@Self)^.&set := $00000800;
  30277. end;
  30278. procedure TPMP_PMSTAT.clearIB3F; inline;
  30279. begin
  30280. pTDefRegMap(@Self)^.clr := $00000800;
  30281. end;
  30282. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  30283. begin
  30284. if thebits = 0 then
  30285. pTDefRegMap(@Self)^.clr := $00000800
  30286. else
  30287. pTDefRegMap(@Self)^.&set := $00000800;
  30288. end;
  30289. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  30290. begin
  30291. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30292. end;
  30293. procedure TPMP_PMSTAT.setIBOV; inline;
  30294. begin
  30295. pTDefRegMap(@Self)^.&set := $00004000;
  30296. end;
  30297. procedure TPMP_PMSTAT.clearIBOV; inline;
  30298. begin
  30299. pTDefRegMap(@Self)^.clr := $00004000;
  30300. end;
  30301. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  30302. begin
  30303. if thebits = 0 then
  30304. pTDefRegMap(@Self)^.clr := $00004000
  30305. else
  30306. pTDefRegMap(@Self)^.&set := $00004000;
  30307. end;
  30308. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  30309. begin
  30310. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30311. end;
  30312. procedure TPMP_PMSTAT.setIBF; inline;
  30313. begin
  30314. pTDefRegMap(@Self)^.&set := $00008000;
  30315. end;
  30316. procedure TPMP_PMSTAT.clearIBF; inline;
  30317. begin
  30318. pTDefRegMap(@Self)^.clr := $00008000;
  30319. end;
  30320. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  30321. begin
  30322. if thebits = 0 then
  30323. pTDefRegMap(@Self)^.clr := $00008000
  30324. else
  30325. pTDefRegMap(@Self)^.&set := $00008000;
  30326. end;
  30327. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  30328. begin
  30329. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30330. end;
  30331. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  30332. begin
  30333. pTDefRegMap(@Self)^.val := thebits;
  30334. end;
  30335. function TPMP_PMSTAT.getw : TBits_32; inline;
  30336. begin
  30337. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30338. end;
  30339. procedure TADC10_AD1CON1.setDONE; inline;
  30340. begin
  30341. pTDefRegMap(@Self)^.&set := $00000001;
  30342. end;
  30343. procedure TADC10_AD1CON1.clearDONE; inline;
  30344. begin
  30345. pTDefRegMap(@Self)^.clr := $00000001;
  30346. end;
  30347. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  30348. begin
  30349. if thebits = 0 then
  30350. pTDefRegMap(@Self)^.clr := $00000001
  30351. else
  30352. pTDefRegMap(@Self)^.&set := $00000001;
  30353. end;
  30354. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  30355. begin
  30356. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30357. end;
  30358. procedure TADC10_AD1CON1.setSAMP; inline;
  30359. begin
  30360. pTDefRegMap(@Self)^.&set := $00000002;
  30361. end;
  30362. procedure TADC10_AD1CON1.clearSAMP; inline;
  30363. begin
  30364. pTDefRegMap(@Self)^.clr := $00000002;
  30365. end;
  30366. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  30367. begin
  30368. if thebits = 0 then
  30369. pTDefRegMap(@Self)^.clr := $00000002
  30370. else
  30371. pTDefRegMap(@Self)^.&set := $00000002;
  30372. end;
  30373. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  30374. begin
  30375. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30376. end;
  30377. procedure TADC10_AD1CON1.setASAM; inline;
  30378. begin
  30379. pTDefRegMap(@Self)^.&set := $00000004;
  30380. end;
  30381. procedure TADC10_AD1CON1.clearASAM; inline;
  30382. begin
  30383. pTDefRegMap(@Self)^.clr := $00000004;
  30384. end;
  30385. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  30386. begin
  30387. if thebits = 0 then
  30388. pTDefRegMap(@Self)^.clr := $00000004
  30389. else
  30390. pTDefRegMap(@Self)^.&set := $00000004;
  30391. end;
  30392. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  30393. begin
  30394. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30395. end;
  30396. procedure TADC10_AD1CON1.setCLRASAM; inline;
  30397. begin
  30398. pTDefRegMap(@Self)^.&set := $00000010;
  30399. end;
  30400. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  30401. begin
  30402. pTDefRegMap(@Self)^.clr := $00000010;
  30403. end;
  30404. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  30405. begin
  30406. if thebits = 0 then
  30407. pTDefRegMap(@Self)^.clr := $00000010
  30408. else
  30409. pTDefRegMap(@Self)^.&set := $00000010;
  30410. end;
  30411. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  30412. begin
  30413. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30414. end;
  30415. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  30416. begin
  30417. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  30418. end;
  30419. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  30420. begin
  30421. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  30422. end;
  30423. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  30424. begin
  30425. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  30426. end;
  30427. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  30428. begin
  30429. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  30430. end;
  30431. procedure TADC10_AD1CON1.setSIDL; inline;
  30432. begin
  30433. pTDefRegMap(@Self)^.&set := $00002000;
  30434. end;
  30435. procedure TADC10_AD1CON1.clearSIDL; inline;
  30436. begin
  30437. pTDefRegMap(@Self)^.clr := $00002000;
  30438. end;
  30439. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  30440. begin
  30441. if thebits = 0 then
  30442. pTDefRegMap(@Self)^.clr := $00002000
  30443. else
  30444. pTDefRegMap(@Self)^.&set := $00002000;
  30445. end;
  30446. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  30447. begin
  30448. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30449. end;
  30450. procedure TADC10_AD1CON1.setON; inline;
  30451. begin
  30452. pTDefRegMap(@Self)^.&set := $00008000;
  30453. end;
  30454. procedure TADC10_AD1CON1.clearON; inline;
  30455. begin
  30456. pTDefRegMap(@Self)^.clr := $00008000;
  30457. end;
  30458. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  30459. begin
  30460. if thebits = 0 then
  30461. pTDefRegMap(@Self)^.clr := $00008000
  30462. else
  30463. pTDefRegMap(@Self)^.&set := $00008000;
  30464. end;
  30465. function TADC10_AD1CON1.getON : TBits_1; inline;
  30466. begin
  30467. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30468. end;
  30469. procedure TADC10_AD1CON1.setSSRC0; inline;
  30470. begin
  30471. pTDefRegMap(@Self)^.&set := $00000020;
  30472. end;
  30473. procedure TADC10_AD1CON1.clearSSRC0; inline;
  30474. begin
  30475. pTDefRegMap(@Self)^.clr := $00000020;
  30476. end;
  30477. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  30478. begin
  30479. if thebits = 0 then
  30480. pTDefRegMap(@Self)^.clr := $00000020
  30481. else
  30482. pTDefRegMap(@Self)^.&set := $00000020;
  30483. end;
  30484. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  30485. begin
  30486. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30487. end;
  30488. procedure TADC10_AD1CON1.setSSRC1; inline;
  30489. begin
  30490. pTDefRegMap(@Self)^.&set := $00000040;
  30491. end;
  30492. procedure TADC10_AD1CON1.clearSSRC1; inline;
  30493. begin
  30494. pTDefRegMap(@Self)^.clr := $00000040;
  30495. end;
  30496. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  30497. begin
  30498. if thebits = 0 then
  30499. pTDefRegMap(@Self)^.clr := $00000040
  30500. else
  30501. pTDefRegMap(@Self)^.&set := $00000040;
  30502. end;
  30503. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  30504. begin
  30505. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30506. end;
  30507. procedure TADC10_AD1CON1.setSSRC2; inline;
  30508. begin
  30509. pTDefRegMap(@Self)^.&set := $00000080;
  30510. end;
  30511. procedure TADC10_AD1CON1.clearSSRC2; inline;
  30512. begin
  30513. pTDefRegMap(@Self)^.clr := $00000080;
  30514. end;
  30515. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  30516. begin
  30517. if thebits = 0 then
  30518. pTDefRegMap(@Self)^.clr := $00000080
  30519. else
  30520. pTDefRegMap(@Self)^.&set := $00000080;
  30521. end;
  30522. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  30523. begin
  30524. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30525. end;
  30526. procedure TADC10_AD1CON1.setFORM0; inline;
  30527. begin
  30528. pTDefRegMap(@Self)^.&set := $00000100;
  30529. end;
  30530. procedure TADC10_AD1CON1.clearFORM0; inline;
  30531. begin
  30532. pTDefRegMap(@Self)^.clr := $00000100;
  30533. end;
  30534. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  30535. begin
  30536. if thebits = 0 then
  30537. pTDefRegMap(@Self)^.clr := $00000100
  30538. else
  30539. pTDefRegMap(@Self)^.&set := $00000100;
  30540. end;
  30541. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  30542. begin
  30543. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30544. end;
  30545. procedure TADC10_AD1CON1.setFORM1; inline;
  30546. begin
  30547. pTDefRegMap(@Self)^.&set := $00000200;
  30548. end;
  30549. procedure TADC10_AD1CON1.clearFORM1; inline;
  30550. begin
  30551. pTDefRegMap(@Self)^.clr := $00000200;
  30552. end;
  30553. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  30554. begin
  30555. if thebits = 0 then
  30556. pTDefRegMap(@Self)^.clr := $00000200
  30557. else
  30558. pTDefRegMap(@Self)^.&set := $00000200;
  30559. end;
  30560. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  30561. begin
  30562. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30563. end;
  30564. procedure TADC10_AD1CON1.setFORM2; inline;
  30565. begin
  30566. pTDefRegMap(@Self)^.&set := $00000400;
  30567. end;
  30568. procedure TADC10_AD1CON1.clearFORM2; inline;
  30569. begin
  30570. pTDefRegMap(@Self)^.clr := $00000400;
  30571. end;
  30572. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  30573. begin
  30574. if thebits = 0 then
  30575. pTDefRegMap(@Self)^.clr := $00000400
  30576. else
  30577. pTDefRegMap(@Self)^.&set := $00000400;
  30578. end;
  30579. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  30580. begin
  30581. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30582. end;
  30583. procedure TADC10_AD1CON1.setADSIDL; inline;
  30584. begin
  30585. pTDefRegMap(@Self)^.&set := $00002000;
  30586. end;
  30587. procedure TADC10_AD1CON1.clearADSIDL; inline;
  30588. begin
  30589. pTDefRegMap(@Self)^.clr := $00002000;
  30590. end;
  30591. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  30592. begin
  30593. if thebits = 0 then
  30594. pTDefRegMap(@Self)^.clr := $00002000
  30595. else
  30596. pTDefRegMap(@Self)^.&set := $00002000;
  30597. end;
  30598. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  30599. begin
  30600. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30601. end;
  30602. procedure TADC10_AD1CON1.setADON; inline;
  30603. begin
  30604. pTDefRegMap(@Self)^.&set := $00008000;
  30605. end;
  30606. procedure TADC10_AD1CON1.clearADON; inline;
  30607. begin
  30608. pTDefRegMap(@Self)^.clr := $00008000;
  30609. end;
  30610. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  30611. begin
  30612. if thebits = 0 then
  30613. pTDefRegMap(@Self)^.clr := $00008000
  30614. else
  30615. pTDefRegMap(@Self)^.&set := $00008000;
  30616. end;
  30617. function TADC10_AD1CON1.getADON : TBits_1; inline;
  30618. begin
  30619. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30620. end;
  30621. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  30622. begin
  30623. pTDefRegMap(@Self)^.val := thebits;
  30624. end;
  30625. function TADC10_AD1CON1.getw : TBits_32; inline;
  30626. begin
  30627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30628. end;
  30629. procedure TADC10_AD1CON2.setALTS; inline;
  30630. begin
  30631. pTDefRegMap(@Self)^.&set := $00000001;
  30632. end;
  30633. procedure TADC10_AD1CON2.clearALTS; inline;
  30634. begin
  30635. pTDefRegMap(@Self)^.clr := $00000001;
  30636. end;
  30637. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  30638. begin
  30639. if thebits = 0 then
  30640. pTDefRegMap(@Self)^.clr := $00000001
  30641. else
  30642. pTDefRegMap(@Self)^.&set := $00000001;
  30643. end;
  30644. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  30645. begin
  30646. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30647. end;
  30648. procedure TADC10_AD1CON2.setBUFM; inline;
  30649. begin
  30650. pTDefRegMap(@Self)^.&set := $00000002;
  30651. end;
  30652. procedure TADC10_AD1CON2.clearBUFM; inline;
  30653. begin
  30654. pTDefRegMap(@Self)^.clr := $00000002;
  30655. end;
  30656. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  30657. begin
  30658. if thebits = 0 then
  30659. pTDefRegMap(@Self)^.clr := $00000002
  30660. else
  30661. pTDefRegMap(@Self)^.&set := $00000002;
  30662. end;
  30663. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  30664. begin
  30665. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30666. end;
  30667. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  30668. begin
  30669. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  30670. end;
  30671. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  30672. begin
  30673. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  30674. end;
  30675. procedure TADC10_AD1CON2.setBUFS; inline;
  30676. begin
  30677. pTDefRegMap(@Self)^.&set := $00000080;
  30678. end;
  30679. procedure TADC10_AD1CON2.clearBUFS; inline;
  30680. begin
  30681. pTDefRegMap(@Self)^.clr := $00000080;
  30682. end;
  30683. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  30684. begin
  30685. if thebits = 0 then
  30686. pTDefRegMap(@Self)^.clr := $00000080
  30687. else
  30688. pTDefRegMap(@Self)^.&set := $00000080;
  30689. end;
  30690. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  30691. begin
  30692. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30693. end;
  30694. procedure TADC10_AD1CON2.setCSCNA; inline;
  30695. begin
  30696. pTDefRegMap(@Self)^.&set := $00000400;
  30697. end;
  30698. procedure TADC10_AD1CON2.clearCSCNA; inline;
  30699. begin
  30700. pTDefRegMap(@Self)^.clr := $00000400;
  30701. end;
  30702. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  30703. begin
  30704. if thebits = 0 then
  30705. pTDefRegMap(@Self)^.clr := $00000400
  30706. else
  30707. pTDefRegMap(@Self)^.&set := $00000400;
  30708. end;
  30709. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  30710. begin
  30711. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30712. end;
  30713. procedure TADC10_AD1CON2.setOFFCAL; inline;
  30714. begin
  30715. pTDefRegMap(@Self)^.&set := $00001000;
  30716. end;
  30717. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  30718. begin
  30719. pTDefRegMap(@Self)^.clr := $00001000;
  30720. end;
  30721. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  30722. begin
  30723. if thebits = 0 then
  30724. pTDefRegMap(@Self)^.clr := $00001000
  30725. else
  30726. pTDefRegMap(@Self)^.&set := $00001000;
  30727. end;
  30728. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  30729. begin
  30730. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30731. end;
  30732. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  30733. begin
  30734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  30735. end;
  30736. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  30737. begin
  30738. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  30739. end;
  30740. procedure TADC10_AD1CON2.setSMPI0; inline;
  30741. begin
  30742. pTDefRegMap(@Self)^.&set := $00000004;
  30743. end;
  30744. procedure TADC10_AD1CON2.clearSMPI0; inline;
  30745. begin
  30746. pTDefRegMap(@Self)^.clr := $00000004;
  30747. end;
  30748. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  30749. begin
  30750. if thebits = 0 then
  30751. pTDefRegMap(@Self)^.clr := $00000004
  30752. else
  30753. pTDefRegMap(@Self)^.&set := $00000004;
  30754. end;
  30755. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  30756. begin
  30757. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30758. end;
  30759. procedure TADC10_AD1CON2.setSMPI1; inline;
  30760. begin
  30761. pTDefRegMap(@Self)^.&set := $00000008;
  30762. end;
  30763. procedure TADC10_AD1CON2.clearSMPI1; inline;
  30764. begin
  30765. pTDefRegMap(@Self)^.clr := $00000008;
  30766. end;
  30767. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  30768. begin
  30769. if thebits = 0 then
  30770. pTDefRegMap(@Self)^.clr := $00000008
  30771. else
  30772. pTDefRegMap(@Self)^.&set := $00000008;
  30773. end;
  30774. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  30775. begin
  30776. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30777. end;
  30778. procedure TADC10_AD1CON2.setSMPI2; inline;
  30779. begin
  30780. pTDefRegMap(@Self)^.&set := $00000010;
  30781. end;
  30782. procedure TADC10_AD1CON2.clearSMPI2; inline;
  30783. begin
  30784. pTDefRegMap(@Self)^.clr := $00000010;
  30785. end;
  30786. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  30787. begin
  30788. if thebits = 0 then
  30789. pTDefRegMap(@Self)^.clr := $00000010
  30790. else
  30791. pTDefRegMap(@Self)^.&set := $00000010;
  30792. end;
  30793. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  30794. begin
  30795. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30796. end;
  30797. procedure TADC10_AD1CON2.setSMPI3; inline;
  30798. begin
  30799. pTDefRegMap(@Self)^.&set := $00000020;
  30800. end;
  30801. procedure TADC10_AD1CON2.clearSMPI3; inline;
  30802. begin
  30803. pTDefRegMap(@Self)^.clr := $00000020;
  30804. end;
  30805. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  30806. begin
  30807. if thebits = 0 then
  30808. pTDefRegMap(@Self)^.clr := $00000020
  30809. else
  30810. pTDefRegMap(@Self)^.&set := $00000020;
  30811. end;
  30812. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  30813. begin
  30814. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30815. end;
  30816. procedure TADC10_AD1CON2.setVCFG0; inline;
  30817. begin
  30818. pTDefRegMap(@Self)^.&set := $00002000;
  30819. end;
  30820. procedure TADC10_AD1CON2.clearVCFG0; inline;
  30821. begin
  30822. pTDefRegMap(@Self)^.clr := $00002000;
  30823. end;
  30824. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  30825. begin
  30826. if thebits = 0 then
  30827. pTDefRegMap(@Self)^.clr := $00002000
  30828. else
  30829. pTDefRegMap(@Self)^.&set := $00002000;
  30830. end;
  30831. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  30832. begin
  30833. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30834. end;
  30835. procedure TADC10_AD1CON2.setVCFG1; inline;
  30836. begin
  30837. pTDefRegMap(@Self)^.&set := $00004000;
  30838. end;
  30839. procedure TADC10_AD1CON2.clearVCFG1; inline;
  30840. begin
  30841. pTDefRegMap(@Self)^.clr := $00004000;
  30842. end;
  30843. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  30844. begin
  30845. if thebits = 0 then
  30846. pTDefRegMap(@Self)^.clr := $00004000
  30847. else
  30848. pTDefRegMap(@Self)^.&set := $00004000;
  30849. end;
  30850. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  30851. begin
  30852. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30853. end;
  30854. procedure TADC10_AD1CON2.setVCFG2; inline;
  30855. begin
  30856. pTDefRegMap(@Self)^.&set := $00008000;
  30857. end;
  30858. procedure TADC10_AD1CON2.clearVCFG2; inline;
  30859. begin
  30860. pTDefRegMap(@Self)^.clr := $00008000;
  30861. end;
  30862. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  30863. begin
  30864. if thebits = 0 then
  30865. pTDefRegMap(@Self)^.clr := $00008000
  30866. else
  30867. pTDefRegMap(@Self)^.&set := $00008000;
  30868. end;
  30869. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  30870. begin
  30871. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30872. end;
  30873. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  30874. begin
  30875. pTDefRegMap(@Self)^.val := thebits;
  30876. end;
  30877. function TADC10_AD1CON2.getw : TBits_32; inline;
  30878. begin
  30879. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30880. end;
  30881. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  30882. begin
  30883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  30884. end;
  30885. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  30886. begin
  30887. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  30888. end;
  30889. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  30890. begin
  30891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  30892. end;
  30893. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  30894. begin
  30895. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  30896. end;
  30897. procedure TADC10_AD1CON3.setADRC; inline;
  30898. begin
  30899. pTDefRegMap(@Self)^.&set := $00008000;
  30900. end;
  30901. procedure TADC10_AD1CON3.clearADRC; inline;
  30902. begin
  30903. pTDefRegMap(@Self)^.clr := $00008000;
  30904. end;
  30905. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  30906. begin
  30907. if thebits = 0 then
  30908. pTDefRegMap(@Self)^.clr := $00008000
  30909. else
  30910. pTDefRegMap(@Self)^.&set := $00008000;
  30911. end;
  30912. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  30913. begin
  30914. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30915. end;
  30916. procedure TADC10_AD1CON3.setADCS0; inline;
  30917. begin
  30918. pTDefRegMap(@Self)^.&set := $00000001;
  30919. end;
  30920. procedure TADC10_AD1CON3.clearADCS0; inline;
  30921. begin
  30922. pTDefRegMap(@Self)^.clr := $00000001;
  30923. end;
  30924. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  30925. begin
  30926. if thebits = 0 then
  30927. pTDefRegMap(@Self)^.clr := $00000001
  30928. else
  30929. pTDefRegMap(@Self)^.&set := $00000001;
  30930. end;
  30931. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  30932. begin
  30933. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30934. end;
  30935. procedure TADC10_AD1CON3.setADCS1; inline;
  30936. begin
  30937. pTDefRegMap(@Self)^.&set := $00000002;
  30938. end;
  30939. procedure TADC10_AD1CON3.clearADCS1; inline;
  30940. begin
  30941. pTDefRegMap(@Self)^.clr := $00000002;
  30942. end;
  30943. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  30944. begin
  30945. if thebits = 0 then
  30946. pTDefRegMap(@Self)^.clr := $00000002
  30947. else
  30948. pTDefRegMap(@Self)^.&set := $00000002;
  30949. end;
  30950. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  30951. begin
  30952. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30953. end;
  30954. procedure TADC10_AD1CON3.setADCS2; inline;
  30955. begin
  30956. pTDefRegMap(@Self)^.&set := $00000004;
  30957. end;
  30958. procedure TADC10_AD1CON3.clearADCS2; inline;
  30959. begin
  30960. pTDefRegMap(@Self)^.clr := $00000004;
  30961. end;
  30962. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  30963. begin
  30964. if thebits = 0 then
  30965. pTDefRegMap(@Self)^.clr := $00000004
  30966. else
  30967. pTDefRegMap(@Self)^.&set := $00000004;
  30968. end;
  30969. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  30970. begin
  30971. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30972. end;
  30973. procedure TADC10_AD1CON3.setADCS3; inline;
  30974. begin
  30975. pTDefRegMap(@Self)^.&set := $00000008;
  30976. end;
  30977. procedure TADC10_AD1CON3.clearADCS3; inline;
  30978. begin
  30979. pTDefRegMap(@Self)^.clr := $00000008;
  30980. end;
  30981. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  30982. begin
  30983. if thebits = 0 then
  30984. pTDefRegMap(@Self)^.clr := $00000008
  30985. else
  30986. pTDefRegMap(@Self)^.&set := $00000008;
  30987. end;
  30988. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  30989. begin
  30990. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30991. end;
  30992. procedure TADC10_AD1CON3.setADCS4; inline;
  30993. begin
  30994. pTDefRegMap(@Self)^.&set := $00000010;
  30995. end;
  30996. procedure TADC10_AD1CON3.clearADCS4; inline;
  30997. begin
  30998. pTDefRegMap(@Self)^.clr := $00000010;
  30999. end;
  31000. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  31001. begin
  31002. if thebits = 0 then
  31003. pTDefRegMap(@Self)^.clr := $00000010
  31004. else
  31005. pTDefRegMap(@Self)^.&set := $00000010;
  31006. end;
  31007. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  31008. begin
  31009. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31010. end;
  31011. procedure TADC10_AD1CON3.setADCS5; inline;
  31012. begin
  31013. pTDefRegMap(@Self)^.&set := $00000020;
  31014. end;
  31015. procedure TADC10_AD1CON3.clearADCS5; inline;
  31016. begin
  31017. pTDefRegMap(@Self)^.clr := $00000020;
  31018. end;
  31019. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  31020. begin
  31021. if thebits = 0 then
  31022. pTDefRegMap(@Self)^.clr := $00000020
  31023. else
  31024. pTDefRegMap(@Self)^.&set := $00000020;
  31025. end;
  31026. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  31027. begin
  31028. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31029. end;
  31030. procedure TADC10_AD1CON3.setADCS6; inline;
  31031. begin
  31032. pTDefRegMap(@Self)^.&set := $00000040;
  31033. end;
  31034. procedure TADC10_AD1CON3.clearADCS6; inline;
  31035. begin
  31036. pTDefRegMap(@Self)^.clr := $00000040;
  31037. end;
  31038. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  31039. begin
  31040. if thebits = 0 then
  31041. pTDefRegMap(@Self)^.clr := $00000040
  31042. else
  31043. pTDefRegMap(@Self)^.&set := $00000040;
  31044. end;
  31045. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  31046. begin
  31047. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31048. end;
  31049. procedure TADC10_AD1CON3.setADCS7; inline;
  31050. begin
  31051. pTDefRegMap(@Self)^.&set := $00000080;
  31052. end;
  31053. procedure TADC10_AD1CON3.clearADCS7; inline;
  31054. begin
  31055. pTDefRegMap(@Self)^.clr := $00000080;
  31056. end;
  31057. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  31058. begin
  31059. if thebits = 0 then
  31060. pTDefRegMap(@Self)^.clr := $00000080
  31061. else
  31062. pTDefRegMap(@Self)^.&set := $00000080;
  31063. end;
  31064. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  31065. begin
  31066. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31067. end;
  31068. procedure TADC10_AD1CON3.setSAMC0; inline;
  31069. begin
  31070. pTDefRegMap(@Self)^.&set := $00000100;
  31071. end;
  31072. procedure TADC10_AD1CON3.clearSAMC0; inline;
  31073. begin
  31074. pTDefRegMap(@Self)^.clr := $00000100;
  31075. end;
  31076. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  31077. begin
  31078. if thebits = 0 then
  31079. pTDefRegMap(@Self)^.clr := $00000100
  31080. else
  31081. pTDefRegMap(@Self)^.&set := $00000100;
  31082. end;
  31083. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  31084. begin
  31085. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31086. end;
  31087. procedure TADC10_AD1CON3.setSAMC1; inline;
  31088. begin
  31089. pTDefRegMap(@Self)^.&set := $00000200;
  31090. end;
  31091. procedure TADC10_AD1CON3.clearSAMC1; inline;
  31092. begin
  31093. pTDefRegMap(@Self)^.clr := $00000200;
  31094. end;
  31095. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  31096. begin
  31097. if thebits = 0 then
  31098. pTDefRegMap(@Self)^.clr := $00000200
  31099. else
  31100. pTDefRegMap(@Self)^.&set := $00000200;
  31101. end;
  31102. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  31103. begin
  31104. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31105. end;
  31106. procedure TADC10_AD1CON3.setSAMC2; inline;
  31107. begin
  31108. pTDefRegMap(@Self)^.&set := $00000400;
  31109. end;
  31110. procedure TADC10_AD1CON3.clearSAMC2; inline;
  31111. begin
  31112. pTDefRegMap(@Self)^.clr := $00000400;
  31113. end;
  31114. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  31115. begin
  31116. if thebits = 0 then
  31117. pTDefRegMap(@Self)^.clr := $00000400
  31118. else
  31119. pTDefRegMap(@Self)^.&set := $00000400;
  31120. end;
  31121. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  31122. begin
  31123. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31124. end;
  31125. procedure TADC10_AD1CON3.setSAMC3; inline;
  31126. begin
  31127. pTDefRegMap(@Self)^.&set := $00000800;
  31128. end;
  31129. procedure TADC10_AD1CON3.clearSAMC3; inline;
  31130. begin
  31131. pTDefRegMap(@Self)^.clr := $00000800;
  31132. end;
  31133. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  31134. begin
  31135. if thebits = 0 then
  31136. pTDefRegMap(@Self)^.clr := $00000800
  31137. else
  31138. pTDefRegMap(@Self)^.&set := $00000800;
  31139. end;
  31140. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  31141. begin
  31142. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31143. end;
  31144. procedure TADC10_AD1CON3.setSAMC4; inline;
  31145. begin
  31146. pTDefRegMap(@Self)^.&set := $00001000;
  31147. end;
  31148. procedure TADC10_AD1CON3.clearSAMC4; inline;
  31149. begin
  31150. pTDefRegMap(@Self)^.clr := $00001000;
  31151. end;
  31152. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  31153. begin
  31154. if thebits = 0 then
  31155. pTDefRegMap(@Self)^.clr := $00001000
  31156. else
  31157. pTDefRegMap(@Self)^.&set := $00001000;
  31158. end;
  31159. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  31160. begin
  31161. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31162. end;
  31163. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  31164. begin
  31165. pTDefRegMap(@Self)^.val := thebits;
  31166. end;
  31167. function TADC10_AD1CON3.getw : TBits_32; inline;
  31168. begin
  31169. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31170. end;
  31171. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_5); inline;
  31172. begin
  31173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  31174. end;
  31175. function TADC10_AD1CHS.getCH0SA : TBits_5; inline;
  31176. begin
  31177. getCH0SA := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  31178. end;
  31179. procedure TADC10_AD1CHS.setCH0NA; inline;
  31180. begin
  31181. pTDefRegMap(@Self)^.&set := $00800000;
  31182. end;
  31183. procedure TADC10_AD1CHS.clearCH0NA; inline;
  31184. begin
  31185. pTDefRegMap(@Self)^.clr := $00800000;
  31186. end;
  31187. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  31188. begin
  31189. if thebits = 0 then
  31190. pTDefRegMap(@Self)^.clr := $00800000
  31191. else
  31192. pTDefRegMap(@Self)^.&set := $00800000;
  31193. end;
  31194. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  31195. begin
  31196. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31197. end;
  31198. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_5); inline;
  31199. begin
  31200. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  31201. end;
  31202. function TADC10_AD1CHS.getCH0SB : TBits_5; inline;
  31203. begin
  31204. getCH0SB := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  31205. end;
  31206. procedure TADC10_AD1CHS.setCH0NB; inline;
  31207. begin
  31208. pTDefRegMap(@Self)^.&set := $80000000;
  31209. end;
  31210. procedure TADC10_AD1CHS.clearCH0NB; inline;
  31211. begin
  31212. pTDefRegMap(@Self)^.clr := $80000000;
  31213. end;
  31214. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  31215. begin
  31216. if thebits = 0 then
  31217. pTDefRegMap(@Self)^.clr := $80000000
  31218. else
  31219. pTDefRegMap(@Self)^.&set := $80000000;
  31220. end;
  31221. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  31222. begin
  31223. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  31224. end;
  31225. procedure TADC10_AD1CHS.setCH0SA0; inline;
  31226. begin
  31227. pTDefRegMap(@Self)^.&set := $00010000;
  31228. end;
  31229. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  31230. begin
  31231. pTDefRegMap(@Self)^.clr := $00010000;
  31232. end;
  31233. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  31234. begin
  31235. if thebits = 0 then
  31236. pTDefRegMap(@Self)^.clr := $00010000
  31237. else
  31238. pTDefRegMap(@Self)^.&set := $00010000;
  31239. end;
  31240. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  31241. begin
  31242. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31243. end;
  31244. procedure TADC10_AD1CHS.setCH0SA1; inline;
  31245. begin
  31246. pTDefRegMap(@Self)^.&set := $00020000;
  31247. end;
  31248. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  31249. begin
  31250. pTDefRegMap(@Self)^.clr := $00020000;
  31251. end;
  31252. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  31253. begin
  31254. if thebits = 0 then
  31255. pTDefRegMap(@Self)^.clr := $00020000
  31256. else
  31257. pTDefRegMap(@Self)^.&set := $00020000;
  31258. end;
  31259. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  31260. begin
  31261. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31262. end;
  31263. procedure TADC10_AD1CHS.setCH0SA2; inline;
  31264. begin
  31265. pTDefRegMap(@Self)^.&set := $00040000;
  31266. end;
  31267. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  31268. begin
  31269. pTDefRegMap(@Self)^.clr := $00040000;
  31270. end;
  31271. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  31272. begin
  31273. if thebits = 0 then
  31274. pTDefRegMap(@Self)^.clr := $00040000
  31275. else
  31276. pTDefRegMap(@Self)^.&set := $00040000;
  31277. end;
  31278. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  31279. begin
  31280. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31281. end;
  31282. procedure TADC10_AD1CHS.setCH0SA3; inline;
  31283. begin
  31284. pTDefRegMap(@Self)^.&set := $00080000;
  31285. end;
  31286. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  31287. begin
  31288. pTDefRegMap(@Self)^.clr := $00080000;
  31289. end;
  31290. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  31291. begin
  31292. if thebits = 0 then
  31293. pTDefRegMap(@Self)^.clr := $00080000
  31294. else
  31295. pTDefRegMap(@Self)^.&set := $00080000;
  31296. end;
  31297. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  31298. begin
  31299. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31300. end;
  31301. procedure TADC10_AD1CHS.setCH0SA4; inline;
  31302. begin
  31303. pTDefRegMap(@Self)^.&set := $00100000;
  31304. end;
  31305. procedure TADC10_AD1CHS.clearCH0SA4; inline;
  31306. begin
  31307. pTDefRegMap(@Self)^.clr := $00100000;
  31308. end;
  31309. procedure TADC10_AD1CHS.setCH0SA4(thebits : TBits_1); inline;
  31310. begin
  31311. if thebits = 0 then
  31312. pTDefRegMap(@Self)^.clr := $00100000
  31313. else
  31314. pTDefRegMap(@Self)^.&set := $00100000;
  31315. end;
  31316. function TADC10_AD1CHS.getCH0SA4 : TBits_1; inline;
  31317. begin
  31318. getCH0SA4 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31319. end;
  31320. procedure TADC10_AD1CHS.setCH0SB0; inline;
  31321. begin
  31322. pTDefRegMap(@Self)^.&set := $01000000;
  31323. end;
  31324. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  31325. begin
  31326. pTDefRegMap(@Self)^.clr := $01000000;
  31327. end;
  31328. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  31329. begin
  31330. if thebits = 0 then
  31331. pTDefRegMap(@Self)^.clr := $01000000
  31332. else
  31333. pTDefRegMap(@Self)^.&set := $01000000;
  31334. end;
  31335. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  31336. begin
  31337. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31338. end;
  31339. procedure TADC10_AD1CHS.setCH0SB1; inline;
  31340. begin
  31341. pTDefRegMap(@Self)^.&set := $02000000;
  31342. end;
  31343. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  31344. begin
  31345. pTDefRegMap(@Self)^.clr := $02000000;
  31346. end;
  31347. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  31348. begin
  31349. if thebits = 0 then
  31350. pTDefRegMap(@Self)^.clr := $02000000
  31351. else
  31352. pTDefRegMap(@Self)^.&set := $02000000;
  31353. end;
  31354. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  31355. begin
  31356. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  31357. end;
  31358. procedure TADC10_AD1CHS.setCH0SB2; inline;
  31359. begin
  31360. pTDefRegMap(@Self)^.&set := $04000000;
  31361. end;
  31362. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  31363. begin
  31364. pTDefRegMap(@Self)^.clr := $04000000;
  31365. end;
  31366. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  31367. begin
  31368. if thebits = 0 then
  31369. pTDefRegMap(@Self)^.clr := $04000000
  31370. else
  31371. pTDefRegMap(@Self)^.&set := $04000000;
  31372. end;
  31373. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  31374. begin
  31375. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  31376. end;
  31377. procedure TADC10_AD1CHS.setCH0SB3; inline;
  31378. begin
  31379. pTDefRegMap(@Self)^.&set := $08000000;
  31380. end;
  31381. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  31382. begin
  31383. pTDefRegMap(@Self)^.clr := $08000000;
  31384. end;
  31385. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  31386. begin
  31387. if thebits = 0 then
  31388. pTDefRegMap(@Self)^.clr := $08000000
  31389. else
  31390. pTDefRegMap(@Self)^.&set := $08000000;
  31391. end;
  31392. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  31393. begin
  31394. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  31395. end;
  31396. procedure TADC10_AD1CHS.setCH0SB4; inline;
  31397. begin
  31398. pTDefRegMap(@Self)^.&set := $10000000;
  31399. end;
  31400. procedure TADC10_AD1CHS.clearCH0SB4; inline;
  31401. begin
  31402. pTDefRegMap(@Self)^.clr := $10000000;
  31403. end;
  31404. procedure TADC10_AD1CHS.setCH0SB4(thebits : TBits_1); inline;
  31405. begin
  31406. if thebits = 0 then
  31407. pTDefRegMap(@Self)^.clr := $10000000
  31408. else
  31409. pTDefRegMap(@Self)^.&set := $10000000;
  31410. end;
  31411. function TADC10_AD1CHS.getCH0SB4 : TBits_1; inline;
  31412. begin
  31413. getCH0SB4 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  31414. end;
  31415. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  31416. begin
  31417. pTDefRegMap(@Self)^.val := thebits;
  31418. end;
  31419. function TADC10_AD1CHS.getw : TBits_32; inline;
  31420. begin
  31421. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31422. end;
  31423. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_31); inline;
  31424. begin
  31425. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $80000000 or ( thebits shl 0 );
  31426. end;
  31427. function TADC10_AD1CSSL.getCSSL : TBits_31; inline;
  31428. begin
  31429. getCSSL := (pTDefRegMap(@Self)^.val and $7FFFFFFF) shr 0;
  31430. end;
  31431. procedure TADC10_AD1CSSL.setCSSL0; inline;
  31432. begin
  31433. pTDefRegMap(@Self)^.&set := $00000001;
  31434. end;
  31435. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  31436. begin
  31437. pTDefRegMap(@Self)^.clr := $00000001;
  31438. end;
  31439. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  31440. begin
  31441. if thebits = 0 then
  31442. pTDefRegMap(@Self)^.clr := $00000001
  31443. else
  31444. pTDefRegMap(@Self)^.&set := $00000001;
  31445. end;
  31446. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  31447. begin
  31448. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31449. end;
  31450. procedure TADC10_AD1CSSL.setCSSL1; inline;
  31451. begin
  31452. pTDefRegMap(@Self)^.&set := $00000002;
  31453. end;
  31454. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  31455. begin
  31456. pTDefRegMap(@Self)^.clr := $00000002;
  31457. end;
  31458. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  31459. begin
  31460. if thebits = 0 then
  31461. pTDefRegMap(@Self)^.clr := $00000002
  31462. else
  31463. pTDefRegMap(@Self)^.&set := $00000002;
  31464. end;
  31465. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  31466. begin
  31467. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31468. end;
  31469. procedure TADC10_AD1CSSL.setCSSL2; inline;
  31470. begin
  31471. pTDefRegMap(@Self)^.&set := $00000004;
  31472. end;
  31473. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  31474. begin
  31475. pTDefRegMap(@Self)^.clr := $00000004;
  31476. end;
  31477. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  31478. begin
  31479. if thebits = 0 then
  31480. pTDefRegMap(@Self)^.clr := $00000004
  31481. else
  31482. pTDefRegMap(@Self)^.&set := $00000004;
  31483. end;
  31484. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  31485. begin
  31486. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31487. end;
  31488. procedure TADC10_AD1CSSL.setCSSL3; inline;
  31489. begin
  31490. pTDefRegMap(@Self)^.&set := $00000008;
  31491. end;
  31492. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  31493. begin
  31494. pTDefRegMap(@Self)^.clr := $00000008;
  31495. end;
  31496. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  31497. begin
  31498. if thebits = 0 then
  31499. pTDefRegMap(@Self)^.clr := $00000008
  31500. else
  31501. pTDefRegMap(@Self)^.&set := $00000008;
  31502. end;
  31503. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  31504. begin
  31505. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31506. end;
  31507. procedure TADC10_AD1CSSL.setCSSL4; inline;
  31508. begin
  31509. pTDefRegMap(@Self)^.&set := $00000010;
  31510. end;
  31511. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  31512. begin
  31513. pTDefRegMap(@Self)^.clr := $00000010;
  31514. end;
  31515. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  31516. begin
  31517. if thebits = 0 then
  31518. pTDefRegMap(@Self)^.clr := $00000010
  31519. else
  31520. pTDefRegMap(@Self)^.&set := $00000010;
  31521. end;
  31522. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  31523. begin
  31524. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31525. end;
  31526. procedure TADC10_AD1CSSL.setCSSL5; inline;
  31527. begin
  31528. pTDefRegMap(@Self)^.&set := $00000020;
  31529. end;
  31530. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  31531. begin
  31532. pTDefRegMap(@Self)^.clr := $00000020;
  31533. end;
  31534. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  31535. begin
  31536. if thebits = 0 then
  31537. pTDefRegMap(@Self)^.clr := $00000020
  31538. else
  31539. pTDefRegMap(@Self)^.&set := $00000020;
  31540. end;
  31541. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  31542. begin
  31543. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31544. end;
  31545. procedure TADC10_AD1CSSL.setCSSL6; inline;
  31546. begin
  31547. pTDefRegMap(@Self)^.&set := $00000040;
  31548. end;
  31549. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  31550. begin
  31551. pTDefRegMap(@Self)^.clr := $00000040;
  31552. end;
  31553. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  31554. begin
  31555. if thebits = 0 then
  31556. pTDefRegMap(@Self)^.clr := $00000040
  31557. else
  31558. pTDefRegMap(@Self)^.&set := $00000040;
  31559. end;
  31560. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  31561. begin
  31562. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31563. end;
  31564. procedure TADC10_AD1CSSL.setCSSL7; inline;
  31565. begin
  31566. pTDefRegMap(@Self)^.&set := $00000080;
  31567. end;
  31568. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  31569. begin
  31570. pTDefRegMap(@Self)^.clr := $00000080;
  31571. end;
  31572. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  31573. begin
  31574. if thebits = 0 then
  31575. pTDefRegMap(@Self)^.clr := $00000080
  31576. else
  31577. pTDefRegMap(@Self)^.&set := $00000080;
  31578. end;
  31579. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  31580. begin
  31581. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31582. end;
  31583. procedure TADC10_AD1CSSL.setCSSL8; inline;
  31584. begin
  31585. pTDefRegMap(@Self)^.&set := $00000100;
  31586. end;
  31587. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  31588. begin
  31589. pTDefRegMap(@Self)^.clr := $00000100;
  31590. end;
  31591. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  31592. begin
  31593. if thebits = 0 then
  31594. pTDefRegMap(@Self)^.clr := $00000100
  31595. else
  31596. pTDefRegMap(@Self)^.&set := $00000100;
  31597. end;
  31598. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  31599. begin
  31600. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31601. end;
  31602. procedure TADC10_AD1CSSL.setCSSL9; inline;
  31603. begin
  31604. pTDefRegMap(@Self)^.&set := $00000200;
  31605. end;
  31606. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  31607. begin
  31608. pTDefRegMap(@Self)^.clr := $00000200;
  31609. end;
  31610. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  31611. begin
  31612. if thebits = 0 then
  31613. pTDefRegMap(@Self)^.clr := $00000200
  31614. else
  31615. pTDefRegMap(@Self)^.&set := $00000200;
  31616. end;
  31617. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  31618. begin
  31619. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31620. end;
  31621. procedure TADC10_AD1CSSL.setCSSL10; inline;
  31622. begin
  31623. pTDefRegMap(@Self)^.&set := $00000400;
  31624. end;
  31625. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  31626. begin
  31627. pTDefRegMap(@Self)^.clr := $00000400;
  31628. end;
  31629. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  31630. begin
  31631. if thebits = 0 then
  31632. pTDefRegMap(@Self)^.clr := $00000400
  31633. else
  31634. pTDefRegMap(@Self)^.&set := $00000400;
  31635. end;
  31636. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  31637. begin
  31638. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31639. end;
  31640. procedure TADC10_AD1CSSL.setCSSL11; inline;
  31641. begin
  31642. pTDefRegMap(@Self)^.&set := $00000800;
  31643. end;
  31644. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  31645. begin
  31646. pTDefRegMap(@Self)^.clr := $00000800;
  31647. end;
  31648. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  31649. begin
  31650. if thebits = 0 then
  31651. pTDefRegMap(@Self)^.clr := $00000800
  31652. else
  31653. pTDefRegMap(@Self)^.&set := $00000800;
  31654. end;
  31655. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  31656. begin
  31657. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31658. end;
  31659. procedure TADC10_AD1CSSL.setCSSL12; inline;
  31660. begin
  31661. pTDefRegMap(@Self)^.&set := $00001000;
  31662. end;
  31663. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  31664. begin
  31665. pTDefRegMap(@Self)^.clr := $00001000;
  31666. end;
  31667. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  31668. begin
  31669. if thebits = 0 then
  31670. pTDefRegMap(@Self)^.clr := $00001000
  31671. else
  31672. pTDefRegMap(@Self)^.&set := $00001000;
  31673. end;
  31674. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  31675. begin
  31676. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31677. end;
  31678. procedure TADC10_AD1CSSL.setCSSL13; inline;
  31679. begin
  31680. pTDefRegMap(@Self)^.&set := $00002000;
  31681. end;
  31682. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  31683. begin
  31684. pTDefRegMap(@Self)^.clr := $00002000;
  31685. end;
  31686. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  31687. begin
  31688. if thebits = 0 then
  31689. pTDefRegMap(@Self)^.clr := $00002000
  31690. else
  31691. pTDefRegMap(@Self)^.&set := $00002000;
  31692. end;
  31693. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  31694. begin
  31695. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31696. end;
  31697. procedure TADC10_AD1CSSL.setCSSL14; inline;
  31698. begin
  31699. pTDefRegMap(@Self)^.&set := $00004000;
  31700. end;
  31701. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  31702. begin
  31703. pTDefRegMap(@Self)^.clr := $00004000;
  31704. end;
  31705. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  31706. begin
  31707. if thebits = 0 then
  31708. pTDefRegMap(@Self)^.clr := $00004000
  31709. else
  31710. pTDefRegMap(@Self)^.&set := $00004000;
  31711. end;
  31712. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  31713. begin
  31714. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31715. end;
  31716. procedure TADC10_AD1CSSL.setCSSL15; inline;
  31717. begin
  31718. pTDefRegMap(@Self)^.&set := $00008000;
  31719. end;
  31720. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  31721. begin
  31722. pTDefRegMap(@Self)^.clr := $00008000;
  31723. end;
  31724. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  31725. begin
  31726. if thebits = 0 then
  31727. pTDefRegMap(@Self)^.clr := $00008000
  31728. else
  31729. pTDefRegMap(@Self)^.&set := $00008000;
  31730. end;
  31731. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  31732. begin
  31733. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31734. end;
  31735. procedure TADC10_AD1CSSL.setCSSL16; inline;
  31736. begin
  31737. pTDefRegMap(@Self)^.&set := $00010000;
  31738. end;
  31739. procedure TADC10_AD1CSSL.clearCSSL16; inline;
  31740. begin
  31741. pTDefRegMap(@Self)^.clr := $00010000;
  31742. end;
  31743. procedure TADC10_AD1CSSL.setCSSL16(thebits : TBits_1); inline;
  31744. begin
  31745. if thebits = 0 then
  31746. pTDefRegMap(@Self)^.clr := $00010000
  31747. else
  31748. pTDefRegMap(@Self)^.&set := $00010000;
  31749. end;
  31750. function TADC10_AD1CSSL.getCSSL16 : TBits_1; inline;
  31751. begin
  31752. getCSSL16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31753. end;
  31754. procedure TADC10_AD1CSSL.setCSSL17; inline;
  31755. begin
  31756. pTDefRegMap(@Self)^.&set := $00020000;
  31757. end;
  31758. procedure TADC10_AD1CSSL.clearCSSL17; inline;
  31759. begin
  31760. pTDefRegMap(@Self)^.clr := $00020000;
  31761. end;
  31762. procedure TADC10_AD1CSSL.setCSSL17(thebits : TBits_1); inline;
  31763. begin
  31764. if thebits = 0 then
  31765. pTDefRegMap(@Self)^.clr := $00020000
  31766. else
  31767. pTDefRegMap(@Self)^.&set := $00020000;
  31768. end;
  31769. function TADC10_AD1CSSL.getCSSL17 : TBits_1; inline;
  31770. begin
  31771. getCSSL17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31772. end;
  31773. procedure TADC10_AD1CSSL.setCSSL18; inline;
  31774. begin
  31775. pTDefRegMap(@Self)^.&set := $00040000;
  31776. end;
  31777. procedure TADC10_AD1CSSL.clearCSSL18; inline;
  31778. begin
  31779. pTDefRegMap(@Self)^.clr := $00040000;
  31780. end;
  31781. procedure TADC10_AD1CSSL.setCSSL18(thebits : TBits_1); inline;
  31782. begin
  31783. if thebits = 0 then
  31784. pTDefRegMap(@Self)^.clr := $00040000
  31785. else
  31786. pTDefRegMap(@Self)^.&set := $00040000;
  31787. end;
  31788. function TADC10_AD1CSSL.getCSSL18 : TBits_1; inline;
  31789. begin
  31790. getCSSL18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31791. end;
  31792. procedure TADC10_AD1CSSL.setCSSL19; inline;
  31793. begin
  31794. pTDefRegMap(@Self)^.&set := $00080000;
  31795. end;
  31796. procedure TADC10_AD1CSSL.clearCSSL19; inline;
  31797. begin
  31798. pTDefRegMap(@Self)^.clr := $00080000;
  31799. end;
  31800. procedure TADC10_AD1CSSL.setCSSL19(thebits : TBits_1); inline;
  31801. begin
  31802. if thebits = 0 then
  31803. pTDefRegMap(@Self)^.clr := $00080000
  31804. else
  31805. pTDefRegMap(@Self)^.&set := $00080000;
  31806. end;
  31807. function TADC10_AD1CSSL.getCSSL19 : TBits_1; inline;
  31808. begin
  31809. getCSSL19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31810. end;
  31811. procedure TADC10_AD1CSSL.setCSSL20; inline;
  31812. begin
  31813. pTDefRegMap(@Self)^.&set := $00100000;
  31814. end;
  31815. procedure TADC10_AD1CSSL.clearCSSL20; inline;
  31816. begin
  31817. pTDefRegMap(@Self)^.clr := $00100000;
  31818. end;
  31819. procedure TADC10_AD1CSSL.setCSSL20(thebits : TBits_1); inline;
  31820. begin
  31821. if thebits = 0 then
  31822. pTDefRegMap(@Self)^.clr := $00100000
  31823. else
  31824. pTDefRegMap(@Self)^.&set := $00100000;
  31825. end;
  31826. function TADC10_AD1CSSL.getCSSL20 : TBits_1; inline;
  31827. begin
  31828. getCSSL20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31829. end;
  31830. procedure TADC10_AD1CSSL.setCSSL21; inline;
  31831. begin
  31832. pTDefRegMap(@Self)^.&set := $00200000;
  31833. end;
  31834. procedure TADC10_AD1CSSL.clearCSSL21; inline;
  31835. begin
  31836. pTDefRegMap(@Self)^.clr := $00200000;
  31837. end;
  31838. procedure TADC10_AD1CSSL.setCSSL21(thebits : TBits_1); inline;
  31839. begin
  31840. if thebits = 0 then
  31841. pTDefRegMap(@Self)^.clr := $00200000
  31842. else
  31843. pTDefRegMap(@Self)^.&set := $00200000;
  31844. end;
  31845. function TADC10_AD1CSSL.getCSSL21 : TBits_1; inline;
  31846. begin
  31847. getCSSL21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31848. end;
  31849. procedure TADC10_AD1CSSL.setCSSL22; inline;
  31850. begin
  31851. pTDefRegMap(@Self)^.&set := $00400000;
  31852. end;
  31853. procedure TADC10_AD1CSSL.clearCSSL22; inline;
  31854. begin
  31855. pTDefRegMap(@Self)^.clr := $00400000;
  31856. end;
  31857. procedure TADC10_AD1CSSL.setCSSL22(thebits : TBits_1); inline;
  31858. begin
  31859. if thebits = 0 then
  31860. pTDefRegMap(@Self)^.clr := $00400000
  31861. else
  31862. pTDefRegMap(@Self)^.&set := $00400000;
  31863. end;
  31864. function TADC10_AD1CSSL.getCSSL22 : TBits_1; inline;
  31865. begin
  31866. getCSSL22 := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31867. end;
  31868. procedure TADC10_AD1CSSL.setCSSL23; inline;
  31869. begin
  31870. pTDefRegMap(@Self)^.&set := $00800000;
  31871. end;
  31872. procedure TADC10_AD1CSSL.clearCSSL23; inline;
  31873. begin
  31874. pTDefRegMap(@Self)^.clr := $00800000;
  31875. end;
  31876. procedure TADC10_AD1CSSL.setCSSL23(thebits : TBits_1); inline;
  31877. begin
  31878. if thebits = 0 then
  31879. pTDefRegMap(@Self)^.clr := $00800000
  31880. else
  31881. pTDefRegMap(@Self)^.&set := $00800000;
  31882. end;
  31883. function TADC10_AD1CSSL.getCSSL23 : TBits_1; inline;
  31884. begin
  31885. getCSSL23 := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31886. end;
  31887. procedure TADC10_AD1CSSL.setCSSL24; inline;
  31888. begin
  31889. pTDefRegMap(@Self)^.&set := $01000000;
  31890. end;
  31891. procedure TADC10_AD1CSSL.clearCSSL24; inline;
  31892. begin
  31893. pTDefRegMap(@Self)^.clr := $01000000;
  31894. end;
  31895. procedure TADC10_AD1CSSL.setCSSL24(thebits : TBits_1); inline;
  31896. begin
  31897. if thebits = 0 then
  31898. pTDefRegMap(@Self)^.clr := $01000000
  31899. else
  31900. pTDefRegMap(@Self)^.&set := $01000000;
  31901. end;
  31902. function TADC10_AD1CSSL.getCSSL24 : TBits_1; inline;
  31903. begin
  31904. getCSSL24 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31905. end;
  31906. procedure TADC10_AD1CSSL.setCSSL25; inline;
  31907. begin
  31908. pTDefRegMap(@Self)^.&set := $02000000;
  31909. end;
  31910. procedure TADC10_AD1CSSL.clearCSSL25; inline;
  31911. begin
  31912. pTDefRegMap(@Self)^.clr := $02000000;
  31913. end;
  31914. procedure TADC10_AD1CSSL.setCSSL25(thebits : TBits_1); inline;
  31915. begin
  31916. if thebits = 0 then
  31917. pTDefRegMap(@Self)^.clr := $02000000
  31918. else
  31919. pTDefRegMap(@Self)^.&set := $02000000;
  31920. end;
  31921. function TADC10_AD1CSSL.getCSSL25 : TBits_1; inline;
  31922. begin
  31923. getCSSL25 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  31924. end;
  31925. procedure TADC10_AD1CSSL.setCSSL26; inline;
  31926. begin
  31927. pTDefRegMap(@Self)^.&set := $04000000;
  31928. end;
  31929. procedure TADC10_AD1CSSL.clearCSSL26; inline;
  31930. begin
  31931. pTDefRegMap(@Self)^.clr := $04000000;
  31932. end;
  31933. procedure TADC10_AD1CSSL.setCSSL26(thebits : TBits_1); inline;
  31934. begin
  31935. if thebits = 0 then
  31936. pTDefRegMap(@Self)^.clr := $04000000
  31937. else
  31938. pTDefRegMap(@Self)^.&set := $04000000;
  31939. end;
  31940. function TADC10_AD1CSSL.getCSSL26 : TBits_1; inline;
  31941. begin
  31942. getCSSL26 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  31943. end;
  31944. procedure TADC10_AD1CSSL.setCSSL27; inline;
  31945. begin
  31946. pTDefRegMap(@Self)^.&set := $08000000;
  31947. end;
  31948. procedure TADC10_AD1CSSL.clearCSSL27; inline;
  31949. begin
  31950. pTDefRegMap(@Self)^.clr := $08000000;
  31951. end;
  31952. procedure TADC10_AD1CSSL.setCSSL27(thebits : TBits_1); inline;
  31953. begin
  31954. if thebits = 0 then
  31955. pTDefRegMap(@Self)^.clr := $08000000
  31956. else
  31957. pTDefRegMap(@Self)^.&set := $08000000;
  31958. end;
  31959. function TADC10_AD1CSSL.getCSSL27 : TBits_1; inline;
  31960. begin
  31961. getCSSL27 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  31962. end;
  31963. procedure TADC10_AD1CSSL.setCSSL28; inline;
  31964. begin
  31965. pTDefRegMap(@Self)^.&set := $10000000;
  31966. end;
  31967. procedure TADC10_AD1CSSL.clearCSSL28; inline;
  31968. begin
  31969. pTDefRegMap(@Self)^.clr := $10000000;
  31970. end;
  31971. procedure TADC10_AD1CSSL.setCSSL28(thebits : TBits_1); inline;
  31972. begin
  31973. if thebits = 0 then
  31974. pTDefRegMap(@Self)^.clr := $10000000
  31975. else
  31976. pTDefRegMap(@Self)^.&set := $10000000;
  31977. end;
  31978. function TADC10_AD1CSSL.getCSSL28 : TBits_1; inline;
  31979. begin
  31980. getCSSL28 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  31981. end;
  31982. procedure TADC10_AD1CSSL.setCSSL29; inline;
  31983. begin
  31984. pTDefRegMap(@Self)^.&set := $20000000;
  31985. end;
  31986. procedure TADC10_AD1CSSL.clearCSSL29; inline;
  31987. begin
  31988. pTDefRegMap(@Self)^.clr := $20000000;
  31989. end;
  31990. procedure TADC10_AD1CSSL.setCSSL29(thebits : TBits_1); inline;
  31991. begin
  31992. if thebits = 0 then
  31993. pTDefRegMap(@Self)^.clr := $20000000
  31994. else
  31995. pTDefRegMap(@Self)^.&set := $20000000;
  31996. end;
  31997. function TADC10_AD1CSSL.getCSSL29 : TBits_1; inline;
  31998. begin
  31999. getCSSL29 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  32000. end;
  32001. procedure TADC10_AD1CSSL.setCSSL30; inline;
  32002. begin
  32003. pTDefRegMap(@Self)^.&set := $40000000;
  32004. end;
  32005. procedure TADC10_AD1CSSL.clearCSSL30; inline;
  32006. begin
  32007. pTDefRegMap(@Self)^.clr := $40000000;
  32008. end;
  32009. procedure TADC10_AD1CSSL.setCSSL30(thebits : TBits_1); inline;
  32010. begin
  32011. if thebits = 0 then
  32012. pTDefRegMap(@Self)^.clr := $40000000
  32013. else
  32014. pTDefRegMap(@Self)^.&set := $40000000;
  32015. end;
  32016. function TADC10_AD1CSSL.getCSSL30 : TBits_1; inline;
  32017. begin
  32018. getCSSL30 := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  32019. end;
  32020. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  32021. begin
  32022. pTDefRegMap(@Self)^.val := thebits;
  32023. end;
  32024. function TADC10_AD1CSSL.getw : TBits_32; inline;
  32025. begin
  32026. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32027. end;
  32028. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  32029. begin
  32030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  32031. end;
  32032. function TCVR_CVRCON.getCVR : TBits_4; inline;
  32033. begin
  32034. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  32035. end;
  32036. procedure TCVR_CVRCON.setCVRSS; inline;
  32037. begin
  32038. pTDefRegMap(@Self)^.&set := $00000010;
  32039. end;
  32040. procedure TCVR_CVRCON.clearCVRSS; inline;
  32041. begin
  32042. pTDefRegMap(@Self)^.clr := $00000010;
  32043. end;
  32044. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  32045. begin
  32046. if thebits = 0 then
  32047. pTDefRegMap(@Self)^.clr := $00000010
  32048. else
  32049. pTDefRegMap(@Self)^.&set := $00000010;
  32050. end;
  32051. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  32052. begin
  32053. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32054. end;
  32055. procedure TCVR_CVRCON.setCVRR; inline;
  32056. begin
  32057. pTDefRegMap(@Self)^.&set := $00000020;
  32058. end;
  32059. procedure TCVR_CVRCON.clearCVRR; inline;
  32060. begin
  32061. pTDefRegMap(@Self)^.clr := $00000020;
  32062. end;
  32063. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  32064. begin
  32065. if thebits = 0 then
  32066. pTDefRegMap(@Self)^.clr := $00000020
  32067. else
  32068. pTDefRegMap(@Self)^.&set := $00000020;
  32069. end;
  32070. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  32071. begin
  32072. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32073. end;
  32074. procedure TCVR_CVRCON.setCVROE; inline;
  32075. begin
  32076. pTDefRegMap(@Self)^.&set := $00000040;
  32077. end;
  32078. procedure TCVR_CVRCON.clearCVROE; inline;
  32079. begin
  32080. pTDefRegMap(@Self)^.clr := $00000040;
  32081. end;
  32082. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  32083. begin
  32084. if thebits = 0 then
  32085. pTDefRegMap(@Self)^.clr := $00000040
  32086. else
  32087. pTDefRegMap(@Self)^.&set := $00000040;
  32088. end;
  32089. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  32090. begin
  32091. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32092. end;
  32093. procedure TCVR_CVRCON.setON; inline;
  32094. begin
  32095. pTDefRegMap(@Self)^.&set := $00008000;
  32096. end;
  32097. procedure TCVR_CVRCON.clearON; inline;
  32098. begin
  32099. pTDefRegMap(@Self)^.clr := $00008000;
  32100. end;
  32101. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  32102. begin
  32103. if thebits = 0 then
  32104. pTDefRegMap(@Self)^.clr := $00008000
  32105. else
  32106. pTDefRegMap(@Self)^.&set := $00008000;
  32107. end;
  32108. function TCVR_CVRCON.getON : TBits_1; inline;
  32109. begin
  32110. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32111. end;
  32112. procedure TCVR_CVRCON.setCVR0; inline;
  32113. begin
  32114. pTDefRegMap(@Self)^.&set := $00000001;
  32115. end;
  32116. procedure TCVR_CVRCON.clearCVR0; inline;
  32117. begin
  32118. pTDefRegMap(@Self)^.clr := $00000001;
  32119. end;
  32120. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  32121. begin
  32122. if thebits = 0 then
  32123. pTDefRegMap(@Self)^.clr := $00000001
  32124. else
  32125. pTDefRegMap(@Self)^.&set := $00000001;
  32126. end;
  32127. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  32128. begin
  32129. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32130. end;
  32131. procedure TCVR_CVRCON.setCVR1; inline;
  32132. begin
  32133. pTDefRegMap(@Self)^.&set := $00000002;
  32134. end;
  32135. procedure TCVR_CVRCON.clearCVR1; inline;
  32136. begin
  32137. pTDefRegMap(@Self)^.clr := $00000002;
  32138. end;
  32139. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  32140. begin
  32141. if thebits = 0 then
  32142. pTDefRegMap(@Self)^.clr := $00000002
  32143. else
  32144. pTDefRegMap(@Self)^.&set := $00000002;
  32145. end;
  32146. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  32147. begin
  32148. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32149. end;
  32150. procedure TCVR_CVRCON.setCVR2; inline;
  32151. begin
  32152. pTDefRegMap(@Self)^.&set := $00000004;
  32153. end;
  32154. procedure TCVR_CVRCON.clearCVR2; inline;
  32155. begin
  32156. pTDefRegMap(@Self)^.clr := $00000004;
  32157. end;
  32158. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  32159. begin
  32160. if thebits = 0 then
  32161. pTDefRegMap(@Self)^.clr := $00000004
  32162. else
  32163. pTDefRegMap(@Self)^.&set := $00000004;
  32164. end;
  32165. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  32166. begin
  32167. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32168. end;
  32169. procedure TCVR_CVRCON.setCVR3; inline;
  32170. begin
  32171. pTDefRegMap(@Self)^.&set := $00000008;
  32172. end;
  32173. procedure TCVR_CVRCON.clearCVR3; inline;
  32174. begin
  32175. pTDefRegMap(@Self)^.clr := $00000008;
  32176. end;
  32177. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  32178. begin
  32179. if thebits = 0 then
  32180. pTDefRegMap(@Self)^.clr := $00000008
  32181. else
  32182. pTDefRegMap(@Self)^.&set := $00000008;
  32183. end;
  32184. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  32185. begin
  32186. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32187. end;
  32188. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  32189. begin
  32190. pTDefRegMap(@Self)^.val := thebits;
  32191. end;
  32192. function TCVR_CVRCON.getw : TBits_32; inline;
  32193. begin
  32194. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32195. end;
  32196. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  32197. begin
  32198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32199. end;
  32200. function TCMP_CM1CON.getCCH : TBits_2; inline;
  32201. begin
  32202. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32203. end;
  32204. procedure TCMP_CM1CON.setCREF; inline;
  32205. begin
  32206. pTDefRegMap(@Self)^.&set := $00000010;
  32207. end;
  32208. procedure TCMP_CM1CON.clearCREF; inline;
  32209. begin
  32210. pTDefRegMap(@Self)^.clr := $00000010;
  32211. end;
  32212. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  32213. begin
  32214. if thebits = 0 then
  32215. pTDefRegMap(@Self)^.clr := $00000010
  32216. else
  32217. pTDefRegMap(@Self)^.&set := $00000010;
  32218. end;
  32219. function TCMP_CM1CON.getCREF : TBits_1; inline;
  32220. begin
  32221. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32222. end;
  32223. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  32224. begin
  32225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32226. end;
  32227. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  32228. begin
  32229. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32230. end;
  32231. procedure TCMP_CM1CON.setCOUT; inline;
  32232. begin
  32233. pTDefRegMap(@Self)^.&set := $00000100;
  32234. end;
  32235. procedure TCMP_CM1CON.clearCOUT; inline;
  32236. begin
  32237. pTDefRegMap(@Self)^.clr := $00000100;
  32238. end;
  32239. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  32240. begin
  32241. if thebits = 0 then
  32242. pTDefRegMap(@Self)^.clr := $00000100
  32243. else
  32244. pTDefRegMap(@Self)^.&set := $00000100;
  32245. end;
  32246. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  32247. begin
  32248. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32249. end;
  32250. procedure TCMP_CM1CON.setCPOL; inline;
  32251. begin
  32252. pTDefRegMap(@Self)^.&set := $00002000;
  32253. end;
  32254. procedure TCMP_CM1CON.clearCPOL; inline;
  32255. begin
  32256. pTDefRegMap(@Self)^.clr := $00002000;
  32257. end;
  32258. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  32259. begin
  32260. if thebits = 0 then
  32261. pTDefRegMap(@Self)^.clr := $00002000
  32262. else
  32263. pTDefRegMap(@Self)^.&set := $00002000;
  32264. end;
  32265. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  32266. begin
  32267. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32268. end;
  32269. procedure TCMP_CM1CON.setCOE; inline;
  32270. begin
  32271. pTDefRegMap(@Self)^.&set := $00004000;
  32272. end;
  32273. procedure TCMP_CM1CON.clearCOE; inline;
  32274. begin
  32275. pTDefRegMap(@Self)^.clr := $00004000;
  32276. end;
  32277. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  32278. begin
  32279. if thebits = 0 then
  32280. pTDefRegMap(@Self)^.clr := $00004000
  32281. else
  32282. pTDefRegMap(@Self)^.&set := $00004000;
  32283. end;
  32284. function TCMP_CM1CON.getCOE : TBits_1; inline;
  32285. begin
  32286. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32287. end;
  32288. procedure TCMP_CM1CON.setON; inline;
  32289. begin
  32290. pTDefRegMap(@Self)^.&set := $00008000;
  32291. end;
  32292. procedure TCMP_CM1CON.clearON; inline;
  32293. begin
  32294. pTDefRegMap(@Self)^.clr := $00008000;
  32295. end;
  32296. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  32297. begin
  32298. if thebits = 0 then
  32299. pTDefRegMap(@Self)^.clr := $00008000
  32300. else
  32301. pTDefRegMap(@Self)^.&set := $00008000;
  32302. end;
  32303. function TCMP_CM1CON.getON : TBits_1; inline;
  32304. begin
  32305. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32306. end;
  32307. procedure TCMP_CM1CON.setCCH0; inline;
  32308. begin
  32309. pTDefRegMap(@Self)^.&set := $00000001;
  32310. end;
  32311. procedure TCMP_CM1CON.clearCCH0; inline;
  32312. begin
  32313. pTDefRegMap(@Self)^.clr := $00000001;
  32314. end;
  32315. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  32316. begin
  32317. if thebits = 0 then
  32318. pTDefRegMap(@Self)^.clr := $00000001
  32319. else
  32320. pTDefRegMap(@Self)^.&set := $00000001;
  32321. end;
  32322. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  32323. begin
  32324. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32325. end;
  32326. procedure TCMP_CM1CON.setCCH1; inline;
  32327. begin
  32328. pTDefRegMap(@Self)^.&set := $00000002;
  32329. end;
  32330. procedure TCMP_CM1CON.clearCCH1; inline;
  32331. begin
  32332. pTDefRegMap(@Self)^.clr := $00000002;
  32333. end;
  32334. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  32335. begin
  32336. if thebits = 0 then
  32337. pTDefRegMap(@Self)^.clr := $00000002
  32338. else
  32339. pTDefRegMap(@Self)^.&set := $00000002;
  32340. end;
  32341. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  32342. begin
  32343. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32344. end;
  32345. procedure TCMP_CM1CON.setEVPOL0; inline;
  32346. begin
  32347. pTDefRegMap(@Self)^.&set := $00000040;
  32348. end;
  32349. procedure TCMP_CM1CON.clearEVPOL0; inline;
  32350. begin
  32351. pTDefRegMap(@Self)^.clr := $00000040;
  32352. end;
  32353. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  32354. begin
  32355. if thebits = 0 then
  32356. pTDefRegMap(@Self)^.clr := $00000040
  32357. else
  32358. pTDefRegMap(@Self)^.&set := $00000040;
  32359. end;
  32360. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  32361. begin
  32362. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32363. end;
  32364. procedure TCMP_CM1CON.setEVPOL1; inline;
  32365. begin
  32366. pTDefRegMap(@Self)^.&set := $00000080;
  32367. end;
  32368. procedure TCMP_CM1CON.clearEVPOL1; inline;
  32369. begin
  32370. pTDefRegMap(@Self)^.clr := $00000080;
  32371. end;
  32372. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  32373. begin
  32374. if thebits = 0 then
  32375. pTDefRegMap(@Self)^.clr := $00000080
  32376. else
  32377. pTDefRegMap(@Self)^.&set := $00000080;
  32378. end;
  32379. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  32380. begin
  32381. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32382. end;
  32383. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  32384. begin
  32385. pTDefRegMap(@Self)^.val := thebits;
  32386. end;
  32387. function TCMP_CM1CON.getw : TBits_32; inline;
  32388. begin
  32389. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32390. end;
  32391. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  32392. begin
  32393. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32394. end;
  32395. function TCMP_CM2CON.getCCH : TBits_2; inline;
  32396. begin
  32397. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32398. end;
  32399. procedure TCMP_CM2CON.setCREF; inline;
  32400. begin
  32401. pTDefRegMap(@Self)^.&set := $00000010;
  32402. end;
  32403. procedure TCMP_CM2CON.clearCREF; inline;
  32404. begin
  32405. pTDefRegMap(@Self)^.clr := $00000010;
  32406. end;
  32407. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  32408. begin
  32409. if thebits = 0 then
  32410. pTDefRegMap(@Self)^.clr := $00000010
  32411. else
  32412. pTDefRegMap(@Self)^.&set := $00000010;
  32413. end;
  32414. function TCMP_CM2CON.getCREF : TBits_1; inline;
  32415. begin
  32416. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32417. end;
  32418. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  32419. begin
  32420. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32421. end;
  32422. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  32423. begin
  32424. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32425. end;
  32426. procedure TCMP_CM2CON.setCOUT; inline;
  32427. begin
  32428. pTDefRegMap(@Self)^.&set := $00000100;
  32429. end;
  32430. procedure TCMP_CM2CON.clearCOUT; inline;
  32431. begin
  32432. pTDefRegMap(@Self)^.clr := $00000100;
  32433. end;
  32434. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  32435. begin
  32436. if thebits = 0 then
  32437. pTDefRegMap(@Self)^.clr := $00000100
  32438. else
  32439. pTDefRegMap(@Self)^.&set := $00000100;
  32440. end;
  32441. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  32442. begin
  32443. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32444. end;
  32445. procedure TCMP_CM2CON.setCPOL; inline;
  32446. begin
  32447. pTDefRegMap(@Self)^.&set := $00002000;
  32448. end;
  32449. procedure TCMP_CM2CON.clearCPOL; inline;
  32450. begin
  32451. pTDefRegMap(@Self)^.clr := $00002000;
  32452. end;
  32453. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  32454. begin
  32455. if thebits = 0 then
  32456. pTDefRegMap(@Self)^.clr := $00002000
  32457. else
  32458. pTDefRegMap(@Self)^.&set := $00002000;
  32459. end;
  32460. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  32461. begin
  32462. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32463. end;
  32464. procedure TCMP_CM2CON.setCOE; inline;
  32465. begin
  32466. pTDefRegMap(@Self)^.&set := $00004000;
  32467. end;
  32468. procedure TCMP_CM2CON.clearCOE; inline;
  32469. begin
  32470. pTDefRegMap(@Self)^.clr := $00004000;
  32471. end;
  32472. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  32473. begin
  32474. if thebits = 0 then
  32475. pTDefRegMap(@Self)^.clr := $00004000
  32476. else
  32477. pTDefRegMap(@Self)^.&set := $00004000;
  32478. end;
  32479. function TCMP_CM2CON.getCOE : TBits_1; inline;
  32480. begin
  32481. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32482. end;
  32483. procedure TCMP_CM2CON.setON; inline;
  32484. begin
  32485. pTDefRegMap(@Self)^.&set := $00008000;
  32486. end;
  32487. procedure TCMP_CM2CON.clearON; inline;
  32488. begin
  32489. pTDefRegMap(@Self)^.clr := $00008000;
  32490. end;
  32491. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  32492. begin
  32493. if thebits = 0 then
  32494. pTDefRegMap(@Self)^.clr := $00008000
  32495. else
  32496. pTDefRegMap(@Self)^.&set := $00008000;
  32497. end;
  32498. function TCMP_CM2CON.getON : TBits_1; inline;
  32499. begin
  32500. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32501. end;
  32502. procedure TCMP_CM2CON.setCCH0; inline;
  32503. begin
  32504. pTDefRegMap(@Self)^.&set := $00000001;
  32505. end;
  32506. procedure TCMP_CM2CON.clearCCH0; inline;
  32507. begin
  32508. pTDefRegMap(@Self)^.clr := $00000001;
  32509. end;
  32510. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  32511. begin
  32512. if thebits = 0 then
  32513. pTDefRegMap(@Self)^.clr := $00000001
  32514. else
  32515. pTDefRegMap(@Self)^.&set := $00000001;
  32516. end;
  32517. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  32518. begin
  32519. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32520. end;
  32521. procedure TCMP_CM2CON.setCCH1; inline;
  32522. begin
  32523. pTDefRegMap(@Self)^.&set := $00000002;
  32524. end;
  32525. procedure TCMP_CM2CON.clearCCH1; inline;
  32526. begin
  32527. pTDefRegMap(@Self)^.clr := $00000002;
  32528. end;
  32529. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  32530. begin
  32531. if thebits = 0 then
  32532. pTDefRegMap(@Self)^.clr := $00000002
  32533. else
  32534. pTDefRegMap(@Self)^.&set := $00000002;
  32535. end;
  32536. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  32537. begin
  32538. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32539. end;
  32540. procedure TCMP_CM2CON.setEVPOL0; inline;
  32541. begin
  32542. pTDefRegMap(@Self)^.&set := $00000040;
  32543. end;
  32544. procedure TCMP_CM2CON.clearEVPOL0; inline;
  32545. begin
  32546. pTDefRegMap(@Self)^.clr := $00000040;
  32547. end;
  32548. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  32549. begin
  32550. if thebits = 0 then
  32551. pTDefRegMap(@Self)^.clr := $00000040
  32552. else
  32553. pTDefRegMap(@Self)^.&set := $00000040;
  32554. end;
  32555. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  32556. begin
  32557. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32558. end;
  32559. procedure TCMP_CM2CON.setEVPOL1; inline;
  32560. begin
  32561. pTDefRegMap(@Self)^.&set := $00000080;
  32562. end;
  32563. procedure TCMP_CM2CON.clearEVPOL1; inline;
  32564. begin
  32565. pTDefRegMap(@Self)^.clr := $00000080;
  32566. end;
  32567. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  32568. begin
  32569. if thebits = 0 then
  32570. pTDefRegMap(@Self)^.clr := $00000080
  32571. else
  32572. pTDefRegMap(@Self)^.&set := $00000080;
  32573. end;
  32574. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  32575. begin
  32576. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32577. end;
  32578. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  32579. begin
  32580. pTDefRegMap(@Self)^.val := thebits;
  32581. end;
  32582. function TCMP_CM2CON.getw : TBits_32; inline;
  32583. begin
  32584. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32585. end;
  32586. procedure TCMP_CMSTAT.setC1OUT; inline;
  32587. begin
  32588. pTDefRegMap(@Self)^.&set := $00000001;
  32589. end;
  32590. procedure TCMP_CMSTAT.clearC1OUT; inline;
  32591. begin
  32592. pTDefRegMap(@Self)^.clr := $00000001;
  32593. end;
  32594. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  32595. begin
  32596. if thebits = 0 then
  32597. pTDefRegMap(@Self)^.clr := $00000001
  32598. else
  32599. pTDefRegMap(@Self)^.&set := $00000001;
  32600. end;
  32601. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  32602. begin
  32603. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32604. end;
  32605. procedure TCMP_CMSTAT.setC2OUT; inline;
  32606. begin
  32607. pTDefRegMap(@Self)^.&set := $00000002;
  32608. end;
  32609. procedure TCMP_CMSTAT.clearC2OUT; inline;
  32610. begin
  32611. pTDefRegMap(@Self)^.clr := $00000002;
  32612. end;
  32613. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  32614. begin
  32615. if thebits = 0 then
  32616. pTDefRegMap(@Self)^.clr := $00000002
  32617. else
  32618. pTDefRegMap(@Self)^.&set := $00000002;
  32619. end;
  32620. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  32621. begin
  32622. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32623. end;
  32624. procedure TCMP_CMSTAT.setSIDL; inline;
  32625. begin
  32626. pTDefRegMap(@Self)^.&set := $00002000;
  32627. end;
  32628. procedure TCMP_CMSTAT.clearSIDL; inline;
  32629. begin
  32630. pTDefRegMap(@Self)^.clr := $00002000;
  32631. end;
  32632. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  32633. begin
  32634. if thebits = 0 then
  32635. pTDefRegMap(@Self)^.clr := $00002000
  32636. else
  32637. pTDefRegMap(@Self)^.&set := $00002000;
  32638. end;
  32639. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  32640. begin
  32641. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32642. end;
  32643. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  32644. begin
  32645. pTDefRegMap(@Self)^.val := thebits;
  32646. end;
  32647. function TCMP_CMSTAT.getw : TBits_32; inline;
  32648. begin
  32649. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32650. end;
  32651. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  32652. begin
  32653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32654. end;
  32655. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  32656. begin
  32657. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32658. end;
  32659. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  32660. begin
  32661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  32662. end;
  32663. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  32664. begin
  32665. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  32666. end;
  32667. procedure TCMP_CTMUCON.setCTTRIG; inline;
  32668. begin
  32669. pTDefRegMap(@Self)^.&set := $00000100;
  32670. end;
  32671. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  32672. begin
  32673. pTDefRegMap(@Self)^.clr := $00000100;
  32674. end;
  32675. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  32676. begin
  32677. if thebits = 0 then
  32678. pTDefRegMap(@Self)^.clr := $00000100
  32679. else
  32680. pTDefRegMap(@Self)^.&set := $00000100;
  32681. end;
  32682. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  32683. begin
  32684. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32685. end;
  32686. procedure TCMP_CTMUCON.setIDISSEN; inline;
  32687. begin
  32688. pTDefRegMap(@Self)^.&set := $00000200;
  32689. end;
  32690. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  32691. begin
  32692. pTDefRegMap(@Self)^.clr := $00000200;
  32693. end;
  32694. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  32695. begin
  32696. if thebits = 0 then
  32697. pTDefRegMap(@Self)^.clr := $00000200
  32698. else
  32699. pTDefRegMap(@Self)^.&set := $00000200;
  32700. end;
  32701. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  32702. begin
  32703. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32704. end;
  32705. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  32706. begin
  32707. pTDefRegMap(@Self)^.&set := $00000400;
  32708. end;
  32709. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  32710. begin
  32711. pTDefRegMap(@Self)^.clr := $00000400;
  32712. end;
  32713. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  32714. begin
  32715. if thebits = 0 then
  32716. pTDefRegMap(@Self)^.clr := $00000400
  32717. else
  32718. pTDefRegMap(@Self)^.&set := $00000400;
  32719. end;
  32720. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  32721. begin
  32722. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32723. end;
  32724. procedure TCMP_CTMUCON.setEDGEN; inline;
  32725. begin
  32726. pTDefRegMap(@Self)^.&set := $00000800;
  32727. end;
  32728. procedure TCMP_CTMUCON.clearEDGEN; inline;
  32729. begin
  32730. pTDefRegMap(@Self)^.clr := $00000800;
  32731. end;
  32732. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  32733. begin
  32734. if thebits = 0 then
  32735. pTDefRegMap(@Self)^.clr := $00000800
  32736. else
  32737. pTDefRegMap(@Self)^.&set := $00000800;
  32738. end;
  32739. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  32740. begin
  32741. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32742. end;
  32743. procedure TCMP_CTMUCON.setTGEN; inline;
  32744. begin
  32745. pTDefRegMap(@Self)^.&set := $00001000;
  32746. end;
  32747. procedure TCMP_CTMUCON.clearTGEN; inline;
  32748. begin
  32749. pTDefRegMap(@Self)^.clr := $00001000;
  32750. end;
  32751. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  32752. begin
  32753. if thebits = 0 then
  32754. pTDefRegMap(@Self)^.clr := $00001000
  32755. else
  32756. pTDefRegMap(@Self)^.&set := $00001000;
  32757. end;
  32758. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  32759. begin
  32760. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32761. end;
  32762. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  32763. begin
  32764. pTDefRegMap(@Self)^.&set := $00002000;
  32765. end;
  32766. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  32767. begin
  32768. pTDefRegMap(@Self)^.clr := $00002000;
  32769. end;
  32770. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  32771. begin
  32772. if thebits = 0 then
  32773. pTDefRegMap(@Self)^.clr := $00002000
  32774. else
  32775. pTDefRegMap(@Self)^.&set := $00002000;
  32776. end;
  32777. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  32778. begin
  32779. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32780. end;
  32781. procedure TCMP_CTMUCON.setON; inline;
  32782. begin
  32783. pTDefRegMap(@Self)^.&set := $00008000;
  32784. end;
  32785. procedure TCMP_CTMUCON.clearON; inline;
  32786. begin
  32787. pTDefRegMap(@Self)^.clr := $00008000;
  32788. end;
  32789. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  32790. begin
  32791. if thebits = 0 then
  32792. pTDefRegMap(@Self)^.clr := $00008000
  32793. else
  32794. pTDefRegMap(@Self)^.&set := $00008000;
  32795. end;
  32796. function TCMP_CTMUCON.getON : TBits_1; inline;
  32797. begin
  32798. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32799. end;
  32800. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  32801. begin
  32802. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  32803. end;
  32804. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  32805. begin
  32806. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  32807. end;
  32808. procedure TCMP_CTMUCON.setEDG2POL; inline;
  32809. begin
  32810. pTDefRegMap(@Self)^.&set := $00400000;
  32811. end;
  32812. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  32813. begin
  32814. pTDefRegMap(@Self)^.clr := $00400000;
  32815. end;
  32816. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  32817. begin
  32818. if thebits = 0 then
  32819. pTDefRegMap(@Self)^.clr := $00400000
  32820. else
  32821. pTDefRegMap(@Self)^.&set := $00400000;
  32822. end;
  32823. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  32824. begin
  32825. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32826. end;
  32827. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  32828. begin
  32829. pTDefRegMap(@Self)^.&set := $00800000;
  32830. end;
  32831. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  32832. begin
  32833. pTDefRegMap(@Self)^.clr := $00800000;
  32834. end;
  32835. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  32836. begin
  32837. if thebits = 0 then
  32838. pTDefRegMap(@Self)^.clr := $00800000
  32839. else
  32840. pTDefRegMap(@Self)^.&set := $00800000;
  32841. end;
  32842. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  32843. begin
  32844. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32845. end;
  32846. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  32847. begin
  32848. pTDefRegMap(@Self)^.&set := $01000000;
  32849. end;
  32850. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  32851. begin
  32852. pTDefRegMap(@Self)^.clr := $01000000;
  32853. end;
  32854. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  32855. begin
  32856. if thebits = 0 then
  32857. pTDefRegMap(@Self)^.clr := $01000000
  32858. else
  32859. pTDefRegMap(@Self)^.&set := $01000000;
  32860. end;
  32861. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  32862. begin
  32863. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32864. end;
  32865. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  32866. begin
  32867. pTDefRegMap(@Self)^.&set := $02000000;
  32868. end;
  32869. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  32870. begin
  32871. pTDefRegMap(@Self)^.clr := $02000000;
  32872. end;
  32873. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  32874. begin
  32875. if thebits = 0 then
  32876. pTDefRegMap(@Self)^.clr := $02000000
  32877. else
  32878. pTDefRegMap(@Self)^.&set := $02000000;
  32879. end;
  32880. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  32881. begin
  32882. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  32883. end;
  32884. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  32885. begin
  32886. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  32887. end;
  32888. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  32889. begin
  32890. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  32891. end;
  32892. procedure TCMP_CTMUCON.setEDG1POL; inline;
  32893. begin
  32894. pTDefRegMap(@Self)^.&set := $40000000;
  32895. end;
  32896. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  32897. begin
  32898. pTDefRegMap(@Self)^.clr := $40000000;
  32899. end;
  32900. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  32901. begin
  32902. if thebits = 0 then
  32903. pTDefRegMap(@Self)^.clr := $40000000
  32904. else
  32905. pTDefRegMap(@Self)^.&set := $40000000;
  32906. end;
  32907. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  32908. begin
  32909. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  32910. end;
  32911. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  32912. begin
  32913. pTDefRegMap(@Self)^.&set := $80000000;
  32914. end;
  32915. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  32916. begin
  32917. pTDefRegMap(@Self)^.clr := $80000000;
  32918. end;
  32919. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  32920. begin
  32921. if thebits = 0 then
  32922. pTDefRegMap(@Self)^.clr := $80000000
  32923. else
  32924. pTDefRegMap(@Self)^.&set := $80000000;
  32925. end;
  32926. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  32927. begin
  32928. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  32929. end;
  32930. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  32931. begin
  32932. pTDefRegMap(@Self)^.val := thebits;
  32933. end;
  32934. function TCMP_CTMUCON.getw : TBits_32; inline;
  32935. begin
  32936. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32937. end;
  32938. procedure TOSC_OSCCON.setOSWEN; inline;
  32939. begin
  32940. pTDefRegMap(@Self)^.&set := $00000001;
  32941. end;
  32942. procedure TOSC_OSCCON.clearOSWEN; inline;
  32943. begin
  32944. pTDefRegMap(@Self)^.clr := $00000001;
  32945. end;
  32946. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  32947. begin
  32948. if thebits = 0 then
  32949. pTDefRegMap(@Self)^.clr := $00000001
  32950. else
  32951. pTDefRegMap(@Self)^.&set := $00000001;
  32952. end;
  32953. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  32954. begin
  32955. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32956. end;
  32957. procedure TOSC_OSCCON.setSOSCEN; inline;
  32958. begin
  32959. pTDefRegMap(@Self)^.&set := $00000002;
  32960. end;
  32961. procedure TOSC_OSCCON.clearSOSCEN; inline;
  32962. begin
  32963. pTDefRegMap(@Self)^.clr := $00000002;
  32964. end;
  32965. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  32966. begin
  32967. if thebits = 0 then
  32968. pTDefRegMap(@Self)^.clr := $00000002
  32969. else
  32970. pTDefRegMap(@Self)^.&set := $00000002;
  32971. end;
  32972. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  32973. begin
  32974. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32975. end;
  32976. procedure TOSC_OSCCON.setUFRCEN; inline;
  32977. begin
  32978. pTDefRegMap(@Self)^.&set := $00000004;
  32979. end;
  32980. procedure TOSC_OSCCON.clearUFRCEN; inline;
  32981. begin
  32982. pTDefRegMap(@Self)^.clr := $00000004;
  32983. end;
  32984. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  32985. begin
  32986. if thebits = 0 then
  32987. pTDefRegMap(@Self)^.clr := $00000004
  32988. else
  32989. pTDefRegMap(@Self)^.&set := $00000004;
  32990. end;
  32991. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  32992. begin
  32993. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32994. end;
  32995. procedure TOSC_OSCCON.setCF; inline;
  32996. begin
  32997. pTDefRegMap(@Self)^.&set := $00000008;
  32998. end;
  32999. procedure TOSC_OSCCON.clearCF; inline;
  33000. begin
  33001. pTDefRegMap(@Self)^.clr := $00000008;
  33002. end;
  33003. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  33004. begin
  33005. if thebits = 0 then
  33006. pTDefRegMap(@Self)^.clr := $00000008
  33007. else
  33008. pTDefRegMap(@Self)^.&set := $00000008;
  33009. end;
  33010. function TOSC_OSCCON.getCF : TBits_1; inline;
  33011. begin
  33012. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33013. end;
  33014. procedure TOSC_OSCCON.setSLPEN; inline;
  33015. begin
  33016. pTDefRegMap(@Self)^.&set := $00000010;
  33017. end;
  33018. procedure TOSC_OSCCON.clearSLPEN; inline;
  33019. begin
  33020. pTDefRegMap(@Self)^.clr := $00000010;
  33021. end;
  33022. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  33023. begin
  33024. if thebits = 0 then
  33025. pTDefRegMap(@Self)^.clr := $00000010
  33026. else
  33027. pTDefRegMap(@Self)^.&set := $00000010;
  33028. end;
  33029. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  33030. begin
  33031. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33032. end;
  33033. procedure TOSC_OSCCON.setSLOCK; inline;
  33034. begin
  33035. pTDefRegMap(@Self)^.&set := $00000020;
  33036. end;
  33037. procedure TOSC_OSCCON.clearSLOCK; inline;
  33038. begin
  33039. pTDefRegMap(@Self)^.clr := $00000020;
  33040. end;
  33041. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  33042. begin
  33043. if thebits = 0 then
  33044. pTDefRegMap(@Self)^.clr := $00000020
  33045. else
  33046. pTDefRegMap(@Self)^.&set := $00000020;
  33047. end;
  33048. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  33049. begin
  33050. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33051. end;
  33052. procedure TOSC_OSCCON.setULOCK; inline;
  33053. begin
  33054. pTDefRegMap(@Self)^.&set := $00000040;
  33055. end;
  33056. procedure TOSC_OSCCON.clearULOCK; inline;
  33057. begin
  33058. pTDefRegMap(@Self)^.clr := $00000040;
  33059. end;
  33060. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  33061. begin
  33062. if thebits = 0 then
  33063. pTDefRegMap(@Self)^.clr := $00000040
  33064. else
  33065. pTDefRegMap(@Self)^.&set := $00000040;
  33066. end;
  33067. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  33068. begin
  33069. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33070. end;
  33071. procedure TOSC_OSCCON.setCLKLOCK; inline;
  33072. begin
  33073. pTDefRegMap(@Self)^.&set := $00000080;
  33074. end;
  33075. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  33076. begin
  33077. pTDefRegMap(@Self)^.clr := $00000080;
  33078. end;
  33079. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  33080. begin
  33081. if thebits = 0 then
  33082. pTDefRegMap(@Self)^.clr := $00000080
  33083. else
  33084. pTDefRegMap(@Self)^.&set := $00000080;
  33085. end;
  33086. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  33087. begin
  33088. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33089. end;
  33090. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  33091. begin
  33092. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  33093. end;
  33094. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  33095. begin
  33096. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  33097. end;
  33098. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  33099. begin
  33100. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  33101. end;
  33102. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  33103. begin
  33104. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  33105. end;
  33106. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  33107. begin
  33108. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  33109. end;
  33110. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  33111. begin
  33112. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  33113. end;
  33114. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  33115. begin
  33116. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  33117. end;
  33118. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  33119. begin
  33120. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  33121. end;
  33122. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  33123. begin
  33124. pTDefRegMap(@Self)^.&set := $00200000;
  33125. end;
  33126. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  33127. begin
  33128. pTDefRegMap(@Self)^.clr := $00200000;
  33129. end;
  33130. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  33131. begin
  33132. if thebits = 0 then
  33133. pTDefRegMap(@Self)^.clr := $00200000
  33134. else
  33135. pTDefRegMap(@Self)^.&set := $00200000;
  33136. end;
  33137. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  33138. begin
  33139. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  33140. end;
  33141. procedure TOSC_OSCCON.setSOSCRDY; inline;
  33142. begin
  33143. pTDefRegMap(@Self)^.&set := $00400000;
  33144. end;
  33145. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  33146. begin
  33147. pTDefRegMap(@Self)^.clr := $00400000;
  33148. end;
  33149. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  33150. begin
  33151. if thebits = 0 then
  33152. pTDefRegMap(@Self)^.clr := $00400000
  33153. else
  33154. pTDefRegMap(@Self)^.&set := $00400000;
  33155. end;
  33156. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  33157. begin
  33158. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  33159. end;
  33160. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  33161. begin
  33162. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  33163. end;
  33164. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  33165. begin
  33166. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  33167. end;
  33168. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  33169. begin
  33170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  33171. end;
  33172. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  33173. begin
  33174. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  33175. end;
  33176. procedure TOSC_OSCCON.setNOSC0; inline;
  33177. begin
  33178. pTDefRegMap(@Self)^.&set := $00000100;
  33179. end;
  33180. procedure TOSC_OSCCON.clearNOSC0; inline;
  33181. begin
  33182. pTDefRegMap(@Self)^.clr := $00000100;
  33183. end;
  33184. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  33185. begin
  33186. if thebits = 0 then
  33187. pTDefRegMap(@Self)^.clr := $00000100
  33188. else
  33189. pTDefRegMap(@Self)^.&set := $00000100;
  33190. end;
  33191. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  33192. begin
  33193. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33194. end;
  33195. procedure TOSC_OSCCON.setNOSC1; inline;
  33196. begin
  33197. pTDefRegMap(@Self)^.&set := $00000200;
  33198. end;
  33199. procedure TOSC_OSCCON.clearNOSC1; inline;
  33200. begin
  33201. pTDefRegMap(@Self)^.clr := $00000200;
  33202. end;
  33203. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  33204. begin
  33205. if thebits = 0 then
  33206. pTDefRegMap(@Self)^.clr := $00000200
  33207. else
  33208. pTDefRegMap(@Self)^.&set := $00000200;
  33209. end;
  33210. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  33211. begin
  33212. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33213. end;
  33214. procedure TOSC_OSCCON.setNOSC2; inline;
  33215. begin
  33216. pTDefRegMap(@Self)^.&set := $00000400;
  33217. end;
  33218. procedure TOSC_OSCCON.clearNOSC2; inline;
  33219. begin
  33220. pTDefRegMap(@Self)^.clr := $00000400;
  33221. end;
  33222. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  33223. begin
  33224. if thebits = 0 then
  33225. pTDefRegMap(@Self)^.clr := $00000400
  33226. else
  33227. pTDefRegMap(@Self)^.&set := $00000400;
  33228. end;
  33229. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  33230. begin
  33231. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33232. end;
  33233. procedure TOSC_OSCCON.setCOSC0; inline;
  33234. begin
  33235. pTDefRegMap(@Self)^.&set := $00001000;
  33236. end;
  33237. procedure TOSC_OSCCON.clearCOSC0; inline;
  33238. begin
  33239. pTDefRegMap(@Self)^.clr := $00001000;
  33240. end;
  33241. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  33242. begin
  33243. if thebits = 0 then
  33244. pTDefRegMap(@Self)^.clr := $00001000
  33245. else
  33246. pTDefRegMap(@Self)^.&set := $00001000;
  33247. end;
  33248. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  33249. begin
  33250. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33251. end;
  33252. procedure TOSC_OSCCON.setCOSC1; inline;
  33253. begin
  33254. pTDefRegMap(@Self)^.&set := $00002000;
  33255. end;
  33256. procedure TOSC_OSCCON.clearCOSC1; inline;
  33257. begin
  33258. pTDefRegMap(@Self)^.clr := $00002000;
  33259. end;
  33260. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  33261. begin
  33262. if thebits = 0 then
  33263. pTDefRegMap(@Self)^.clr := $00002000
  33264. else
  33265. pTDefRegMap(@Self)^.&set := $00002000;
  33266. end;
  33267. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  33268. begin
  33269. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33270. end;
  33271. procedure TOSC_OSCCON.setCOSC2; inline;
  33272. begin
  33273. pTDefRegMap(@Self)^.&set := $00004000;
  33274. end;
  33275. procedure TOSC_OSCCON.clearCOSC2; inline;
  33276. begin
  33277. pTDefRegMap(@Self)^.clr := $00004000;
  33278. end;
  33279. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  33280. begin
  33281. if thebits = 0 then
  33282. pTDefRegMap(@Self)^.clr := $00004000
  33283. else
  33284. pTDefRegMap(@Self)^.&set := $00004000;
  33285. end;
  33286. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  33287. begin
  33288. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33289. end;
  33290. procedure TOSC_OSCCON.setPLLMULT0; inline;
  33291. begin
  33292. pTDefRegMap(@Self)^.&set := $00010000;
  33293. end;
  33294. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  33295. begin
  33296. pTDefRegMap(@Self)^.clr := $00010000;
  33297. end;
  33298. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  33299. begin
  33300. if thebits = 0 then
  33301. pTDefRegMap(@Self)^.clr := $00010000
  33302. else
  33303. pTDefRegMap(@Self)^.&set := $00010000;
  33304. end;
  33305. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  33306. begin
  33307. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  33308. end;
  33309. procedure TOSC_OSCCON.setPLLMULT1; inline;
  33310. begin
  33311. pTDefRegMap(@Self)^.&set := $00020000;
  33312. end;
  33313. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  33314. begin
  33315. pTDefRegMap(@Self)^.clr := $00020000;
  33316. end;
  33317. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  33318. begin
  33319. if thebits = 0 then
  33320. pTDefRegMap(@Self)^.clr := $00020000
  33321. else
  33322. pTDefRegMap(@Self)^.&set := $00020000;
  33323. end;
  33324. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  33325. begin
  33326. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  33327. end;
  33328. procedure TOSC_OSCCON.setPLLMULT2; inline;
  33329. begin
  33330. pTDefRegMap(@Self)^.&set := $00040000;
  33331. end;
  33332. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  33333. begin
  33334. pTDefRegMap(@Self)^.clr := $00040000;
  33335. end;
  33336. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  33337. begin
  33338. if thebits = 0 then
  33339. pTDefRegMap(@Self)^.clr := $00040000
  33340. else
  33341. pTDefRegMap(@Self)^.&set := $00040000;
  33342. end;
  33343. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  33344. begin
  33345. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  33346. end;
  33347. procedure TOSC_OSCCON.setPBDIV0; inline;
  33348. begin
  33349. pTDefRegMap(@Self)^.&set := $00080000;
  33350. end;
  33351. procedure TOSC_OSCCON.clearPBDIV0; inline;
  33352. begin
  33353. pTDefRegMap(@Self)^.clr := $00080000;
  33354. end;
  33355. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  33356. begin
  33357. if thebits = 0 then
  33358. pTDefRegMap(@Self)^.clr := $00080000
  33359. else
  33360. pTDefRegMap(@Self)^.&set := $00080000;
  33361. end;
  33362. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  33363. begin
  33364. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  33365. end;
  33366. procedure TOSC_OSCCON.setPBDIV1; inline;
  33367. begin
  33368. pTDefRegMap(@Self)^.&set := $00100000;
  33369. end;
  33370. procedure TOSC_OSCCON.clearPBDIV1; inline;
  33371. begin
  33372. pTDefRegMap(@Self)^.clr := $00100000;
  33373. end;
  33374. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  33375. begin
  33376. if thebits = 0 then
  33377. pTDefRegMap(@Self)^.clr := $00100000
  33378. else
  33379. pTDefRegMap(@Self)^.&set := $00100000;
  33380. end;
  33381. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  33382. begin
  33383. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  33384. end;
  33385. procedure TOSC_OSCCON.setFRCDIV0; inline;
  33386. begin
  33387. pTDefRegMap(@Self)^.&set := $01000000;
  33388. end;
  33389. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  33390. begin
  33391. pTDefRegMap(@Self)^.clr := $01000000;
  33392. end;
  33393. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  33394. begin
  33395. if thebits = 0 then
  33396. pTDefRegMap(@Self)^.clr := $01000000
  33397. else
  33398. pTDefRegMap(@Self)^.&set := $01000000;
  33399. end;
  33400. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  33401. begin
  33402. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33403. end;
  33404. procedure TOSC_OSCCON.setFRCDIV1; inline;
  33405. begin
  33406. pTDefRegMap(@Self)^.&set := $02000000;
  33407. end;
  33408. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  33409. begin
  33410. pTDefRegMap(@Self)^.clr := $02000000;
  33411. end;
  33412. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  33413. begin
  33414. if thebits = 0 then
  33415. pTDefRegMap(@Self)^.clr := $02000000
  33416. else
  33417. pTDefRegMap(@Self)^.&set := $02000000;
  33418. end;
  33419. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  33420. begin
  33421. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  33422. end;
  33423. procedure TOSC_OSCCON.setFRCDIV2; inline;
  33424. begin
  33425. pTDefRegMap(@Self)^.&set := $04000000;
  33426. end;
  33427. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  33428. begin
  33429. pTDefRegMap(@Self)^.clr := $04000000;
  33430. end;
  33431. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  33432. begin
  33433. if thebits = 0 then
  33434. pTDefRegMap(@Self)^.clr := $04000000
  33435. else
  33436. pTDefRegMap(@Self)^.&set := $04000000;
  33437. end;
  33438. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  33439. begin
  33440. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  33441. end;
  33442. procedure TOSC_OSCCON.setPLLODIV0; inline;
  33443. begin
  33444. pTDefRegMap(@Self)^.&set := $08000000;
  33445. end;
  33446. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  33447. begin
  33448. pTDefRegMap(@Self)^.clr := $08000000;
  33449. end;
  33450. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  33451. begin
  33452. if thebits = 0 then
  33453. pTDefRegMap(@Self)^.clr := $08000000
  33454. else
  33455. pTDefRegMap(@Self)^.&set := $08000000;
  33456. end;
  33457. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  33458. begin
  33459. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  33460. end;
  33461. procedure TOSC_OSCCON.setPLLODIV1; inline;
  33462. begin
  33463. pTDefRegMap(@Self)^.&set := $10000000;
  33464. end;
  33465. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  33466. begin
  33467. pTDefRegMap(@Self)^.clr := $10000000;
  33468. end;
  33469. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  33470. begin
  33471. if thebits = 0 then
  33472. pTDefRegMap(@Self)^.clr := $10000000
  33473. else
  33474. pTDefRegMap(@Self)^.&set := $10000000;
  33475. end;
  33476. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  33477. begin
  33478. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  33479. end;
  33480. procedure TOSC_OSCCON.setPLLODIV2; inline;
  33481. begin
  33482. pTDefRegMap(@Self)^.&set := $20000000;
  33483. end;
  33484. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  33485. begin
  33486. pTDefRegMap(@Self)^.clr := $20000000;
  33487. end;
  33488. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  33489. begin
  33490. if thebits = 0 then
  33491. pTDefRegMap(@Self)^.clr := $20000000
  33492. else
  33493. pTDefRegMap(@Self)^.&set := $20000000;
  33494. end;
  33495. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  33496. begin
  33497. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  33498. end;
  33499. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  33500. begin
  33501. pTDefRegMap(@Self)^.val := thebits;
  33502. end;
  33503. function TOSC_OSCCON.getw : TBits_32; inline;
  33504. begin
  33505. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33506. end;
  33507. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  33508. begin
  33509. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  33510. end;
  33511. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  33512. begin
  33513. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  33514. end;
  33515. procedure TOSC_OSCTUN.setTUN0; inline;
  33516. begin
  33517. pTDefRegMap(@Self)^.&set := $00000001;
  33518. end;
  33519. procedure TOSC_OSCTUN.clearTUN0; inline;
  33520. begin
  33521. pTDefRegMap(@Self)^.clr := $00000001;
  33522. end;
  33523. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  33524. begin
  33525. if thebits = 0 then
  33526. pTDefRegMap(@Self)^.clr := $00000001
  33527. else
  33528. pTDefRegMap(@Self)^.&set := $00000001;
  33529. end;
  33530. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  33531. begin
  33532. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33533. end;
  33534. procedure TOSC_OSCTUN.setTUN1; inline;
  33535. begin
  33536. pTDefRegMap(@Self)^.&set := $00000002;
  33537. end;
  33538. procedure TOSC_OSCTUN.clearTUN1; inline;
  33539. begin
  33540. pTDefRegMap(@Self)^.clr := $00000002;
  33541. end;
  33542. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  33543. begin
  33544. if thebits = 0 then
  33545. pTDefRegMap(@Self)^.clr := $00000002
  33546. else
  33547. pTDefRegMap(@Self)^.&set := $00000002;
  33548. end;
  33549. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  33550. begin
  33551. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33552. end;
  33553. procedure TOSC_OSCTUN.setTUN2; inline;
  33554. begin
  33555. pTDefRegMap(@Self)^.&set := $00000004;
  33556. end;
  33557. procedure TOSC_OSCTUN.clearTUN2; inline;
  33558. begin
  33559. pTDefRegMap(@Self)^.clr := $00000004;
  33560. end;
  33561. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  33562. begin
  33563. if thebits = 0 then
  33564. pTDefRegMap(@Self)^.clr := $00000004
  33565. else
  33566. pTDefRegMap(@Self)^.&set := $00000004;
  33567. end;
  33568. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  33569. begin
  33570. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33571. end;
  33572. procedure TOSC_OSCTUN.setTUN3; inline;
  33573. begin
  33574. pTDefRegMap(@Self)^.&set := $00000008;
  33575. end;
  33576. procedure TOSC_OSCTUN.clearTUN3; inline;
  33577. begin
  33578. pTDefRegMap(@Self)^.clr := $00000008;
  33579. end;
  33580. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  33581. begin
  33582. if thebits = 0 then
  33583. pTDefRegMap(@Self)^.clr := $00000008
  33584. else
  33585. pTDefRegMap(@Self)^.&set := $00000008;
  33586. end;
  33587. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  33588. begin
  33589. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33590. end;
  33591. procedure TOSC_OSCTUN.setTUN4; inline;
  33592. begin
  33593. pTDefRegMap(@Self)^.&set := $00000010;
  33594. end;
  33595. procedure TOSC_OSCTUN.clearTUN4; inline;
  33596. begin
  33597. pTDefRegMap(@Self)^.clr := $00000010;
  33598. end;
  33599. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  33600. begin
  33601. if thebits = 0 then
  33602. pTDefRegMap(@Self)^.clr := $00000010
  33603. else
  33604. pTDefRegMap(@Self)^.&set := $00000010;
  33605. end;
  33606. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  33607. begin
  33608. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33609. end;
  33610. procedure TOSC_OSCTUN.setTUN5; inline;
  33611. begin
  33612. pTDefRegMap(@Self)^.&set := $00000020;
  33613. end;
  33614. procedure TOSC_OSCTUN.clearTUN5; inline;
  33615. begin
  33616. pTDefRegMap(@Self)^.clr := $00000020;
  33617. end;
  33618. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  33619. begin
  33620. if thebits = 0 then
  33621. pTDefRegMap(@Self)^.clr := $00000020
  33622. else
  33623. pTDefRegMap(@Self)^.&set := $00000020;
  33624. end;
  33625. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  33626. begin
  33627. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33628. end;
  33629. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  33630. begin
  33631. pTDefRegMap(@Self)^.val := thebits;
  33632. end;
  33633. function TOSC_OSCTUN.getw : TBits_32; inline;
  33634. begin
  33635. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33636. end;
  33637. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  33638. begin
  33639. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33640. end;
  33641. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  33642. begin
  33643. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33644. end;
  33645. procedure TOSC_REFOCON.setACTIVE; inline;
  33646. begin
  33647. pTDefRegMap(@Self)^.&set := $00000100;
  33648. end;
  33649. procedure TOSC_REFOCON.clearACTIVE; inline;
  33650. begin
  33651. pTDefRegMap(@Self)^.clr := $00000100;
  33652. end;
  33653. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  33654. begin
  33655. if thebits = 0 then
  33656. pTDefRegMap(@Self)^.clr := $00000100
  33657. else
  33658. pTDefRegMap(@Self)^.&set := $00000100;
  33659. end;
  33660. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  33661. begin
  33662. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33663. end;
  33664. procedure TOSC_REFOCON.setDIVSWEN; inline;
  33665. begin
  33666. pTDefRegMap(@Self)^.&set := $00000200;
  33667. end;
  33668. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  33669. begin
  33670. pTDefRegMap(@Self)^.clr := $00000200;
  33671. end;
  33672. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  33673. begin
  33674. if thebits = 0 then
  33675. pTDefRegMap(@Self)^.clr := $00000200
  33676. else
  33677. pTDefRegMap(@Self)^.&set := $00000200;
  33678. end;
  33679. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  33680. begin
  33681. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33682. end;
  33683. procedure TOSC_REFOCON.setRSLP; inline;
  33684. begin
  33685. pTDefRegMap(@Self)^.&set := $00000800;
  33686. end;
  33687. procedure TOSC_REFOCON.clearRSLP; inline;
  33688. begin
  33689. pTDefRegMap(@Self)^.clr := $00000800;
  33690. end;
  33691. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  33692. begin
  33693. if thebits = 0 then
  33694. pTDefRegMap(@Self)^.clr := $00000800
  33695. else
  33696. pTDefRegMap(@Self)^.&set := $00000800;
  33697. end;
  33698. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  33699. begin
  33700. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33701. end;
  33702. procedure TOSC_REFOCON.setOE; inline;
  33703. begin
  33704. pTDefRegMap(@Self)^.&set := $00001000;
  33705. end;
  33706. procedure TOSC_REFOCON.clearOE; inline;
  33707. begin
  33708. pTDefRegMap(@Self)^.clr := $00001000;
  33709. end;
  33710. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  33711. begin
  33712. if thebits = 0 then
  33713. pTDefRegMap(@Self)^.clr := $00001000
  33714. else
  33715. pTDefRegMap(@Self)^.&set := $00001000;
  33716. end;
  33717. function TOSC_REFOCON.getOE : TBits_1; inline;
  33718. begin
  33719. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33720. end;
  33721. procedure TOSC_REFOCON.setSIDL; inline;
  33722. begin
  33723. pTDefRegMap(@Self)^.&set := $00002000;
  33724. end;
  33725. procedure TOSC_REFOCON.clearSIDL; inline;
  33726. begin
  33727. pTDefRegMap(@Self)^.clr := $00002000;
  33728. end;
  33729. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  33730. begin
  33731. if thebits = 0 then
  33732. pTDefRegMap(@Self)^.clr := $00002000
  33733. else
  33734. pTDefRegMap(@Self)^.&set := $00002000;
  33735. end;
  33736. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  33737. begin
  33738. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33739. end;
  33740. procedure TOSC_REFOCON.setON; inline;
  33741. begin
  33742. pTDefRegMap(@Self)^.&set := $00008000;
  33743. end;
  33744. procedure TOSC_REFOCON.clearON; inline;
  33745. begin
  33746. pTDefRegMap(@Self)^.clr := $00008000;
  33747. end;
  33748. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  33749. begin
  33750. if thebits = 0 then
  33751. pTDefRegMap(@Self)^.clr := $00008000
  33752. else
  33753. pTDefRegMap(@Self)^.&set := $00008000;
  33754. end;
  33755. function TOSC_REFOCON.getON : TBits_1; inline;
  33756. begin
  33757. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33758. end;
  33759. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  33760. begin
  33761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  33762. end;
  33763. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  33764. begin
  33765. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  33766. end;
  33767. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  33768. begin
  33769. pTDefRegMap(@Self)^.val := thebits;
  33770. end;
  33771. function TOSC_REFOCON.getw : TBits_32; inline;
  33772. begin
  33773. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33774. end;
  33775. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  33776. begin
  33777. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  33778. end;
  33779. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  33780. begin
  33781. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  33782. end;
  33783. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  33784. begin
  33785. pTDefRegMap(@Self)^.val := thebits;
  33786. end;
  33787. function TOSC_REFOTRIM.getw : TBits_32; inline;
  33788. begin
  33789. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33790. end;
  33791. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  33792. begin
  33793. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33794. end;
  33795. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  33796. begin
  33797. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33798. end;
  33799. procedure TNVM_NVMCON.setLVDSTAT; inline;
  33800. begin
  33801. pTDefRegMap(@Self)^.&set := $00000800;
  33802. end;
  33803. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  33804. begin
  33805. pTDefRegMap(@Self)^.clr := $00000800;
  33806. end;
  33807. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  33808. begin
  33809. if thebits = 0 then
  33810. pTDefRegMap(@Self)^.clr := $00000800
  33811. else
  33812. pTDefRegMap(@Self)^.&set := $00000800;
  33813. end;
  33814. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  33815. begin
  33816. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33817. end;
  33818. procedure TNVM_NVMCON.setLVDERR; inline;
  33819. begin
  33820. pTDefRegMap(@Self)^.&set := $00001000;
  33821. end;
  33822. procedure TNVM_NVMCON.clearLVDERR; inline;
  33823. begin
  33824. pTDefRegMap(@Self)^.clr := $00001000;
  33825. end;
  33826. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  33827. begin
  33828. if thebits = 0 then
  33829. pTDefRegMap(@Self)^.clr := $00001000
  33830. else
  33831. pTDefRegMap(@Self)^.&set := $00001000;
  33832. end;
  33833. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  33834. begin
  33835. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33836. end;
  33837. procedure TNVM_NVMCON.setWRERR; inline;
  33838. begin
  33839. pTDefRegMap(@Self)^.&set := $00002000;
  33840. end;
  33841. procedure TNVM_NVMCON.clearWRERR; inline;
  33842. begin
  33843. pTDefRegMap(@Self)^.clr := $00002000;
  33844. end;
  33845. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  33846. begin
  33847. if thebits = 0 then
  33848. pTDefRegMap(@Self)^.clr := $00002000
  33849. else
  33850. pTDefRegMap(@Self)^.&set := $00002000;
  33851. end;
  33852. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  33853. begin
  33854. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33855. end;
  33856. procedure TNVM_NVMCON.setWREN; inline;
  33857. begin
  33858. pTDefRegMap(@Self)^.&set := $00004000;
  33859. end;
  33860. procedure TNVM_NVMCON.clearWREN; inline;
  33861. begin
  33862. pTDefRegMap(@Self)^.clr := $00004000;
  33863. end;
  33864. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  33865. begin
  33866. if thebits = 0 then
  33867. pTDefRegMap(@Self)^.clr := $00004000
  33868. else
  33869. pTDefRegMap(@Self)^.&set := $00004000;
  33870. end;
  33871. function TNVM_NVMCON.getWREN : TBits_1; inline;
  33872. begin
  33873. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33874. end;
  33875. procedure TNVM_NVMCON.setWR; inline;
  33876. begin
  33877. pTDefRegMap(@Self)^.&set := $00008000;
  33878. end;
  33879. procedure TNVM_NVMCON.clearWR; inline;
  33880. begin
  33881. pTDefRegMap(@Self)^.clr := $00008000;
  33882. end;
  33883. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  33884. begin
  33885. if thebits = 0 then
  33886. pTDefRegMap(@Self)^.clr := $00008000
  33887. else
  33888. pTDefRegMap(@Self)^.&set := $00008000;
  33889. end;
  33890. function TNVM_NVMCON.getWR : TBits_1; inline;
  33891. begin
  33892. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33893. end;
  33894. procedure TNVM_NVMCON.setNVMOP0; inline;
  33895. begin
  33896. pTDefRegMap(@Self)^.&set := $00000001;
  33897. end;
  33898. procedure TNVM_NVMCON.clearNVMOP0; inline;
  33899. begin
  33900. pTDefRegMap(@Self)^.clr := $00000001;
  33901. end;
  33902. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  33903. begin
  33904. if thebits = 0 then
  33905. pTDefRegMap(@Self)^.clr := $00000001
  33906. else
  33907. pTDefRegMap(@Self)^.&set := $00000001;
  33908. end;
  33909. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  33910. begin
  33911. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33912. end;
  33913. procedure TNVM_NVMCON.setNVMOP1; inline;
  33914. begin
  33915. pTDefRegMap(@Self)^.&set := $00000002;
  33916. end;
  33917. procedure TNVM_NVMCON.clearNVMOP1; inline;
  33918. begin
  33919. pTDefRegMap(@Self)^.clr := $00000002;
  33920. end;
  33921. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  33922. begin
  33923. if thebits = 0 then
  33924. pTDefRegMap(@Self)^.clr := $00000002
  33925. else
  33926. pTDefRegMap(@Self)^.&set := $00000002;
  33927. end;
  33928. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  33929. begin
  33930. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33931. end;
  33932. procedure TNVM_NVMCON.setNVMOP2; inline;
  33933. begin
  33934. pTDefRegMap(@Self)^.&set := $00000004;
  33935. end;
  33936. procedure TNVM_NVMCON.clearNVMOP2; inline;
  33937. begin
  33938. pTDefRegMap(@Self)^.clr := $00000004;
  33939. end;
  33940. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  33941. begin
  33942. if thebits = 0 then
  33943. pTDefRegMap(@Self)^.clr := $00000004
  33944. else
  33945. pTDefRegMap(@Self)^.&set := $00000004;
  33946. end;
  33947. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  33948. begin
  33949. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33950. end;
  33951. procedure TNVM_NVMCON.setNVMOP3; inline;
  33952. begin
  33953. pTDefRegMap(@Self)^.&set := $00000008;
  33954. end;
  33955. procedure TNVM_NVMCON.clearNVMOP3; inline;
  33956. begin
  33957. pTDefRegMap(@Self)^.clr := $00000008;
  33958. end;
  33959. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  33960. begin
  33961. if thebits = 0 then
  33962. pTDefRegMap(@Self)^.clr := $00000008
  33963. else
  33964. pTDefRegMap(@Self)^.&set := $00000008;
  33965. end;
  33966. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  33967. begin
  33968. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33969. end;
  33970. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  33971. begin
  33972. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33973. end;
  33974. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  33975. begin
  33976. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33977. end;
  33978. procedure TNVM_NVMCON.setPROGOP0; inline;
  33979. begin
  33980. pTDefRegMap(@Self)^.&set := $00000001;
  33981. end;
  33982. procedure TNVM_NVMCON.clearPROGOP0; inline;
  33983. begin
  33984. pTDefRegMap(@Self)^.clr := $00000001;
  33985. end;
  33986. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  33987. begin
  33988. if thebits = 0 then
  33989. pTDefRegMap(@Self)^.clr := $00000001
  33990. else
  33991. pTDefRegMap(@Self)^.&set := $00000001;
  33992. end;
  33993. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  33994. begin
  33995. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33996. end;
  33997. procedure TNVM_NVMCON.setPROGOP1; inline;
  33998. begin
  33999. pTDefRegMap(@Self)^.&set := $00000002;
  34000. end;
  34001. procedure TNVM_NVMCON.clearPROGOP1; inline;
  34002. begin
  34003. pTDefRegMap(@Self)^.clr := $00000002;
  34004. end;
  34005. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  34006. begin
  34007. if thebits = 0 then
  34008. pTDefRegMap(@Self)^.clr := $00000002
  34009. else
  34010. pTDefRegMap(@Self)^.&set := $00000002;
  34011. end;
  34012. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  34013. begin
  34014. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34015. end;
  34016. procedure TNVM_NVMCON.setPROGOP2; inline;
  34017. begin
  34018. pTDefRegMap(@Self)^.&set := $00000004;
  34019. end;
  34020. procedure TNVM_NVMCON.clearPROGOP2; inline;
  34021. begin
  34022. pTDefRegMap(@Self)^.clr := $00000004;
  34023. end;
  34024. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  34025. begin
  34026. if thebits = 0 then
  34027. pTDefRegMap(@Self)^.clr := $00000004
  34028. else
  34029. pTDefRegMap(@Self)^.&set := $00000004;
  34030. end;
  34031. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  34032. begin
  34033. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34034. end;
  34035. procedure TNVM_NVMCON.setPROGOP3; inline;
  34036. begin
  34037. pTDefRegMap(@Self)^.&set := $00000008;
  34038. end;
  34039. procedure TNVM_NVMCON.clearPROGOP3; inline;
  34040. begin
  34041. pTDefRegMap(@Self)^.clr := $00000008;
  34042. end;
  34043. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  34044. begin
  34045. if thebits = 0 then
  34046. pTDefRegMap(@Self)^.clr := $00000008
  34047. else
  34048. pTDefRegMap(@Self)^.&set := $00000008;
  34049. end;
  34050. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  34051. begin
  34052. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34053. end;
  34054. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  34055. begin
  34056. pTDefRegMap(@Self)^.val := thebits;
  34057. end;
  34058. function TNVM_NVMCON.getw : TBits_32; inline;
  34059. begin
  34060. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34061. end;
  34062. procedure TRCON_RCON.setPOR; inline;
  34063. begin
  34064. pTDefRegMap(@Self)^.&set := $00000001;
  34065. end;
  34066. procedure TRCON_RCON.clearPOR; inline;
  34067. begin
  34068. pTDefRegMap(@Self)^.clr := $00000001;
  34069. end;
  34070. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  34071. begin
  34072. if thebits = 0 then
  34073. pTDefRegMap(@Self)^.clr := $00000001
  34074. else
  34075. pTDefRegMap(@Self)^.&set := $00000001;
  34076. end;
  34077. function TRCON_RCON.getPOR : TBits_1; inline;
  34078. begin
  34079. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34080. end;
  34081. procedure TRCON_RCON.setBOR; inline;
  34082. begin
  34083. pTDefRegMap(@Self)^.&set := $00000002;
  34084. end;
  34085. procedure TRCON_RCON.clearBOR; inline;
  34086. begin
  34087. pTDefRegMap(@Self)^.clr := $00000002;
  34088. end;
  34089. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  34090. begin
  34091. if thebits = 0 then
  34092. pTDefRegMap(@Self)^.clr := $00000002
  34093. else
  34094. pTDefRegMap(@Self)^.&set := $00000002;
  34095. end;
  34096. function TRCON_RCON.getBOR : TBits_1; inline;
  34097. begin
  34098. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34099. end;
  34100. procedure TRCON_RCON.setIDLE; inline;
  34101. begin
  34102. pTDefRegMap(@Self)^.&set := $00000004;
  34103. end;
  34104. procedure TRCON_RCON.clearIDLE; inline;
  34105. begin
  34106. pTDefRegMap(@Self)^.clr := $00000004;
  34107. end;
  34108. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  34109. begin
  34110. if thebits = 0 then
  34111. pTDefRegMap(@Self)^.clr := $00000004
  34112. else
  34113. pTDefRegMap(@Self)^.&set := $00000004;
  34114. end;
  34115. function TRCON_RCON.getIDLE : TBits_1; inline;
  34116. begin
  34117. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34118. end;
  34119. procedure TRCON_RCON.setSLEEP; inline;
  34120. begin
  34121. pTDefRegMap(@Self)^.&set := $00000008;
  34122. end;
  34123. procedure TRCON_RCON.clearSLEEP; inline;
  34124. begin
  34125. pTDefRegMap(@Self)^.clr := $00000008;
  34126. end;
  34127. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  34128. begin
  34129. if thebits = 0 then
  34130. pTDefRegMap(@Self)^.clr := $00000008
  34131. else
  34132. pTDefRegMap(@Self)^.&set := $00000008;
  34133. end;
  34134. function TRCON_RCON.getSLEEP : TBits_1; inline;
  34135. begin
  34136. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34137. end;
  34138. procedure TRCON_RCON.setWDTO; inline;
  34139. begin
  34140. pTDefRegMap(@Self)^.&set := $00000010;
  34141. end;
  34142. procedure TRCON_RCON.clearWDTO; inline;
  34143. begin
  34144. pTDefRegMap(@Self)^.clr := $00000010;
  34145. end;
  34146. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  34147. begin
  34148. if thebits = 0 then
  34149. pTDefRegMap(@Self)^.clr := $00000010
  34150. else
  34151. pTDefRegMap(@Self)^.&set := $00000010;
  34152. end;
  34153. function TRCON_RCON.getWDTO : TBits_1; inline;
  34154. begin
  34155. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34156. end;
  34157. procedure TRCON_RCON.setSWR; inline;
  34158. begin
  34159. pTDefRegMap(@Self)^.&set := $00000040;
  34160. end;
  34161. procedure TRCON_RCON.clearSWR; inline;
  34162. begin
  34163. pTDefRegMap(@Self)^.clr := $00000040;
  34164. end;
  34165. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  34166. begin
  34167. if thebits = 0 then
  34168. pTDefRegMap(@Self)^.clr := $00000040
  34169. else
  34170. pTDefRegMap(@Self)^.&set := $00000040;
  34171. end;
  34172. function TRCON_RCON.getSWR : TBits_1; inline;
  34173. begin
  34174. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34175. end;
  34176. procedure TRCON_RCON.setEXTR; inline;
  34177. begin
  34178. pTDefRegMap(@Self)^.&set := $00000080;
  34179. end;
  34180. procedure TRCON_RCON.clearEXTR; inline;
  34181. begin
  34182. pTDefRegMap(@Self)^.clr := $00000080;
  34183. end;
  34184. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  34185. begin
  34186. if thebits = 0 then
  34187. pTDefRegMap(@Self)^.clr := $00000080
  34188. else
  34189. pTDefRegMap(@Self)^.&set := $00000080;
  34190. end;
  34191. function TRCON_RCON.getEXTR : TBits_1; inline;
  34192. begin
  34193. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34194. end;
  34195. procedure TRCON_RCON.setVREGS; inline;
  34196. begin
  34197. pTDefRegMap(@Self)^.&set := $00000100;
  34198. end;
  34199. procedure TRCON_RCON.clearVREGS; inline;
  34200. begin
  34201. pTDefRegMap(@Self)^.clr := $00000100;
  34202. end;
  34203. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  34204. begin
  34205. if thebits = 0 then
  34206. pTDefRegMap(@Self)^.clr := $00000100
  34207. else
  34208. pTDefRegMap(@Self)^.&set := $00000100;
  34209. end;
  34210. function TRCON_RCON.getVREGS : TBits_1; inline;
  34211. begin
  34212. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34213. end;
  34214. procedure TRCON_RCON.setCMR; inline;
  34215. begin
  34216. pTDefRegMap(@Self)^.&set := $00000200;
  34217. end;
  34218. procedure TRCON_RCON.clearCMR; inline;
  34219. begin
  34220. pTDefRegMap(@Self)^.clr := $00000200;
  34221. end;
  34222. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  34223. begin
  34224. if thebits = 0 then
  34225. pTDefRegMap(@Self)^.clr := $00000200
  34226. else
  34227. pTDefRegMap(@Self)^.&set := $00000200;
  34228. end;
  34229. function TRCON_RCON.getCMR : TBits_1; inline;
  34230. begin
  34231. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34232. end;
  34233. procedure TRCON_RCON.setHVDR; inline;
  34234. begin
  34235. pTDefRegMap(@Self)^.&set := $20000000;
  34236. end;
  34237. procedure TRCON_RCON.clearHVDR; inline;
  34238. begin
  34239. pTDefRegMap(@Self)^.clr := $20000000;
  34240. end;
  34241. procedure TRCON_RCON.setHVDR(thebits : TBits_1); inline;
  34242. begin
  34243. if thebits = 0 then
  34244. pTDefRegMap(@Self)^.clr := $20000000
  34245. else
  34246. pTDefRegMap(@Self)^.&set := $20000000;
  34247. end;
  34248. function TRCON_RCON.getHVDR : TBits_1; inline;
  34249. begin
  34250. getHVDR := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  34251. end;
  34252. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  34253. begin
  34254. pTDefRegMap(@Self)^.val := thebits;
  34255. end;
  34256. function TRCON_RCON.getw : TBits_32; inline;
  34257. begin
  34258. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34259. end;
  34260. procedure TRCON_RSWRST.setSWRST; inline;
  34261. begin
  34262. pTDefRegMap(@Self)^.&set := $00000001;
  34263. end;
  34264. procedure TRCON_RSWRST.clearSWRST; inline;
  34265. begin
  34266. pTDefRegMap(@Self)^.clr := $00000001;
  34267. end;
  34268. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  34269. begin
  34270. if thebits = 0 then
  34271. pTDefRegMap(@Self)^.clr := $00000001
  34272. else
  34273. pTDefRegMap(@Self)^.&set := $00000001;
  34274. end;
  34275. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  34276. begin
  34277. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34278. end;
  34279. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  34280. begin
  34281. pTDefRegMap(@Self)^.val := thebits;
  34282. end;
  34283. function TRCON_RSWRST.getw : TBits_32; inline;
  34284. begin
  34285. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34286. end;
  34287. procedure TINT_INTCON.setINT0EP; inline;
  34288. begin
  34289. pTDefRegMap(@Self)^.&set := $00000001;
  34290. end;
  34291. procedure TINT_INTCON.clearINT0EP; inline;
  34292. begin
  34293. pTDefRegMap(@Self)^.clr := $00000001;
  34294. end;
  34295. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  34296. begin
  34297. if thebits = 0 then
  34298. pTDefRegMap(@Self)^.clr := $00000001
  34299. else
  34300. pTDefRegMap(@Self)^.&set := $00000001;
  34301. end;
  34302. function TINT_INTCON.getINT0EP : TBits_1; inline;
  34303. begin
  34304. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34305. end;
  34306. procedure TINT_INTCON.setINT1EP; inline;
  34307. begin
  34308. pTDefRegMap(@Self)^.&set := $00000002;
  34309. end;
  34310. procedure TINT_INTCON.clearINT1EP; inline;
  34311. begin
  34312. pTDefRegMap(@Self)^.clr := $00000002;
  34313. end;
  34314. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  34315. begin
  34316. if thebits = 0 then
  34317. pTDefRegMap(@Self)^.clr := $00000002
  34318. else
  34319. pTDefRegMap(@Self)^.&set := $00000002;
  34320. end;
  34321. function TINT_INTCON.getINT1EP : TBits_1; inline;
  34322. begin
  34323. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34324. end;
  34325. procedure TINT_INTCON.setINT2EP; inline;
  34326. begin
  34327. pTDefRegMap(@Self)^.&set := $00000004;
  34328. end;
  34329. procedure TINT_INTCON.clearINT2EP; inline;
  34330. begin
  34331. pTDefRegMap(@Self)^.clr := $00000004;
  34332. end;
  34333. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  34334. begin
  34335. if thebits = 0 then
  34336. pTDefRegMap(@Self)^.clr := $00000004
  34337. else
  34338. pTDefRegMap(@Self)^.&set := $00000004;
  34339. end;
  34340. function TINT_INTCON.getINT2EP : TBits_1; inline;
  34341. begin
  34342. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34343. end;
  34344. procedure TINT_INTCON.setINT3EP; inline;
  34345. begin
  34346. pTDefRegMap(@Self)^.&set := $00000008;
  34347. end;
  34348. procedure TINT_INTCON.clearINT3EP; inline;
  34349. begin
  34350. pTDefRegMap(@Self)^.clr := $00000008;
  34351. end;
  34352. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  34353. begin
  34354. if thebits = 0 then
  34355. pTDefRegMap(@Self)^.clr := $00000008
  34356. else
  34357. pTDefRegMap(@Self)^.&set := $00000008;
  34358. end;
  34359. function TINT_INTCON.getINT3EP : TBits_1; inline;
  34360. begin
  34361. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34362. end;
  34363. procedure TINT_INTCON.setINT4EP; inline;
  34364. begin
  34365. pTDefRegMap(@Self)^.&set := $00000010;
  34366. end;
  34367. procedure TINT_INTCON.clearINT4EP; inline;
  34368. begin
  34369. pTDefRegMap(@Self)^.clr := $00000010;
  34370. end;
  34371. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  34372. begin
  34373. if thebits = 0 then
  34374. pTDefRegMap(@Self)^.clr := $00000010
  34375. else
  34376. pTDefRegMap(@Self)^.&set := $00000010;
  34377. end;
  34378. function TINT_INTCON.getINT4EP : TBits_1; inline;
  34379. begin
  34380. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34381. end;
  34382. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  34383. begin
  34384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  34385. end;
  34386. function TINT_INTCON.getTPC : TBits_3; inline;
  34387. begin
  34388. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  34389. end;
  34390. procedure TINT_INTCON.setMVEC; inline;
  34391. begin
  34392. pTDefRegMap(@Self)^.&set := $00001000;
  34393. end;
  34394. procedure TINT_INTCON.clearMVEC; inline;
  34395. begin
  34396. pTDefRegMap(@Self)^.clr := $00001000;
  34397. end;
  34398. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  34399. begin
  34400. if thebits = 0 then
  34401. pTDefRegMap(@Self)^.clr := $00001000
  34402. else
  34403. pTDefRegMap(@Self)^.&set := $00001000;
  34404. end;
  34405. function TINT_INTCON.getMVEC : TBits_1; inline;
  34406. begin
  34407. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34408. end;
  34409. procedure TINT_INTCON.setSS0; inline;
  34410. begin
  34411. pTDefRegMap(@Self)^.&set := $00010000;
  34412. end;
  34413. procedure TINT_INTCON.clearSS0; inline;
  34414. begin
  34415. pTDefRegMap(@Self)^.clr := $00010000;
  34416. end;
  34417. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  34418. begin
  34419. if thebits = 0 then
  34420. pTDefRegMap(@Self)^.clr := $00010000
  34421. else
  34422. pTDefRegMap(@Self)^.&set := $00010000;
  34423. end;
  34424. function TINT_INTCON.getSS0 : TBits_1; inline;
  34425. begin
  34426. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  34427. end;
  34428. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  34429. begin
  34430. pTDefRegMap(@Self)^.val := thebits;
  34431. end;
  34432. function TINT_INTCON.getw : TBits_32; inline;
  34433. begin
  34434. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34435. end;
  34436. procedure TINT_IFS0.setCTIF; inline;
  34437. begin
  34438. pTDefRegMap(@Self)^.&set := $00000001;
  34439. end;
  34440. procedure TINT_IFS0.clearCTIF; inline;
  34441. begin
  34442. pTDefRegMap(@Self)^.clr := $00000001;
  34443. end;
  34444. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  34445. begin
  34446. if thebits = 0 then
  34447. pTDefRegMap(@Self)^.clr := $00000001
  34448. else
  34449. pTDefRegMap(@Self)^.&set := $00000001;
  34450. end;
  34451. function TINT_IFS0.getCTIF : TBits_1; inline;
  34452. begin
  34453. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34454. end;
  34455. procedure TINT_IFS0.setCS0IF; inline;
  34456. begin
  34457. pTDefRegMap(@Self)^.&set := $00000002;
  34458. end;
  34459. procedure TINT_IFS0.clearCS0IF; inline;
  34460. begin
  34461. pTDefRegMap(@Self)^.clr := $00000002;
  34462. end;
  34463. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  34464. begin
  34465. if thebits = 0 then
  34466. pTDefRegMap(@Self)^.clr := $00000002
  34467. else
  34468. pTDefRegMap(@Self)^.&set := $00000002;
  34469. end;
  34470. function TINT_IFS0.getCS0IF : TBits_1; inline;
  34471. begin
  34472. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34473. end;
  34474. procedure TINT_IFS0.setCS1IF; inline;
  34475. begin
  34476. pTDefRegMap(@Self)^.&set := $00000004;
  34477. end;
  34478. procedure TINT_IFS0.clearCS1IF; inline;
  34479. begin
  34480. pTDefRegMap(@Self)^.clr := $00000004;
  34481. end;
  34482. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  34483. begin
  34484. if thebits = 0 then
  34485. pTDefRegMap(@Self)^.clr := $00000004
  34486. else
  34487. pTDefRegMap(@Self)^.&set := $00000004;
  34488. end;
  34489. function TINT_IFS0.getCS1IF : TBits_1; inline;
  34490. begin
  34491. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34492. end;
  34493. procedure TINT_IFS0.setINT0IF; inline;
  34494. begin
  34495. pTDefRegMap(@Self)^.&set := $00000008;
  34496. end;
  34497. procedure TINT_IFS0.clearINT0IF; inline;
  34498. begin
  34499. pTDefRegMap(@Self)^.clr := $00000008;
  34500. end;
  34501. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  34502. begin
  34503. if thebits = 0 then
  34504. pTDefRegMap(@Self)^.clr := $00000008
  34505. else
  34506. pTDefRegMap(@Self)^.&set := $00000008;
  34507. end;
  34508. function TINT_IFS0.getINT0IF : TBits_1; inline;
  34509. begin
  34510. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34511. end;
  34512. procedure TINT_IFS0.setT1IF; inline;
  34513. begin
  34514. pTDefRegMap(@Self)^.&set := $00000010;
  34515. end;
  34516. procedure TINT_IFS0.clearT1IF; inline;
  34517. begin
  34518. pTDefRegMap(@Self)^.clr := $00000010;
  34519. end;
  34520. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  34521. begin
  34522. if thebits = 0 then
  34523. pTDefRegMap(@Self)^.clr := $00000010
  34524. else
  34525. pTDefRegMap(@Self)^.&set := $00000010;
  34526. end;
  34527. function TINT_IFS0.getT1IF : TBits_1; inline;
  34528. begin
  34529. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34530. end;
  34531. procedure TINT_IFS0.setIC1EIF; inline;
  34532. begin
  34533. pTDefRegMap(@Self)^.&set := $00000020;
  34534. end;
  34535. procedure TINT_IFS0.clearIC1EIF; inline;
  34536. begin
  34537. pTDefRegMap(@Self)^.clr := $00000020;
  34538. end;
  34539. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  34540. begin
  34541. if thebits = 0 then
  34542. pTDefRegMap(@Self)^.clr := $00000020
  34543. else
  34544. pTDefRegMap(@Self)^.&set := $00000020;
  34545. end;
  34546. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  34547. begin
  34548. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34549. end;
  34550. procedure TINT_IFS0.setIC1IF; inline;
  34551. begin
  34552. pTDefRegMap(@Self)^.&set := $00000040;
  34553. end;
  34554. procedure TINT_IFS0.clearIC1IF; inline;
  34555. begin
  34556. pTDefRegMap(@Self)^.clr := $00000040;
  34557. end;
  34558. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  34559. begin
  34560. if thebits = 0 then
  34561. pTDefRegMap(@Self)^.clr := $00000040
  34562. else
  34563. pTDefRegMap(@Self)^.&set := $00000040;
  34564. end;
  34565. function TINT_IFS0.getIC1IF : TBits_1; inline;
  34566. begin
  34567. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34568. end;
  34569. procedure TINT_IFS0.setOC1IF; inline;
  34570. begin
  34571. pTDefRegMap(@Self)^.&set := $00000080;
  34572. end;
  34573. procedure TINT_IFS0.clearOC1IF; inline;
  34574. begin
  34575. pTDefRegMap(@Self)^.clr := $00000080;
  34576. end;
  34577. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  34578. begin
  34579. if thebits = 0 then
  34580. pTDefRegMap(@Self)^.clr := $00000080
  34581. else
  34582. pTDefRegMap(@Self)^.&set := $00000080;
  34583. end;
  34584. function TINT_IFS0.getOC1IF : TBits_1; inline;
  34585. begin
  34586. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34587. end;
  34588. procedure TINT_IFS0.setINT1IF; inline;
  34589. begin
  34590. pTDefRegMap(@Self)^.&set := $00000100;
  34591. end;
  34592. procedure TINT_IFS0.clearINT1IF; inline;
  34593. begin
  34594. pTDefRegMap(@Self)^.clr := $00000100;
  34595. end;
  34596. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  34597. begin
  34598. if thebits = 0 then
  34599. pTDefRegMap(@Self)^.clr := $00000100
  34600. else
  34601. pTDefRegMap(@Self)^.&set := $00000100;
  34602. end;
  34603. function TINT_IFS0.getINT1IF : TBits_1; inline;
  34604. begin
  34605. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34606. end;
  34607. procedure TINT_IFS0.setT2IF; inline;
  34608. begin
  34609. pTDefRegMap(@Self)^.&set := $00000200;
  34610. end;
  34611. procedure TINT_IFS0.clearT2IF; inline;
  34612. begin
  34613. pTDefRegMap(@Self)^.clr := $00000200;
  34614. end;
  34615. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  34616. begin
  34617. if thebits = 0 then
  34618. pTDefRegMap(@Self)^.clr := $00000200
  34619. else
  34620. pTDefRegMap(@Self)^.&set := $00000200;
  34621. end;
  34622. function TINT_IFS0.getT2IF : TBits_1; inline;
  34623. begin
  34624. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34625. end;
  34626. procedure TINT_IFS0.setIC2EIF; inline;
  34627. begin
  34628. pTDefRegMap(@Self)^.&set := $00000400;
  34629. end;
  34630. procedure TINT_IFS0.clearIC2EIF; inline;
  34631. begin
  34632. pTDefRegMap(@Self)^.clr := $00000400;
  34633. end;
  34634. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  34635. begin
  34636. if thebits = 0 then
  34637. pTDefRegMap(@Self)^.clr := $00000400
  34638. else
  34639. pTDefRegMap(@Self)^.&set := $00000400;
  34640. end;
  34641. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  34642. begin
  34643. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34644. end;
  34645. procedure TINT_IFS0.setIC2IF; inline;
  34646. begin
  34647. pTDefRegMap(@Self)^.&set := $00000800;
  34648. end;
  34649. procedure TINT_IFS0.clearIC2IF; inline;
  34650. begin
  34651. pTDefRegMap(@Self)^.clr := $00000800;
  34652. end;
  34653. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  34654. begin
  34655. if thebits = 0 then
  34656. pTDefRegMap(@Self)^.clr := $00000800
  34657. else
  34658. pTDefRegMap(@Self)^.&set := $00000800;
  34659. end;
  34660. function TINT_IFS0.getIC2IF : TBits_1; inline;
  34661. begin
  34662. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34663. end;
  34664. procedure TINT_IFS0.setOC2IF; inline;
  34665. begin
  34666. pTDefRegMap(@Self)^.&set := $00001000;
  34667. end;
  34668. procedure TINT_IFS0.clearOC2IF; inline;
  34669. begin
  34670. pTDefRegMap(@Self)^.clr := $00001000;
  34671. end;
  34672. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  34673. begin
  34674. if thebits = 0 then
  34675. pTDefRegMap(@Self)^.clr := $00001000
  34676. else
  34677. pTDefRegMap(@Self)^.&set := $00001000;
  34678. end;
  34679. function TINT_IFS0.getOC2IF : TBits_1; inline;
  34680. begin
  34681. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34682. end;
  34683. procedure TINT_IFS0.setINT2IF; inline;
  34684. begin
  34685. pTDefRegMap(@Self)^.&set := $00002000;
  34686. end;
  34687. procedure TINT_IFS0.clearINT2IF; inline;
  34688. begin
  34689. pTDefRegMap(@Self)^.clr := $00002000;
  34690. end;
  34691. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  34692. begin
  34693. if thebits = 0 then
  34694. pTDefRegMap(@Self)^.clr := $00002000
  34695. else
  34696. pTDefRegMap(@Self)^.&set := $00002000;
  34697. end;
  34698. function TINT_IFS0.getINT2IF : TBits_1; inline;
  34699. begin
  34700. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34701. end;
  34702. procedure TINT_IFS0.setT3IF; inline;
  34703. begin
  34704. pTDefRegMap(@Self)^.&set := $00004000;
  34705. end;
  34706. procedure TINT_IFS0.clearT3IF; inline;
  34707. begin
  34708. pTDefRegMap(@Self)^.clr := $00004000;
  34709. end;
  34710. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  34711. begin
  34712. if thebits = 0 then
  34713. pTDefRegMap(@Self)^.clr := $00004000
  34714. else
  34715. pTDefRegMap(@Self)^.&set := $00004000;
  34716. end;
  34717. function TINT_IFS0.getT3IF : TBits_1; inline;
  34718. begin
  34719. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34720. end;
  34721. procedure TINT_IFS0.setIC3EIF; inline;
  34722. begin
  34723. pTDefRegMap(@Self)^.&set := $00008000;
  34724. end;
  34725. procedure TINT_IFS0.clearIC3EIF; inline;
  34726. begin
  34727. pTDefRegMap(@Self)^.clr := $00008000;
  34728. end;
  34729. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  34730. begin
  34731. if thebits = 0 then
  34732. pTDefRegMap(@Self)^.clr := $00008000
  34733. else
  34734. pTDefRegMap(@Self)^.&set := $00008000;
  34735. end;
  34736. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  34737. begin
  34738. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34739. end;
  34740. procedure TINT_IFS0.setIC3IF; inline;
  34741. begin
  34742. pTDefRegMap(@Self)^.&set := $00010000;
  34743. end;
  34744. procedure TINT_IFS0.clearIC3IF; inline;
  34745. begin
  34746. pTDefRegMap(@Self)^.clr := $00010000;
  34747. end;
  34748. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  34749. begin
  34750. if thebits = 0 then
  34751. pTDefRegMap(@Self)^.clr := $00010000
  34752. else
  34753. pTDefRegMap(@Self)^.&set := $00010000;
  34754. end;
  34755. function TINT_IFS0.getIC3IF : TBits_1; inline;
  34756. begin
  34757. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  34758. end;
  34759. procedure TINT_IFS0.setOC3IF; inline;
  34760. begin
  34761. pTDefRegMap(@Self)^.&set := $00020000;
  34762. end;
  34763. procedure TINT_IFS0.clearOC3IF; inline;
  34764. begin
  34765. pTDefRegMap(@Self)^.clr := $00020000;
  34766. end;
  34767. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  34768. begin
  34769. if thebits = 0 then
  34770. pTDefRegMap(@Self)^.clr := $00020000
  34771. else
  34772. pTDefRegMap(@Self)^.&set := $00020000;
  34773. end;
  34774. function TINT_IFS0.getOC3IF : TBits_1; inline;
  34775. begin
  34776. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  34777. end;
  34778. procedure TINT_IFS0.setINT3IF; inline;
  34779. begin
  34780. pTDefRegMap(@Self)^.&set := $00040000;
  34781. end;
  34782. procedure TINT_IFS0.clearINT3IF; inline;
  34783. begin
  34784. pTDefRegMap(@Self)^.clr := $00040000;
  34785. end;
  34786. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  34787. begin
  34788. if thebits = 0 then
  34789. pTDefRegMap(@Self)^.clr := $00040000
  34790. else
  34791. pTDefRegMap(@Self)^.&set := $00040000;
  34792. end;
  34793. function TINT_IFS0.getINT3IF : TBits_1; inline;
  34794. begin
  34795. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  34796. end;
  34797. procedure TINT_IFS0.setT4IF; inline;
  34798. begin
  34799. pTDefRegMap(@Self)^.&set := $00080000;
  34800. end;
  34801. procedure TINT_IFS0.clearT4IF; inline;
  34802. begin
  34803. pTDefRegMap(@Self)^.clr := $00080000;
  34804. end;
  34805. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  34806. begin
  34807. if thebits = 0 then
  34808. pTDefRegMap(@Self)^.clr := $00080000
  34809. else
  34810. pTDefRegMap(@Self)^.&set := $00080000;
  34811. end;
  34812. function TINT_IFS0.getT4IF : TBits_1; inline;
  34813. begin
  34814. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  34815. end;
  34816. procedure TINT_IFS0.setIC4EIF; inline;
  34817. begin
  34818. pTDefRegMap(@Self)^.&set := $00100000;
  34819. end;
  34820. procedure TINT_IFS0.clearIC4EIF; inline;
  34821. begin
  34822. pTDefRegMap(@Self)^.clr := $00100000;
  34823. end;
  34824. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  34825. begin
  34826. if thebits = 0 then
  34827. pTDefRegMap(@Self)^.clr := $00100000
  34828. else
  34829. pTDefRegMap(@Self)^.&set := $00100000;
  34830. end;
  34831. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  34832. begin
  34833. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  34834. end;
  34835. procedure TINT_IFS0.setIC4IF; inline;
  34836. begin
  34837. pTDefRegMap(@Self)^.&set := $00200000;
  34838. end;
  34839. procedure TINT_IFS0.clearIC4IF; inline;
  34840. begin
  34841. pTDefRegMap(@Self)^.clr := $00200000;
  34842. end;
  34843. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  34844. begin
  34845. if thebits = 0 then
  34846. pTDefRegMap(@Self)^.clr := $00200000
  34847. else
  34848. pTDefRegMap(@Self)^.&set := $00200000;
  34849. end;
  34850. function TINT_IFS0.getIC4IF : TBits_1; inline;
  34851. begin
  34852. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  34853. end;
  34854. procedure TINT_IFS0.setOC4IF; inline;
  34855. begin
  34856. pTDefRegMap(@Self)^.&set := $00400000;
  34857. end;
  34858. procedure TINT_IFS0.clearOC4IF; inline;
  34859. begin
  34860. pTDefRegMap(@Self)^.clr := $00400000;
  34861. end;
  34862. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  34863. begin
  34864. if thebits = 0 then
  34865. pTDefRegMap(@Self)^.clr := $00400000
  34866. else
  34867. pTDefRegMap(@Self)^.&set := $00400000;
  34868. end;
  34869. function TINT_IFS0.getOC4IF : TBits_1; inline;
  34870. begin
  34871. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  34872. end;
  34873. procedure TINT_IFS0.setINT4IF; inline;
  34874. begin
  34875. pTDefRegMap(@Self)^.&set := $00800000;
  34876. end;
  34877. procedure TINT_IFS0.clearINT4IF; inline;
  34878. begin
  34879. pTDefRegMap(@Self)^.clr := $00800000;
  34880. end;
  34881. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  34882. begin
  34883. if thebits = 0 then
  34884. pTDefRegMap(@Self)^.clr := $00800000
  34885. else
  34886. pTDefRegMap(@Self)^.&set := $00800000;
  34887. end;
  34888. function TINT_IFS0.getINT4IF : TBits_1; inline;
  34889. begin
  34890. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  34891. end;
  34892. procedure TINT_IFS0.setT5IF; inline;
  34893. begin
  34894. pTDefRegMap(@Self)^.&set := $01000000;
  34895. end;
  34896. procedure TINT_IFS0.clearT5IF; inline;
  34897. begin
  34898. pTDefRegMap(@Self)^.clr := $01000000;
  34899. end;
  34900. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  34901. begin
  34902. if thebits = 0 then
  34903. pTDefRegMap(@Self)^.clr := $01000000
  34904. else
  34905. pTDefRegMap(@Self)^.&set := $01000000;
  34906. end;
  34907. function TINT_IFS0.getT5IF : TBits_1; inline;
  34908. begin
  34909. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34910. end;
  34911. procedure TINT_IFS0.setIC5EIF; inline;
  34912. begin
  34913. pTDefRegMap(@Self)^.&set := $02000000;
  34914. end;
  34915. procedure TINT_IFS0.clearIC5EIF; inline;
  34916. begin
  34917. pTDefRegMap(@Self)^.clr := $02000000;
  34918. end;
  34919. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  34920. begin
  34921. if thebits = 0 then
  34922. pTDefRegMap(@Self)^.clr := $02000000
  34923. else
  34924. pTDefRegMap(@Self)^.&set := $02000000;
  34925. end;
  34926. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  34927. begin
  34928. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  34929. end;
  34930. procedure TINT_IFS0.setIC5IF; inline;
  34931. begin
  34932. pTDefRegMap(@Self)^.&set := $04000000;
  34933. end;
  34934. procedure TINT_IFS0.clearIC5IF; inline;
  34935. begin
  34936. pTDefRegMap(@Self)^.clr := $04000000;
  34937. end;
  34938. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  34939. begin
  34940. if thebits = 0 then
  34941. pTDefRegMap(@Self)^.clr := $04000000
  34942. else
  34943. pTDefRegMap(@Self)^.&set := $04000000;
  34944. end;
  34945. function TINT_IFS0.getIC5IF : TBits_1; inline;
  34946. begin
  34947. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  34948. end;
  34949. procedure TINT_IFS0.setOC5IF; inline;
  34950. begin
  34951. pTDefRegMap(@Self)^.&set := $08000000;
  34952. end;
  34953. procedure TINT_IFS0.clearOC5IF; inline;
  34954. begin
  34955. pTDefRegMap(@Self)^.clr := $08000000;
  34956. end;
  34957. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  34958. begin
  34959. if thebits = 0 then
  34960. pTDefRegMap(@Self)^.clr := $08000000
  34961. else
  34962. pTDefRegMap(@Self)^.&set := $08000000;
  34963. end;
  34964. function TINT_IFS0.getOC5IF : TBits_1; inline;
  34965. begin
  34966. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  34967. end;
  34968. procedure TINT_IFS0.setAD1IF; inline;
  34969. begin
  34970. pTDefRegMap(@Self)^.&set := $10000000;
  34971. end;
  34972. procedure TINT_IFS0.clearAD1IF; inline;
  34973. begin
  34974. pTDefRegMap(@Self)^.clr := $10000000;
  34975. end;
  34976. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  34977. begin
  34978. if thebits = 0 then
  34979. pTDefRegMap(@Self)^.clr := $10000000
  34980. else
  34981. pTDefRegMap(@Self)^.&set := $10000000;
  34982. end;
  34983. function TINT_IFS0.getAD1IF : TBits_1; inline;
  34984. begin
  34985. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  34986. end;
  34987. procedure TINT_IFS0.setFSCMIF; inline;
  34988. begin
  34989. pTDefRegMap(@Self)^.&set := $20000000;
  34990. end;
  34991. procedure TINT_IFS0.clearFSCMIF; inline;
  34992. begin
  34993. pTDefRegMap(@Self)^.clr := $20000000;
  34994. end;
  34995. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  34996. begin
  34997. if thebits = 0 then
  34998. pTDefRegMap(@Self)^.clr := $20000000
  34999. else
  35000. pTDefRegMap(@Self)^.&set := $20000000;
  35001. end;
  35002. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  35003. begin
  35004. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  35005. end;
  35006. procedure TINT_IFS0.setRTCCIF; inline;
  35007. begin
  35008. pTDefRegMap(@Self)^.&set := $40000000;
  35009. end;
  35010. procedure TINT_IFS0.clearRTCCIF; inline;
  35011. begin
  35012. pTDefRegMap(@Self)^.clr := $40000000;
  35013. end;
  35014. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  35015. begin
  35016. if thebits = 0 then
  35017. pTDefRegMap(@Self)^.clr := $40000000
  35018. else
  35019. pTDefRegMap(@Self)^.&set := $40000000;
  35020. end;
  35021. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  35022. begin
  35023. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  35024. end;
  35025. procedure TINT_IFS0.setFCEIF; inline;
  35026. begin
  35027. pTDefRegMap(@Self)^.&set := $80000000;
  35028. end;
  35029. procedure TINT_IFS0.clearFCEIF; inline;
  35030. begin
  35031. pTDefRegMap(@Self)^.clr := $80000000;
  35032. end;
  35033. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  35034. begin
  35035. if thebits = 0 then
  35036. pTDefRegMap(@Self)^.clr := $80000000
  35037. else
  35038. pTDefRegMap(@Self)^.&set := $80000000;
  35039. end;
  35040. function TINT_IFS0.getFCEIF : TBits_1; inline;
  35041. begin
  35042. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  35043. end;
  35044. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  35045. begin
  35046. pTDefRegMap(@Self)^.val := thebits;
  35047. end;
  35048. function TINT_IFS0.getw : TBits_32; inline;
  35049. begin
  35050. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35051. end;
  35052. procedure TINT_IFS1.setCMP1IF; inline;
  35053. begin
  35054. pTDefRegMap(@Self)^.&set := $00000001;
  35055. end;
  35056. procedure TINT_IFS1.clearCMP1IF; inline;
  35057. begin
  35058. pTDefRegMap(@Self)^.clr := $00000001;
  35059. end;
  35060. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  35061. begin
  35062. if thebits = 0 then
  35063. pTDefRegMap(@Self)^.clr := $00000001
  35064. else
  35065. pTDefRegMap(@Self)^.&set := $00000001;
  35066. end;
  35067. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  35068. begin
  35069. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35070. end;
  35071. procedure TINT_IFS1.setCMP2IF; inline;
  35072. begin
  35073. pTDefRegMap(@Self)^.&set := $00000002;
  35074. end;
  35075. procedure TINT_IFS1.clearCMP2IF; inline;
  35076. begin
  35077. pTDefRegMap(@Self)^.clr := $00000002;
  35078. end;
  35079. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  35080. begin
  35081. if thebits = 0 then
  35082. pTDefRegMap(@Self)^.clr := $00000002
  35083. else
  35084. pTDefRegMap(@Self)^.&set := $00000002;
  35085. end;
  35086. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  35087. begin
  35088. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35089. end;
  35090. procedure TINT_IFS1.setSPI1EIF; inline;
  35091. begin
  35092. pTDefRegMap(@Self)^.&set := $00000008;
  35093. end;
  35094. procedure TINT_IFS1.clearSPI1EIF; inline;
  35095. begin
  35096. pTDefRegMap(@Self)^.clr := $00000008;
  35097. end;
  35098. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  35099. begin
  35100. if thebits = 0 then
  35101. pTDefRegMap(@Self)^.clr := $00000008
  35102. else
  35103. pTDefRegMap(@Self)^.&set := $00000008;
  35104. end;
  35105. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  35106. begin
  35107. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35108. end;
  35109. procedure TINT_IFS1.setSPI1RXIF; inline;
  35110. begin
  35111. pTDefRegMap(@Self)^.&set := $00000010;
  35112. end;
  35113. procedure TINT_IFS1.clearSPI1RXIF; inline;
  35114. begin
  35115. pTDefRegMap(@Self)^.clr := $00000010;
  35116. end;
  35117. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  35118. begin
  35119. if thebits = 0 then
  35120. pTDefRegMap(@Self)^.clr := $00000010
  35121. else
  35122. pTDefRegMap(@Self)^.&set := $00000010;
  35123. end;
  35124. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  35125. begin
  35126. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35127. end;
  35128. procedure TINT_IFS1.setSPI1TXIF; inline;
  35129. begin
  35130. pTDefRegMap(@Self)^.&set := $00000020;
  35131. end;
  35132. procedure TINT_IFS1.clearSPI1TXIF; inline;
  35133. begin
  35134. pTDefRegMap(@Self)^.clr := $00000020;
  35135. end;
  35136. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  35137. begin
  35138. if thebits = 0 then
  35139. pTDefRegMap(@Self)^.clr := $00000020
  35140. else
  35141. pTDefRegMap(@Self)^.&set := $00000020;
  35142. end;
  35143. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  35144. begin
  35145. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35146. end;
  35147. procedure TINT_IFS1.setU1EIF; inline;
  35148. begin
  35149. pTDefRegMap(@Self)^.&set := $00000040;
  35150. end;
  35151. procedure TINT_IFS1.clearU1EIF; inline;
  35152. begin
  35153. pTDefRegMap(@Self)^.clr := $00000040;
  35154. end;
  35155. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  35156. begin
  35157. if thebits = 0 then
  35158. pTDefRegMap(@Self)^.clr := $00000040
  35159. else
  35160. pTDefRegMap(@Self)^.&set := $00000040;
  35161. end;
  35162. function TINT_IFS1.getU1EIF : TBits_1; inline;
  35163. begin
  35164. getU1EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35165. end;
  35166. procedure TINT_IFS1.setU1RXIF; inline;
  35167. begin
  35168. pTDefRegMap(@Self)^.&set := $00000080;
  35169. end;
  35170. procedure TINT_IFS1.clearU1RXIF; inline;
  35171. begin
  35172. pTDefRegMap(@Self)^.clr := $00000080;
  35173. end;
  35174. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  35175. begin
  35176. if thebits = 0 then
  35177. pTDefRegMap(@Self)^.clr := $00000080
  35178. else
  35179. pTDefRegMap(@Self)^.&set := $00000080;
  35180. end;
  35181. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  35182. begin
  35183. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35184. end;
  35185. procedure TINT_IFS1.setU1TXIF; inline;
  35186. begin
  35187. pTDefRegMap(@Self)^.&set := $00000100;
  35188. end;
  35189. procedure TINT_IFS1.clearU1TXIF; inline;
  35190. begin
  35191. pTDefRegMap(@Self)^.clr := $00000100;
  35192. end;
  35193. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  35194. begin
  35195. if thebits = 0 then
  35196. pTDefRegMap(@Self)^.clr := $00000100
  35197. else
  35198. pTDefRegMap(@Self)^.&set := $00000100;
  35199. end;
  35200. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  35201. begin
  35202. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35203. end;
  35204. procedure TINT_IFS1.setI2C1BIF; inline;
  35205. begin
  35206. pTDefRegMap(@Self)^.&set := $00000200;
  35207. end;
  35208. procedure TINT_IFS1.clearI2C1BIF; inline;
  35209. begin
  35210. pTDefRegMap(@Self)^.clr := $00000200;
  35211. end;
  35212. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  35213. begin
  35214. if thebits = 0 then
  35215. pTDefRegMap(@Self)^.clr := $00000200
  35216. else
  35217. pTDefRegMap(@Self)^.&set := $00000200;
  35218. end;
  35219. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  35220. begin
  35221. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35222. end;
  35223. procedure TINT_IFS1.setI2C1SIF; inline;
  35224. begin
  35225. pTDefRegMap(@Self)^.&set := $00000400;
  35226. end;
  35227. procedure TINT_IFS1.clearI2C1SIF; inline;
  35228. begin
  35229. pTDefRegMap(@Self)^.clr := $00000400;
  35230. end;
  35231. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  35232. begin
  35233. if thebits = 0 then
  35234. pTDefRegMap(@Self)^.clr := $00000400
  35235. else
  35236. pTDefRegMap(@Self)^.&set := $00000400;
  35237. end;
  35238. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  35239. begin
  35240. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35241. end;
  35242. procedure TINT_IFS1.setI2C1MIF; inline;
  35243. begin
  35244. pTDefRegMap(@Self)^.&set := $00000800;
  35245. end;
  35246. procedure TINT_IFS1.clearI2C1MIF; inline;
  35247. begin
  35248. pTDefRegMap(@Self)^.clr := $00000800;
  35249. end;
  35250. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  35251. begin
  35252. if thebits = 0 then
  35253. pTDefRegMap(@Self)^.clr := $00000800
  35254. else
  35255. pTDefRegMap(@Self)^.&set := $00000800;
  35256. end;
  35257. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  35258. begin
  35259. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35260. end;
  35261. procedure TINT_IFS1.setCNAIF; inline;
  35262. begin
  35263. pTDefRegMap(@Self)^.&set := $00001000;
  35264. end;
  35265. procedure TINT_IFS1.clearCNAIF; inline;
  35266. begin
  35267. pTDefRegMap(@Self)^.clr := $00001000;
  35268. end;
  35269. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  35270. begin
  35271. if thebits = 0 then
  35272. pTDefRegMap(@Self)^.clr := $00001000
  35273. else
  35274. pTDefRegMap(@Self)^.&set := $00001000;
  35275. end;
  35276. function TINT_IFS1.getCNAIF : TBits_1; inline;
  35277. begin
  35278. getCNAIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35279. end;
  35280. procedure TINT_IFS1.setCNBIF; inline;
  35281. begin
  35282. pTDefRegMap(@Self)^.&set := $00002000;
  35283. end;
  35284. procedure TINT_IFS1.clearCNBIF; inline;
  35285. begin
  35286. pTDefRegMap(@Self)^.clr := $00002000;
  35287. end;
  35288. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  35289. begin
  35290. if thebits = 0 then
  35291. pTDefRegMap(@Self)^.clr := $00002000
  35292. else
  35293. pTDefRegMap(@Self)^.&set := $00002000;
  35294. end;
  35295. function TINT_IFS1.getCNBIF : TBits_1; inline;
  35296. begin
  35297. getCNBIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35298. end;
  35299. procedure TINT_IFS1.setCNCIF; inline;
  35300. begin
  35301. pTDefRegMap(@Self)^.&set := $00004000;
  35302. end;
  35303. procedure TINT_IFS1.clearCNCIF; inline;
  35304. begin
  35305. pTDefRegMap(@Self)^.clr := $00004000;
  35306. end;
  35307. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  35308. begin
  35309. if thebits = 0 then
  35310. pTDefRegMap(@Self)^.clr := $00004000
  35311. else
  35312. pTDefRegMap(@Self)^.&set := $00004000;
  35313. end;
  35314. function TINT_IFS1.getCNCIF : TBits_1; inline;
  35315. begin
  35316. getCNCIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35317. end;
  35318. procedure TINT_IFS1.setCNDIF; inline;
  35319. begin
  35320. pTDefRegMap(@Self)^.&set := $00008000;
  35321. end;
  35322. procedure TINT_IFS1.clearCNDIF; inline;
  35323. begin
  35324. pTDefRegMap(@Self)^.clr := $00008000;
  35325. end;
  35326. procedure TINT_IFS1.setCNDIF(thebits : TBits_1); inline;
  35327. begin
  35328. if thebits = 0 then
  35329. pTDefRegMap(@Self)^.clr := $00008000
  35330. else
  35331. pTDefRegMap(@Self)^.&set := $00008000;
  35332. end;
  35333. function TINT_IFS1.getCNDIF : TBits_1; inline;
  35334. begin
  35335. getCNDIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35336. end;
  35337. procedure TINT_IFS1.setCNEIF; inline;
  35338. begin
  35339. pTDefRegMap(@Self)^.&set := $00010000;
  35340. end;
  35341. procedure TINT_IFS1.clearCNEIF; inline;
  35342. begin
  35343. pTDefRegMap(@Self)^.clr := $00010000;
  35344. end;
  35345. procedure TINT_IFS1.setCNEIF(thebits : TBits_1); inline;
  35346. begin
  35347. if thebits = 0 then
  35348. pTDefRegMap(@Self)^.clr := $00010000
  35349. else
  35350. pTDefRegMap(@Self)^.&set := $00010000;
  35351. end;
  35352. function TINT_IFS1.getCNEIF : TBits_1; inline;
  35353. begin
  35354. getCNEIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35355. end;
  35356. procedure TINT_IFS1.setCNFIF; inline;
  35357. begin
  35358. pTDefRegMap(@Self)^.&set := $00020000;
  35359. end;
  35360. procedure TINT_IFS1.clearCNFIF; inline;
  35361. begin
  35362. pTDefRegMap(@Self)^.clr := $00020000;
  35363. end;
  35364. procedure TINT_IFS1.setCNFIF(thebits : TBits_1); inline;
  35365. begin
  35366. if thebits = 0 then
  35367. pTDefRegMap(@Self)^.clr := $00020000
  35368. else
  35369. pTDefRegMap(@Self)^.&set := $00020000;
  35370. end;
  35371. function TINT_IFS1.getCNFIF : TBits_1; inline;
  35372. begin
  35373. getCNFIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  35374. end;
  35375. procedure TINT_IFS1.setCNGIF; inline;
  35376. begin
  35377. pTDefRegMap(@Self)^.&set := $00040000;
  35378. end;
  35379. procedure TINT_IFS1.clearCNGIF; inline;
  35380. begin
  35381. pTDefRegMap(@Self)^.clr := $00040000;
  35382. end;
  35383. procedure TINT_IFS1.setCNGIF(thebits : TBits_1); inline;
  35384. begin
  35385. if thebits = 0 then
  35386. pTDefRegMap(@Self)^.clr := $00040000
  35387. else
  35388. pTDefRegMap(@Self)^.&set := $00040000;
  35389. end;
  35390. function TINT_IFS1.getCNGIF : TBits_1; inline;
  35391. begin
  35392. getCNGIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  35393. end;
  35394. procedure TINT_IFS1.setPMPIF; inline;
  35395. begin
  35396. pTDefRegMap(@Self)^.&set := $00080000;
  35397. end;
  35398. procedure TINT_IFS1.clearPMPIF; inline;
  35399. begin
  35400. pTDefRegMap(@Self)^.clr := $00080000;
  35401. end;
  35402. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  35403. begin
  35404. if thebits = 0 then
  35405. pTDefRegMap(@Self)^.clr := $00080000
  35406. else
  35407. pTDefRegMap(@Self)^.&set := $00080000;
  35408. end;
  35409. function TINT_IFS1.getPMPIF : TBits_1; inline;
  35410. begin
  35411. getPMPIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  35412. end;
  35413. procedure TINT_IFS1.setPMPEIF; inline;
  35414. begin
  35415. pTDefRegMap(@Self)^.&set := $00100000;
  35416. end;
  35417. procedure TINT_IFS1.clearPMPEIF; inline;
  35418. begin
  35419. pTDefRegMap(@Self)^.clr := $00100000;
  35420. end;
  35421. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  35422. begin
  35423. if thebits = 0 then
  35424. pTDefRegMap(@Self)^.clr := $00100000
  35425. else
  35426. pTDefRegMap(@Self)^.&set := $00100000;
  35427. end;
  35428. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  35429. begin
  35430. getPMPEIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  35431. end;
  35432. procedure TINT_IFS1.setSPI2EIF; inline;
  35433. begin
  35434. pTDefRegMap(@Self)^.&set := $00200000;
  35435. end;
  35436. procedure TINT_IFS1.clearSPI2EIF; inline;
  35437. begin
  35438. pTDefRegMap(@Self)^.clr := $00200000;
  35439. end;
  35440. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  35441. begin
  35442. if thebits = 0 then
  35443. pTDefRegMap(@Self)^.clr := $00200000
  35444. else
  35445. pTDefRegMap(@Self)^.&set := $00200000;
  35446. end;
  35447. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  35448. begin
  35449. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  35450. end;
  35451. procedure TINT_IFS1.setSPI2RXIF; inline;
  35452. begin
  35453. pTDefRegMap(@Self)^.&set := $00400000;
  35454. end;
  35455. procedure TINT_IFS1.clearSPI2RXIF; inline;
  35456. begin
  35457. pTDefRegMap(@Self)^.clr := $00400000;
  35458. end;
  35459. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  35460. begin
  35461. if thebits = 0 then
  35462. pTDefRegMap(@Self)^.clr := $00400000
  35463. else
  35464. pTDefRegMap(@Self)^.&set := $00400000;
  35465. end;
  35466. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  35467. begin
  35468. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  35469. end;
  35470. procedure TINT_IFS1.setSPI2TXIF; inline;
  35471. begin
  35472. pTDefRegMap(@Self)^.&set := $00800000;
  35473. end;
  35474. procedure TINT_IFS1.clearSPI2TXIF; inline;
  35475. begin
  35476. pTDefRegMap(@Self)^.clr := $00800000;
  35477. end;
  35478. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  35479. begin
  35480. if thebits = 0 then
  35481. pTDefRegMap(@Self)^.clr := $00800000
  35482. else
  35483. pTDefRegMap(@Self)^.&set := $00800000;
  35484. end;
  35485. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  35486. begin
  35487. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  35488. end;
  35489. procedure TINT_IFS1.setU2EIF; inline;
  35490. begin
  35491. pTDefRegMap(@Self)^.&set := $01000000;
  35492. end;
  35493. procedure TINT_IFS1.clearU2EIF; inline;
  35494. begin
  35495. pTDefRegMap(@Self)^.clr := $01000000;
  35496. end;
  35497. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  35498. begin
  35499. if thebits = 0 then
  35500. pTDefRegMap(@Self)^.clr := $01000000
  35501. else
  35502. pTDefRegMap(@Self)^.&set := $01000000;
  35503. end;
  35504. function TINT_IFS1.getU2EIF : TBits_1; inline;
  35505. begin
  35506. getU2EIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35507. end;
  35508. procedure TINT_IFS1.setU2RXIF; inline;
  35509. begin
  35510. pTDefRegMap(@Self)^.&set := $02000000;
  35511. end;
  35512. procedure TINT_IFS1.clearU2RXIF; inline;
  35513. begin
  35514. pTDefRegMap(@Self)^.clr := $02000000;
  35515. end;
  35516. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  35517. begin
  35518. if thebits = 0 then
  35519. pTDefRegMap(@Self)^.clr := $02000000
  35520. else
  35521. pTDefRegMap(@Self)^.&set := $02000000;
  35522. end;
  35523. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  35524. begin
  35525. getU2RXIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  35526. end;
  35527. procedure TINT_IFS1.setU2TXIF; inline;
  35528. begin
  35529. pTDefRegMap(@Self)^.&set := $04000000;
  35530. end;
  35531. procedure TINT_IFS1.clearU2TXIF; inline;
  35532. begin
  35533. pTDefRegMap(@Self)^.clr := $04000000;
  35534. end;
  35535. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  35536. begin
  35537. if thebits = 0 then
  35538. pTDefRegMap(@Self)^.clr := $04000000
  35539. else
  35540. pTDefRegMap(@Self)^.&set := $04000000;
  35541. end;
  35542. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  35543. begin
  35544. getU2TXIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  35545. end;
  35546. procedure TINT_IFS1.setI2C2BIF; inline;
  35547. begin
  35548. pTDefRegMap(@Self)^.&set := $08000000;
  35549. end;
  35550. procedure TINT_IFS1.clearI2C2BIF; inline;
  35551. begin
  35552. pTDefRegMap(@Self)^.clr := $08000000;
  35553. end;
  35554. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  35555. begin
  35556. if thebits = 0 then
  35557. pTDefRegMap(@Self)^.clr := $08000000
  35558. else
  35559. pTDefRegMap(@Self)^.&set := $08000000;
  35560. end;
  35561. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  35562. begin
  35563. getI2C2BIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  35564. end;
  35565. procedure TINT_IFS1.setI2C2SIF; inline;
  35566. begin
  35567. pTDefRegMap(@Self)^.&set := $10000000;
  35568. end;
  35569. procedure TINT_IFS1.clearI2C2SIF; inline;
  35570. begin
  35571. pTDefRegMap(@Self)^.clr := $10000000;
  35572. end;
  35573. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  35574. begin
  35575. if thebits = 0 then
  35576. pTDefRegMap(@Self)^.clr := $10000000
  35577. else
  35578. pTDefRegMap(@Self)^.&set := $10000000;
  35579. end;
  35580. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  35581. begin
  35582. getI2C2SIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  35583. end;
  35584. procedure TINT_IFS1.setI2C2MIF; inline;
  35585. begin
  35586. pTDefRegMap(@Self)^.&set := $20000000;
  35587. end;
  35588. procedure TINT_IFS1.clearI2C2MIF; inline;
  35589. begin
  35590. pTDefRegMap(@Self)^.clr := $20000000;
  35591. end;
  35592. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  35593. begin
  35594. if thebits = 0 then
  35595. pTDefRegMap(@Self)^.clr := $20000000
  35596. else
  35597. pTDefRegMap(@Self)^.&set := $20000000;
  35598. end;
  35599. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  35600. begin
  35601. getI2C2MIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  35602. end;
  35603. procedure TINT_IFS1.setU3EIF; inline;
  35604. begin
  35605. pTDefRegMap(@Self)^.&set := $40000000;
  35606. end;
  35607. procedure TINT_IFS1.clearU3EIF; inline;
  35608. begin
  35609. pTDefRegMap(@Self)^.clr := $40000000;
  35610. end;
  35611. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  35612. begin
  35613. if thebits = 0 then
  35614. pTDefRegMap(@Self)^.clr := $40000000
  35615. else
  35616. pTDefRegMap(@Self)^.&set := $40000000;
  35617. end;
  35618. function TINT_IFS1.getU3EIF : TBits_1; inline;
  35619. begin
  35620. getU3EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  35621. end;
  35622. procedure TINT_IFS1.setU3RXIF; inline;
  35623. begin
  35624. pTDefRegMap(@Self)^.&set := $80000000;
  35625. end;
  35626. procedure TINT_IFS1.clearU3RXIF; inline;
  35627. begin
  35628. pTDefRegMap(@Self)^.clr := $80000000;
  35629. end;
  35630. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  35631. begin
  35632. if thebits = 0 then
  35633. pTDefRegMap(@Self)^.clr := $80000000
  35634. else
  35635. pTDefRegMap(@Self)^.&set := $80000000;
  35636. end;
  35637. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  35638. begin
  35639. getU3RXIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  35640. end;
  35641. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  35642. begin
  35643. pTDefRegMap(@Self)^.val := thebits;
  35644. end;
  35645. function TINT_IFS1.getw : TBits_32; inline;
  35646. begin
  35647. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35648. end;
  35649. procedure TINT_IEC0.setCTIE; inline;
  35650. begin
  35651. pTDefRegMap(@Self)^.&set := $00000001;
  35652. end;
  35653. procedure TINT_IEC0.clearCTIE; inline;
  35654. begin
  35655. pTDefRegMap(@Self)^.clr := $00000001;
  35656. end;
  35657. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  35658. begin
  35659. if thebits = 0 then
  35660. pTDefRegMap(@Self)^.clr := $00000001
  35661. else
  35662. pTDefRegMap(@Self)^.&set := $00000001;
  35663. end;
  35664. function TINT_IEC0.getCTIE : TBits_1; inline;
  35665. begin
  35666. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35667. end;
  35668. procedure TINT_IEC0.setCS0IE; inline;
  35669. begin
  35670. pTDefRegMap(@Self)^.&set := $00000002;
  35671. end;
  35672. procedure TINT_IEC0.clearCS0IE; inline;
  35673. begin
  35674. pTDefRegMap(@Self)^.clr := $00000002;
  35675. end;
  35676. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  35677. begin
  35678. if thebits = 0 then
  35679. pTDefRegMap(@Self)^.clr := $00000002
  35680. else
  35681. pTDefRegMap(@Self)^.&set := $00000002;
  35682. end;
  35683. function TINT_IEC0.getCS0IE : TBits_1; inline;
  35684. begin
  35685. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35686. end;
  35687. procedure TINT_IEC0.setCS1IE; inline;
  35688. begin
  35689. pTDefRegMap(@Self)^.&set := $00000004;
  35690. end;
  35691. procedure TINT_IEC0.clearCS1IE; inline;
  35692. begin
  35693. pTDefRegMap(@Self)^.clr := $00000004;
  35694. end;
  35695. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  35696. begin
  35697. if thebits = 0 then
  35698. pTDefRegMap(@Self)^.clr := $00000004
  35699. else
  35700. pTDefRegMap(@Self)^.&set := $00000004;
  35701. end;
  35702. function TINT_IEC0.getCS1IE : TBits_1; inline;
  35703. begin
  35704. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35705. end;
  35706. procedure TINT_IEC0.setINT0IE; inline;
  35707. begin
  35708. pTDefRegMap(@Self)^.&set := $00000008;
  35709. end;
  35710. procedure TINT_IEC0.clearINT0IE; inline;
  35711. begin
  35712. pTDefRegMap(@Self)^.clr := $00000008;
  35713. end;
  35714. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  35715. begin
  35716. if thebits = 0 then
  35717. pTDefRegMap(@Self)^.clr := $00000008
  35718. else
  35719. pTDefRegMap(@Self)^.&set := $00000008;
  35720. end;
  35721. function TINT_IEC0.getINT0IE : TBits_1; inline;
  35722. begin
  35723. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35724. end;
  35725. procedure TINT_IEC0.setT1IE; inline;
  35726. begin
  35727. pTDefRegMap(@Self)^.&set := $00000010;
  35728. end;
  35729. procedure TINT_IEC0.clearT1IE; inline;
  35730. begin
  35731. pTDefRegMap(@Self)^.clr := $00000010;
  35732. end;
  35733. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  35734. begin
  35735. if thebits = 0 then
  35736. pTDefRegMap(@Self)^.clr := $00000010
  35737. else
  35738. pTDefRegMap(@Self)^.&set := $00000010;
  35739. end;
  35740. function TINT_IEC0.getT1IE : TBits_1; inline;
  35741. begin
  35742. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35743. end;
  35744. procedure TINT_IEC0.setIC1EIE; inline;
  35745. begin
  35746. pTDefRegMap(@Self)^.&set := $00000020;
  35747. end;
  35748. procedure TINT_IEC0.clearIC1EIE; inline;
  35749. begin
  35750. pTDefRegMap(@Self)^.clr := $00000020;
  35751. end;
  35752. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  35753. begin
  35754. if thebits = 0 then
  35755. pTDefRegMap(@Self)^.clr := $00000020
  35756. else
  35757. pTDefRegMap(@Self)^.&set := $00000020;
  35758. end;
  35759. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  35760. begin
  35761. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35762. end;
  35763. procedure TINT_IEC0.setIC1IE; inline;
  35764. begin
  35765. pTDefRegMap(@Self)^.&set := $00000040;
  35766. end;
  35767. procedure TINT_IEC0.clearIC1IE; inline;
  35768. begin
  35769. pTDefRegMap(@Self)^.clr := $00000040;
  35770. end;
  35771. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  35772. begin
  35773. if thebits = 0 then
  35774. pTDefRegMap(@Self)^.clr := $00000040
  35775. else
  35776. pTDefRegMap(@Self)^.&set := $00000040;
  35777. end;
  35778. function TINT_IEC0.getIC1IE : TBits_1; inline;
  35779. begin
  35780. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35781. end;
  35782. procedure TINT_IEC0.setOC1IE; inline;
  35783. begin
  35784. pTDefRegMap(@Self)^.&set := $00000080;
  35785. end;
  35786. procedure TINT_IEC0.clearOC1IE; inline;
  35787. begin
  35788. pTDefRegMap(@Self)^.clr := $00000080;
  35789. end;
  35790. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  35791. begin
  35792. if thebits = 0 then
  35793. pTDefRegMap(@Self)^.clr := $00000080
  35794. else
  35795. pTDefRegMap(@Self)^.&set := $00000080;
  35796. end;
  35797. function TINT_IEC0.getOC1IE : TBits_1; inline;
  35798. begin
  35799. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35800. end;
  35801. procedure TINT_IEC0.setINT1IE; inline;
  35802. begin
  35803. pTDefRegMap(@Self)^.&set := $00000100;
  35804. end;
  35805. procedure TINT_IEC0.clearINT1IE; inline;
  35806. begin
  35807. pTDefRegMap(@Self)^.clr := $00000100;
  35808. end;
  35809. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  35810. begin
  35811. if thebits = 0 then
  35812. pTDefRegMap(@Self)^.clr := $00000100
  35813. else
  35814. pTDefRegMap(@Self)^.&set := $00000100;
  35815. end;
  35816. function TINT_IEC0.getINT1IE : TBits_1; inline;
  35817. begin
  35818. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35819. end;
  35820. procedure TINT_IEC0.setT2IE; inline;
  35821. begin
  35822. pTDefRegMap(@Self)^.&set := $00000200;
  35823. end;
  35824. procedure TINT_IEC0.clearT2IE; inline;
  35825. begin
  35826. pTDefRegMap(@Self)^.clr := $00000200;
  35827. end;
  35828. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  35829. begin
  35830. if thebits = 0 then
  35831. pTDefRegMap(@Self)^.clr := $00000200
  35832. else
  35833. pTDefRegMap(@Self)^.&set := $00000200;
  35834. end;
  35835. function TINT_IEC0.getT2IE : TBits_1; inline;
  35836. begin
  35837. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35838. end;
  35839. procedure TINT_IEC0.setIC2EIE; inline;
  35840. begin
  35841. pTDefRegMap(@Self)^.&set := $00000400;
  35842. end;
  35843. procedure TINT_IEC0.clearIC2EIE; inline;
  35844. begin
  35845. pTDefRegMap(@Self)^.clr := $00000400;
  35846. end;
  35847. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  35848. begin
  35849. if thebits = 0 then
  35850. pTDefRegMap(@Self)^.clr := $00000400
  35851. else
  35852. pTDefRegMap(@Self)^.&set := $00000400;
  35853. end;
  35854. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  35855. begin
  35856. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35857. end;
  35858. procedure TINT_IEC0.setIC2IE; inline;
  35859. begin
  35860. pTDefRegMap(@Self)^.&set := $00000800;
  35861. end;
  35862. procedure TINT_IEC0.clearIC2IE; inline;
  35863. begin
  35864. pTDefRegMap(@Self)^.clr := $00000800;
  35865. end;
  35866. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  35867. begin
  35868. if thebits = 0 then
  35869. pTDefRegMap(@Self)^.clr := $00000800
  35870. else
  35871. pTDefRegMap(@Self)^.&set := $00000800;
  35872. end;
  35873. function TINT_IEC0.getIC2IE : TBits_1; inline;
  35874. begin
  35875. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35876. end;
  35877. procedure TINT_IEC0.setOC2IE; inline;
  35878. begin
  35879. pTDefRegMap(@Self)^.&set := $00001000;
  35880. end;
  35881. procedure TINT_IEC0.clearOC2IE; inline;
  35882. begin
  35883. pTDefRegMap(@Self)^.clr := $00001000;
  35884. end;
  35885. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  35886. begin
  35887. if thebits = 0 then
  35888. pTDefRegMap(@Self)^.clr := $00001000
  35889. else
  35890. pTDefRegMap(@Self)^.&set := $00001000;
  35891. end;
  35892. function TINT_IEC0.getOC2IE : TBits_1; inline;
  35893. begin
  35894. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35895. end;
  35896. procedure TINT_IEC0.setINT2IE; inline;
  35897. begin
  35898. pTDefRegMap(@Self)^.&set := $00002000;
  35899. end;
  35900. procedure TINT_IEC0.clearINT2IE; inline;
  35901. begin
  35902. pTDefRegMap(@Self)^.clr := $00002000;
  35903. end;
  35904. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  35905. begin
  35906. if thebits = 0 then
  35907. pTDefRegMap(@Self)^.clr := $00002000
  35908. else
  35909. pTDefRegMap(@Self)^.&set := $00002000;
  35910. end;
  35911. function TINT_IEC0.getINT2IE : TBits_1; inline;
  35912. begin
  35913. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35914. end;
  35915. procedure TINT_IEC0.setT3IE; inline;
  35916. begin
  35917. pTDefRegMap(@Self)^.&set := $00004000;
  35918. end;
  35919. procedure TINT_IEC0.clearT3IE; inline;
  35920. begin
  35921. pTDefRegMap(@Self)^.clr := $00004000;
  35922. end;
  35923. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  35924. begin
  35925. if thebits = 0 then
  35926. pTDefRegMap(@Self)^.clr := $00004000
  35927. else
  35928. pTDefRegMap(@Self)^.&set := $00004000;
  35929. end;
  35930. function TINT_IEC0.getT3IE : TBits_1; inline;
  35931. begin
  35932. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35933. end;
  35934. procedure TINT_IEC0.setIC3EIE; inline;
  35935. begin
  35936. pTDefRegMap(@Self)^.&set := $00008000;
  35937. end;
  35938. procedure TINT_IEC0.clearIC3EIE; inline;
  35939. begin
  35940. pTDefRegMap(@Self)^.clr := $00008000;
  35941. end;
  35942. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  35943. begin
  35944. if thebits = 0 then
  35945. pTDefRegMap(@Self)^.clr := $00008000
  35946. else
  35947. pTDefRegMap(@Self)^.&set := $00008000;
  35948. end;
  35949. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  35950. begin
  35951. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35952. end;
  35953. procedure TINT_IEC0.setIC3IE; inline;
  35954. begin
  35955. pTDefRegMap(@Self)^.&set := $00010000;
  35956. end;
  35957. procedure TINT_IEC0.clearIC3IE; inline;
  35958. begin
  35959. pTDefRegMap(@Self)^.clr := $00010000;
  35960. end;
  35961. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  35962. begin
  35963. if thebits = 0 then
  35964. pTDefRegMap(@Self)^.clr := $00010000
  35965. else
  35966. pTDefRegMap(@Self)^.&set := $00010000;
  35967. end;
  35968. function TINT_IEC0.getIC3IE : TBits_1; inline;
  35969. begin
  35970. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  35971. end;
  35972. procedure TINT_IEC0.setOC3IE; inline;
  35973. begin
  35974. pTDefRegMap(@Self)^.&set := $00020000;
  35975. end;
  35976. procedure TINT_IEC0.clearOC3IE; inline;
  35977. begin
  35978. pTDefRegMap(@Self)^.clr := $00020000;
  35979. end;
  35980. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  35981. begin
  35982. if thebits = 0 then
  35983. pTDefRegMap(@Self)^.clr := $00020000
  35984. else
  35985. pTDefRegMap(@Self)^.&set := $00020000;
  35986. end;
  35987. function TINT_IEC0.getOC3IE : TBits_1; inline;
  35988. begin
  35989. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  35990. end;
  35991. procedure TINT_IEC0.setINT3IE; inline;
  35992. begin
  35993. pTDefRegMap(@Self)^.&set := $00040000;
  35994. end;
  35995. procedure TINT_IEC0.clearINT3IE; inline;
  35996. begin
  35997. pTDefRegMap(@Self)^.clr := $00040000;
  35998. end;
  35999. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  36000. begin
  36001. if thebits = 0 then
  36002. pTDefRegMap(@Self)^.clr := $00040000
  36003. else
  36004. pTDefRegMap(@Self)^.&set := $00040000;
  36005. end;
  36006. function TINT_IEC0.getINT3IE : TBits_1; inline;
  36007. begin
  36008. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  36009. end;
  36010. procedure TINT_IEC0.setT4IE; inline;
  36011. begin
  36012. pTDefRegMap(@Self)^.&set := $00080000;
  36013. end;
  36014. procedure TINT_IEC0.clearT4IE; inline;
  36015. begin
  36016. pTDefRegMap(@Self)^.clr := $00080000;
  36017. end;
  36018. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  36019. begin
  36020. if thebits = 0 then
  36021. pTDefRegMap(@Self)^.clr := $00080000
  36022. else
  36023. pTDefRegMap(@Self)^.&set := $00080000;
  36024. end;
  36025. function TINT_IEC0.getT4IE : TBits_1; inline;
  36026. begin
  36027. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  36028. end;
  36029. procedure TINT_IEC0.setIC4EIE; inline;
  36030. begin
  36031. pTDefRegMap(@Self)^.&set := $00100000;
  36032. end;
  36033. procedure TINT_IEC0.clearIC4EIE; inline;
  36034. begin
  36035. pTDefRegMap(@Self)^.clr := $00100000;
  36036. end;
  36037. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  36038. begin
  36039. if thebits = 0 then
  36040. pTDefRegMap(@Self)^.clr := $00100000
  36041. else
  36042. pTDefRegMap(@Self)^.&set := $00100000;
  36043. end;
  36044. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  36045. begin
  36046. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  36047. end;
  36048. procedure TINT_IEC0.setIC4IE; inline;
  36049. begin
  36050. pTDefRegMap(@Self)^.&set := $00200000;
  36051. end;
  36052. procedure TINT_IEC0.clearIC4IE; inline;
  36053. begin
  36054. pTDefRegMap(@Self)^.clr := $00200000;
  36055. end;
  36056. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  36057. begin
  36058. if thebits = 0 then
  36059. pTDefRegMap(@Self)^.clr := $00200000
  36060. else
  36061. pTDefRegMap(@Self)^.&set := $00200000;
  36062. end;
  36063. function TINT_IEC0.getIC4IE : TBits_1; inline;
  36064. begin
  36065. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  36066. end;
  36067. procedure TINT_IEC0.setOC4IE; inline;
  36068. begin
  36069. pTDefRegMap(@Self)^.&set := $00400000;
  36070. end;
  36071. procedure TINT_IEC0.clearOC4IE; inline;
  36072. begin
  36073. pTDefRegMap(@Self)^.clr := $00400000;
  36074. end;
  36075. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  36076. begin
  36077. if thebits = 0 then
  36078. pTDefRegMap(@Self)^.clr := $00400000
  36079. else
  36080. pTDefRegMap(@Self)^.&set := $00400000;
  36081. end;
  36082. function TINT_IEC0.getOC4IE : TBits_1; inline;
  36083. begin
  36084. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36085. end;
  36086. procedure TINT_IEC0.setINT4IE; inline;
  36087. begin
  36088. pTDefRegMap(@Self)^.&set := $00800000;
  36089. end;
  36090. procedure TINT_IEC0.clearINT4IE; inline;
  36091. begin
  36092. pTDefRegMap(@Self)^.clr := $00800000;
  36093. end;
  36094. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  36095. begin
  36096. if thebits = 0 then
  36097. pTDefRegMap(@Self)^.clr := $00800000
  36098. else
  36099. pTDefRegMap(@Self)^.&set := $00800000;
  36100. end;
  36101. function TINT_IEC0.getINT4IE : TBits_1; inline;
  36102. begin
  36103. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36104. end;
  36105. procedure TINT_IEC0.setT5IE; inline;
  36106. begin
  36107. pTDefRegMap(@Self)^.&set := $01000000;
  36108. end;
  36109. procedure TINT_IEC0.clearT5IE; inline;
  36110. begin
  36111. pTDefRegMap(@Self)^.clr := $01000000;
  36112. end;
  36113. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  36114. begin
  36115. if thebits = 0 then
  36116. pTDefRegMap(@Self)^.clr := $01000000
  36117. else
  36118. pTDefRegMap(@Self)^.&set := $01000000;
  36119. end;
  36120. function TINT_IEC0.getT5IE : TBits_1; inline;
  36121. begin
  36122. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36123. end;
  36124. procedure TINT_IEC0.setIC5EIE; inline;
  36125. begin
  36126. pTDefRegMap(@Self)^.&set := $02000000;
  36127. end;
  36128. procedure TINT_IEC0.clearIC5EIE; inline;
  36129. begin
  36130. pTDefRegMap(@Self)^.clr := $02000000;
  36131. end;
  36132. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  36133. begin
  36134. if thebits = 0 then
  36135. pTDefRegMap(@Self)^.clr := $02000000
  36136. else
  36137. pTDefRegMap(@Self)^.&set := $02000000;
  36138. end;
  36139. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  36140. begin
  36141. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  36142. end;
  36143. procedure TINT_IEC0.setIC5IE; inline;
  36144. begin
  36145. pTDefRegMap(@Self)^.&set := $04000000;
  36146. end;
  36147. procedure TINT_IEC0.clearIC5IE; inline;
  36148. begin
  36149. pTDefRegMap(@Self)^.clr := $04000000;
  36150. end;
  36151. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  36152. begin
  36153. if thebits = 0 then
  36154. pTDefRegMap(@Self)^.clr := $04000000
  36155. else
  36156. pTDefRegMap(@Self)^.&set := $04000000;
  36157. end;
  36158. function TINT_IEC0.getIC5IE : TBits_1; inline;
  36159. begin
  36160. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  36161. end;
  36162. procedure TINT_IEC0.setOC5IE; inline;
  36163. begin
  36164. pTDefRegMap(@Self)^.&set := $08000000;
  36165. end;
  36166. procedure TINT_IEC0.clearOC5IE; inline;
  36167. begin
  36168. pTDefRegMap(@Self)^.clr := $08000000;
  36169. end;
  36170. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  36171. begin
  36172. if thebits = 0 then
  36173. pTDefRegMap(@Self)^.clr := $08000000
  36174. else
  36175. pTDefRegMap(@Self)^.&set := $08000000;
  36176. end;
  36177. function TINT_IEC0.getOC5IE : TBits_1; inline;
  36178. begin
  36179. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  36180. end;
  36181. procedure TINT_IEC0.setAD1IE; inline;
  36182. begin
  36183. pTDefRegMap(@Self)^.&set := $10000000;
  36184. end;
  36185. procedure TINT_IEC0.clearAD1IE; inline;
  36186. begin
  36187. pTDefRegMap(@Self)^.clr := $10000000;
  36188. end;
  36189. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  36190. begin
  36191. if thebits = 0 then
  36192. pTDefRegMap(@Self)^.clr := $10000000
  36193. else
  36194. pTDefRegMap(@Self)^.&set := $10000000;
  36195. end;
  36196. function TINT_IEC0.getAD1IE : TBits_1; inline;
  36197. begin
  36198. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  36199. end;
  36200. procedure TINT_IEC0.setFSCMIE; inline;
  36201. begin
  36202. pTDefRegMap(@Self)^.&set := $20000000;
  36203. end;
  36204. procedure TINT_IEC0.clearFSCMIE; inline;
  36205. begin
  36206. pTDefRegMap(@Self)^.clr := $20000000;
  36207. end;
  36208. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  36209. begin
  36210. if thebits = 0 then
  36211. pTDefRegMap(@Self)^.clr := $20000000
  36212. else
  36213. pTDefRegMap(@Self)^.&set := $20000000;
  36214. end;
  36215. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  36216. begin
  36217. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  36218. end;
  36219. procedure TINT_IEC0.setRTCCIE; inline;
  36220. begin
  36221. pTDefRegMap(@Self)^.&set := $40000000;
  36222. end;
  36223. procedure TINT_IEC0.clearRTCCIE; inline;
  36224. begin
  36225. pTDefRegMap(@Self)^.clr := $40000000;
  36226. end;
  36227. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  36228. begin
  36229. if thebits = 0 then
  36230. pTDefRegMap(@Self)^.clr := $40000000
  36231. else
  36232. pTDefRegMap(@Self)^.&set := $40000000;
  36233. end;
  36234. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  36235. begin
  36236. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  36237. end;
  36238. procedure TINT_IEC0.setFCEIE; inline;
  36239. begin
  36240. pTDefRegMap(@Self)^.&set := $80000000;
  36241. end;
  36242. procedure TINT_IEC0.clearFCEIE; inline;
  36243. begin
  36244. pTDefRegMap(@Self)^.clr := $80000000;
  36245. end;
  36246. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  36247. begin
  36248. if thebits = 0 then
  36249. pTDefRegMap(@Self)^.clr := $80000000
  36250. else
  36251. pTDefRegMap(@Self)^.&set := $80000000;
  36252. end;
  36253. function TINT_IEC0.getFCEIE : TBits_1; inline;
  36254. begin
  36255. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  36256. end;
  36257. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  36258. begin
  36259. pTDefRegMap(@Self)^.val := thebits;
  36260. end;
  36261. function TINT_IEC0.getw : TBits_32; inline;
  36262. begin
  36263. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36264. end;
  36265. procedure TINT_IEC1.setCMP1IE; inline;
  36266. begin
  36267. pTDefRegMap(@Self)^.&set := $00000001;
  36268. end;
  36269. procedure TINT_IEC1.clearCMP1IE; inline;
  36270. begin
  36271. pTDefRegMap(@Self)^.clr := $00000001;
  36272. end;
  36273. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  36274. begin
  36275. if thebits = 0 then
  36276. pTDefRegMap(@Self)^.clr := $00000001
  36277. else
  36278. pTDefRegMap(@Self)^.&set := $00000001;
  36279. end;
  36280. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  36281. begin
  36282. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36283. end;
  36284. procedure TINT_IEC1.setCMP2IE; inline;
  36285. begin
  36286. pTDefRegMap(@Self)^.&set := $00000002;
  36287. end;
  36288. procedure TINT_IEC1.clearCMP2IE; inline;
  36289. begin
  36290. pTDefRegMap(@Self)^.clr := $00000002;
  36291. end;
  36292. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  36293. begin
  36294. if thebits = 0 then
  36295. pTDefRegMap(@Self)^.clr := $00000002
  36296. else
  36297. pTDefRegMap(@Self)^.&set := $00000002;
  36298. end;
  36299. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  36300. begin
  36301. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36302. end;
  36303. procedure TINT_IEC1.setSPI1EIE; inline;
  36304. begin
  36305. pTDefRegMap(@Self)^.&set := $00000008;
  36306. end;
  36307. procedure TINT_IEC1.clearSPI1EIE; inline;
  36308. begin
  36309. pTDefRegMap(@Self)^.clr := $00000008;
  36310. end;
  36311. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  36312. begin
  36313. if thebits = 0 then
  36314. pTDefRegMap(@Self)^.clr := $00000008
  36315. else
  36316. pTDefRegMap(@Self)^.&set := $00000008;
  36317. end;
  36318. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  36319. begin
  36320. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36321. end;
  36322. procedure TINT_IEC1.setSPI1RXIE; inline;
  36323. begin
  36324. pTDefRegMap(@Self)^.&set := $00000010;
  36325. end;
  36326. procedure TINT_IEC1.clearSPI1RXIE; inline;
  36327. begin
  36328. pTDefRegMap(@Self)^.clr := $00000010;
  36329. end;
  36330. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  36331. begin
  36332. if thebits = 0 then
  36333. pTDefRegMap(@Self)^.clr := $00000010
  36334. else
  36335. pTDefRegMap(@Self)^.&set := $00000010;
  36336. end;
  36337. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  36338. begin
  36339. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36340. end;
  36341. procedure TINT_IEC1.setSPI1TXIE; inline;
  36342. begin
  36343. pTDefRegMap(@Self)^.&set := $00000020;
  36344. end;
  36345. procedure TINT_IEC1.clearSPI1TXIE; inline;
  36346. begin
  36347. pTDefRegMap(@Self)^.clr := $00000020;
  36348. end;
  36349. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  36350. begin
  36351. if thebits = 0 then
  36352. pTDefRegMap(@Self)^.clr := $00000020
  36353. else
  36354. pTDefRegMap(@Self)^.&set := $00000020;
  36355. end;
  36356. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  36357. begin
  36358. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36359. end;
  36360. procedure TINT_IEC1.setU1EIE; inline;
  36361. begin
  36362. pTDefRegMap(@Self)^.&set := $00000040;
  36363. end;
  36364. procedure TINT_IEC1.clearU1EIE; inline;
  36365. begin
  36366. pTDefRegMap(@Self)^.clr := $00000040;
  36367. end;
  36368. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  36369. begin
  36370. if thebits = 0 then
  36371. pTDefRegMap(@Self)^.clr := $00000040
  36372. else
  36373. pTDefRegMap(@Self)^.&set := $00000040;
  36374. end;
  36375. function TINT_IEC1.getU1EIE : TBits_1; inline;
  36376. begin
  36377. getU1EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36378. end;
  36379. procedure TINT_IEC1.setU1RXIE; inline;
  36380. begin
  36381. pTDefRegMap(@Self)^.&set := $00000080;
  36382. end;
  36383. procedure TINT_IEC1.clearU1RXIE; inline;
  36384. begin
  36385. pTDefRegMap(@Self)^.clr := $00000080;
  36386. end;
  36387. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  36388. begin
  36389. if thebits = 0 then
  36390. pTDefRegMap(@Self)^.clr := $00000080
  36391. else
  36392. pTDefRegMap(@Self)^.&set := $00000080;
  36393. end;
  36394. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  36395. begin
  36396. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36397. end;
  36398. procedure TINT_IEC1.setU1TXIE; inline;
  36399. begin
  36400. pTDefRegMap(@Self)^.&set := $00000100;
  36401. end;
  36402. procedure TINT_IEC1.clearU1TXIE; inline;
  36403. begin
  36404. pTDefRegMap(@Self)^.clr := $00000100;
  36405. end;
  36406. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  36407. begin
  36408. if thebits = 0 then
  36409. pTDefRegMap(@Self)^.clr := $00000100
  36410. else
  36411. pTDefRegMap(@Self)^.&set := $00000100;
  36412. end;
  36413. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  36414. begin
  36415. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36416. end;
  36417. procedure TINT_IEC1.setI2C1BIE; inline;
  36418. begin
  36419. pTDefRegMap(@Self)^.&set := $00000200;
  36420. end;
  36421. procedure TINT_IEC1.clearI2C1BIE; inline;
  36422. begin
  36423. pTDefRegMap(@Self)^.clr := $00000200;
  36424. end;
  36425. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  36426. begin
  36427. if thebits = 0 then
  36428. pTDefRegMap(@Self)^.clr := $00000200
  36429. else
  36430. pTDefRegMap(@Self)^.&set := $00000200;
  36431. end;
  36432. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  36433. begin
  36434. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36435. end;
  36436. procedure TINT_IEC1.setI2C1SIE; inline;
  36437. begin
  36438. pTDefRegMap(@Self)^.&set := $00000400;
  36439. end;
  36440. procedure TINT_IEC1.clearI2C1SIE; inline;
  36441. begin
  36442. pTDefRegMap(@Self)^.clr := $00000400;
  36443. end;
  36444. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  36445. begin
  36446. if thebits = 0 then
  36447. pTDefRegMap(@Self)^.clr := $00000400
  36448. else
  36449. pTDefRegMap(@Self)^.&set := $00000400;
  36450. end;
  36451. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  36452. begin
  36453. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36454. end;
  36455. procedure TINT_IEC1.setI2C1MIE; inline;
  36456. begin
  36457. pTDefRegMap(@Self)^.&set := $00000800;
  36458. end;
  36459. procedure TINT_IEC1.clearI2C1MIE; inline;
  36460. begin
  36461. pTDefRegMap(@Self)^.clr := $00000800;
  36462. end;
  36463. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  36464. begin
  36465. if thebits = 0 then
  36466. pTDefRegMap(@Self)^.clr := $00000800
  36467. else
  36468. pTDefRegMap(@Self)^.&set := $00000800;
  36469. end;
  36470. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  36471. begin
  36472. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36473. end;
  36474. procedure TINT_IEC1.setCNAIE; inline;
  36475. begin
  36476. pTDefRegMap(@Self)^.&set := $00001000;
  36477. end;
  36478. procedure TINT_IEC1.clearCNAIE; inline;
  36479. begin
  36480. pTDefRegMap(@Self)^.clr := $00001000;
  36481. end;
  36482. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  36483. begin
  36484. if thebits = 0 then
  36485. pTDefRegMap(@Self)^.clr := $00001000
  36486. else
  36487. pTDefRegMap(@Self)^.&set := $00001000;
  36488. end;
  36489. function TINT_IEC1.getCNAIE : TBits_1; inline;
  36490. begin
  36491. getCNAIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36492. end;
  36493. procedure TINT_IEC1.setCNBIE; inline;
  36494. begin
  36495. pTDefRegMap(@Self)^.&set := $00002000;
  36496. end;
  36497. procedure TINT_IEC1.clearCNBIE; inline;
  36498. begin
  36499. pTDefRegMap(@Self)^.clr := $00002000;
  36500. end;
  36501. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  36502. begin
  36503. if thebits = 0 then
  36504. pTDefRegMap(@Self)^.clr := $00002000
  36505. else
  36506. pTDefRegMap(@Self)^.&set := $00002000;
  36507. end;
  36508. function TINT_IEC1.getCNBIE : TBits_1; inline;
  36509. begin
  36510. getCNBIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36511. end;
  36512. procedure TINT_IEC1.setCNCIE; inline;
  36513. begin
  36514. pTDefRegMap(@Self)^.&set := $00004000;
  36515. end;
  36516. procedure TINT_IEC1.clearCNCIE; inline;
  36517. begin
  36518. pTDefRegMap(@Self)^.clr := $00004000;
  36519. end;
  36520. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  36521. begin
  36522. if thebits = 0 then
  36523. pTDefRegMap(@Self)^.clr := $00004000
  36524. else
  36525. pTDefRegMap(@Self)^.&set := $00004000;
  36526. end;
  36527. function TINT_IEC1.getCNCIE : TBits_1; inline;
  36528. begin
  36529. getCNCIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36530. end;
  36531. procedure TINT_IEC1.setCNDIE; inline;
  36532. begin
  36533. pTDefRegMap(@Self)^.&set := $00008000;
  36534. end;
  36535. procedure TINT_IEC1.clearCNDIE; inline;
  36536. begin
  36537. pTDefRegMap(@Self)^.clr := $00008000;
  36538. end;
  36539. procedure TINT_IEC1.setCNDIE(thebits : TBits_1); inline;
  36540. begin
  36541. if thebits = 0 then
  36542. pTDefRegMap(@Self)^.clr := $00008000
  36543. else
  36544. pTDefRegMap(@Self)^.&set := $00008000;
  36545. end;
  36546. function TINT_IEC1.getCNDIE : TBits_1; inline;
  36547. begin
  36548. getCNDIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36549. end;
  36550. procedure TINT_IEC1.setCNEIE; inline;
  36551. begin
  36552. pTDefRegMap(@Self)^.&set := $00010000;
  36553. end;
  36554. procedure TINT_IEC1.clearCNEIE; inline;
  36555. begin
  36556. pTDefRegMap(@Self)^.clr := $00010000;
  36557. end;
  36558. procedure TINT_IEC1.setCNEIE(thebits : TBits_1); inline;
  36559. begin
  36560. if thebits = 0 then
  36561. pTDefRegMap(@Self)^.clr := $00010000
  36562. else
  36563. pTDefRegMap(@Self)^.&set := $00010000;
  36564. end;
  36565. function TINT_IEC1.getCNEIE : TBits_1; inline;
  36566. begin
  36567. getCNEIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  36568. end;
  36569. procedure TINT_IEC1.setCNFIE; inline;
  36570. begin
  36571. pTDefRegMap(@Self)^.&set := $00020000;
  36572. end;
  36573. procedure TINT_IEC1.clearCNFIE; inline;
  36574. begin
  36575. pTDefRegMap(@Self)^.clr := $00020000;
  36576. end;
  36577. procedure TINT_IEC1.setCNFIE(thebits : TBits_1); inline;
  36578. begin
  36579. if thebits = 0 then
  36580. pTDefRegMap(@Self)^.clr := $00020000
  36581. else
  36582. pTDefRegMap(@Self)^.&set := $00020000;
  36583. end;
  36584. function TINT_IEC1.getCNFIE : TBits_1; inline;
  36585. begin
  36586. getCNFIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  36587. end;
  36588. procedure TINT_IEC1.setCNGIE; inline;
  36589. begin
  36590. pTDefRegMap(@Self)^.&set := $00040000;
  36591. end;
  36592. procedure TINT_IEC1.clearCNGIE; inline;
  36593. begin
  36594. pTDefRegMap(@Self)^.clr := $00040000;
  36595. end;
  36596. procedure TINT_IEC1.setCNGIE(thebits : TBits_1); inline;
  36597. begin
  36598. if thebits = 0 then
  36599. pTDefRegMap(@Self)^.clr := $00040000
  36600. else
  36601. pTDefRegMap(@Self)^.&set := $00040000;
  36602. end;
  36603. function TINT_IEC1.getCNGIE : TBits_1; inline;
  36604. begin
  36605. getCNGIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  36606. end;
  36607. procedure TINT_IEC1.setPMPIE; inline;
  36608. begin
  36609. pTDefRegMap(@Self)^.&set := $00080000;
  36610. end;
  36611. procedure TINT_IEC1.clearPMPIE; inline;
  36612. begin
  36613. pTDefRegMap(@Self)^.clr := $00080000;
  36614. end;
  36615. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  36616. begin
  36617. if thebits = 0 then
  36618. pTDefRegMap(@Self)^.clr := $00080000
  36619. else
  36620. pTDefRegMap(@Self)^.&set := $00080000;
  36621. end;
  36622. function TINT_IEC1.getPMPIE : TBits_1; inline;
  36623. begin
  36624. getPMPIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  36625. end;
  36626. procedure TINT_IEC1.setPMPEIE; inline;
  36627. begin
  36628. pTDefRegMap(@Self)^.&set := $00100000;
  36629. end;
  36630. procedure TINT_IEC1.clearPMPEIE; inline;
  36631. begin
  36632. pTDefRegMap(@Self)^.clr := $00100000;
  36633. end;
  36634. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  36635. begin
  36636. if thebits = 0 then
  36637. pTDefRegMap(@Self)^.clr := $00100000
  36638. else
  36639. pTDefRegMap(@Self)^.&set := $00100000;
  36640. end;
  36641. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  36642. begin
  36643. getPMPEIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  36644. end;
  36645. procedure TINT_IEC1.setSPI2EIE; inline;
  36646. begin
  36647. pTDefRegMap(@Self)^.&set := $00200000;
  36648. end;
  36649. procedure TINT_IEC1.clearSPI2EIE; inline;
  36650. begin
  36651. pTDefRegMap(@Self)^.clr := $00200000;
  36652. end;
  36653. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  36654. begin
  36655. if thebits = 0 then
  36656. pTDefRegMap(@Self)^.clr := $00200000
  36657. else
  36658. pTDefRegMap(@Self)^.&set := $00200000;
  36659. end;
  36660. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  36661. begin
  36662. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  36663. end;
  36664. procedure TINT_IEC1.setSPI2RXIE; inline;
  36665. begin
  36666. pTDefRegMap(@Self)^.&set := $00400000;
  36667. end;
  36668. procedure TINT_IEC1.clearSPI2RXIE; inline;
  36669. begin
  36670. pTDefRegMap(@Self)^.clr := $00400000;
  36671. end;
  36672. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  36673. begin
  36674. if thebits = 0 then
  36675. pTDefRegMap(@Self)^.clr := $00400000
  36676. else
  36677. pTDefRegMap(@Self)^.&set := $00400000;
  36678. end;
  36679. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  36680. begin
  36681. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36682. end;
  36683. procedure TINT_IEC1.setSPI2TXIE; inline;
  36684. begin
  36685. pTDefRegMap(@Self)^.&set := $00800000;
  36686. end;
  36687. procedure TINT_IEC1.clearSPI2TXIE; inline;
  36688. begin
  36689. pTDefRegMap(@Self)^.clr := $00800000;
  36690. end;
  36691. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  36692. begin
  36693. if thebits = 0 then
  36694. pTDefRegMap(@Self)^.clr := $00800000
  36695. else
  36696. pTDefRegMap(@Self)^.&set := $00800000;
  36697. end;
  36698. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  36699. begin
  36700. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36701. end;
  36702. procedure TINT_IEC1.setU2EIE; inline;
  36703. begin
  36704. pTDefRegMap(@Self)^.&set := $01000000;
  36705. end;
  36706. procedure TINT_IEC1.clearU2EIE; inline;
  36707. begin
  36708. pTDefRegMap(@Self)^.clr := $01000000;
  36709. end;
  36710. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  36711. begin
  36712. if thebits = 0 then
  36713. pTDefRegMap(@Self)^.clr := $01000000
  36714. else
  36715. pTDefRegMap(@Self)^.&set := $01000000;
  36716. end;
  36717. function TINT_IEC1.getU2EIE : TBits_1; inline;
  36718. begin
  36719. getU2EIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36720. end;
  36721. procedure TINT_IEC1.setU2RXIE; inline;
  36722. begin
  36723. pTDefRegMap(@Self)^.&set := $02000000;
  36724. end;
  36725. procedure TINT_IEC1.clearU2RXIE; inline;
  36726. begin
  36727. pTDefRegMap(@Self)^.clr := $02000000;
  36728. end;
  36729. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  36730. begin
  36731. if thebits = 0 then
  36732. pTDefRegMap(@Self)^.clr := $02000000
  36733. else
  36734. pTDefRegMap(@Self)^.&set := $02000000;
  36735. end;
  36736. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  36737. begin
  36738. getU2RXIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  36739. end;
  36740. procedure TINT_IEC1.setU2TXIE; inline;
  36741. begin
  36742. pTDefRegMap(@Self)^.&set := $04000000;
  36743. end;
  36744. procedure TINT_IEC1.clearU2TXIE; inline;
  36745. begin
  36746. pTDefRegMap(@Self)^.clr := $04000000;
  36747. end;
  36748. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  36749. begin
  36750. if thebits = 0 then
  36751. pTDefRegMap(@Self)^.clr := $04000000
  36752. else
  36753. pTDefRegMap(@Self)^.&set := $04000000;
  36754. end;
  36755. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  36756. begin
  36757. getU2TXIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  36758. end;
  36759. procedure TINT_IEC1.setI2C2BIE; inline;
  36760. begin
  36761. pTDefRegMap(@Self)^.&set := $08000000;
  36762. end;
  36763. procedure TINT_IEC1.clearI2C2BIE; inline;
  36764. begin
  36765. pTDefRegMap(@Self)^.clr := $08000000;
  36766. end;
  36767. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  36768. begin
  36769. if thebits = 0 then
  36770. pTDefRegMap(@Self)^.clr := $08000000
  36771. else
  36772. pTDefRegMap(@Self)^.&set := $08000000;
  36773. end;
  36774. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  36775. begin
  36776. getI2C2BIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  36777. end;
  36778. procedure TINT_IEC1.setI2C2SIE; inline;
  36779. begin
  36780. pTDefRegMap(@Self)^.&set := $10000000;
  36781. end;
  36782. procedure TINT_IEC1.clearI2C2SIE; inline;
  36783. begin
  36784. pTDefRegMap(@Self)^.clr := $10000000;
  36785. end;
  36786. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  36787. begin
  36788. if thebits = 0 then
  36789. pTDefRegMap(@Self)^.clr := $10000000
  36790. else
  36791. pTDefRegMap(@Self)^.&set := $10000000;
  36792. end;
  36793. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  36794. begin
  36795. getI2C2SIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  36796. end;
  36797. procedure TINT_IEC1.setI2C2MIE; inline;
  36798. begin
  36799. pTDefRegMap(@Self)^.&set := $20000000;
  36800. end;
  36801. procedure TINT_IEC1.clearI2C2MIE; inline;
  36802. begin
  36803. pTDefRegMap(@Self)^.clr := $20000000;
  36804. end;
  36805. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  36806. begin
  36807. if thebits = 0 then
  36808. pTDefRegMap(@Self)^.clr := $20000000
  36809. else
  36810. pTDefRegMap(@Self)^.&set := $20000000;
  36811. end;
  36812. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  36813. begin
  36814. getI2C2MIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  36815. end;
  36816. procedure TINT_IEC1.setU3EIE; inline;
  36817. begin
  36818. pTDefRegMap(@Self)^.&set := $40000000;
  36819. end;
  36820. procedure TINT_IEC1.clearU3EIE; inline;
  36821. begin
  36822. pTDefRegMap(@Self)^.clr := $40000000;
  36823. end;
  36824. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  36825. begin
  36826. if thebits = 0 then
  36827. pTDefRegMap(@Self)^.clr := $40000000
  36828. else
  36829. pTDefRegMap(@Self)^.&set := $40000000;
  36830. end;
  36831. function TINT_IEC1.getU3EIE : TBits_1; inline;
  36832. begin
  36833. getU3EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  36834. end;
  36835. procedure TINT_IEC1.setU3RXIE; inline;
  36836. begin
  36837. pTDefRegMap(@Self)^.&set := $80000000;
  36838. end;
  36839. procedure TINT_IEC1.clearU3RXIE; inline;
  36840. begin
  36841. pTDefRegMap(@Self)^.clr := $80000000;
  36842. end;
  36843. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  36844. begin
  36845. if thebits = 0 then
  36846. pTDefRegMap(@Self)^.clr := $80000000
  36847. else
  36848. pTDefRegMap(@Self)^.&set := $80000000;
  36849. end;
  36850. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  36851. begin
  36852. getU3RXIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  36853. end;
  36854. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  36855. begin
  36856. pTDefRegMap(@Self)^.val := thebits;
  36857. end;
  36858. function TINT_IEC1.getw : TBits_32; inline;
  36859. begin
  36860. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36861. end;
  36862. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  36863. begin
  36864. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  36865. end;
  36866. function TINT_IPC0.getCTIS : TBits_2; inline;
  36867. begin
  36868. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  36869. end;
  36870. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  36871. begin
  36872. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  36873. end;
  36874. function TINT_IPC0.getCTIP : TBits_3; inline;
  36875. begin
  36876. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  36877. end;
  36878. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  36879. begin
  36880. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  36881. end;
  36882. function TINT_IPC0.getCS0IS : TBits_2; inline;
  36883. begin
  36884. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  36885. end;
  36886. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  36887. begin
  36888. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  36889. end;
  36890. function TINT_IPC0.getCS0IP : TBits_3; inline;
  36891. begin
  36892. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  36893. end;
  36894. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  36895. begin
  36896. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  36897. end;
  36898. function TINT_IPC0.getCS1IS : TBits_2; inline;
  36899. begin
  36900. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  36901. end;
  36902. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  36903. begin
  36904. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  36905. end;
  36906. function TINT_IPC0.getCS1IP : TBits_3; inline;
  36907. begin
  36908. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  36909. end;
  36910. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  36911. begin
  36912. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  36913. end;
  36914. function TINT_IPC0.getINT0IS : TBits_2; inline;
  36915. begin
  36916. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  36917. end;
  36918. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  36919. begin
  36920. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  36921. end;
  36922. function TINT_IPC0.getINT0IP : TBits_3; inline;
  36923. begin
  36924. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  36925. end;
  36926. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  36927. begin
  36928. pTDefRegMap(@Self)^.val := thebits;
  36929. end;
  36930. function TINT_IPC0.getw : TBits_32; inline;
  36931. begin
  36932. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36933. end;
  36934. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  36935. begin
  36936. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  36937. end;
  36938. function TINT_IPC1.getT1IS : TBits_2; inline;
  36939. begin
  36940. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  36941. end;
  36942. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  36943. begin
  36944. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  36945. end;
  36946. function TINT_IPC1.getT1IP : TBits_3; inline;
  36947. begin
  36948. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  36949. end;
  36950. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  36951. begin
  36952. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  36953. end;
  36954. function TINT_IPC1.getIC1IS : TBits_2; inline;
  36955. begin
  36956. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  36957. end;
  36958. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  36959. begin
  36960. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  36961. end;
  36962. function TINT_IPC1.getIC1IP : TBits_3; inline;
  36963. begin
  36964. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  36965. end;
  36966. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  36967. begin
  36968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  36969. end;
  36970. function TINT_IPC1.getOC1IS : TBits_2; inline;
  36971. begin
  36972. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  36973. end;
  36974. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  36975. begin
  36976. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  36977. end;
  36978. function TINT_IPC1.getOC1IP : TBits_3; inline;
  36979. begin
  36980. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  36981. end;
  36982. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  36983. begin
  36984. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  36985. end;
  36986. function TINT_IPC1.getINT1IS : TBits_2; inline;
  36987. begin
  36988. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  36989. end;
  36990. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  36991. begin
  36992. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  36993. end;
  36994. function TINT_IPC1.getINT1IP : TBits_3; inline;
  36995. begin
  36996. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  36997. end;
  36998. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  36999. begin
  37000. pTDefRegMap(@Self)^.val := thebits;
  37001. end;
  37002. function TINT_IPC1.getw : TBits_32; inline;
  37003. begin
  37004. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37005. end;
  37006. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  37007. begin
  37008. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37009. end;
  37010. function TINT_IPC2.getT2IS : TBits_2; inline;
  37011. begin
  37012. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37013. end;
  37014. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  37015. begin
  37016. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37017. end;
  37018. function TINT_IPC2.getT2IP : TBits_3; inline;
  37019. begin
  37020. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37021. end;
  37022. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  37023. begin
  37024. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37025. end;
  37026. function TINT_IPC2.getIC2IS : TBits_2; inline;
  37027. begin
  37028. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37029. end;
  37030. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  37031. begin
  37032. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37033. end;
  37034. function TINT_IPC2.getIC2IP : TBits_3; inline;
  37035. begin
  37036. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37037. end;
  37038. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  37039. begin
  37040. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37041. end;
  37042. function TINT_IPC2.getOC2IS : TBits_2; inline;
  37043. begin
  37044. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37045. end;
  37046. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  37047. begin
  37048. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37049. end;
  37050. function TINT_IPC2.getOC2IP : TBits_3; inline;
  37051. begin
  37052. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37053. end;
  37054. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  37055. begin
  37056. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37057. end;
  37058. function TINT_IPC2.getINT2IS : TBits_2; inline;
  37059. begin
  37060. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37061. end;
  37062. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  37063. begin
  37064. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37065. end;
  37066. function TINT_IPC2.getINT2IP : TBits_3; inline;
  37067. begin
  37068. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37069. end;
  37070. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  37071. begin
  37072. pTDefRegMap(@Self)^.val := thebits;
  37073. end;
  37074. function TINT_IPC2.getw : TBits_32; inline;
  37075. begin
  37076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37077. end;
  37078. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  37079. begin
  37080. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37081. end;
  37082. function TINT_IPC3.getT3IS : TBits_2; inline;
  37083. begin
  37084. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37085. end;
  37086. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  37087. begin
  37088. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37089. end;
  37090. function TINT_IPC3.getT3IP : TBits_3; inline;
  37091. begin
  37092. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37093. end;
  37094. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  37095. begin
  37096. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37097. end;
  37098. function TINT_IPC3.getIC3IS : TBits_2; inline;
  37099. begin
  37100. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37101. end;
  37102. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  37103. begin
  37104. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37105. end;
  37106. function TINT_IPC3.getIC3IP : TBits_3; inline;
  37107. begin
  37108. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37109. end;
  37110. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  37111. begin
  37112. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37113. end;
  37114. function TINT_IPC3.getOC3IS : TBits_2; inline;
  37115. begin
  37116. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37117. end;
  37118. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  37119. begin
  37120. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37121. end;
  37122. function TINT_IPC3.getOC3IP : TBits_3; inline;
  37123. begin
  37124. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37125. end;
  37126. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  37127. begin
  37128. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37129. end;
  37130. function TINT_IPC3.getINT3IS : TBits_2; inline;
  37131. begin
  37132. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37133. end;
  37134. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  37135. begin
  37136. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37137. end;
  37138. function TINT_IPC3.getINT3IP : TBits_3; inline;
  37139. begin
  37140. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37141. end;
  37142. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  37143. begin
  37144. pTDefRegMap(@Self)^.val := thebits;
  37145. end;
  37146. function TINT_IPC3.getw : TBits_32; inline;
  37147. begin
  37148. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37149. end;
  37150. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  37151. begin
  37152. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37153. end;
  37154. function TINT_IPC4.getT4IS : TBits_2; inline;
  37155. begin
  37156. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37157. end;
  37158. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  37159. begin
  37160. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37161. end;
  37162. function TINT_IPC4.getT4IP : TBits_3; inline;
  37163. begin
  37164. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37165. end;
  37166. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  37167. begin
  37168. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37169. end;
  37170. function TINT_IPC4.getIC4IS : TBits_2; inline;
  37171. begin
  37172. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37173. end;
  37174. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  37175. begin
  37176. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37177. end;
  37178. function TINT_IPC4.getIC4IP : TBits_3; inline;
  37179. begin
  37180. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37181. end;
  37182. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  37183. begin
  37184. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37185. end;
  37186. function TINT_IPC4.getOC4IS : TBits_2; inline;
  37187. begin
  37188. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37189. end;
  37190. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  37191. begin
  37192. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37193. end;
  37194. function TINT_IPC4.getOC4IP : TBits_3; inline;
  37195. begin
  37196. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37197. end;
  37198. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  37199. begin
  37200. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37201. end;
  37202. function TINT_IPC4.getINT4IS : TBits_2; inline;
  37203. begin
  37204. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37205. end;
  37206. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  37207. begin
  37208. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37209. end;
  37210. function TINT_IPC4.getINT4IP : TBits_3; inline;
  37211. begin
  37212. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37213. end;
  37214. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  37215. begin
  37216. pTDefRegMap(@Self)^.val := thebits;
  37217. end;
  37218. function TINT_IPC4.getw : TBits_32; inline;
  37219. begin
  37220. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37221. end;
  37222. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  37223. begin
  37224. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37225. end;
  37226. function TINT_IPC5.getT5IS : TBits_2; inline;
  37227. begin
  37228. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37229. end;
  37230. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  37231. begin
  37232. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37233. end;
  37234. function TINT_IPC5.getT5IP : TBits_3; inline;
  37235. begin
  37236. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37237. end;
  37238. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  37239. begin
  37240. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37241. end;
  37242. function TINT_IPC5.getIC5IS : TBits_2; inline;
  37243. begin
  37244. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37245. end;
  37246. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  37247. begin
  37248. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37249. end;
  37250. function TINT_IPC5.getIC5IP : TBits_3; inline;
  37251. begin
  37252. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37253. end;
  37254. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  37255. begin
  37256. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37257. end;
  37258. function TINT_IPC5.getOC5IS : TBits_2; inline;
  37259. begin
  37260. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37261. end;
  37262. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  37263. begin
  37264. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37265. end;
  37266. function TINT_IPC5.getOC5IP : TBits_3; inline;
  37267. begin
  37268. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37269. end;
  37270. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  37271. begin
  37272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37273. end;
  37274. function TINT_IPC5.getAD1IS : TBits_2; inline;
  37275. begin
  37276. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37277. end;
  37278. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  37279. begin
  37280. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37281. end;
  37282. function TINT_IPC5.getAD1IP : TBits_3; inline;
  37283. begin
  37284. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37285. end;
  37286. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  37287. begin
  37288. pTDefRegMap(@Self)^.val := thebits;
  37289. end;
  37290. function TINT_IPC5.getw : TBits_32; inline;
  37291. begin
  37292. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37293. end;
  37294. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  37295. begin
  37296. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37297. end;
  37298. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  37299. begin
  37300. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37301. end;
  37302. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  37303. begin
  37304. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37305. end;
  37306. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  37307. begin
  37308. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37309. end;
  37310. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  37311. begin
  37312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37313. end;
  37314. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  37315. begin
  37316. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37317. end;
  37318. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  37319. begin
  37320. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37321. end;
  37322. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  37323. begin
  37324. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37325. end;
  37326. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  37327. begin
  37328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37329. end;
  37330. function TINT_IPC6.getFCEIS : TBits_2; inline;
  37331. begin
  37332. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37333. end;
  37334. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  37335. begin
  37336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37337. end;
  37338. function TINT_IPC6.getFCEIP : TBits_3; inline;
  37339. begin
  37340. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37341. end;
  37342. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  37343. begin
  37344. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37345. end;
  37346. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  37347. begin
  37348. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37349. end;
  37350. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  37351. begin
  37352. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37353. end;
  37354. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  37355. begin
  37356. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37357. end;
  37358. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  37359. begin
  37360. pTDefRegMap(@Self)^.val := thebits;
  37361. end;
  37362. function TINT_IPC6.getw : TBits_32; inline;
  37363. begin
  37364. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37365. end;
  37366. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  37367. begin
  37368. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37369. end;
  37370. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  37371. begin
  37372. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37373. end;
  37374. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  37375. begin
  37376. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37377. end;
  37378. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  37379. begin
  37380. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37381. end;
  37382. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  37383. begin
  37384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37385. end;
  37386. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  37387. begin
  37388. getSPI1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37389. end;
  37390. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  37391. begin
  37392. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37393. end;
  37394. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  37395. begin
  37396. getSPI1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37397. end;
  37398. procedure TINT_IPC7.setU1IS(thebits : TBits_2); inline;
  37399. begin
  37400. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37401. end;
  37402. function TINT_IPC7.getU1IS : TBits_2; inline;
  37403. begin
  37404. getU1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37405. end;
  37406. procedure TINT_IPC7.setU1IP(thebits : TBits_3); inline;
  37407. begin
  37408. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37409. end;
  37410. function TINT_IPC7.getU1IP : TBits_3; inline;
  37411. begin
  37412. getU1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37413. end;
  37414. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  37415. begin
  37416. pTDefRegMap(@Self)^.val := thebits;
  37417. end;
  37418. function TINT_IPC7.getw : TBits_32; inline;
  37419. begin
  37420. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37421. end;
  37422. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  37423. begin
  37424. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37425. end;
  37426. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  37427. begin
  37428. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37429. end;
  37430. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  37431. begin
  37432. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37433. end;
  37434. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  37435. begin
  37436. getI2C1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37437. end;
  37438. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  37439. begin
  37440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37441. end;
  37442. function TINT_IPC8.getCNIS : TBits_2; inline;
  37443. begin
  37444. getCNIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37445. end;
  37446. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  37447. begin
  37448. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37449. end;
  37450. function TINT_IPC8.getCNIP : TBits_3; inline;
  37451. begin
  37452. getCNIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37453. end;
  37454. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  37455. begin
  37456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37457. end;
  37458. function TINT_IPC8.getPMPIS : TBits_2; inline;
  37459. begin
  37460. getPMPIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37461. end;
  37462. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  37463. begin
  37464. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37465. end;
  37466. function TINT_IPC8.getPMPIP : TBits_3; inline;
  37467. begin
  37468. getPMPIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37469. end;
  37470. procedure TINT_IPC8.setSPI2IS(thebits : TBits_2); inline;
  37471. begin
  37472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37473. end;
  37474. function TINT_IPC8.getSPI2IS : TBits_2; inline;
  37475. begin
  37476. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37477. end;
  37478. procedure TINT_IPC8.setSPI2IP(thebits : TBits_3); inline;
  37479. begin
  37480. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37481. end;
  37482. function TINT_IPC8.getSPI2IP : TBits_3; inline;
  37483. begin
  37484. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37485. end;
  37486. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  37487. begin
  37488. pTDefRegMap(@Self)^.val := thebits;
  37489. end;
  37490. function TINT_IPC8.getw : TBits_32; inline;
  37491. begin
  37492. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37493. end;
  37494. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  37495. begin
  37496. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37497. end;
  37498. function TINT_IPC9.getU2IS : TBits_2; inline;
  37499. begin
  37500. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37501. end;
  37502. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  37503. begin
  37504. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37505. end;
  37506. function TINT_IPC9.getU2IP : TBits_3; inline;
  37507. begin
  37508. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37509. end;
  37510. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  37511. begin
  37512. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37513. end;
  37514. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  37515. begin
  37516. getI2C2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37517. end;
  37518. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  37519. begin
  37520. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37521. end;
  37522. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  37523. begin
  37524. getI2C2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37525. end;
  37526. procedure TINT_IPC9.setU3IS(thebits : TBits_2); inline;
  37527. begin
  37528. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37529. end;
  37530. function TINT_IPC9.getU3IS : TBits_2; inline;
  37531. begin
  37532. getU3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37533. end;
  37534. procedure TINT_IPC9.setU3IP(thebits : TBits_3); inline;
  37535. begin
  37536. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37537. end;
  37538. function TINT_IPC9.getU3IP : TBits_3; inline;
  37539. begin
  37540. getU3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37541. end;
  37542. procedure TINT_IPC9.setU4IS(thebits : TBits_2); inline;
  37543. begin
  37544. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37545. end;
  37546. function TINT_IPC9.getU4IS : TBits_2; inline;
  37547. begin
  37548. getU4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37549. end;
  37550. procedure TINT_IPC9.setU4IP(thebits : TBits_3); inline;
  37551. begin
  37552. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37553. end;
  37554. function TINT_IPC9.getU4IP : TBits_3; inline;
  37555. begin
  37556. getU4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37557. end;
  37558. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  37559. begin
  37560. pTDefRegMap(@Self)^.val := thebits;
  37561. end;
  37562. function TINT_IPC9.getw : TBits_32; inline;
  37563. begin
  37564. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37565. end;
  37566. procedure TINT_IPC10.setU5IS(thebits : TBits_2); inline;
  37567. begin
  37568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37569. end;
  37570. function TINT_IPC10.getU5IS : TBits_2; inline;
  37571. begin
  37572. getU5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37573. end;
  37574. procedure TINT_IPC10.setU5IP(thebits : TBits_3); inline;
  37575. begin
  37576. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37577. end;
  37578. function TINT_IPC10.getU5IP : TBits_3; inline;
  37579. begin
  37580. getU5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37581. end;
  37582. procedure TINT_IPC10.setCTMUIP(thebits : TBits_2); inline;
  37583. begin
  37584. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37585. end;
  37586. function TINT_IPC10.getCTMUIP : TBits_2; inline;
  37587. begin
  37588. getCTMUIP := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37589. end;
  37590. procedure TINT_IPC10.setCTMUIS(thebits : TBits_3); inline;
  37591. begin
  37592. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37593. end;
  37594. function TINT_IPC10.getCTMUIS : TBits_3; inline;
  37595. begin
  37596. getCTMUIS := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37597. end;
  37598. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  37599. begin
  37600. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  37601. end;
  37602. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  37603. begin
  37604. getDMA0IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  37605. end;
  37606. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  37607. begin
  37608. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  37609. end;
  37610. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  37611. begin
  37612. getDMA0IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  37613. end;
  37614. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  37615. begin
  37616. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37617. end;
  37618. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  37619. begin
  37620. getDMA1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37621. end;
  37622. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  37623. begin
  37624. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  37625. end;
  37626. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  37627. begin
  37628. getDMA1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  37629. end;
  37630. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  37631. begin
  37632. pTDefRegMap(@Self)^.val := thebits;
  37633. end;
  37634. function TINT_IPC10.getw : TBits_32; inline;
  37635. begin
  37636. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37637. end;
  37638. procedure TINT_IPC11.setDMA2IS(thebits : TBits_2); inline;
  37639. begin
  37640. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37641. end;
  37642. function TINT_IPC11.getDMA2IS : TBits_2; inline;
  37643. begin
  37644. getDMA2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37645. end;
  37646. procedure TINT_IPC11.setDMA2IP(thebits : TBits_3); inline;
  37647. begin
  37648. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  37649. end;
  37650. function TINT_IPC11.getDMA2IP : TBits_3; inline;
  37651. begin
  37652. getDMA2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  37653. end;
  37654. procedure TINT_IPC11.setDMA3IS(thebits : TBits_2); inline;
  37655. begin
  37656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37657. end;
  37658. function TINT_IPC11.getDMA3IS : TBits_2; inline;
  37659. begin
  37660. getDMA3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37661. end;
  37662. procedure TINT_IPC11.setDMA3IP(thebits : TBits_3); inline;
  37663. begin
  37664. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  37665. end;
  37666. function TINT_IPC11.getDMA3IP : TBits_3; inline;
  37667. begin
  37668. getDMA3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  37669. end;
  37670. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  37671. begin
  37672. pTDefRegMap(@Self)^.val := thebits;
  37673. end;
  37674. function TINT_IPC11.getw : TBits_32; inline;
  37675. begin
  37676. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37677. end;
  37678. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  37679. begin
  37680. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37681. end;
  37682. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  37683. begin
  37684. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37685. end;
  37686. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  37687. begin
  37688. pTDefRegMap(@Self)^.&set := $00000040;
  37689. end;
  37690. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  37691. begin
  37692. pTDefRegMap(@Self)^.clr := $00000040;
  37693. end;
  37694. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  37695. begin
  37696. if thebits = 0 then
  37697. pTDefRegMap(@Self)^.clr := $00000040
  37698. else
  37699. pTDefRegMap(@Self)^.&set := $00000040;
  37700. end;
  37701. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  37702. begin
  37703. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37704. end;
  37705. procedure TBMX_BMXCON.setBMXERRIS; inline;
  37706. begin
  37707. pTDefRegMap(@Self)^.&set := $00010000;
  37708. end;
  37709. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  37710. begin
  37711. pTDefRegMap(@Self)^.clr := $00010000;
  37712. end;
  37713. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  37714. begin
  37715. if thebits = 0 then
  37716. pTDefRegMap(@Self)^.clr := $00010000
  37717. else
  37718. pTDefRegMap(@Self)^.&set := $00010000;
  37719. end;
  37720. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  37721. begin
  37722. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  37723. end;
  37724. procedure TBMX_BMXCON.setBMXERRDS; inline;
  37725. begin
  37726. pTDefRegMap(@Self)^.&set := $00020000;
  37727. end;
  37728. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  37729. begin
  37730. pTDefRegMap(@Self)^.clr := $00020000;
  37731. end;
  37732. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  37733. begin
  37734. if thebits = 0 then
  37735. pTDefRegMap(@Self)^.clr := $00020000
  37736. else
  37737. pTDefRegMap(@Self)^.&set := $00020000;
  37738. end;
  37739. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  37740. begin
  37741. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  37742. end;
  37743. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  37744. begin
  37745. pTDefRegMap(@Self)^.&set := $00040000;
  37746. end;
  37747. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  37748. begin
  37749. pTDefRegMap(@Self)^.clr := $00040000;
  37750. end;
  37751. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  37752. begin
  37753. if thebits = 0 then
  37754. pTDefRegMap(@Self)^.clr := $00040000
  37755. else
  37756. pTDefRegMap(@Self)^.&set := $00040000;
  37757. end;
  37758. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  37759. begin
  37760. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  37761. end;
  37762. procedure TBMX_BMXCON.setBMXERRICD; inline;
  37763. begin
  37764. pTDefRegMap(@Self)^.&set := $00080000;
  37765. end;
  37766. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  37767. begin
  37768. pTDefRegMap(@Self)^.clr := $00080000;
  37769. end;
  37770. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  37771. begin
  37772. if thebits = 0 then
  37773. pTDefRegMap(@Self)^.clr := $00080000
  37774. else
  37775. pTDefRegMap(@Self)^.&set := $00080000;
  37776. end;
  37777. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  37778. begin
  37779. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  37780. end;
  37781. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  37782. begin
  37783. pTDefRegMap(@Self)^.&set := $00100000;
  37784. end;
  37785. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  37786. begin
  37787. pTDefRegMap(@Self)^.clr := $00100000;
  37788. end;
  37789. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  37790. begin
  37791. if thebits = 0 then
  37792. pTDefRegMap(@Self)^.clr := $00100000
  37793. else
  37794. pTDefRegMap(@Self)^.&set := $00100000;
  37795. end;
  37796. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  37797. begin
  37798. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  37799. end;
  37800. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  37801. begin
  37802. pTDefRegMap(@Self)^.&set := $04000000;
  37803. end;
  37804. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  37805. begin
  37806. pTDefRegMap(@Self)^.clr := $04000000;
  37807. end;
  37808. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  37809. begin
  37810. if thebits = 0 then
  37811. pTDefRegMap(@Self)^.clr := $04000000
  37812. else
  37813. pTDefRegMap(@Self)^.&set := $04000000;
  37814. end;
  37815. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  37816. begin
  37817. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  37818. end;
  37819. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  37820. begin
  37821. pTDefRegMap(@Self)^.val := thebits;
  37822. end;
  37823. function TBMX_BMXCON.getw : TBits_32; inline;
  37824. begin
  37825. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37826. end;
  37827. procedure TDMAC_DMACON.setDMABUSY; inline;
  37828. begin
  37829. pTDefRegMap(@Self)^.&set := $00000800;
  37830. end;
  37831. procedure TDMAC_DMACON.clearDMABUSY; inline;
  37832. begin
  37833. pTDefRegMap(@Self)^.clr := $00000800;
  37834. end;
  37835. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  37836. begin
  37837. if thebits = 0 then
  37838. pTDefRegMap(@Self)^.clr := $00000800
  37839. else
  37840. pTDefRegMap(@Self)^.&set := $00000800;
  37841. end;
  37842. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  37843. begin
  37844. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37845. end;
  37846. procedure TDMAC_DMACON.setSUSPEND; inline;
  37847. begin
  37848. pTDefRegMap(@Self)^.&set := $00001000;
  37849. end;
  37850. procedure TDMAC_DMACON.clearSUSPEND; inline;
  37851. begin
  37852. pTDefRegMap(@Self)^.clr := $00001000;
  37853. end;
  37854. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  37855. begin
  37856. if thebits = 0 then
  37857. pTDefRegMap(@Self)^.clr := $00001000
  37858. else
  37859. pTDefRegMap(@Self)^.&set := $00001000;
  37860. end;
  37861. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  37862. begin
  37863. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37864. end;
  37865. procedure TDMAC_DMACON.setON; inline;
  37866. begin
  37867. pTDefRegMap(@Self)^.&set := $00008000;
  37868. end;
  37869. procedure TDMAC_DMACON.clearON; inline;
  37870. begin
  37871. pTDefRegMap(@Self)^.clr := $00008000;
  37872. end;
  37873. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  37874. begin
  37875. if thebits = 0 then
  37876. pTDefRegMap(@Self)^.clr := $00008000
  37877. else
  37878. pTDefRegMap(@Self)^.&set := $00008000;
  37879. end;
  37880. function TDMAC_DMACON.getON : TBits_1; inline;
  37881. begin
  37882. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37883. end;
  37884. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  37885. begin
  37886. pTDefRegMap(@Self)^.val := thebits;
  37887. end;
  37888. function TDMAC_DMACON.getw : TBits_32; inline;
  37889. begin
  37890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37891. end;
  37892. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  37893. begin
  37894. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37895. end;
  37896. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  37897. begin
  37898. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37899. end;
  37900. procedure TDMAC_DMASTAT.setRDWR; inline;
  37901. begin
  37902. pTDefRegMap(@Self)^.&set := $00000008;
  37903. end;
  37904. procedure TDMAC_DMASTAT.clearRDWR; inline;
  37905. begin
  37906. pTDefRegMap(@Self)^.clr := $00000008;
  37907. end;
  37908. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  37909. begin
  37910. if thebits = 0 then
  37911. pTDefRegMap(@Self)^.clr := $00000008
  37912. else
  37913. pTDefRegMap(@Self)^.&set := $00000008;
  37914. end;
  37915. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  37916. begin
  37917. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37918. end;
  37919. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  37920. begin
  37921. pTDefRegMap(@Self)^.val := thebits;
  37922. end;
  37923. function TDMAC_DMASTAT.getw : TBits_32; inline;
  37924. begin
  37925. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37926. end;
  37927. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  37928. begin
  37929. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37930. end;
  37931. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  37932. begin
  37933. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37934. end;
  37935. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  37936. begin
  37937. pTDefRegMap(@Self)^.&set := $00000020;
  37938. end;
  37939. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  37940. begin
  37941. pTDefRegMap(@Self)^.clr := $00000020;
  37942. end;
  37943. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  37944. begin
  37945. if thebits = 0 then
  37946. pTDefRegMap(@Self)^.clr := $00000020
  37947. else
  37948. pTDefRegMap(@Self)^.&set := $00000020;
  37949. end;
  37950. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  37951. begin
  37952. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37953. end;
  37954. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  37955. begin
  37956. pTDefRegMap(@Self)^.&set := $00000040;
  37957. end;
  37958. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  37959. begin
  37960. pTDefRegMap(@Self)^.clr := $00000040;
  37961. end;
  37962. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  37963. begin
  37964. if thebits = 0 then
  37965. pTDefRegMap(@Self)^.clr := $00000040
  37966. else
  37967. pTDefRegMap(@Self)^.&set := $00000040;
  37968. end;
  37969. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  37970. begin
  37971. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37972. end;
  37973. procedure TDMAC_DCRCCON.setCRCEN; inline;
  37974. begin
  37975. pTDefRegMap(@Self)^.&set := $00000080;
  37976. end;
  37977. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  37978. begin
  37979. pTDefRegMap(@Self)^.clr := $00000080;
  37980. end;
  37981. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  37982. begin
  37983. if thebits = 0 then
  37984. pTDefRegMap(@Self)^.clr := $00000080
  37985. else
  37986. pTDefRegMap(@Self)^.&set := $00000080;
  37987. end;
  37988. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  37989. begin
  37990. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37991. end;
  37992. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  37993. begin
  37994. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  37995. end;
  37996. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  37997. begin
  37998. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  37999. end;
  38000. procedure TDMAC_DCRCCON.setBITO; inline;
  38001. begin
  38002. pTDefRegMap(@Self)^.&set := $01000000;
  38003. end;
  38004. procedure TDMAC_DCRCCON.clearBITO; inline;
  38005. begin
  38006. pTDefRegMap(@Self)^.clr := $01000000;
  38007. end;
  38008. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  38009. begin
  38010. if thebits = 0 then
  38011. pTDefRegMap(@Self)^.clr := $01000000
  38012. else
  38013. pTDefRegMap(@Self)^.&set := $01000000;
  38014. end;
  38015. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  38016. begin
  38017. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  38018. end;
  38019. procedure TDMAC_DCRCCON.setWBO; inline;
  38020. begin
  38021. pTDefRegMap(@Self)^.&set := $08000000;
  38022. end;
  38023. procedure TDMAC_DCRCCON.clearWBO; inline;
  38024. begin
  38025. pTDefRegMap(@Self)^.clr := $08000000;
  38026. end;
  38027. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  38028. begin
  38029. if thebits = 0 then
  38030. pTDefRegMap(@Self)^.clr := $08000000
  38031. else
  38032. pTDefRegMap(@Self)^.&set := $08000000;
  38033. end;
  38034. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  38035. begin
  38036. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  38037. end;
  38038. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  38039. begin
  38040. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  38041. end;
  38042. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  38043. begin
  38044. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  38045. end;
  38046. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  38047. begin
  38048. pTDefRegMap(@Self)^.val := thebits;
  38049. end;
  38050. function TDMAC_DCRCCON.getw : TBits_32; inline;
  38051. begin
  38052. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38053. end;
  38054. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  38055. begin
  38056. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38057. end;
  38058. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  38059. begin
  38060. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38061. end;
  38062. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  38063. begin
  38064. pTDefRegMap(@Self)^.&set := $00000004;
  38065. end;
  38066. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  38067. begin
  38068. pTDefRegMap(@Self)^.clr := $00000004;
  38069. end;
  38070. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  38071. begin
  38072. if thebits = 0 then
  38073. pTDefRegMap(@Self)^.clr := $00000004
  38074. else
  38075. pTDefRegMap(@Self)^.&set := $00000004;
  38076. end;
  38077. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  38078. begin
  38079. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38080. end;
  38081. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  38082. begin
  38083. pTDefRegMap(@Self)^.&set := $00000010;
  38084. end;
  38085. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  38086. begin
  38087. pTDefRegMap(@Self)^.clr := $00000010;
  38088. end;
  38089. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  38090. begin
  38091. if thebits = 0 then
  38092. pTDefRegMap(@Self)^.clr := $00000010
  38093. else
  38094. pTDefRegMap(@Self)^.&set := $00000010;
  38095. end;
  38096. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  38097. begin
  38098. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38099. end;
  38100. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  38101. begin
  38102. pTDefRegMap(@Self)^.&set := $00000020;
  38103. end;
  38104. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  38105. begin
  38106. pTDefRegMap(@Self)^.clr := $00000020;
  38107. end;
  38108. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  38109. begin
  38110. if thebits = 0 then
  38111. pTDefRegMap(@Self)^.clr := $00000020
  38112. else
  38113. pTDefRegMap(@Self)^.&set := $00000020;
  38114. end;
  38115. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  38116. begin
  38117. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38118. end;
  38119. procedure TDMAC0_DCH0CON.setCHAED; inline;
  38120. begin
  38121. pTDefRegMap(@Self)^.&set := $00000040;
  38122. end;
  38123. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  38124. begin
  38125. pTDefRegMap(@Self)^.clr := $00000040;
  38126. end;
  38127. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  38128. begin
  38129. if thebits = 0 then
  38130. pTDefRegMap(@Self)^.clr := $00000040
  38131. else
  38132. pTDefRegMap(@Self)^.&set := $00000040;
  38133. end;
  38134. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  38135. begin
  38136. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38137. end;
  38138. procedure TDMAC0_DCH0CON.setCHEN; inline;
  38139. begin
  38140. pTDefRegMap(@Self)^.&set := $00000080;
  38141. end;
  38142. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  38143. begin
  38144. pTDefRegMap(@Self)^.clr := $00000080;
  38145. end;
  38146. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  38147. begin
  38148. if thebits = 0 then
  38149. pTDefRegMap(@Self)^.clr := $00000080
  38150. else
  38151. pTDefRegMap(@Self)^.&set := $00000080;
  38152. end;
  38153. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  38154. begin
  38155. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38156. end;
  38157. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  38158. begin
  38159. pTDefRegMap(@Self)^.&set := $00000100;
  38160. end;
  38161. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  38162. begin
  38163. pTDefRegMap(@Self)^.clr := $00000100;
  38164. end;
  38165. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  38166. begin
  38167. if thebits = 0 then
  38168. pTDefRegMap(@Self)^.clr := $00000100
  38169. else
  38170. pTDefRegMap(@Self)^.&set := $00000100;
  38171. end;
  38172. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  38173. begin
  38174. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38175. end;
  38176. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  38177. begin
  38178. pTDefRegMap(@Self)^.&set := $00008000;
  38179. end;
  38180. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  38181. begin
  38182. pTDefRegMap(@Self)^.clr := $00008000;
  38183. end;
  38184. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  38185. begin
  38186. if thebits = 0 then
  38187. pTDefRegMap(@Self)^.clr := $00008000
  38188. else
  38189. pTDefRegMap(@Self)^.&set := $00008000;
  38190. end;
  38191. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  38192. begin
  38193. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38194. end;
  38195. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  38196. begin
  38197. pTDefRegMap(@Self)^.val := thebits;
  38198. end;
  38199. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  38200. begin
  38201. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38202. end;
  38203. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  38204. begin
  38205. pTDefRegMap(@Self)^.&set := $00000008;
  38206. end;
  38207. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  38208. begin
  38209. pTDefRegMap(@Self)^.clr := $00000008;
  38210. end;
  38211. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  38212. begin
  38213. if thebits = 0 then
  38214. pTDefRegMap(@Self)^.clr := $00000008
  38215. else
  38216. pTDefRegMap(@Self)^.&set := $00000008;
  38217. end;
  38218. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  38219. begin
  38220. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38221. end;
  38222. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  38223. begin
  38224. pTDefRegMap(@Self)^.&set := $00000010;
  38225. end;
  38226. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  38227. begin
  38228. pTDefRegMap(@Self)^.clr := $00000010;
  38229. end;
  38230. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  38231. begin
  38232. if thebits = 0 then
  38233. pTDefRegMap(@Self)^.clr := $00000010
  38234. else
  38235. pTDefRegMap(@Self)^.&set := $00000010;
  38236. end;
  38237. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  38238. begin
  38239. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38240. end;
  38241. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  38242. begin
  38243. pTDefRegMap(@Self)^.&set := $00000020;
  38244. end;
  38245. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  38246. begin
  38247. pTDefRegMap(@Self)^.clr := $00000020;
  38248. end;
  38249. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  38250. begin
  38251. if thebits = 0 then
  38252. pTDefRegMap(@Self)^.clr := $00000020
  38253. else
  38254. pTDefRegMap(@Self)^.&set := $00000020;
  38255. end;
  38256. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  38257. begin
  38258. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38259. end;
  38260. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  38261. begin
  38262. pTDefRegMap(@Self)^.&set := $00000040;
  38263. end;
  38264. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  38265. begin
  38266. pTDefRegMap(@Self)^.clr := $00000040;
  38267. end;
  38268. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  38269. begin
  38270. if thebits = 0 then
  38271. pTDefRegMap(@Self)^.clr := $00000040
  38272. else
  38273. pTDefRegMap(@Self)^.&set := $00000040;
  38274. end;
  38275. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  38276. begin
  38277. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38278. end;
  38279. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  38280. begin
  38281. pTDefRegMap(@Self)^.&set := $00000080;
  38282. end;
  38283. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  38284. begin
  38285. pTDefRegMap(@Self)^.clr := $00000080;
  38286. end;
  38287. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  38288. begin
  38289. if thebits = 0 then
  38290. pTDefRegMap(@Self)^.clr := $00000080
  38291. else
  38292. pTDefRegMap(@Self)^.&set := $00000080;
  38293. end;
  38294. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  38295. begin
  38296. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38297. end;
  38298. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  38299. begin
  38300. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  38301. end;
  38302. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  38303. begin
  38304. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  38305. end;
  38306. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  38307. begin
  38308. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  38309. end;
  38310. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  38311. begin
  38312. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  38313. end;
  38314. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  38315. begin
  38316. pTDefRegMap(@Self)^.val := thebits;
  38317. end;
  38318. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  38319. begin
  38320. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38321. end;
  38322. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  38323. begin
  38324. pTDefRegMap(@Self)^.&set := $00000001;
  38325. end;
  38326. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  38327. begin
  38328. pTDefRegMap(@Self)^.clr := $00000001;
  38329. end;
  38330. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  38331. begin
  38332. if thebits = 0 then
  38333. pTDefRegMap(@Self)^.clr := $00000001
  38334. else
  38335. pTDefRegMap(@Self)^.&set := $00000001;
  38336. end;
  38337. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  38338. begin
  38339. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38340. end;
  38341. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  38342. begin
  38343. pTDefRegMap(@Self)^.&set := $00000002;
  38344. end;
  38345. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  38346. begin
  38347. pTDefRegMap(@Self)^.clr := $00000002;
  38348. end;
  38349. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  38350. begin
  38351. if thebits = 0 then
  38352. pTDefRegMap(@Self)^.clr := $00000002
  38353. else
  38354. pTDefRegMap(@Self)^.&set := $00000002;
  38355. end;
  38356. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  38357. begin
  38358. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38359. end;
  38360. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  38361. begin
  38362. pTDefRegMap(@Self)^.&set := $00000004;
  38363. end;
  38364. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  38365. begin
  38366. pTDefRegMap(@Self)^.clr := $00000004;
  38367. end;
  38368. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  38369. begin
  38370. if thebits = 0 then
  38371. pTDefRegMap(@Self)^.clr := $00000004
  38372. else
  38373. pTDefRegMap(@Self)^.&set := $00000004;
  38374. end;
  38375. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  38376. begin
  38377. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38378. end;
  38379. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  38380. begin
  38381. pTDefRegMap(@Self)^.&set := $00000008;
  38382. end;
  38383. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  38384. begin
  38385. pTDefRegMap(@Self)^.clr := $00000008;
  38386. end;
  38387. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  38388. begin
  38389. if thebits = 0 then
  38390. pTDefRegMap(@Self)^.clr := $00000008
  38391. else
  38392. pTDefRegMap(@Self)^.&set := $00000008;
  38393. end;
  38394. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  38395. begin
  38396. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38397. end;
  38398. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  38399. begin
  38400. pTDefRegMap(@Self)^.&set := $00000010;
  38401. end;
  38402. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  38403. begin
  38404. pTDefRegMap(@Self)^.clr := $00000010;
  38405. end;
  38406. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  38407. begin
  38408. if thebits = 0 then
  38409. pTDefRegMap(@Self)^.clr := $00000010
  38410. else
  38411. pTDefRegMap(@Self)^.&set := $00000010;
  38412. end;
  38413. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  38414. begin
  38415. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38416. end;
  38417. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  38418. begin
  38419. pTDefRegMap(@Self)^.&set := $00000020;
  38420. end;
  38421. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  38422. begin
  38423. pTDefRegMap(@Self)^.clr := $00000020;
  38424. end;
  38425. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  38426. begin
  38427. if thebits = 0 then
  38428. pTDefRegMap(@Self)^.clr := $00000020
  38429. else
  38430. pTDefRegMap(@Self)^.&set := $00000020;
  38431. end;
  38432. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  38433. begin
  38434. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38435. end;
  38436. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  38437. begin
  38438. pTDefRegMap(@Self)^.&set := $00000040;
  38439. end;
  38440. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  38441. begin
  38442. pTDefRegMap(@Self)^.clr := $00000040;
  38443. end;
  38444. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  38445. begin
  38446. if thebits = 0 then
  38447. pTDefRegMap(@Self)^.clr := $00000040
  38448. else
  38449. pTDefRegMap(@Self)^.&set := $00000040;
  38450. end;
  38451. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  38452. begin
  38453. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38454. end;
  38455. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  38456. begin
  38457. pTDefRegMap(@Self)^.&set := $00000080;
  38458. end;
  38459. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  38460. begin
  38461. pTDefRegMap(@Self)^.clr := $00000080;
  38462. end;
  38463. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  38464. begin
  38465. if thebits = 0 then
  38466. pTDefRegMap(@Self)^.clr := $00000080
  38467. else
  38468. pTDefRegMap(@Self)^.&set := $00000080;
  38469. end;
  38470. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  38471. begin
  38472. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38473. end;
  38474. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  38475. begin
  38476. pTDefRegMap(@Self)^.&set := $00010000;
  38477. end;
  38478. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  38479. begin
  38480. pTDefRegMap(@Self)^.clr := $00010000;
  38481. end;
  38482. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  38483. begin
  38484. if thebits = 0 then
  38485. pTDefRegMap(@Self)^.clr := $00010000
  38486. else
  38487. pTDefRegMap(@Self)^.&set := $00010000;
  38488. end;
  38489. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  38490. begin
  38491. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  38492. end;
  38493. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  38494. begin
  38495. pTDefRegMap(@Self)^.&set := $00020000;
  38496. end;
  38497. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  38498. begin
  38499. pTDefRegMap(@Self)^.clr := $00020000;
  38500. end;
  38501. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  38502. begin
  38503. if thebits = 0 then
  38504. pTDefRegMap(@Self)^.clr := $00020000
  38505. else
  38506. pTDefRegMap(@Self)^.&set := $00020000;
  38507. end;
  38508. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  38509. begin
  38510. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  38511. end;
  38512. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  38513. begin
  38514. pTDefRegMap(@Self)^.&set := $00040000;
  38515. end;
  38516. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  38517. begin
  38518. pTDefRegMap(@Self)^.clr := $00040000;
  38519. end;
  38520. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  38521. begin
  38522. if thebits = 0 then
  38523. pTDefRegMap(@Self)^.clr := $00040000
  38524. else
  38525. pTDefRegMap(@Self)^.&set := $00040000;
  38526. end;
  38527. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  38528. begin
  38529. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  38530. end;
  38531. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  38532. begin
  38533. pTDefRegMap(@Self)^.&set := $00080000;
  38534. end;
  38535. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  38536. begin
  38537. pTDefRegMap(@Self)^.clr := $00080000;
  38538. end;
  38539. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  38540. begin
  38541. if thebits = 0 then
  38542. pTDefRegMap(@Self)^.clr := $00080000
  38543. else
  38544. pTDefRegMap(@Self)^.&set := $00080000;
  38545. end;
  38546. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  38547. begin
  38548. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  38549. end;
  38550. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  38551. begin
  38552. pTDefRegMap(@Self)^.&set := $00100000;
  38553. end;
  38554. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  38555. begin
  38556. pTDefRegMap(@Self)^.clr := $00100000;
  38557. end;
  38558. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  38559. begin
  38560. if thebits = 0 then
  38561. pTDefRegMap(@Self)^.clr := $00100000
  38562. else
  38563. pTDefRegMap(@Self)^.&set := $00100000;
  38564. end;
  38565. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  38566. begin
  38567. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  38568. end;
  38569. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  38570. begin
  38571. pTDefRegMap(@Self)^.&set := $00200000;
  38572. end;
  38573. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  38574. begin
  38575. pTDefRegMap(@Self)^.clr := $00200000;
  38576. end;
  38577. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  38578. begin
  38579. if thebits = 0 then
  38580. pTDefRegMap(@Self)^.clr := $00200000
  38581. else
  38582. pTDefRegMap(@Self)^.&set := $00200000;
  38583. end;
  38584. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  38585. begin
  38586. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  38587. end;
  38588. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  38589. begin
  38590. pTDefRegMap(@Self)^.&set := $00400000;
  38591. end;
  38592. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  38593. begin
  38594. pTDefRegMap(@Self)^.clr := $00400000;
  38595. end;
  38596. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  38597. begin
  38598. if thebits = 0 then
  38599. pTDefRegMap(@Self)^.clr := $00400000
  38600. else
  38601. pTDefRegMap(@Self)^.&set := $00400000;
  38602. end;
  38603. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  38604. begin
  38605. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  38606. end;
  38607. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  38608. begin
  38609. pTDefRegMap(@Self)^.&set := $00800000;
  38610. end;
  38611. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  38612. begin
  38613. pTDefRegMap(@Self)^.clr := $00800000;
  38614. end;
  38615. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  38616. begin
  38617. if thebits = 0 then
  38618. pTDefRegMap(@Self)^.clr := $00800000
  38619. else
  38620. pTDefRegMap(@Self)^.&set := $00800000;
  38621. end;
  38622. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  38623. begin
  38624. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  38625. end;
  38626. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  38627. begin
  38628. pTDefRegMap(@Self)^.val := thebits;
  38629. end;
  38630. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  38631. begin
  38632. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38633. end;
  38634. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  38635. begin
  38636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  38637. end;
  38638. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  38639. begin
  38640. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  38641. end;
  38642. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  38643. begin
  38644. pTDefRegMap(@Self)^.&set := $00000004;
  38645. end;
  38646. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  38647. begin
  38648. pTDefRegMap(@Self)^.clr := $00000004;
  38649. end;
  38650. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  38651. begin
  38652. if thebits = 0 then
  38653. pTDefRegMap(@Self)^.clr := $00000004
  38654. else
  38655. pTDefRegMap(@Self)^.&set := $00000004;
  38656. end;
  38657. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  38658. begin
  38659. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38660. end;
  38661. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  38662. begin
  38663. pTDefRegMap(@Self)^.&set := $00000010;
  38664. end;
  38665. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  38666. begin
  38667. pTDefRegMap(@Self)^.clr := $00000010;
  38668. end;
  38669. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  38670. begin
  38671. if thebits = 0 then
  38672. pTDefRegMap(@Self)^.clr := $00000010
  38673. else
  38674. pTDefRegMap(@Self)^.&set := $00000010;
  38675. end;
  38676. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  38677. begin
  38678. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38679. end;
  38680. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  38681. begin
  38682. pTDefRegMap(@Self)^.&set := $00000020;
  38683. end;
  38684. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  38685. begin
  38686. pTDefRegMap(@Self)^.clr := $00000020;
  38687. end;
  38688. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  38689. begin
  38690. if thebits = 0 then
  38691. pTDefRegMap(@Self)^.clr := $00000020
  38692. else
  38693. pTDefRegMap(@Self)^.&set := $00000020;
  38694. end;
  38695. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  38696. begin
  38697. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38698. end;
  38699. procedure TDMAC1_DCH1CON.setCHAED; inline;
  38700. begin
  38701. pTDefRegMap(@Self)^.&set := $00000040;
  38702. end;
  38703. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  38704. begin
  38705. pTDefRegMap(@Self)^.clr := $00000040;
  38706. end;
  38707. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  38708. begin
  38709. if thebits = 0 then
  38710. pTDefRegMap(@Self)^.clr := $00000040
  38711. else
  38712. pTDefRegMap(@Self)^.&set := $00000040;
  38713. end;
  38714. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  38715. begin
  38716. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38717. end;
  38718. procedure TDMAC1_DCH1CON.setCHEN; inline;
  38719. begin
  38720. pTDefRegMap(@Self)^.&set := $00000080;
  38721. end;
  38722. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  38723. begin
  38724. pTDefRegMap(@Self)^.clr := $00000080;
  38725. end;
  38726. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  38727. begin
  38728. if thebits = 0 then
  38729. pTDefRegMap(@Self)^.clr := $00000080
  38730. else
  38731. pTDefRegMap(@Self)^.&set := $00000080;
  38732. end;
  38733. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  38734. begin
  38735. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38736. end;
  38737. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  38738. begin
  38739. pTDefRegMap(@Self)^.&set := $00000100;
  38740. end;
  38741. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  38742. begin
  38743. pTDefRegMap(@Self)^.clr := $00000100;
  38744. end;
  38745. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  38746. begin
  38747. if thebits = 0 then
  38748. pTDefRegMap(@Self)^.clr := $00000100
  38749. else
  38750. pTDefRegMap(@Self)^.&set := $00000100;
  38751. end;
  38752. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  38753. begin
  38754. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38755. end;
  38756. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  38757. begin
  38758. pTDefRegMap(@Self)^.&set := $00008000;
  38759. end;
  38760. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  38761. begin
  38762. pTDefRegMap(@Self)^.clr := $00008000;
  38763. end;
  38764. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  38765. begin
  38766. if thebits = 0 then
  38767. pTDefRegMap(@Self)^.clr := $00008000
  38768. else
  38769. pTDefRegMap(@Self)^.&set := $00008000;
  38770. end;
  38771. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  38772. begin
  38773. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38774. end;
  38775. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  38776. begin
  38777. pTDefRegMap(@Self)^.val := thebits;
  38778. end;
  38779. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  38780. begin
  38781. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38782. end;
  38783. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  38784. begin
  38785. pTDefRegMap(@Self)^.&set := $00000008;
  38786. end;
  38787. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  38788. begin
  38789. pTDefRegMap(@Self)^.clr := $00000008;
  38790. end;
  38791. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  38792. begin
  38793. if thebits = 0 then
  38794. pTDefRegMap(@Self)^.clr := $00000008
  38795. else
  38796. pTDefRegMap(@Self)^.&set := $00000008;
  38797. end;
  38798. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  38799. begin
  38800. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38801. end;
  38802. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  38803. begin
  38804. pTDefRegMap(@Self)^.&set := $00000010;
  38805. end;
  38806. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  38807. begin
  38808. pTDefRegMap(@Self)^.clr := $00000010;
  38809. end;
  38810. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  38811. begin
  38812. if thebits = 0 then
  38813. pTDefRegMap(@Self)^.clr := $00000010
  38814. else
  38815. pTDefRegMap(@Self)^.&set := $00000010;
  38816. end;
  38817. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  38818. begin
  38819. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38820. end;
  38821. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  38822. begin
  38823. pTDefRegMap(@Self)^.&set := $00000020;
  38824. end;
  38825. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  38826. begin
  38827. pTDefRegMap(@Self)^.clr := $00000020;
  38828. end;
  38829. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  38830. begin
  38831. if thebits = 0 then
  38832. pTDefRegMap(@Self)^.clr := $00000020
  38833. else
  38834. pTDefRegMap(@Self)^.&set := $00000020;
  38835. end;
  38836. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  38837. begin
  38838. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38839. end;
  38840. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  38841. begin
  38842. pTDefRegMap(@Self)^.&set := $00000040;
  38843. end;
  38844. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  38845. begin
  38846. pTDefRegMap(@Self)^.clr := $00000040;
  38847. end;
  38848. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  38849. begin
  38850. if thebits = 0 then
  38851. pTDefRegMap(@Self)^.clr := $00000040
  38852. else
  38853. pTDefRegMap(@Self)^.&set := $00000040;
  38854. end;
  38855. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  38856. begin
  38857. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38858. end;
  38859. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  38860. begin
  38861. pTDefRegMap(@Self)^.&set := $00000080;
  38862. end;
  38863. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  38864. begin
  38865. pTDefRegMap(@Self)^.clr := $00000080;
  38866. end;
  38867. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  38868. begin
  38869. if thebits = 0 then
  38870. pTDefRegMap(@Self)^.clr := $00000080
  38871. else
  38872. pTDefRegMap(@Self)^.&set := $00000080;
  38873. end;
  38874. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  38875. begin
  38876. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38877. end;
  38878. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  38879. begin
  38880. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  38881. end;
  38882. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  38883. begin
  38884. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  38885. end;
  38886. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  38887. begin
  38888. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  38889. end;
  38890. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  38891. begin
  38892. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  38893. end;
  38894. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  38895. begin
  38896. pTDefRegMap(@Self)^.val := thebits;
  38897. end;
  38898. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  38899. begin
  38900. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38901. end;
  38902. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  38903. begin
  38904. pTDefRegMap(@Self)^.&set := $00000001;
  38905. end;
  38906. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  38907. begin
  38908. pTDefRegMap(@Self)^.clr := $00000001;
  38909. end;
  38910. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  38911. begin
  38912. if thebits = 0 then
  38913. pTDefRegMap(@Self)^.clr := $00000001
  38914. else
  38915. pTDefRegMap(@Self)^.&set := $00000001;
  38916. end;
  38917. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  38918. begin
  38919. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38920. end;
  38921. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  38922. begin
  38923. pTDefRegMap(@Self)^.&set := $00000002;
  38924. end;
  38925. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  38926. begin
  38927. pTDefRegMap(@Self)^.clr := $00000002;
  38928. end;
  38929. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  38930. begin
  38931. if thebits = 0 then
  38932. pTDefRegMap(@Self)^.clr := $00000002
  38933. else
  38934. pTDefRegMap(@Self)^.&set := $00000002;
  38935. end;
  38936. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  38937. begin
  38938. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38939. end;
  38940. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  38941. begin
  38942. pTDefRegMap(@Self)^.&set := $00000004;
  38943. end;
  38944. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  38945. begin
  38946. pTDefRegMap(@Self)^.clr := $00000004;
  38947. end;
  38948. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  38949. begin
  38950. if thebits = 0 then
  38951. pTDefRegMap(@Self)^.clr := $00000004
  38952. else
  38953. pTDefRegMap(@Self)^.&set := $00000004;
  38954. end;
  38955. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  38956. begin
  38957. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38958. end;
  38959. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  38960. begin
  38961. pTDefRegMap(@Self)^.&set := $00000008;
  38962. end;
  38963. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  38964. begin
  38965. pTDefRegMap(@Self)^.clr := $00000008;
  38966. end;
  38967. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  38968. begin
  38969. if thebits = 0 then
  38970. pTDefRegMap(@Self)^.clr := $00000008
  38971. else
  38972. pTDefRegMap(@Self)^.&set := $00000008;
  38973. end;
  38974. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  38975. begin
  38976. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38977. end;
  38978. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  38979. begin
  38980. pTDefRegMap(@Self)^.&set := $00000010;
  38981. end;
  38982. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  38983. begin
  38984. pTDefRegMap(@Self)^.clr := $00000010;
  38985. end;
  38986. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  38987. begin
  38988. if thebits = 0 then
  38989. pTDefRegMap(@Self)^.clr := $00000010
  38990. else
  38991. pTDefRegMap(@Self)^.&set := $00000010;
  38992. end;
  38993. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  38994. begin
  38995. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38996. end;
  38997. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  38998. begin
  38999. pTDefRegMap(@Self)^.&set := $00000020;
  39000. end;
  39001. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  39002. begin
  39003. pTDefRegMap(@Self)^.clr := $00000020;
  39004. end;
  39005. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  39006. begin
  39007. if thebits = 0 then
  39008. pTDefRegMap(@Self)^.clr := $00000020
  39009. else
  39010. pTDefRegMap(@Self)^.&set := $00000020;
  39011. end;
  39012. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  39013. begin
  39014. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39015. end;
  39016. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  39017. begin
  39018. pTDefRegMap(@Self)^.&set := $00000040;
  39019. end;
  39020. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  39021. begin
  39022. pTDefRegMap(@Self)^.clr := $00000040;
  39023. end;
  39024. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  39025. begin
  39026. if thebits = 0 then
  39027. pTDefRegMap(@Self)^.clr := $00000040
  39028. else
  39029. pTDefRegMap(@Self)^.&set := $00000040;
  39030. end;
  39031. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  39032. begin
  39033. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39034. end;
  39035. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  39036. begin
  39037. pTDefRegMap(@Self)^.&set := $00000080;
  39038. end;
  39039. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  39040. begin
  39041. pTDefRegMap(@Self)^.clr := $00000080;
  39042. end;
  39043. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  39044. begin
  39045. if thebits = 0 then
  39046. pTDefRegMap(@Self)^.clr := $00000080
  39047. else
  39048. pTDefRegMap(@Self)^.&set := $00000080;
  39049. end;
  39050. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  39051. begin
  39052. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39053. end;
  39054. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  39055. begin
  39056. pTDefRegMap(@Self)^.&set := $00010000;
  39057. end;
  39058. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  39059. begin
  39060. pTDefRegMap(@Self)^.clr := $00010000;
  39061. end;
  39062. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  39063. begin
  39064. if thebits = 0 then
  39065. pTDefRegMap(@Self)^.clr := $00010000
  39066. else
  39067. pTDefRegMap(@Self)^.&set := $00010000;
  39068. end;
  39069. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  39070. begin
  39071. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39072. end;
  39073. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  39074. begin
  39075. pTDefRegMap(@Self)^.&set := $00020000;
  39076. end;
  39077. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  39078. begin
  39079. pTDefRegMap(@Self)^.clr := $00020000;
  39080. end;
  39081. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  39082. begin
  39083. if thebits = 0 then
  39084. pTDefRegMap(@Self)^.clr := $00020000
  39085. else
  39086. pTDefRegMap(@Self)^.&set := $00020000;
  39087. end;
  39088. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  39089. begin
  39090. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  39091. end;
  39092. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  39093. begin
  39094. pTDefRegMap(@Self)^.&set := $00040000;
  39095. end;
  39096. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  39097. begin
  39098. pTDefRegMap(@Self)^.clr := $00040000;
  39099. end;
  39100. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  39101. begin
  39102. if thebits = 0 then
  39103. pTDefRegMap(@Self)^.clr := $00040000
  39104. else
  39105. pTDefRegMap(@Self)^.&set := $00040000;
  39106. end;
  39107. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  39108. begin
  39109. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  39110. end;
  39111. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  39112. begin
  39113. pTDefRegMap(@Self)^.&set := $00080000;
  39114. end;
  39115. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  39116. begin
  39117. pTDefRegMap(@Self)^.clr := $00080000;
  39118. end;
  39119. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  39120. begin
  39121. if thebits = 0 then
  39122. pTDefRegMap(@Self)^.clr := $00080000
  39123. else
  39124. pTDefRegMap(@Self)^.&set := $00080000;
  39125. end;
  39126. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  39127. begin
  39128. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  39129. end;
  39130. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  39131. begin
  39132. pTDefRegMap(@Self)^.&set := $00100000;
  39133. end;
  39134. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  39135. begin
  39136. pTDefRegMap(@Self)^.clr := $00100000;
  39137. end;
  39138. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  39139. begin
  39140. if thebits = 0 then
  39141. pTDefRegMap(@Self)^.clr := $00100000
  39142. else
  39143. pTDefRegMap(@Self)^.&set := $00100000;
  39144. end;
  39145. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  39146. begin
  39147. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  39148. end;
  39149. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  39150. begin
  39151. pTDefRegMap(@Self)^.&set := $00200000;
  39152. end;
  39153. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  39154. begin
  39155. pTDefRegMap(@Self)^.clr := $00200000;
  39156. end;
  39157. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  39158. begin
  39159. if thebits = 0 then
  39160. pTDefRegMap(@Self)^.clr := $00200000
  39161. else
  39162. pTDefRegMap(@Self)^.&set := $00200000;
  39163. end;
  39164. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  39165. begin
  39166. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  39167. end;
  39168. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  39169. begin
  39170. pTDefRegMap(@Self)^.&set := $00400000;
  39171. end;
  39172. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  39173. begin
  39174. pTDefRegMap(@Self)^.clr := $00400000;
  39175. end;
  39176. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  39177. begin
  39178. if thebits = 0 then
  39179. pTDefRegMap(@Self)^.clr := $00400000
  39180. else
  39181. pTDefRegMap(@Self)^.&set := $00400000;
  39182. end;
  39183. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  39184. begin
  39185. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  39186. end;
  39187. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  39188. begin
  39189. pTDefRegMap(@Self)^.&set := $00800000;
  39190. end;
  39191. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  39192. begin
  39193. pTDefRegMap(@Self)^.clr := $00800000;
  39194. end;
  39195. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  39196. begin
  39197. if thebits = 0 then
  39198. pTDefRegMap(@Self)^.clr := $00800000
  39199. else
  39200. pTDefRegMap(@Self)^.&set := $00800000;
  39201. end;
  39202. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  39203. begin
  39204. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  39205. end;
  39206. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  39207. begin
  39208. pTDefRegMap(@Self)^.val := thebits;
  39209. end;
  39210. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  39211. begin
  39212. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39213. end;
  39214. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  39215. begin
  39216. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  39217. end;
  39218. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  39219. begin
  39220. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  39221. end;
  39222. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  39223. begin
  39224. pTDefRegMap(@Self)^.&set := $00000004;
  39225. end;
  39226. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  39227. begin
  39228. pTDefRegMap(@Self)^.clr := $00000004;
  39229. end;
  39230. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  39231. begin
  39232. if thebits = 0 then
  39233. pTDefRegMap(@Self)^.clr := $00000004
  39234. else
  39235. pTDefRegMap(@Self)^.&set := $00000004;
  39236. end;
  39237. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  39238. begin
  39239. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39240. end;
  39241. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  39242. begin
  39243. pTDefRegMap(@Self)^.&set := $00000010;
  39244. end;
  39245. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  39246. begin
  39247. pTDefRegMap(@Self)^.clr := $00000010;
  39248. end;
  39249. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  39250. begin
  39251. if thebits = 0 then
  39252. pTDefRegMap(@Self)^.clr := $00000010
  39253. else
  39254. pTDefRegMap(@Self)^.&set := $00000010;
  39255. end;
  39256. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  39257. begin
  39258. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39259. end;
  39260. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  39261. begin
  39262. pTDefRegMap(@Self)^.&set := $00000020;
  39263. end;
  39264. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  39265. begin
  39266. pTDefRegMap(@Self)^.clr := $00000020;
  39267. end;
  39268. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  39269. begin
  39270. if thebits = 0 then
  39271. pTDefRegMap(@Self)^.clr := $00000020
  39272. else
  39273. pTDefRegMap(@Self)^.&set := $00000020;
  39274. end;
  39275. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  39276. begin
  39277. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39278. end;
  39279. procedure TDMAC2_DCH2CON.setCHAED; inline;
  39280. begin
  39281. pTDefRegMap(@Self)^.&set := $00000040;
  39282. end;
  39283. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  39284. begin
  39285. pTDefRegMap(@Self)^.clr := $00000040;
  39286. end;
  39287. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  39288. begin
  39289. if thebits = 0 then
  39290. pTDefRegMap(@Self)^.clr := $00000040
  39291. else
  39292. pTDefRegMap(@Self)^.&set := $00000040;
  39293. end;
  39294. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  39295. begin
  39296. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39297. end;
  39298. procedure TDMAC2_DCH2CON.setCHEN; inline;
  39299. begin
  39300. pTDefRegMap(@Self)^.&set := $00000080;
  39301. end;
  39302. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  39303. begin
  39304. pTDefRegMap(@Self)^.clr := $00000080;
  39305. end;
  39306. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  39307. begin
  39308. if thebits = 0 then
  39309. pTDefRegMap(@Self)^.clr := $00000080
  39310. else
  39311. pTDefRegMap(@Self)^.&set := $00000080;
  39312. end;
  39313. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  39314. begin
  39315. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39316. end;
  39317. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  39318. begin
  39319. pTDefRegMap(@Self)^.&set := $00000100;
  39320. end;
  39321. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  39322. begin
  39323. pTDefRegMap(@Self)^.clr := $00000100;
  39324. end;
  39325. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  39326. begin
  39327. if thebits = 0 then
  39328. pTDefRegMap(@Self)^.clr := $00000100
  39329. else
  39330. pTDefRegMap(@Self)^.&set := $00000100;
  39331. end;
  39332. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  39333. begin
  39334. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39335. end;
  39336. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  39337. begin
  39338. pTDefRegMap(@Self)^.&set := $00008000;
  39339. end;
  39340. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  39341. begin
  39342. pTDefRegMap(@Self)^.clr := $00008000;
  39343. end;
  39344. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  39345. begin
  39346. if thebits = 0 then
  39347. pTDefRegMap(@Self)^.clr := $00008000
  39348. else
  39349. pTDefRegMap(@Self)^.&set := $00008000;
  39350. end;
  39351. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  39352. begin
  39353. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39354. end;
  39355. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  39356. begin
  39357. pTDefRegMap(@Self)^.val := thebits;
  39358. end;
  39359. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  39360. begin
  39361. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39362. end;
  39363. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  39364. begin
  39365. pTDefRegMap(@Self)^.&set := $00000008;
  39366. end;
  39367. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  39368. begin
  39369. pTDefRegMap(@Self)^.clr := $00000008;
  39370. end;
  39371. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  39372. begin
  39373. if thebits = 0 then
  39374. pTDefRegMap(@Self)^.clr := $00000008
  39375. else
  39376. pTDefRegMap(@Self)^.&set := $00000008;
  39377. end;
  39378. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  39379. begin
  39380. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39381. end;
  39382. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  39383. begin
  39384. pTDefRegMap(@Self)^.&set := $00000010;
  39385. end;
  39386. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  39387. begin
  39388. pTDefRegMap(@Self)^.clr := $00000010;
  39389. end;
  39390. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  39391. begin
  39392. if thebits = 0 then
  39393. pTDefRegMap(@Self)^.clr := $00000010
  39394. else
  39395. pTDefRegMap(@Self)^.&set := $00000010;
  39396. end;
  39397. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  39398. begin
  39399. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39400. end;
  39401. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  39402. begin
  39403. pTDefRegMap(@Self)^.&set := $00000020;
  39404. end;
  39405. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  39406. begin
  39407. pTDefRegMap(@Self)^.clr := $00000020;
  39408. end;
  39409. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  39410. begin
  39411. if thebits = 0 then
  39412. pTDefRegMap(@Self)^.clr := $00000020
  39413. else
  39414. pTDefRegMap(@Self)^.&set := $00000020;
  39415. end;
  39416. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  39417. begin
  39418. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39419. end;
  39420. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  39421. begin
  39422. pTDefRegMap(@Self)^.&set := $00000040;
  39423. end;
  39424. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  39425. begin
  39426. pTDefRegMap(@Self)^.clr := $00000040;
  39427. end;
  39428. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  39429. begin
  39430. if thebits = 0 then
  39431. pTDefRegMap(@Self)^.clr := $00000040
  39432. else
  39433. pTDefRegMap(@Self)^.&set := $00000040;
  39434. end;
  39435. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  39436. begin
  39437. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39438. end;
  39439. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  39440. begin
  39441. pTDefRegMap(@Self)^.&set := $00000080;
  39442. end;
  39443. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  39444. begin
  39445. pTDefRegMap(@Self)^.clr := $00000080;
  39446. end;
  39447. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  39448. begin
  39449. if thebits = 0 then
  39450. pTDefRegMap(@Self)^.clr := $00000080
  39451. else
  39452. pTDefRegMap(@Self)^.&set := $00000080;
  39453. end;
  39454. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  39455. begin
  39456. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39457. end;
  39458. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  39459. begin
  39460. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  39461. end;
  39462. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  39463. begin
  39464. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  39465. end;
  39466. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  39467. begin
  39468. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  39469. end;
  39470. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  39471. begin
  39472. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  39473. end;
  39474. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  39475. begin
  39476. pTDefRegMap(@Self)^.val := thebits;
  39477. end;
  39478. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  39479. begin
  39480. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39481. end;
  39482. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  39483. begin
  39484. pTDefRegMap(@Self)^.&set := $00000001;
  39485. end;
  39486. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  39487. begin
  39488. pTDefRegMap(@Self)^.clr := $00000001;
  39489. end;
  39490. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  39491. begin
  39492. if thebits = 0 then
  39493. pTDefRegMap(@Self)^.clr := $00000001
  39494. else
  39495. pTDefRegMap(@Self)^.&set := $00000001;
  39496. end;
  39497. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  39498. begin
  39499. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39500. end;
  39501. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  39502. begin
  39503. pTDefRegMap(@Self)^.&set := $00000002;
  39504. end;
  39505. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  39506. begin
  39507. pTDefRegMap(@Self)^.clr := $00000002;
  39508. end;
  39509. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  39510. begin
  39511. if thebits = 0 then
  39512. pTDefRegMap(@Self)^.clr := $00000002
  39513. else
  39514. pTDefRegMap(@Self)^.&set := $00000002;
  39515. end;
  39516. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  39517. begin
  39518. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39519. end;
  39520. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  39521. begin
  39522. pTDefRegMap(@Self)^.&set := $00000004;
  39523. end;
  39524. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  39525. begin
  39526. pTDefRegMap(@Self)^.clr := $00000004;
  39527. end;
  39528. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  39529. begin
  39530. if thebits = 0 then
  39531. pTDefRegMap(@Self)^.clr := $00000004
  39532. else
  39533. pTDefRegMap(@Self)^.&set := $00000004;
  39534. end;
  39535. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  39536. begin
  39537. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39538. end;
  39539. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  39540. begin
  39541. pTDefRegMap(@Self)^.&set := $00000008;
  39542. end;
  39543. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  39544. begin
  39545. pTDefRegMap(@Self)^.clr := $00000008;
  39546. end;
  39547. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  39548. begin
  39549. if thebits = 0 then
  39550. pTDefRegMap(@Self)^.clr := $00000008
  39551. else
  39552. pTDefRegMap(@Self)^.&set := $00000008;
  39553. end;
  39554. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  39555. begin
  39556. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39557. end;
  39558. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  39559. begin
  39560. pTDefRegMap(@Self)^.&set := $00000010;
  39561. end;
  39562. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  39563. begin
  39564. pTDefRegMap(@Self)^.clr := $00000010;
  39565. end;
  39566. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  39567. begin
  39568. if thebits = 0 then
  39569. pTDefRegMap(@Self)^.clr := $00000010
  39570. else
  39571. pTDefRegMap(@Self)^.&set := $00000010;
  39572. end;
  39573. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  39574. begin
  39575. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39576. end;
  39577. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  39578. begin
  39579. pTDefRegMap(@Self)^.&set := $00000020;
  39580. end;
  39581. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  39582. begin
  39583. pTDefRegMap(@Self)^.clr := $00000020;
  39584. end;
  39585. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  39586. begin
  39587. if thebits = 0 then
  39588. pTDefRegMap(@Self)^.clr := $00000020
  39589. else
  39590. pTDefRegMap(@Self)^.&set := $00000020;
  39591. end;
  39592. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  39593. begin
  39594. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39595. end;
  39596. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  39597. begin
  39598. pTDefRegMap(@Self)^.&set := $00000040;
  39599. end;
  39600. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  39601. begin
  39602. pTDefRegMap(@Self)^.clr := $00000040;
  39603. end;
  39604. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  39605. begin
  39606. if thebits = 0 then
  39607. pTDefRegMap(@Self)^.clr := $00000040
  39608. else
  39609. pTDefRegMap(@Self)^.&set := $00000040;
  39610. end;
  39611. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  39612. begin
  39613. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39614. end;
  39615. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  39616. begin
  39617. pTDefRegMap(@Self)^.&set := $00000080;
  39618. end;
  39619. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  39620. begin
  39621. pTDefRegMap(@Self)^.clr := $00000080;
  39622. end;
  39623. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  39624. begin
  39625. if thebits = 0 then
  39626. pTDefRegMap(@Self)^.clr := $00000080
  39627. else
  39628. pTDefRegMap(@Self)^.&set := $00000080;
  39629. end;
  39630. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  39631. begin
  39632. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39633. end;
  39634. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  39635. begin
  39636. pTDefRegMap(@Self)^.&set := $00010000;
  39637. end;
  39638. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  39639. begin
  39640. pTDefRegMap(@Self)^.clr := $00010000;
  39641. end;
  39642. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  39643. begin
  39644. if thebits = 0 then
  39645. pTDefRegMap(@Self)^.clr := $00010000
  39646. else
  39647. pTDefRegMap(@Self)^.&set := $00010000;
  39648. end;
  39649. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  39650. begin
  39651. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39652. end;
  39653. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  39654. begin
  39655. pTDefRegMap(@Self)^.&set := $00020000;
  39656. end;
  39657. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  39658. begin
  39659. pTDefRegMap(@Self)^.clr := $00020000;
  39660. end;
  39661. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  39662. begin
  39663. if thebits = 0 then
  39664. pTDefRegMap(@Self)^.clr := $00020000
  39665. else
  39666. pTDefRegMap(@Self)^.&set := $00020000;
  39667. end;
  39668. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  39669. begin
  39670. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  39671. end;
  39672. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  39673. begin
  39674. pTDefRegMap(@Self)^.&set := $00040000;
  39675. end;
  39676. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  39677. begin
  39678. pTDefRegMap(@Self)^.clr := $00040000;
  39679. end;
  39680. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  39681. begin
  39682. if thebits = 0 then
  39683. pTDefRegMap(@Self)^.clr := $00040000
  39684. else
  39685. pTDefRegMap(@Self)^.&set := $00040000;
  39686. end;
  39687. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  39688. begin
  39689. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  39690. end;
  39691. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  39692. begin
  39693. pTDefRegMap(@Self)^.&set := $00080000;
  39694. end;
  39695. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  39696. begin
  39697. pTDefRegMap(@Self)^.clr := $00080000;
  39698. end;
  39699. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  39700. begin
  39701. if thebits = 0 then
  39702. pTDefRegMap(@Self)^.clr := $00080000
  39703. else
  39704. pTDefRegMap(@Self)^.&set := $00080000;
  39705. end;
  39706. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  39707. begin
  39708. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  39709. end;
  39710. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  39711. begin
  39712. pTDefRegMap(@Self)^.&set := $00100000;
  39713. end;
  39714. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  39715. begin
  39716. pTDefRegMap(@Self)^.clr := $00100000;
  39717. end;
  39718. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  39719. begin
  39720. if thebits = 0 then
  39721. pTDefRegMap(@Self)^.clr := $00100000
  39722. else
  39723. pTDefRegMap(@Self)^.&set := $00100000;
  39724. end;
  39725. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  39726. begin
  39727. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  39728. end;
  39729. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  39730. begin
  39731. pTDefRegMap(@Self)^.&set := $00200000;
  39732. end;
  39733. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  39734. begin
  39735. pTDefRegMap(@Self)^.clr := $00200000;
  39736. end;
  39737. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  39738. begin
  39739. if thebits = 0 then
  39740. pTDefRegMap(@Self)^.clr := $00200000
  39741. else
  39742. pTDefRegMap(@Self)^.&set := $00200000;
  39743. end;
  39744. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  39745. begin
  39746. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  39747. end;
  39748. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  39749. begin
  39750. pTDefRegMap(@Self)^.&set := $00400000;
  39751. end;
  39752. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  39753. begin
  39754. pTDefRegMap(@Self)^.clr := $00400000;
  39755. end;
  39756. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  39757. begin
  39758. if thebits = 0 then
  39759. pTDefRegMap(@Self)^.clr := $00400000
  39760. else
  39761. pTDefRegMap(@Self)^.&set := $00400000;
  39762. end;
  39763. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  39764. begin
  39765. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  39766. end;
  39767. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  39768. begin
  39769. pTDefRegMap(@Self)^.&set := $00800000;
  39770. end;
  39771. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  39772. begin
  39773. pTDefRegMap(@Self)^.clr := $00800000;
  39774. end;
  39775. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  39776. begin
  39777. if thebits = 0 then
  39778. pTDefRegMap(@Self)^.clr := $00800000
  39779. else
  39780. pTDefRegMap(@Self)^.&set := $00800000;
  39781. end;
  39782. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  39783. begin
  39784. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  39785. end;
  39786. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  39787. begin
  39788. pTDefRegMap(@Self)^.val := thebits;
  39789. end;
  39790. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  39791. begin
  39792. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39793. end;
  39794. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  39795. begin
  39796. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  39797. end;
  39798. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  39799. begin
  39800. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  39801. end;
  39802. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  39803. begin
  39804. pTDefRegMap(@Self)^.&set := $00000004;
  39805. end;
  39806. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  39807. begin
  39808. pTDefRegMap(@Self)^.clr := $00000004;
  39809. end;
  39810. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  39811. begin
  39812. if thebits = 0 then
  39813. pTDefRegMap(@Self)^.clr := $00000004
  39814. else
  39815. pTDefRegMap(@Self)^.&set := $00000004;
  39816. end;
  39817. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  39818. begin
  39819. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39820. end;
  39821. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  39822. begin
  39823. pTDefRegMap(@Self)^.&set := $00000010;
  39824. end;
  39825. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  39826. begin
  39827. pTDefRegMap(@Self)^.clr := $00000010;
  39828. end;
  39829. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  39830. begin
  39831. if thebits = 0 then
  39832. pTDefRegMap(@Self)^.clr := $00000010
  39833. else
  39834. pTDefRegMap(@Self)^.&set := $00000010;
  39835. end;
  39836. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  39837. begin
  39838. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39839. end;
  39840. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  39841. begin
  39842. pTDefRegMap(@Self)^.&set := $00000020;
  39843. end;
  39844. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  39845. begin
  39846. pTDefRegMap(@Self)^.clr := $00000020;
  39847. end;
  39848. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  39849. begin
  39850. if thebits = 0 then
  39851. pTDefRegMap(@Self)^.clr := $00000020
  39852. else
  39853. pTDefRegMap(@Self)^.&set := $00000020;
  39854. end;
  39855. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  39856. begin
  39857. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39858. end;
  39859. procedure TDMAC3_DCH3CON.setCHAED; inline;
  39860. begin
  39861. pTDefRegMap(@Self)^.&set := $00000040;
  39862. end;
  39863. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  39864. begin
  39865. pTDefRegMap(@Self)^.clr := $00000040;
  39866. end;
  39867. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  39868. begin
  39869. if thebits = 0 then
  39870. pTDefRegMap(@Self)^.clr := $00000040
  39871. else
  39872. pTDefRegMap(@Self)^.&set := $00000040;
  39873. end;
  39874. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  39875. begin
  39876. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39877. end;
  39878. procedure TDMAC3_DCH3CON.setCHEN; inline;
  39879. begin
  39880. pTDefRegMap(@Self)^.&set := $00000080;
  39881. end;
  39882. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  39883. begin
  39884. pTDefRegMap(@Self)^.clr := $00000080;
  39885. end;
  39886. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  39887. begin
  39888. if thebits = 0 then
  39889. pTDefRegMap(@Self)^.clr := $00000080
  39890. else
  39891. pTDefRegMap(@Self)^.&set := $00000080;
  39892. end;
  39893. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  39894. begin
  39895. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39896. end;
  39897. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  39898. begin
  39899. pTDefRegMap(@Self)^.&set := $00000100;
  39900. end;
  39901. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  39902. begin
  39903. pTDefRegMap(@Self)^.clr := $00000100;
  39904. end;
  39905. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  39906. begin
  39907. if thebits = 0 then
  39908. pTDefRegMap(@Self)^.clr := $00000100
  39909. else
  39910. pTDefRegMap(@Self)^.&set := $00000100;
  39911. end;
  39912. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  39913. begin
  39914. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39915. end;
  39916. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  39917. begin
  39918. pTDefRegMap(@Self)^.&set := $00008000;
  39919. end;
  39920. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  39921. begin
  39922. pTDefRegMap(@Self)^.clr := $00008000;
  39923. end;
  39924. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  39925. begin
  39926. if thebits = 0 then
  39927. pTDefRegMap(@Self)^.clr := $00008000
  39928. else
  39929. pTDefRegMap(@Self)^.&set := $00008000;
  39930. end;
  39931. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  39932. begin
  39933. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39934. end;
  39935. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  39936. begin
  39937. pTDefRegMap(@Self)^.val := thebits;
  39938. end;
  39939. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  39940. begin
  39941. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39942. end;
  39943. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  39944. begin
  39945. pTDefRegMap(@Self)^.&set := $00000008;
  39946. end;
  39947. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  39948. begin
  39949. pTDefRegMap(@Self)^.clr := $00000008;
  39950. end;
  39951. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  39952. begin
  39953. if thebits = 0 then
  39954. pTDefRegMap(@Self)^.clr := $00000008
  39955. else
  39956. pTDefRegMap(@Self)^.&set := $00000008;
  39957. end;
  39958. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  39959. begin
  39960. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39961. end;
  39962. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  39963. begin
  39964. pTDefRegMap(@Self)^.&set := $00000010;
  39965. end;
  39966. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  39967. begin
  39968. pTDefRegMap(@Self)^.clr := $00000010;
  39969. end;
  39970. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  39971. begin
  39972. if thebits = 0 then
  39973. pTDefRegMap(@Self)^.clr := $00000010
  39974. else
  39975. pTDefRegMap(@Self)^.&set := $00000010;
  39976. end;
  39977. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  39978. begin
  39979. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39980. end;
  39981. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  39982. begin
  39983. pTDefRegMap(@Self)^.&set := $00000020;
  39984. end;
  39985. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  39986. begin
  39987. pTDefRegMap(@Self)^.clr := $00000020;
  39988. end;
  39989. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  39990. begin
  39991. if thebits = 0 then
  39992. pTDefRegMap(@Self)^.clr := $00000020
  39993. else
  39994. pTDefRegMap(@Self)^.&set := $00000020;
  39995. end;
  39996. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  39997. begin
  39998. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39999. end;
  40000. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  40001. begin
  40002. pTDefRegMap(@Self)^.&set := $00000040;
  40003. end;
  40004. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  40005. begin
  40006. pTDefRegMap(@Self)^.clr := $00000040;
  40007. end;
  40008. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  40009. begin
  40010. if thebits = 0 then
  40011. pTDefRegMap(@Self)^.clr := $00000040
  40012. else
  40013. pTDefRegMap(@Self)^.&set := $00000040;
  40014. end;
  40015. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  40016. begin
  40017. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40018. end;
  40019. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  40020. begin
  40021. pTDefRegMap(@Self)^.&set := $00000080;
  40022. end;
  40023. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  40024. begin
  40025. pTDefRegMap(@Self)^.clr := $00000080;
  40026. end;
  40027. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  40028. begin
  40029. if thebits = 0 then
  40030. pTDefRegMap(@Self)^.clr := $00000080
  40031. else
  40032. pTDefRegMap(@Self)^.&set := $00000080;
  40033. end;
  40034. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  40035. begin
  40036. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40037. end;
  40038. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  40039. begin
  40040. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  40041. end;
  40042. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  40043. begin
  40044. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  40045. end;
  40046. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  40047. begin
  40048. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  40049. end;
  40050. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  40051. begin
  40052. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  40053. end;
  40054. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  40055. begin
  40056. pTDefRegMap(@Self)^.val := thebits;
  40057. end;
  40058. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  40059. begin
  40060. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40061. end;
  40062. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  40063. begin
  40064. pTDefRegMap(@Self)^.&set := $00000001;
  40065. end;
  40066. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  40067. begin
  40068. pTDefRegMap(@Self)^.clr := $00000001;
  40069. end;
  40070. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  40071. begin
  40072. if thebits = 0 then
  40073. pTDefRegMap(@Self)^.clr := $00000001
  40074. else
  40075. pTDefRegMap(@Self)^.&set := $00000001;
  40076. end;
  40077. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  40078. begin
  40079. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40080. end;
  40081. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  40082. begin
  40083. pTDefRegMap(@Self)^.&set := $00000002;
  40084. end;
  40085. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  40086. begin
  40087. pTDefRegMap(@Self)^.clr := $00000002;
  40088. end;
  40089. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  40090. begin
  40091. if thebits = 0 then
  40092. pTDefRegMap(@Self)^.clr := $00000002
  40093. else
  40094. pTDefRegMap(@Self)^.&set := $00000002;
  40095. end;
  40096. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  40097. begin
  40098. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40099. end;
  40100. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  40101. begin
  40102. pTDefRegMap(@Self)^.&set := $00000004;
  40103. end;
  40104. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  40105. begin
  40106. pTDefRegMap(@Self)^.clr := $00000004;
  40107. end;
  40108. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  40109. begin
  40110. if thebits = 0 then
  40111. pTDefRegMap(@Self)^.clr := $00000004
  40112. else
  40113. pTDefRegMap(@Self)^.&set := $00000004;
  40114. end;
  40115. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  40116. begin
  40117. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40118. end;
  40119. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  40120. begin
  40121. pTDefRegMap(@Self)^.&set := $00000008;
  40122. end;
  40123. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  40124. begin
  40125. pTDefRegMap(@Self)^.clr := $00000008;
  40126. end;
  40127. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  40128. begin
  40129. if thebits = 0 then
  40130. pTDefRegMap(@Self)^.clr := $00000008
  40131. else
  40132. pTDefRegMap(@Self)^.&set := $00000008;
  40133. end;
  40134. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  40135. begin
  40136. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40137. end;
  40138. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  40139. begin
  40140. pTDefRegMap(@Self)^.&set := $00000010;
  40141. end;
  40142. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  40143. begin
  40144. pTDefRegMap(@Self)^.clr := $00000010;
  40145. end;
  40146. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  40147. begin
  40148. if thebits = 0 then
  40149. pTDefRegMap(@Self)^.clr := $00000010
  40150. else
  40151. pTDefRegMap(@Self)^.&set := $00000010;
  40152. end;
  40153. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  40154. begin
  40155. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40156. end;
  40157. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  40158. begin
  40159. pTDefRegMap(@Self)^.&set := $00000020;
  40160. end;
  40161. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  40162. begin
  40163. pTDefRegMap(@Self)^.clr := $00000020;
  40164. end;
  40165. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  40166. begin
  40167. if thebits = 0 then
  40168. pTDefRegMap(@Self)^.clr := $00000020
  40169. else
  40170. pTDefRegMap(@Self)^.&set := $00000020;
  40171. end;
  40172. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  40173. begin
  40174. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40175. end;
  40176. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  40177. begin
  40178. pTDefRegMap(@Self)^.&set := $00000040;
  40179. end;
  40180. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  40181. begin
  40182. pTDefRegMap(@Self)^.clr := $00000040;
  40183. end;
  40184. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  40185. begin
  40186. if thebits = 0 then
  40187. pTDefRegMap(@Self)^.clr := $00000040
  40188. else
  40189. pTDefRegMap(@Self)^.&set := $00000040;
  40190. end;
  40191. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  40192. begin
  40193. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40194. end;
  40195. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  40196. begin
  40197. pTDefRegMap(@Self)^.&set := $00000080;
  40198. end;
  40199. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  40200. begin
  40201. pTDefRegMap(@Self)^.clr := $00000080;
  40202. end;
  40203. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  40204. begin
  40205. if thebits = 0 then
  40206. pTDefRegMap(@Self)^.clr := $00000080
  40207. else
  40208. pTDefRegMap(@Self)^.&set := $00000080;
  40209. end;
  40210. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  40211. begin
  40212. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40213. end;
  40214. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  40215. begin
  40216. pTDefRegMap(@Self)^.&set := $00010000;
  40217. end;
  40218. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  40219. begin
  40220. pTDefRegMap(@Self)^.clr := $00010000;
  40221. end;
  40222. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  40223. begin
  40224. if thebits = 0 then
  40225. pTDefRegMap(@Self)^.clr := $00010000
  40226. else
  40227. pTDefRegMap(@Self)^.&set := $00010000;
  40228. end;
  40229. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  40230. begin
  40231. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40232. end;
  40233. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  40234. begin
  40235. pTDefRegMap(@Self)^.&set := $00020000;
  40236. end;
  40237. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  40238. begin
  40239. pTDefRegMap(@Self)^.clr := $00020000;
  40240. end;
  40241. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  40242. begin
  40243. if thebits = 0 then
  40244. pTDefRegMap(@Self)^.clr := $00020000
  40245. else
  40246. pTDefRegMap(@Self)^.&set := $00020000;
  40247. end;
  40248. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  40249. begin
  40250. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  40251. end;
  40252. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  40253. begin
  40254. pTDefRegMap(@Self)^.&set := $00040000;
  40255. end;
  40256. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  40257. begin
  40258. pTDefRegMap(@Self)^.clr := $00040000;
  40259. end;
  40260. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  40261. begin
  40262. if thebits = 0 then
  40263. pTDefRegMap(@Self)^.clr := $00040000
  40264. else
  40265. pTDefRegMap(@Self)^.&set := $00040000;
  40266. end;
  40267. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  40268. begin
  40269. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  40270. end;
  40271. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  40272. begin
  40273. pTDefRegMap(@Self)^.&set := $00080000;
  40274. end;
  40275. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  40276. begin
  40277. pTDefRegMap(@Self)^.clr := $00080000;
  40278. end;
  40279. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  40280. begin
  40281. if thebits = 0 then
  40282. pTDefRegMap(@Self)^.clr := $00080000
  40283. else
  40284. pTDefRegMap(@Self)^.&set := $00080000;
  40285. end;
  40286. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  40287. begin
  40288. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  40289. end;
  40290. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  40291. begin
  40292. pTDefRegMap(@Self)^.&set := $00100000;
  40293. end;
  40294. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  40295. begin
  40296. pTDefRegMap(@Self)^.clr := $00100000;
  40297. end;
  40298. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  40299. begin
  40300. if thebits = 0 then
  40301. pTDefRegMap(@Self)^.clr := $00100000
  40302. else
  40303. pTDefRegMap(@Self)^.&set := $00100000;
  40304. end;
  40305. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  40306. begin
  40307. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  40308. end;
  40309. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  40310. begin
  40311. pTDefRegMap(@Self)^.&set := $00200000;
  40312. end;
  40313. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  40314. begin
  40315. pTDefRegMap(@Self)^.clr := $00200000;
  40316. end;
  40317. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  40318. begin
  40319. if thebits = 0 then
  40320. pTDefRegMap(@Self)^.clr := $00200000
  40321. else
  40322. pTDefRegMap(@Self)^.&set := $00200000;
  40323. end;
  40324. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  40325. begin
  40326. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  40327. end;
  40328. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  40329. begin
  40330. pTDefRegMap(@Self)^.&set := $00400000;
  40331. end;
  40332. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  40333. begin
  40334. pTDefRegMap(@Self)^.clr := $00400000;
  40335. end;
  40336. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  40337. begin
  40338. if thebits = 0 then
  40339. pTDefRegMap(@Self)^.clr := $00400000
  40340. else
  40341. pTDefRegMap(@Self)^.&set := $00400000;
  40342. end;
  40343. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  40344. begin
  40345. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  40346. end;
  40347. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  40348. begin
  40349. pTDefRegMap(@Self)^.&set := $00800000;
  40350. end;
  40351. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  40352. begin
  40353. pTDefRegMap(@Self)^.clr := $00800000;
  40354. end;
  40355. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  40356. begin
  40357. if thebits = 0 then
  40358. pTDefRegMap(@Self)^.clr := $00800000
  40359. else
  40360. pTDefRegMap(@Self)^.&set := $00800000;
  40361. end;
  40362. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  40363. begin
  40364. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  40365. end;
  40366. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  40367. begin
  40368. pTDefRegMap(@Self)^.val := thebits;
  40369. end;
  40370. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  40371. begin
  40372. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40373. end;
  40374. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  40375. begin
  40376. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  40377. end;
  40378. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  40379. begin
  40380. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  40381. end;
  40382. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  40383. begin
  40384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  40385. end;
  40386. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  40387. begin
  40388. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  40389. end;
  40390. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  40391. begin
  40392. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  40393. end;
  40394. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  40395. begin
  40396. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  40397. end;
  40398. procedure TPCACHE_CHECON.setCHECOH; inline;
  40399. begin
  40400. pTDefRegMap(@Self)^.&set := $00010000;
  40401. end;
  40402. procedure TPCACHE_CHECON.clearCHECOH; inline;
  40403. begin
  40404. pTDefRegMap(@Self)^.clr := $00010000;
  40405. end;
  40406. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  40407. begin
  40408. if thebits = 0 then
  40409. pTDefRegMap(@Self)^.clr := $00010000
  40410. else
  40411. pTDefRegMap(@Self)^.&set := $00010000;
  40412. end;
  40413. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  40414. begin
  40415. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40416. end;
  40417. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  40418. begin
  40419. pTDefRegMap(@Self)^.val := thebits;
  40420. end;
  40421. function TPCACHE_CHECON.getw : TBits_32; inline;
  40422. begin
  40423. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40424. end;
  40425. procedure TPCACHE_CHETAG.setLTYPE; inline;
  40426. begin
  40427. pTDefRegMap(@Self)^.&set := $00000002;
  40428. end;
  40429. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  40430. begin
  40431. pTDefRegMap(@Self)^.clr := $00000002;
  40432. end;
  40433. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  40434. begin
  40435. if thebits = 0 then
  40436. pTDefRegMap(@Self)^.clr := $00000002
  40437. else
  40438. pTDefRegMap(@Self)^.&set := $00000002;
  40439. end;
  40440. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  40441. begin
  40442. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40443. end;
  40444. procedure TPCACHE_CHETAG.setLLOCK; inline;
  40445. begin
  40446. pTDefRegMap(@Self)^.&set := $00000004;
  40447. end;
  40448. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  40449. begin
  40450. pTDefRegMap(@Self)^.clr := $00000004;
  40451. end;
  40452. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  40453. begin
  40454. if thebits = 0 then
  40455. pTDefRegMap(@Self)^.clr := $00000004
  40456. else
  40457. pTDefRegMap(@Self)^.&set := $00000004;
  40458. end;
  40459. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  40460. begin
  40461. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40462. end;
  40463. procedure TPCACHE_CHETAG.setLVALID; inline;
  40464. begin
  40465. pTDefRegMap(@Self)^.&set := $00000008;
  40466. end;
  40467. procedure TPCACHE_CHETAG.clearLVALID; inline;
  40468. begin
  40469. pTDefRegMap(@Self)^.clr := $00000008;
  40470. end;
  40471. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  40472. begin
  40473. if thebits = 0 then
  40474. pTDefRegMap(@Self)^.clr := $00000008
  40475. else
  40476. pTDefRegMap(@Self)^.&set := $00000008;
  40477. end;
  40478. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  40479. begin
  40480. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40481. end;
  40482. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  40483. begin
  40484. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  40485. end;
  40486. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  40487. begin
  40488. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  40489. end;
  40490. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  40491. begin
  40492. pTDefRegMap(@Self)^.&set := $80000000;
  40493. end;
  40494. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  40495. begin
  40496. pTDefRegMap(@Self)^.clr := $80000000;
  40497. end;
  40498. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  40499. begin
  40500. if thebits = 0 then
  40501. pTDefRegMap(@Self)^.clr := $80000000
  40502. else
  40503. pTDefRegMap(@Self)^.&set := $80000000;
  40504. end;
  40505. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  40506. begin
  40507. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  40508. end;
  40509. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  40510. begin
  40511. pTDefRegMap(@Self)^.val := thebits;
  40512. end;
  40513. function TPCACHE_CHETAG.getw : TBits_32; inline;
  40514. begin
  40515. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40516. end;
  40517. procedure TPCACHE_ANSELA.setANSA9; inline;
  40518. begin
  40519. pTDefRegMap(@Self)^.&set := $00000200;
  40520. end;
  40521. procedure TPCACHE_ANSELA.clearANSA9; inline;
  40522. begin
  40523. pTDefRegMap(@Self)^.clr := $00000200;
  40524. end;
  40525. procedure TPCACHE_ANSELA.setANSA9(thebits : TBits_1); inline;
  40526. begin
  40527. if thebits = 0 then
  40528. pTDefRegMap(@Self)^.clr := $00000200
  40529. else
  40530. pTDefRegMap(@Self)^.&set := $00000200;
  40531. end;
  40532. function TPCACHE_ANSELA.getANSA9 : TBits_1; inline;
  40533. begin
  40534. getANSA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40535. end;
  40536. procedure TPCACHE_ANSELA.setANSA10; inline;
  40537. begin
  40538. pTDefRegMap(@Self)^.&set := $00000400;
  40539. end;
  40540. procedure TPCACHE_ANSELA.clearANSA10; inline;
  40541. begin
  40542. pTDefRegMap(@Self)^.clr := $00000400;
  40543. end;
  40544. procedure TPCACHE_ANSELA.setANSA10(thebits : TBits_1); inline;
  40545. begin
  40546. if thebits = 0 then
  40547. pTDefRegMap(@Self)^.clr := $00000400
  40548. else
  40549. pTDefRegMap(@Self)^.&set := $00000400;
  40550. end;
  40551. function TPCACHE_ANSELA.getANSA10 : TBits_1; inline;
  40552. begin
  40553. getANSA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40554. end;
  40555. procedure TPCACHE_ANSELA.setw(thebits : TBits_32); inline;
  40556. begin
  40557. pTDefRegMap(@Self)^.val := thebits;
  40558. end;
  40559. function TPCACHE_ANSELA.getw : TBits_32; inline;
  40560. begin
  40561. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40562. end;
  40563. procedure TPCACHE_TRISA.setTRISA0; inline;
  40564. begin
  40565. pTDefRegMap(@Self)^.&set := $00000001;
  40566. end;
  40567. procedure TPCACHE_TRISA.clearTRISA0; inline;
  40568. begin
  40569. pTDefRegMap(@Self)^.clr := $00000001;
  40570. end;
  40571. procedure TPCACHE_TRISA.setTRISA0(thebits : TBits_1); inline;
  40572. begin
  40573. if thebits = 0 then
  40574. pTDefRegMap(@Self)^.clr := $00000001
  40575. else
  40576. pTDefRegMap(@Self)^.&set := $00000001;
  40577. end;
  40578. function TPCACHE_TRISA.getTRISA0 : TBits_1; inline;
  40579. begin
  40580. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40581. end;
  40582. procedure TPCACHE_TRISA.setTRISA1; inline;
  40583. begin
  40584. pTDefRegMap(@Self)^.&set := $00000002;
  40585. end;
  40586. procedure TPCACHE_TRISA.clearTRISA1; inline;
  40587. begin
  40588. pTDefRegMap(@Self)^.clr := $00000002;
  40589. end;
  40590. procedure TPCACHE_TRISA.setTRISA1(thebits : TBits_1); inline;
  40591. begin
  40592. if thebits = 0 then
  40593. pTDefRegMap(@Self)^.clr := $00000002
  40594. else
  40595. pTDefRegMap(@Self)^.&set := $00000002;
  40596. end;
  40597. function TPCACHE_TRISA.getTRISA1 : TBits_1; inline;
  40598. begin
  40599. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40600. end;
  40601. procedure TPCACHE_TRISA.setTRISA2; inline;
  40602. begin
  40603. pTDefRegMap(@Self)^.&set := $00000004;
  40604. end;
  40605. procedure TPCACHE_TRISA.clearTRISA2; inline;
  40606. begin
  40607. pTDefRegMap(@Self)^.clr := $00000004;
  40608. end;
  40609. procedure TPCACHE_TRISA.setTRISA2(thebits : TBits_1); inline;
  40610. begin
  40611. if thebits = 0 then
  40612. pTDefRegMap(@Self)^.clr := $00000004
  40613. else
  40614. pTDefRegMap(@Self)^.&set := $00000004;
  40615. end;
  40616. function TPCACHE_TRISA.getTRISA2 : TBits_1; inline;
  40617. begin
  40618. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40619. end;
  40620. procedure TPCACHE_TRISA.setTRISA3; inline;
  40621. begin
  40622. pTDefRegMap(@Self)^.&set := $00000008;
  40623. end;
  40624. procedure TPCACHE_TRISA.clearTRISA3; inline;
  40625. begin
  40626. pTDefRegMap(@Self)^.clr := $00000008;
  40627. end;
  40628. procedure TPCACHE_TRISA.setTRISA3(thebits : TBits_1); inline;
  40629. begin
  40630. if thebits = 0 then
  40631. pTDefRegMap(@Self)^.clr := $00000008
  40632. else
  40633. pTDefRegMap(@Self)^.&set := $00000008;
  40634. end;
  40635. function TPCACHE_TRISA.getTRISA3 : TBits_1; inline;
  40636. begin
  40637. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40638. end;
  40639. procedure TPCACHE_TRISA.setTRISA4; inline;
  40640. begin
  40641. pTDefRegMap(@Self)^.&set := $00000010;
  40642. end;
  40643. procedure TPCACHE_TRISA.clearTRISA4; inline;
  40644. begin
  40645. pTDefRegMap(@Self)^.clr := $00000010;
  40646. end;
  40647. procedure TPCACHE_TRISA.setTRISA4(thebits : TBits_1); inline;
  40648. begin
  40649. if thebits = 0 then
  40650. pTDefRegMap(@Self)^.clr := $00000010
  40651. else
  40652. pTDefRegMap(@Self)^.&set := $00000010;
  40653. end;
  40654. function TPCACHE_TRISA.getTRISA4 : TBits_1; inline;
  40655. begin
  40656. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40657. end;
  40658. procedure TPCACHE_TRISA.setTRISA5; inline;
  40659. begin
  40660. pTDefRegMap(@Self)^.&set := $00000020;
  40661. end;
  40662. procedure TPCACHE_TRISA.clearTRISA5; inline;
  40663. begin
  40664. pTDefRegMap(@Self)^.clr := $00000020;
  40665. end;
  40666. procedure TPCACHE_TRISA.setTRISA5(thebits : TBits_1); inline;
  40667. begin
  40668. if thebits = 0 then
  40669. pTDefRegMap(@Self)^.clr := $00000020
  40670. else
  40671. pTDefRegMap(@Self)^.&set := $00000020;
  40672. end;
  40673. function TPCACHE_TRISA.getTRISA5 : TBits_1; inline;
  40674. begin
  40675. getTRISA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40676. end;
  40677. procedure TPCACHE_TRISA.setTRISA6; inline;
  40678. begin
  40679. pTDefRegMap(@Self)^.&set := $00000040;
  40680. end;
  40681. procedure TPCACHE_TRISA.clearTRISA6; inline;
  40682. begin
  40683. pTDefRegMap(@Self)^.clr := $00000040;
  40684. end;
  40685. procedure TPCACHE_TRISA.setTRISA6(thebits : TBits_1); inline;
  40686. begin
  40687. if thebits = 0 then
  40688. pTDefRegMap(@Self)^.clr := $00000040
  40689. else
  40690. pTDefRegMap(@Self)^.&set := $00000040;
  40691. end;
  40692. function TPCACHE_TRISA.getTRISA6 : TBits_1; inline;
  40693. begin
  40694. getTRISA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40695. end;
  40696. procedure TPCACHE_TRISA.setTRISA7; inline;
  40697. begin
  40698. pTDefRegMap(@Self)^.&set := $00000080;
  40699. end;
  40700. procedure TPCACHE_TRISA.clearTRISA7; inline;
  40701. begin
  40702. pTDefRegMap(@Self)^.clr := $00000080;
  40703. end;
  40704. procedure TPCACHE_TRISA.setTRISA7(thebits : TBits_1); inline;
  40705. begin
  40706. if thebits = 0 then
  40707. pTDefRegMap(@Self)^.clr := $00000080
  40708. else
  40709. pTDefRegMap(@Self)^.&set := $00000080;
  40710. end;
  40711. function TPCACHE_TRISA.getTRISA7 : TBits_1; inline;
  40712. begin
  40713. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40714. end;
  40715. procedure TPCACHE_TRISA.setTRISA9; inline;
  40716. begin
  40717. pTDefRegMap(@Self)^.&set := $00000200;
  40718. end;
  40719. procedure TPCACHE_TRISA.clearTRISA9; inline;
  40720. begin
  40721. pTDefRegMap(@Self)^.clr := $00000200;
  40722. end;
  40723. procedure TPCACHE_TRISA.setTRISA9(thebits : TBits_1); inline;
  40724. begin
  40725. if thebits = 0 then
  40726. pTDefRegMap(@Self)^.clr := $00000200
  40727. else
  40728. pTDefRegMap(@Self)^.&set := $00000200;
  40729. end;
  40730. function TPCACHE_TRISA.getTRISA9 : TBits_1; inline;
  40731. begin
  40732. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40733. end;
  40734. procedure TPCACHE_TRISA.setTRISA10; inline;
  40735. begin
  40736. pTDefRegMap(@Self)^.&set := $00000400;
  40737. end;
  40738. procedure TPCACHE_TRISA.clearTRISA10; inline;
  40739. begin
  40740. pTDefRegMap(@Self)^.clr := $00000400;
  40741. end;
  40742. procedure TPCACHE_TRISA.setTRISA10(thebits : TBits_1); inline;
  40743. begin
  40744. if thebits = 0 then
  40745. pTDefRegMap(@Self)^.clr := $00000400
  40746. else
  40747. pTDefRegMap(@Self)^.&set := $00000400;
  40748. end;
  40749. function TPCACHE_TRISA.getTRISA10 : TBits_1; inline;
  40750. begin
  40751. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40752. end;
  40753. procedure TPCACHE_TRISA.setTRISA14; inline;
  40754. begin
  40755. pTDefRegMap(@Self)^.&set := $00004000;
  40756. end;
  40757. procedure TPCACHE_TRISA.clearTRISA14; inline;
  40758. begin
  40759. pTDefRegMap(@Self)^.clr := $00004000;
  40760. end;
  40761. procedure TPCACHE_TRISA.setTRISA14(thebits : TBits_1); inline;
  40762. begin
  40763. if thebits = 0 then
  40764. pTDefRegMap(@Self)^.clr := $00004000
  40765. else
  40766. pTDefRegMap(@Self)^.&set := $00004000;
  40767. end;
  40768. function TPCACHE_TRISA.getTRISA14 : TBits_1; inline;
  40769. begin
  40770. getTRISA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40771. end;
  40772. procedure TPCACHE_TRISA.setTRISA15; inline;
  40773. begin
  40774. pTDefRegMap(@Self)^.&set := $00008000;
  40775. end;
  40776. procedure TPCACHE_TRISA.clearTRISA15; inline;
  40777. begin
  40778. pTDefRegMap(@Self)^.clr := $00008000;
  40779. end;
  40780. procedure TPCACHE_TRISA.setTRISA15(thebits : TBits_1); inline;
  40781. begin
  40782. if thebits = 0 then
  40783. pTDefRegMap(@Self)^.clr := $00008000
  40784. else
  40785. pTDefRegMap(@Self)^.&set := $00008000;
  40786. end;
  40787. function TPCACHE_TRISA.getTRISA15 : TBits_1; inline;
  40788. begin
  40789. getTRISA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40790. end;
  40791. procedure TPCACHE_TRISA.setw(thebits : TBits_32); inline;
  40792. begin
  40793. pTDefRegMap(@Self)^.val := thebits;
  40794. end;
  40795. function TPCACHE_TRISA.getw : TBits_32; inline;
  40796. begin
  40797. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40798. end;
  40799. procedure TPORTA_PORTA.setRA0; inline;
  40800. begin
  40801. pTDefRegMap(@Self)^.&set := $00000001;
  40802. end;
  40803. procedure TPORTA_PORTA.clearRA0; inline;
  40804. begin
  40805. pTDefRegMap(@Self)^.clr := $00000001;
  40806. end;
  40807. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  40808. begin
  40809. if thebits = 0 then
  40810. pTDefRegMap(@Self)^.clr := $00000001
  40811. else
  40812. pTDefRegMap(@Self)^.&set := $00000001;
  40813. end;
  40814. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  40815. begin
  40816. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40817. end;
  40818. procedure TPORTA_PORTA.setRA1; inline;
  40819. begin
  40820. pTDefRegMap(@Self)^.&set := $00000002;
  40821. end;
  40822. procedure TPORTA_PORTA.clearRA1; inline;
  40823. begin
  40824. pTDefRegMap(@Self)^.clr := $00000002;
  40825. end;
  40826. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  40827. begin
  40828. if thebits = 0 then
  40829. pTDefRegMap(@Self)^.clr := $00000002
  40830. else
  40831. pTDefRegMap(@Self)^.&set := $00000002;
  40832. end;
  40833. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  40834. begin
  40835. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40836. end;
  40837. procedure TPORTA_PORTA.setRA2; inline;
  40838. begin
  40839. pTDefRegMap(@Self)^.&set := $00000004;
  40840. end;
  40841. procedure TPORTA_PORTA.clearRA2; inline;
  40842. begin
  40843. pTDefRegMap(@Self)^.clr := $00000004;
  40844. end;
  40845. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  40846. begin
  40847. if thebits = 0 then
  40848. pTDefRegMap(@Self)^.clr := $00000004
  40849. else
  40850. pTDefRegMap(@Self)^.&set := $00000004;
  40851. end;
  40852. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  40853. begin
  40854. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40855. end;
  40856. procedure TPORTA_PORTA.setRA3; inline;
  40857. begin
  40858. pTDefRegMap(@Self)^.&set := $00000008;
  40859. end;
  40860. procedure TPORTA_PORTA.clearRA3; inline;
  40861. begin
  40862. pTDefRegMap(@Self)^.clr := $00000008;
  40863. end;
  40864. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  40865. begin
  40866. if thebits = 0 then
  40867. pTDefRegMap(@Self)^.clr := $00000008
  40868. else
  40869. pTDefRegMap(@Self)^.&set := $00000008;
  40870. end;
  40871. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  40872. begin
  40873. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40874. end;
  40875. procedure TPORTA_PORTA.setRA4; inline;
  40876. begin
  40877. pTDefRegMap(@Self)^.&set := $00000010;
  40878. end;
  40879. procedure TPORTA_PORTA.clearRA4; inline;
  40880. begin
  40881. pTDefRegMap(@Self)^.clr := $00000010;
  40882. end;
  40883. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  40884. begin
  40885. if thebits = 0 then
  40886. pTDefRegMap(@Self)^.clr := $00000010
  40887. else
  40888. pTDefRegMap(@Self)^.&set := $00000010;
  40889. end;
  40890. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  40891. begin
  40892. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40893. end;
  40894. procedure TPORTA_PORTA.setRA5; inline;
  40895. begin
  40896. pTDefRegMap(@Self)^.&set := $00000020;
  40897. end;
  40898. procedure TPORTA_PORTA.clearRA5; inline;
  40899. begin
  40900. pTDefRegMap(@Self)^.clr := $00000020;
  40901. end;
  40902. procedure TPORTA_PORTA.setRA5(thebits : TBits_1); inline;
  40903. begin
  40904. if thebits = 0 then
  40905. pTDefRegMap(@Self)^.clr := $00000020
  40906. else
  40907. pTDefRegMap(@Self)^.&set := $00000020;
  40908. end;
  40909. function TPORTA_PORTA.getRA5 : TBits_1; inline;
  40910. begin
  40911. getRA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40912. end;
  40913. procedure TPORTA_PORTA.setRA6; inline;
  40914. begin
  40915. pTDefRegMap(@Self)^.&set := $00000040;
  40916. end;
  40917. procedure TPORTA_PORTA.clearRA6; inline;
  40918. begin
  40919. pTDefRegMap(@Self)^.clr := $00000040;
  40920. end;
  40921. procedure TPORTA_PORTA.setRA6(thebits : TBits_1); inline;
  40922. begin
  40923. if thebits = 0 then
  40924. pTDefRegMap(@Self)^.clr := $00000040
  40925. else
  40926. pTDefRegMap(@Self)^.&set := $00000040;
  40927. end;
  40928. function TPORTA_PORTA.getRA6 : TBits_1; inline;
  40929. begin
  40930. getRA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40931. end;
  40932. procedure TPORTA_PORTA.setRA7; inline;
  40933. begin
  40934. pTDefRegMap(@Self)^.&set := $00000080;
  40935. end;
  40936. procedure TPORTA_PORTA.clearRA7; inline;
  40937. begin
  40938. pTDefRegMap(@Self)^.clr := $00000080;
  40939. end;
  40940. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  40941. begin
  40942. if thebits = 0 then
  40943. pTDefRegMap(@Self)^.clr := $00000080
  40944. else
  40945. pTDefRegMap(@Self)^.&set := $00000080;
  40946. end;
  40947. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  40948. begin
  40949. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40950. end;
  40951. procedure TPORTA_PORTA.setRA9; inline;
  40952. begin
  40953. pTDefRegMap(@Self)^.&set := $00000200;
  40954. end;
  40955. procedure TPORTA_PORTA.clearRA9; inline;
  40956. begin
  40957. pTDefRegMap(@Self)^.clr := $00000200;
  40958. end;
  40959. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  40960. begin
  40961. if thebits = 0 then
  40962. pTDefRegMap(@Self)^.clr := $00000200
  40963. else
  40964. pTDefRegMap(@Self)^.&set := $00000200;
  40965. end;
  40966. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  40967. begin
  40968. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40969. end;
  40970. procedure TPORTA_PORTA.setRA10; inline;
  40971. begin
  40972. pTDefRegMap(@Self)^.&set := $00000400;
  40973. end;
  40974. procedure TPORTA_PORTA.clearRA10; inline;
  40975. begin
  40976. pTDefRegMap(@Self)^.clr := $00000400;
  40977. end;
  40978. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  40979. begin
  40980. if thebits = 0 then
  40981. pTDefRegMap(@Self)^.clr := $00000400
  40982. else
  40983. pTDefRegMap(@Self)^.&set := $00000400;
  40984. end;
  40985. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  40986. begin
  40987. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40988. end;
  40989. procedure TPORTA_PORTA.setRA14; inline;
  40990. begin
  40991. pTDefRegMap(@Self)^.&set := $00004000;
  40992. end;
  40993. procedure TPORTA_PORTA.clearRA14; inline;
  40994. begin
  40995. pTDefRegMap(@Self)^.clr := $00004000;
  40996. end;
  40997. procedure TPORTA_PORTA.setRA14(thebits : TBits_1); inline;
  40998. begin
  40999. if thebits = 0 then
  41000. pTDefRegMap(@Self)^.clr := $00004000
  41001. else
  41002. pTDefRegMap(@Self)^.&set := $00004000;
  41003. end;
  41004. function TPORTA_PORTA.getRA14 : TBits_1; inline;
  41005. begin
  41006. getRA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41007. end;
  41008. procedure TPORTA_PORTA.setRA15; inline;
  41009. begin
  41010. pTDefRegMap(@Self)^.&set := $00008000;
  41011. end;
  41012. procedure TPORTA_PORTA.clearRA15; inline;
  41013. begin
  41014. pTDefRegMap(@Self)^.clr := $00008000;
  41015. end;
  41016. procedure TPORTA_PORTA.setRA15(thebits : TBits_1); inline;
  41017. begin
  41018. if thebits = 0 then
  41019. pTDefRegMap(@Self)^.clr := $00008000
  41020. else
  41021. pTDefRegMap(@Self)^.&set := $00008000;
  41022. end;
  41023. function TPORTA_PORTA.getRA15 : TBits_1; inline;
  41024. begin
  41025. getRA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41026. end;
  41027. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  41028. begin
  41029. pTDefRegMap(@Self)^.val := thebits;
  41030. end;
  41031. function TPORTA_PORTA.getw : TBits_32; inline;
  41032. begin
  41033. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41034. end;
  41035. procedure TPORTA_LATA.setLATA0; inline;
  41036. begin
  41037. pTDefRegMap(@Self)^.&set := $00000001;
  41038. end;
  41039. procedure TPORTA_LATA.clearLATA0; inline;
  41040. begin
  41041. pTDefRegMap(@Self)^.clr := $00000001;
  41042. end;
  41043. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  41044. begin
  41045. if thebits = 0 then
  41046. pTDefRegMap(@Self)^.clr := $00000001
  41047. else
  41048. pTDefRegMap(@Self)^.&set := $00000001;
  41049. end;
  41050. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  41051. begin
  41052. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41053. end;
  41054. procedure TPORTA_LATA.setLATA1; inline;
  41055. begin
  41056. pTDefRegMap(@Self)^.&set := $00000002;
  41057. end;
  41058. procedure TPORTA_LATA.clearLATA1; inline;
  41059. begin
  41060. pTDefRegMap(@Self)^.clr := $00000002;
  41061. end;
  41062. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  41063. begin
  41064. if thebits = 0 then
  41065. pTDefRegMap(@Self)^.clr := $00000002
  41066. else
  41067. pTDefRegMap(@Self)^.&set := $00000002;
  41068. end;
  41069. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  41070. begin
  41071. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41072. end;
  41073. procedure TPORTA_LATA.setLATA2; inline;
  41074. begin
  41075. pTDefRegMap(@Self)^.&set := $00000004;
  41076. end;
  41077. procedure TPORTA_LATA.clearLATA2; inline;
  41078. begin
  41079. pTDefRegMap(@Self)^.clr := $00000004;
  41080. end;
  41081. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  41082. begin
  41083. if thebits = 0 then
  41084. pTDefRegMap(@Self)^.clr := $00000004
  41085. else
  41086. pTDefRegMap(@Self)^.&set := $00000004;
  41087. end;
  41088. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  41089. begin
  41090. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41091. end;
  41092. procedure TPORTA_LATA.setLATA3; inline;
  41093. begin
  41094. pTDefRegMap(@Self)^.&set := $00000008;
  41095. end;
  41096. procedure TPORTA_LATA.clearLATA3; inline;
  41097. begin
  41098. pTDefRegMap(@Self)^.clr := $00000008;
  41099. end;
  41100. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  41101. begin
  41102. if thebits = 0 then
  41103. pTDefRegMap(@Self)^.clr := $00000008
  41104. else
  41105. pTDefRegMap(@Self)^.&set := $00000008;
  41106. end;
  41107. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  41108. begin
  41109. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41110. end;
  41111. procedure TPORTA_LATA.setLATA4; inline;
  41112. begin
  41113. pTDefRegMap(@Self)^.&set := $00000010;
  41114. end;
  41115. procedure TPORTA_LATA.clearLATA4; inline;
  41116. begin
  41117. pTDefRegMap(@Self)^.clr := $00000010;
  41118. end;
  41119. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  41120. begin
  41121. if thebits = 0 then
  41122. pTDefRegMap(@Self)^.clr := $00000010
  41123. else
  41124. pTDefRegMap(@Self)^.&set := $00000010;
  41125. end;
  41126. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  41127. begin
  41128. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41129. end;
  41130. procedure TPORTA_LATA.setLATA5; inline;
  41131. begin
  41132. pTDefRegMap(@Self)^.&set := $00000020;
  41133. end;
  41134. procedure TPORTA_LATA.clearLATA5; inline;
  41135. begin
  41136. pTDefRegMap(@Self)^.clr := $00000020;
  41137. end;
  41138. procedure TPORTA_LATA.setLATA5(thebits : TBits_1); inline;
  41139. begin
  41140. if thebits = 0 then
  41141. pTDefRegMap(@Self)^.clr := $00000020
  41142. else
  41143. pTDefRegMap(@Self)^.&set := $00000020;
  41144. end;
  41145. function TPORTA_LATA.getLATA5 : TBits_1; inline;
  41146. begin
  41147. getLATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41148. end;
  41149. procedure TPORTA_LATA.setLATA6; inline;
  41150. begin
  41151. pTDefRegMap(@Self)^.&set := $00000040;
  41152. end;
  41153. procedure TPORTA_LATA.clearLATA6; inline;
  41154. begin
  41155. pTDefRegMap(@Self)^.clr := $00000040;
  41156. end;
  41157. procedure TPORTA_LATA.setLATA6(thebits : TBits_1); inline;
  41158. begin
  41159. if thebits = 0 then
  41160. pTDefRegMap(@Self)^.clr := $00000040
  41161. else
  41162. pTDefRegMap(@Self)^.&set := $00000040;
  41163. end;
  41164. function TPORTA_LATA.getLATA6 : TBits_1; inline;
  41165. begin
  41166. getLATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41167. end;
  41168. procedure TPORTA_LATA.setLATA7; inline;
  41169. begin
  41170. pTDefRegMap(@Self)^.&set := $00000080;
  41171. end;
  41172. procedure TPORTA_LATA.clearLATA7; inline;
  41173. begin
  41174. pTDefRegMap(@Self)^.clr := $00000080;
  41175. end;
  41176. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  41177. begin
  41178. if thebits = 0 then
  41179. pTDefRegMap(@Self)^.clr := $00000080
  41180. else
  41181. pTDefRegMap(@Self)^.&set := $00000080;
  41182. end;
  41183. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  41184. begin
  41185. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41186. end;
  41187. procedure TPORTA_LATA.setLATA9; inline;
  41188. begin
  41189. pTDefRegMap(@Self)^.&set := $00000200;
  41190. end;
  41191. procedure TPORTA_LATA.clearLATA9; inline;
  41192. begin
  41193. pTDefRegMap(@Self)^.clr := $00000200;
  41194. end;
  41195. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  41196. begin
  41197. if thebits = 0 then
  41198. pTDefRegMap(@Self)^.clr := $00000200
  41199. else
  41200. pTDefRegMap(@Self)^.&set := $00000200;
  41201. end;
  41202. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  41203. begin
  41204. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41205. end;
  41206. procedure TPORTA_LATA.setLATA10; inline;
  41207. begin
  41208. pTDefRegMap(@Self)^.&set := $00000400;
  41209. end;
  41210. procedure TPORTA_LATA.clearLATA10; inline;
  41211. begin
  41212. pTDefRegMap(@Self)^.clr := $00000400;
  41213. end;
  41214. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  41215. begin
  41216. if thebits = 0 then
  41217. pTDefRegMap(@Self)^.clr := $00000400
  41218. else
  41219. pTDefRegMap(@Self)^.&set := $00000400;
  41220. end;
  41221. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  41222. begin
  41223. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41224. end;
  41225. procedure TPORTA_LATA.setLATA14; inline;
  41226. begin
  41227. pTDefRegMap(@Self)^.&set := $00004000;
  41228. end;
  41229. procedure TPORTA_LATA.clearLATA14; inline;
  41230. begin
  41231. pTDefRegMap(@Self)^.clr := $00004000;
  41232. end;
  41233. procedure TPORTA_LATA.setLATA14(thebits : TBits_1); inline;
  41234. begin
  41235. if thebits = 0 then
  41236. pTDefRegMap(@Self)^.clr := $00004000
  41237. else
  41238. pTDefRegMap(@Self)^.&set := $00004000;
  41239. end;
  41240. function TPORTA_LATA.getLATA14 : TBits_1; inline;
  41241. begin
  41242. getLATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41243. end;
  41244. procedure TPORTA_LATA.setLATA15; inline;
  41245. begin
  41246. pTDefRegMap(@Self)^.&set := $00008000;
  41247. end;
  41248. procedure TPORTA_LATA.clearLATA15; inline;
  41249. begin
  41250. pTDefRegMap(@Self)^.clr := $00008000;
  41251. end;
  41252. procedure TPORTA_LATA.setLATA15(thebits : TBits_1); inline;
  41253. begin
  41254. if thebits = 0 then
  41255. pTDefRegMap(@Self)^.clr := $00008000
  41256. else
  41257. pTDefRegMap(@Self)^.&set := $00008000;
  41258. end;
  41259. function TPORTA_LATA.getLATA15 : TBits_1; inline;
  41260. begin
  41261. getLATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41262. end;
  41263. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  41264. begin
  41265. pTDefRegMap(@Self)^.val := thebits;
  41266. end;
  41267. function TPORTA_LATA.getw : TBits_32; inline;
  41268. begin
  41269. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41270. end;
  41271. procedure TPORTA_ODCA.setODCA0; inline;
  41272. begin
  41273. pTDefRegMap(@Self)^.&set := $00000001;
  41274. end;
  41275. procedure TPORTA_ODCA.clearODCA0; inline;
  41276. begin
  41277. pTDefRegMap(@Self)^.clr := $00000001;
  41278. end;
  41279. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  41280. begin
  41281. if thebits = 0 then
  41282. pTDefRegMap(@Self)^.clr := $00000001
  41283. else
  41284. pTDefRegMap(@Self)^.&set := $00000001;
  41285. end;
  41286. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  41287. begin
  41288. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41289. end;
  41290. procedure TPORTA_ODCA.setODCA1; inline;
  41291. begin
  41292. pTDefRegMap(@Self)^.&set := $00000002;
  41293. end;
  41294. procedure TPORTA_ODCA.clearODCA1; inline;
  41295. begin
  41296. pTDefRegMap(@Self)^.clr := $00000002;
  41297. end;
  41298. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  41299. begin
  41300. if thebits = 0 then
  41301. pTDefRegMap(@Self)^.clr := $00000002
  41302. else
  41303. pTDefRegMap(@Self)^.&set := $00000002;
  41304. end;
  41305. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  41306. begin
  41307. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41308. end;
  41309. procedure TPORTA_ODCA.setODCA2; inline;
  41310. begin
  41311. pTDefRegMap(@Self)^.&set := $00000004;
  41312. end;
  41313. procedure TPORTA_ODCA.clearODCA2; inline;
  41314. begin
  41315. pTDefRegMap(@Self)^.clr := $00000004;
  41316. end;
  41317. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  41318. begin
  41319. if thebits = 0 then
  41320. pTDefRegMap(@Self)^.clr := $00000004
  41321. else
  41322. pTDefRegMap(@Self)^.&set := $00000004;
  41323. end;
  41324. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  41325. begin
  41326. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41327. end;
  41328. procedure TPORTA_ODCA.setODCA3; inline;
  41329. begin
  41330. pTDefRegMap(@Self)^.&set := $00000008;
  41331. end;
  41332. procedure TPORTA_ODCA.clearODCA3; inline;
  41333. begin
  41334. pTDefRegMap(@Self)^.clr := $00000008;
  41335. end;
  41336. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  41337. begin
  41338. if thebits = 0 then
  41339. pTDefRegMap(@Self)^.clr := $00000008
  41340. else
  41341. pTDefRegMap(@Self)^.&set := $00000008;
  41342. end;
  41343. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  41344. begin
  41345. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41346. end;
  41347. procedure TPORTA_ODCA.setODCA4; inline;
  41348. begin
  41349. pTDefRegMap(@Self)^.&set := $00000010;
  41350. end;
  41351. procedure TPORTA_ODCA.clearODCA4; inline;
  41352. begin
  41353. pTDefRegMap(@Self)^.clr := $00000010;
  41354. end;
  41355. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  41356. begin
  41357. if thebits = 0 then
  41358. pTDefRegMap(@Self)^.clr := $00000010
  41359. else
  41360. pTDefRegMap(@Self)^.&set := $00000010;
  41361. end;
  41362. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  41363. begin
  41364. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41365. end;
  41366. procedure TPORTA_ODCA.setODCA5; inline;
  41367. begin
  41368. pTDefRegMap(@Self)^.&set := $00000020;
  41369. end;
  41370. procedure TPORTA_ODCA.clearODCA5; inline;
  41371. begin
  41372. pTDefRegMap(@Self)^.clr := $00000020;
  41373. end;
  41374. procedure TPORTA_ODCA.setODCA5(thebits : TBits_1); inline;
  41375. begin
  41376. if thebits = 0 then
  41377. pTDefRegMap(@Self)^.clr := $00000020
  41378. else
  41379. pTDefRegMap(@Self)^.&set := $00000020;
  41380. end;
  41381. function TPORTA_ODCA.getODCA5 : TBits_1; inline;
  41382. begin
  41383. getODCA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41384. end;
  41385. procedure TPORTA_ODCA.setODCA6; inline;
  41386. begin
  41387. pTDefRegMap(@Self)^.&set := $00000040;
  41388. end;
  41389. procedure TPORTA_ODCA.clearODCA6; inline;
  41390. begin
  41391. pTDefRegMap(@Self)^.clr := $00000040;
  41392. end;
  41393. procedure TPORTA_ODCA.setODCA6(thebits : TBits_1); inline;
  41394. begin
  41395. if thebits = 0 then
  41396. pTDefRegMap(@Self)^.clr := $00000040
  41397. else
  41398. pTDefRegMap(@Self)^.&set := $00000040;
  41399. end;
  41400. function TPORTA_ODCA.getODCA6 : TBits_1; inline;
  41401. begin
  41402. getODCA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41403. end;
  41404. procedure TPORTA_ODCA.setODCA7; inline;
  41405. begin
  41406. pTDefRegMap(@Self)^.&set := $00000080;
  41407. end;
  41408. procedure TPORTA_ODCA.clearODCA7; inline;
  41409. begin
  41410. pTDefRegMap(@Self)^.clr := $00000080;
  41411. end;
  41412. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  41413. begin
  41414. if thebits = 0 then
  41415. pTDefRegMap(@Self)^.clr := $00000080
  41416. else
  41417. pTDefRegMap(@Self)^.&set := $00000080;
  41418. end;
  41419. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  41420. begin
  41421. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41422. end;
  41423. procedure TPORTA_ODCA.setODCA9; inline;
  41424. begin
  41425. pTDefRegMap(@Self)^.&set := $00000200;
  41426. end;
  41427. procedure TPORTA_ODCA.clearODCA9; inline;
  41428. begin
  41429. pTDefRegMap(@Self)^.clr := $00000200;
  41430. end;
  41431. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  41432. begin
  41433. if thebits = 0 then
  41434. pTDefRegMap(@Self)^.clr := $00000200
  41435. else
  41436. pTDefRegMap(@Self)^.&set := $00000200;
  41437. end;
  41438. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  41439. begin
  41440. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41441. end;
  41442. procedure TPORTA_ODCA.setODCA10; inline;
  41443. begin
  41444. pTDefRegMap(@Self)^.&set := $00000400;
  41445. end;
  41446. procedure TPORTA_ODCA.clearODCA10; inline;
  41447. begin
  41448. pTDefRegMap(@Self)^.clr := $00000400;
  41449. end;
  41450. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  41451. begin
  41452. if thebits = 0 then
  41453. pTDefRegMap(@Self)^.clr := $00000400
  41454. else
  41455. pTDefRegMap(@Self)^.&set := $00000400;
  41456. end;
  41457. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  41458. begin
  41459. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41460. end;
  41461. procedure TPORTA_ODCA.setODCA14; inline;
  41462. begin
  41463. pTDefRegMap(@Self)^.&set := $00004000;
  41464. end;
  41465. procedure TPORTA_ODCA.clearODCA14; inline;
  41466. begin
  41467. pTDefRegMap(@Self)^.clr := $00004000;
  41468. end;
  41469. procedure TPORTA_ODCA.setODCA14(thebits : TBits_1); inline;
  41470. begin
  41471. if thebits = 0 then
  41472. pTDefRegMap(@Self)^.clr := $00004000
  41473. else
  41474. pTDefRegMap(@Self)^.&set := $00004000;
  41475. end;
  41476. function TPORTA_ODCA.getODCA14 : TBits_1; inline;
  41477. begin
  41478. getODCA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41479. end;
  41480. procedure TPORTA_ODCA.setODCA15; inline;
  41481. begin
  41482. pTDefRegMap(@Self)^.&set := $00008000;
  41483. end;
  41484. procedure TPORTA_ODCA.clearODCA15; inline;
  41485. begin
  41486. pTDefRegMap(@Self)^.clr := $00008000;
  41487. end;
  41488. procedure TPORTA_ODCA.setODCA15(thebits : TBits_1); inline;
  41489. begin
  41490. if thebits = 0 then
  41491. pTDefRegMap(@Self)^.clr := $00008000
  41492. else
  41493. pTDefRegMap(@Self)^.&set := $00008000;
  41494. end;
  41495. function TPORTA_ODCA.getODCA15 : TBits_1; inline;
  41496. begin
  41497. getODCA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41498. end;
  41499. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  41500. begin
  41501. pTDefRegMap(@Self)^.val := thebits;
  41502. end;
  41503. function TPORTA_ODCA.getw : TBits_32; inline;
  41504. begin
  41505. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41506. end;
  41507. procedure TPORTA_CNPUA.setCNPUA0; inline;
  41508. begin
  41509. pTDefRegMap(@Self)^.&set := $00000001;
  41510. end;
  41511. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  41512. begin
  41513. pTDefRegMap(@Self)^.clr := $00000001;
  41514. end;
  41515. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  41516. begin
  41517. if thebits = 0 then
  41518. pTDefRegMap(@Self)^.clr := $00000001
  41519. else
  41520. pTDefRegMap(@Self)^.&set := $00000001;
  41521. end;
  41522. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  41523. begin
  41524. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41525. end;
  41526. procedure TPORTA_CNPUA.setCNPUA1; inline;
  41527. begin
  41528. pTDefRegMap(@Self)^.&set := $00000002;
  41529. end;
  41530. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  41531. begin
  41532. pTDefRegMap(@Self)^.clr := $00000002;
  41533. end;
  41534. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  41535. begin
  41536. if thebits = 0 then
  41537. pTDefRegMap(@Self)^.clr := $00000002
  41538. else
  41539. pTDefRegMap(@Self)^.&set := $00000002;
  41540. end;
  41541. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  41542. begin
  41543. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41544. end;
  41545. procedure TPORTA_CNPUA.setCNPUA2; inline;
  41546. begin
  41547. pTDefRegMap(@Self)^.&set := $00000004;
  41548. end;
  41549. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  41550. begin
  41551. pTDefRegMap(@Self)^.clr := $00000004;
  41552. end;
  41553. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  41554. begin
  41555. if thebits = 0 then
  41556. pTDefRegMap(@Self)^.clr := $00000004
  41557. else
  41558. pTDefRegMap(@Self)^.&set := $00000004;
  41559. end;
  41560. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  41561. begin
  41562. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41563. end;
  41564. procedure TPORTA_CNPUA.setCNPUA3; inline;
  41565. begin
  41566. pTDefRegMap(@Self)^.&set := $00000008;
  41567. end;
  41568. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  41569. begin
  41570. pTDefRegMap(@Self)^.clr := $00000008;
  41571. end;
  41572. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  41573. begin
  41574. if thebits = 0 then
  41575. pTDefRegMap(@Self)^.clr := $00000008
  41576. else
  41577. pTDefRegMap(@Self)^.&set := $00000008;
  41578. end;
  41579. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  41580. begin
  41581. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41582. end;
  41583. procedure TPORTA_CNPUA.setCNPUA4; inline;
  41584. begin
  41585. pTDefRegMap(@Self)^.&set := $00000010;
  41586. end;
  41587. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  41588. begin
  41589. pTDefRegMap(@Self)^.clr := $00000010;
  41590. end;
  41591. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  41592. begin
  41593. if thebits = 0 then
  41594. pTDefRegMap(@Self)^.clr := $00000010
  41595. else
  41596. pTDefRegMap(@Self)^.&set := $00000010;
  41597. end;
  41598. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  41599. begin
  41600. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41601. end;
  41602. procedure TPORTA_CNPUA.setCNPUA5; inline;
  41603. begin
  41604. pTDefRegMap(@Self)^.&set := $00000020;
  41605. end;
  41606. procedure TPORTA_CNPUA.clearCNPUA5; inline;
  41607. begin
  41608. pTDefRegMap(@Self)^.clr := $00000020;
  41609. end;
  41610. procedure TPORTA_CNPUA.setCNPUA5(thebits : TBits_1); inline;
  41611. begin
  41612. if thebits = 0 then
  41613. pTDefRegMap(@Self)^.clr := $00000020
  41614. else
  41615. pTDefRegMap(@Self)^.&set := $00000020;
  41616. end;
  41617. function TPORTA_CNPUA.getCNPUA5 : TBits_1; inline;
  41618. begin
  41619. getCNPUA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41620. end;
  41621. procedure TPORTA_CNPUA.setCNPUA6; inline;
  41622. begin
  41623. pTDefRegMap(@Self)^.&set := $00000040;
  41624. end;
  41625. procedure TPORTA_CNPUA.clearCNPUA6; inline;
  41626. begin
  41627. pTDefRegMap(@Self)^.clr := $00000040;
  41628. end;
  41629. procedure TPORTA_CNPUA.setCNPUA6(thebits : TBits_1); inline;
  41630. begin
  41631. if thebits = 0 then
  41632. pTDefRegMap(@Self)^.clr := $00000040
  41633. else
  41634. pTDefRegMap(@Self)^.&set := $00000040;
  41635. end;
  41636. function TPORTA_CNPUA.getCNPUA6 : TBits_1; inline;
  41637. begin
  41638. getCNPUA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41639. end;
  41640. procedure TPORTA_CNPUA.setCNPUA7; inline;
  41641. begin
  41642. pTDefRegMap(@Self)^.&set := $00000080;
  41643. end;
  41644. procedure TPORTA_CNPUA.clearCNPUA7; inline;
  41645. begin
  41646. pTDefRegMap(@Self)^.clr := $00000080;
  41647. end;
  41648. procedure TPORTA_CNPUA.setCNPUA7(thebits : TBits_1); inline;
  41649. begin
  41650. if thebits = 0 then
  41651. pTDefRegMap(@Self)^.clr := $00000080
  41652. else
  41653. pTDefRegMap(@Self)^.&set := $00000080;
  41654. end;
  41655. function TPORTA_CNPUA.getCNPUA7 : TBits_1; inline;
  41656. begin
  41657. getCNPUA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41658. end;
  41659. procedure TPORTA_CNPUA.setCNPUA9; inline;
  41660. begin
  41661. pTDefRegMap(@Self)^.&set := $00000200;
  41662. end;
  41663. procedure TPORTA_CNPUA.clearCNPUA9; inline;
  41664. begin
  41665. pTDefRegMap(@Self)^.clr := $00000200;
  41666. end;
  41667. procedure TPORTA_CNPUA.setCNPUA9(thebits : TBits_1); inline;
  41668. begin
  41669. if thebits = 0 then
  41670. pTDefRegMap(@Self)^.clr := $00000200
  41671. else
  41672. pTDefRegMap(@Self)^.&set := $00000200;
  41673. end;
  41674. function TPORTA_CNPUA.getCNPUA9 : TBits_1; inline;
  41675. begin
  41676. getCNPUA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41677. end;
  41678. procedure TPORTA_CNPUA.setCNPUA10; inline;
  41679. begin
  41680. pTDefRegMap(@Self)^.&set := $00000400;
  41681. end;
  41682. procedure TPORTA_CNPUA.clearCNPUA10; inline;
  41683. begin
  41684. pTDefRegMap(@Self)^.clr := $00000400;
  41685. end;
  41686. procedure TPORTA_CNPUA.setCNPUA10(thebits : TBits_1); inline;
  41687. begin
  41688. if thebits = 0 then
  41689. pTDefRegMap(@Self)^.clr := $00000400
  41690. else
  41691. pTDefRegMap(@Self)^.&set := $00000400;
  41692. end;
  41693. function TPORTA_CNPUA.getCNPUA10 : TBits_1; inline;
  41694. begin
  41695. getCNPUA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41696. end;
  41697. procedure TPORTA_CNPUA.setCNPUA14; inline;
  41698. begin
  41699. pTDefRegMap(@Self)^.&set := $00004000;
  41700. end;
  41701. procedure TPORTA_CNPUA.clearCNPUA14; inline;
  41702. begin
  41703. pTDefRegMap(@Self)^.clr := $00004000;
  41704. end;
  41705. procedure TPORTA_CNPUA.setCNPUA14(thebits : TBits_1); inline;
  41706. begin
  41707. if thebits = 0 then
  41708. pTDefRegMap(@Self)^.clr := $00004000
  41709. else
  41710. pTDefRegMap(@Self)^.&set := $00004000;
  41711. end;
  41712. function TPORTA_CNPUA.getCNPUA14 : TBits_1; inline;
  41713. begin
  41714. getCNPUA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41715. end;
  41716. procedure TPORTA_CNPUA.setCNPUA15; inline;
  41717. begin
  41718. pTDefRegMap(@Self)^.&set := $00008000;
  41719. end;
  41720. procedure TPORTA_CNPUA.clearCNPUA15; inline;
  41721. begin
  41722. pTDefRegMap(@Self)^.clr := $00008000;
  41723. end;
  41724. procedure TPORTA_CNPUA.setCNPUA15(thebits : TBits_1); inline;
  41725. begin
  41726. if thebits = 0 then
  41727. pTDefRegMap(@Self)^.clr := $00008000
  41728. else
  41729. pTDefRegMap(@Self)^.&set := $00008000;
  41730. end;
  41731. function TPORTA_CNPUA.getCNPUA15 : TBits_1; inline;
  41732. begin
  41733. getCNPUA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41734. end;
  41735. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  41736. begin
  41737. pTDefRegMap(@Self)^.val := thebits;
  41738. end;
  41739. function TPORTA_CNPUA.getw : TBits_32; inline;
  41740. begin
  41741. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41742. end;
  41743. procedure TPORTA_CNPDA.setCNPDA0; inline;
  41744. begin
  41745. pTDefRegMap(@Self)^.&set := $00000001;
  41746. end;
  41747. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  41748. begin
  41749. pTDefRegMap(@Self)^.clr := $00000001;
  41750. end;
  41751. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  41752. begin
  41753. if thebits = 0 then
  41754. pTDefRegMap(@Self)^.clr := $00000001
  41755. else
  41756. pTDefRegMap(@Self)^.&set := $00000001;
  41757. end;
  41758. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  41759. begin
  41760. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41761. end;
  41762. procedure TPORTA_CNPDA.setCNPDA1; inline;
  41763. begin
  41764. pTDefRegMap(@Self)^.&set := $00000002;
  41765. end;
  41766. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  41767. begin
  41768. pTDefRegMap(@Self)^.clr := $00000002;
  41769. end;
  41770. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  41771. begin
  41772. if thebits = 0 then
  41773. pTDefRegMap(@Self)^.clr := $00000002
  41774. else
  41775. pTDefRegMap(@Self)^.&set := $00000002;
  41776. end;
  41777. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  41778. begin
  41779. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41780. end;
  41781. procedure TPORTA_CNPDA.setCNPDA2; inline;
  41782. begin
  41783. pTDefRegMap(@Self)^.&set := $00000004;
  41784. end;
  41785. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  41786. begin
  41787. pTDefRegMap(@Self)^.clr := $00000004;
  41788. end;
  41789. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  41790. begin
  41791. if thebits = 0 then
  41792. pTDefRegMap(@Self)^.clr := $00000004
  41793. else
  41794. pTDefRegMap(@Self)^.&set := $00000004;
  41795. end;
  41796. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  41797. begin
  41798. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41799. end;
  41800. procedure TPORTA_CNPDA.setCNPDA3; inline;
  41801. begin
  41802. pTDefRegMap(@Self)^.&set := $00000008;
  41803. end;
  41804. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  41805. begin
  41806. pTDefRegMap(@Self)^.clr := $00000008;
  41807. end;
  41808. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  41809. begin
  41810. if thebits = 0 then
  41811. pTDefRegMap(@Self)^.clr := $00000008
  41812. else
  41813. pTDefRegMap(@Self)^.&set := $00000008;
  41814. end;
  41815. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  41816. begin
  41817. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41818. end;
  41819. procedure TPORTA_CNPDA.setCNPDA4; inline;
  41820. begin
  41821. pTDefRegMap(@Self)^.&set := $00000010;
  41822. end;
  41823. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  41824. begin
  41825. pTDefRegMap(@Self)^.clr := $00000010;
  41826. end;
  41827. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  41828. begin
  41829. if thebits = 0 then
  41830. pTDefRegMap(@Self)^.clr := $00000010
  41831. else
  41832. pTDefRegMap(@Self)^.&set := $00000010;
  41833. end;
  41834. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  41835. begin
  41836. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41837. end;
  41838. procedure TPORTA_CNPDA.setCNPDA5; inline;
  41839. begin
  41840. pTDefRegMap(@Self)^.&set := $00000020;
  41841. end;
  41842. procedure TPORTA_CNPDA.clearCNPDA5; inline;
  41843. begin
  41844. pTDefRegMap(@Self)^.clr := $00000020;
  41845. end;
  41846. procedure TPORTA_CNPDA.setCNPDA5(thebits : TBits_1); inline;
  41847. begin
  41848. if thebits = 0 then
  41849. pTDefRegMap(@Self)^.clr := $00000020
  41850. else
  41851. pTDefRegMap(@Self)^.&set := $00000020;
  41852. end;
  41853. function TPORTA_CNPDA.getCNPDA5 : TBits_1; inline;
  41854. begin
  41855. getCNPDA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41856. end;
  41857. procedure TPORTA_CNPDA.setCNPDA6; inline;
  41858. begin
  41859. pTDefRegMap(@Self)^.&set := $00000040;
  41860. end;
  41861. procedure TPORTA_CNPDA.clearCNPDA6; inline;
  41862. begin
  41863. pTDefRegMap(@Self)^.clr := $00000040;
  41864. end;
  41865. procedure TPORTA_CNPDA.setCNPDA6(thebits : TBits_1); inline;
  41866. begin
  41867. if thebits = 0 then
  41868. pTDefRegMap(@Self)^.clr := $00000040
  41869. else
  41870. pTDefRegMap(@Self)^.&set := $00000040;
  41871. end;
  41872. function TPORTA_CNPDA.getCNPDA6 : TBits_1; inline;
  41873. begin
  41874. getCNPDA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41875. end;
  41876. procedure TPORTA_CNPDA.setCNPDA7; inline;
  41877. begin
  41878. pTDefRegMap(@Self)^.&set := $00000080;
  41879. end;
  41880. procedure TPORTA_CNPDA.clearCNPDA7; inline;
  41881. begin
  41882. pTDefRegMap(@Self)^.clr := $00000080;
  41883. end;
  41884. procedure TPORTA_CNPDA.setCNPDA7(thebits : TBits_1); inline;
  41885. begin
  41886. if thebits = 0 then
  41887. pTDefRegMap(@Self)^.clr := $00000080
  41888. else
  41889. pTDefRegMap(@Self)^.&set := $00000080;
  41890. end;
  41891. function TPORTA_CNPDA.getCNPDA7 : TBits_1; inline;
  41892. begin
  41893. getCNPDA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41894. end;
  41895. procedure TPORTA_CNPDA.setCNPDA9; inline;
  41896. begin
  41897. pTDefRegMap(@Self)^.&set := $00000200;
  41898. end;
  41899. procedure TPORTA_CNPDA.clearCNPDA9; inline;
  41900. begin
  41901. pTDefRegMap(@Self)^.clr := $00000200;
  41902. end;
  41903. procedure TPORTA_CNPDA.setCNPDA9(thebits : TBits_1); inline;
  41904. begin
  41905. if thebits = 0 then
  41906. pTDefRegMap(@Self)^.clr := $00000200
  41907. else
  41908. pTDefRegMap(@Self)^.&set := $00000200;
  41909. end;
  41910. function TPORTA_CNPDA.getCNPDA9 : TBits_1; inline;
  41911. begin
  41912. getCNPDA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41913. end;
  41914. procedure TPORTA_CNPDA.setCNPDA10; inline;
  41915. begin
  41916. pTDefRegMap(@Self)^.&set := $00000400;
  41917. end;
  41918. procedure TPORTA_CNPDA.clearCNPDA10; inline;
  41919. begin
  41920. pTDefRegMap(@Self)^.clr := $00000400;
  41921. end;
  41922. procedure TPORTA_CNPDA.setCNPDA10(thebits : TBits_1); inline;
  41923. begin
  41924. if thebits = 0 then
  41925. pTDefRegMap(@Self)^.clr := $00000400
  41926. else
  41927. pTDefRegMap(@Self)^.&set := $00000400;
  41928. end;
  41929. function TPORTA_CNPDA.getCNPDA10 : TBits_1; inline;
  41930. begin
  41931. getCNPDA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41932. end;
  41933. procedure TPORTA_CNPDA.setCNPDA14; inline;
  41934. begin
  41935. pTDefRegMap(@Self)^.&set := $00004000;
  41936. end;
  41937. procedure TPORTA_CNPDA.clearCNPDA14; inline;
  41938. begin
  41939. pTDefRegMap(@Self)^.clr := $00004000;
  41940. end;
  41941. procedure TPORTA_CNPDA.setCNPDA14(thebits : TBits_1); inline;
  41942. begin
  41943. if thebits = 0 then
  41944. pTDefRegMap(@Self)^.clr := $00004000
  41945. else
  41946. pTDefRegMap(@Self)^.&set := $00004000;
  41947. end;
  41948. function TPORTA_CNPDA.getCNPDA14 : TBits_1; inline;
  41949. begin
  41950. getCNPDA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41951. end;
  41952. procedure TPORTA_CNPDA.setCNPDA15; inline;
  41953. begin
  41954. pTDefRegMap(@Self)^.&set := $00008000;
  41955. end;
  41956. procedure TPORTA_CNPDA.clearCNPDA15; inline;
  41957. begin
  41958. pTDefRegMap(@Self)^.clr := $00008000;
  41959. end;
  41960. procedure TPORTA_CNPDA.setCNPDA15(thebits : TBits_1); inline;
  41961. begin
  41962. if thebits = 0 then
  41963. pTDefRegMap(@Self)^.clr := $00008000
  41964. else
  41965. pTDefRegMap(@Self)^.&set := $00008000;
  41966. end;
  41967. function TPORTA_CNPDA.getCNPDA15 : TBits_1; inline;
  41968. begin
  41969. getCNPDA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41970. end;
  41971. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  41972. begin
  41973. pTDefRegMap(@Self)^.val := thebits;
  41974. end;
  41975. function TPORTA_CNPDA.getw : TBits_32; inline;
  41976. begin
  41977. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41978. end;
  41979. procedure TPORTA_CNCONA.setSIDL; inline;
  41980. begin
  41981. pTDefRegMap(@Self)^.&set := $00002000;
  41982. end;
  41983. procedure TPORTA_CNCONA.clearSIDL; inline;
  41984. begin
  41985. pTDefRegMap(@Self)^.clr := $00002000;
  41986. end;
  41987. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  41988. begin
  41989. if thebits = 0 then
  41990. pTDefRegMap(@Self)^.clr := $00002000
  41991. else
  41992. pTDefRegMap(@Self)^.&set := $00002000;
  41993. end;
  41994. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  41995. begin
  41996. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41997. end;
  41998. procedure TPORTA_CNCONA.setON; inline;
  41999. begin
  42000. pTDefRegMap(@Self)^.&set := $00008000;
  42001. end;
  42002. procedure TPORTA_CNCONA.clearON; inline;
  42003. begin
  42004. pTDefRegMap(@Self)^.clr := $00008000;
  42005. end;
  42006. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  42007. begin
  42008. if thebits = 0 then
  42009. pTDefRegMap(@Self)^.clr := $00008000
  42010. else
  42011. pTDefRegMap(@Self)^.&set := $00008000;
  42012. end;
  42013. function TPORTA_CNCONA.getON : TBits_1; inline;
  42014. begin
  42015. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42016. end;
  42017. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  42018. begin
  42019. pTDefRegMap(@Self)^.val := thebits;
  42020. end;
  42021. function TPORTA_CNCONA.getw : TBits_32; inline;
  42022. begin
  42023. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42024. end;
  42025. procedure TPORTA_CNENA.setCNIEA0; inline;
  42026. begin
  42027. pTDefRegMap(@Self)^.&set := $00000001;
  42028. end;
  42029. procedure TPORTA_CNENA.clearCNIEA0; inline;
  42030. begin
  42031. pTDefRegMap(@Self)^.clr := $00000001;
  42032. end;
  42033. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  42034. begin
  42035. if thebits = 0 then
  42036. pTDefRegMap(@Self)^.clr := $00000001
  42037. else
  42038. pTDefRegMap(@Self)^.&set := $00000001;
  42039. end;
  42040. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  42041. begin
  42042. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42043. end;
  42044. procedure TPORTA_CNENA.setCNIEA1; inline;
  42045. begin
  42046. pTDefRegMap(@Self)^.&set := $00000002;
  42047. end;
  42048. procedure TPORTA_CNENA.clearCNIEA1; inline;
  42049. begin
  42050. pTDefRegMap(@Self)^.clr := $00000002;
  42051. end;
  42052. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  42053. begin
  42054. if thebits = 0 then
  42055. pTDefRegMap(@Self)^.clr := $00000002
  42056. else
  42057. pTDefRegMap(@Self)^.&set := $00000002;
  42058. end;
  42059. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  42060. begin
  42061. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42062. end;
  42063. procedure TPORTA_CNENA.setCNIEA2; inline;
  42064. begin
  42065. pTDefRegMap(@Self)^.&set := $00000004;
  42066. end;
  42067. procedure TPORTA_CNENA.clearCNIEA2; inline;
  42068. begin
  42069. pTDefRegMap(@Self)^.clr := $00000004;
  42070. end;
  42071. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  42072. begin
  42073. if thebits = 0 then
  42074. pTDefRegMap(@Self)^.clr := $00000004
  42075. else
  42076. pTDefRegMap(@Self)^.&set := $00000004;
  42077. end;
  42078. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  42079. begin
  42080. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42081. end;
  42082. procedure TPORTA_CNENA.setCNIEA3; inline;
  42083. begin
  42084. pTDefRegMap(@Self)^.&set := $00000008;
  42085. end;
  42086. procedure TPORTA_CNENA.clearCNIEA3; inline;
  42087. begin
  42088. pTDefRegMap(@Self)^.clr := $00000008;
  42089. end;
  42090. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  42091. begin
  42092. if thebits = 0 then
  42093. pTDefRegMap(@Self)^.clr := $00000008
  42094. else
  42095. pTDefRegMap(@Self)^.&set := $00000008;
  42096. end;
  42097. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  42098. begin
  42099. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42100. end;
  42101. procedure TPORTA_CNENA.setCNIEA4; inline;
  42102. begin
  42103. pTDefRegMap(@Self)^.&set := $00000010;
  42104. end;
  42105. procedure TPORTA_CNENA.clearCNIEA4; inline;
  42106. begin
  42107. pTDefRegMap(@Self)^.clr := $00000010;
  42108. end;
  42109. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  42110. begin
  42111. if thebits = 0 then
  42112. pTDefRegMap(@Self)^.clr := $00000010
  42113. else
  42114. pTDefRegMap(@Self)^.&set := $00000010;
  42115. end;
  42116. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  42117. begin
  42118. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42119. end;
  42120. procedure TPORTA_CNENA.setCNIEA5; inline;
  42121. begin
  42122. pTDefRegMap(@Self)^.&set := $00000020;
  42123. end;
  42124. procedure TPORTA_CNENA.clearCNIEA5; inline;
  42125. begin
  42126. pTDefRegMap(@Self)^.clr := $00000020;
  42127. end;
  42128. procedure TPORTA_CNENA.setCNIEA5(thebits : TBits_1); inline;
  42129. begin
  42130. if thebits = 0 then
  42131. pTDefRegMap(@Self)^.clr := $00000020
  42132. else
  42133. pTDefRegMap(@Self)^.&set := $00000020;
  42134. end;
  42135. function TPORTA_CNENA.getCNIEA5 : TBits_1; inline;
  42136. begin
  42137. getCNIEA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42138. end;
  42139. procedure TPORTA_CNENA.setCNIEA6; inline;
  42140. begin
  42141. pTDefRegMap(@Self)^.&set := $00000040;
  42142. end;
  42143. procedure TPORTA_CNENA.clearCNIEA6; inline;
  42144. begin
  42145. pTDefRegMap(@Self)^.clr := $00000040;
  42146. end;
  42147. procedure TPORTA_CNENA.setCNIEA6(thebits : TBits_1); inline;
  42148. begin
  42149. if thebits = 0 then
  42150. pTDefRegMap(@Self)^.clr := $00000040
  42151. else
  42152. pTDefRegMap(@Self)^.&set := $00000040;
  42153. end;
  42154. function TPORTA_CNENA.getCNIEA6 : TBits_1; inline;
  42155. begin
  42156. getCNIEA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42157. end;
  42158. procedure TPORTA_CNENA.setCNIEA7; inline;
  42159. begin
  42160. pTDefRegMap(@Self)^.&set := $00000080;
  42161. end;
  42162. procedure TPORTA_CNENA.clearCNIEA7; inline;
  42163. begin
  42164. pTDefRegMap(@Self)^.clr := $00000080;
  42165. end;
  42166. procedure TPORTA_CNENA.setCNIEA7(thebits : TBits_1); inline;
  42167. begin
  42168. if thebits = 0 then
  42169. pTDefRegMap(@Self)^.clr := $00000080
  42170. else
  42171. pTDefRegMap(@Self)^.&set := $00000080;
  42172. end;
  42173. function TPORTA_CNENA.getCNIEA7 : TBits_1; inline;
  42174. begin
  42175. getCNIEA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42176. end;
  42177. procedure TPORTA_CNENA.setCNIEA9; inline;
  42178. begin
  42179. pTDefRegMap(@Self)^.&set := $00000200;
  42180. end;
  42181. procedure TPORTA_CNENA.clearCNIEA9; inline;
  42182. begin
  42183. pTDefRegMap(@Self)^.clr := $00000200;
  42184. end;
  42185. procedure TPORTA_CNENA.setCNIEA9(thebits : TBits_1); inline;
  42186. begin
  42187. if thebits = 0 then
  42188. pTDefRegMap(@Self)^.clr := $00000200
  42189. else
  42190. pTDefRegMap(@Self)^.&set := $00000200;
  42191. end;
  42192. function TPORTA_CNENA.getCNIEA9 : TBits_1; inline;
  42193. begin
  42194. getCNIEA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42195. end;
  42196. procedure TPORTA_CNENA.setCNIEA10; inline;
  42197. begin
  42198. pTDefRegMap(@Self)^.&set := $00000400;
  42199. end;
  42200. procedure TPORTA_CNENA.clearCNIEA10; inline;
  42201. begin
  42202. pTDefRegMap(@Self)^.clr := $00000400;
  42203. end;
  42204. procedure TPORTA_CNENA.setCNIEA10(thebits : TBits_1); inline;
  42205. begin
  42206. if thebits = 0 then
  42207. pTDefRegMap(@Self)^.clr := $00000400
  42208. else
  42209. pTDefRegMap(@Self)^.&set := $00000400;
  42210. end;
  42211. function TPORTA_CNENA.getCNIEA10 : TBits_1; inline;
  42212. begin
  42213. getCNIEA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42214. end;
  42215. procedure TPORTA_CNENA.setCNIEA14; inline;
  42216. begin
  42217. pTDefRegMap(@Self)^.&set := $00004000;
  42218. end;
  42219. procedure TPORTA_CNENA.clearCNIEA14; inline;
  42220. begin
  42221. pTDefRegMap(@Self)^.clr := $00004000;
  42222. end;
  42223. procedure TPORTA_CNENA.setCNIEA14(thebits : TBits_1); inline;
  42224. begin
  42225. if thebits = 0 then
  42226. pTDefRegMap(@Self)^.clr := $00004000
  42227. else
  42228. pTDefRegMap(@Self)^.&set := $00004000;
  42229. end;
  42230. function TPORTA_CNENA.getCNIEA14 : TBits_1; inline;
  42231. begin
  42232. getCNIEA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42233. end;
  42234. procedure TPORTA_CNENA.setCNIEA15; inline;
  42235. begin
  42236. pTDefRegMap(@Self)^.&set := $00008000;
  42237. end;
  42238. procedure TPORTA_CNENA.clearCNIEA15; inline;
  42239. begin
  42240. pTDefRegMap(@Self)^.clr := $00008000;
  42241. end;
  42242. procedure TPORTA_CNENA.setCNIEA15(thebits : TBits_1); inline;
  42243. begin
  42244. if thebits = 0 then
  42245. pTDefRegMap(@Self)^.clr := $00008000
  42246. else
  42247. pTDefRegMap(@Self)^.&set := $00008000;
  42248. end;
  42249. function TPORTA_CNENA.getCNIEA15 : TBits_1; inline;
  42250. begin
  42251. getCNIEA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42252. end;
  42253. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  42254. begin
  42255. pTDefRegMap(@Self)^.val := thebits;
  42256. end;
  42257. function TPORTA_CNENA.getw : TBits_32; inline;
  42258. begin
  42259. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42260. end;
  42261. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  42262. begin
  42263. pTDefRegMap(@Self)^.&set := $00000001;
  42264. end;
  42265. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  42266. begin
  42267. pTDefRegMap(@Self)^.clr := $00000001;
  42268. end;
  42269. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  42270. begin
  42271. if thebits = 0 then
  42272. pTDefRegMap(@Self)^.clr := $00000001
  42273. else
  42274. pTDefRegMap(@Self)^.&set := $00000001;
  42275. end;
  42276. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  42277. begin
  42278. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42279. end;
  42280. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  42281. begin
  42282. pTDefRegMap(@Self)^.&set := $00000002;
  42283. end;
  42284. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  42285. begin
  42286. pTDefRegMap(@Self)^.clr := $00000002;
  42287. end;
  42288. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  42289. begin
  42290. if thebits = 0 then
  42291. pTDefRegMap(@Self)^.clr := $00000002
  42292. else
  42293. pTDefRegMap(@Self)^.&set := $00000002;
  42294. end;
  42295. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  42296. begin
  42297. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42298. end;
  42299. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  42300. begin
  42301. pTDefRegMap(@Self)^.&set := $00000004;
  42302. end;
  42303. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  42304. begin
  42305. pTDefRegMap(@Self)^.clr := $00000004;
  42306. end;
  42307. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  42308. begin
  42309. if thebits = 0 then
  42310. pTDefRegMap(@Self)^.clr := $00000004
  42311. else
  42312. pTDefRegMap(@Self)^.&set := $00000004;
  42313. end;
  42314. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  42315. begin
  42316. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42317. end;
  42318. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  42319. begin
  42320. pTDefRegMap(@Self)^.&set := $00000008;
  42321. end;
  42322. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  42323. begin
  42324. pTDefRegMap(@Self)^.clr := $00000008;
  42325. end;
  42326. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  42327. begin
  42328. if thebits = 0 then
  42329. pTDefRegMap(@Self)^.clr := $00000008
  42330. else
  42331. pTDefRegMap(@Self)^.&set := $00000008;
  42332. end;
  42333. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  42334. begin
  42335. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42336. end;
  42337. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  42338. begin
  42339. pTDefRegMap(@Self)^.&set := $00000010;
  42340. end;
  42341. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  42342. begin
  42343. pTDefRegMap(@Self)^.clr := $00000010;
  42344. end;
  42345. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  42346. begin
  42347. if thebits = 0 then
  42348. pTDefRegMap(@Self)^.clr := $00000010
  42349. else
  42350. pTDefRegMap(@Self)^.&set := $00000010;
  42351. end;
  42352. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  42353. begin
  42354. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42355. end;
  42356. procedure TPORTA_CNSTATA.setCNSTATA5; inline;
  42357. begin
  42358. pTDefRegMap(@Self)^.&set := $00000020;
  42359. end;
  42360. procedure TPORTA_CNSTATA.clearCNSTATA5; inline;
  42361. begin
  42362. pTDefRegMap(@Self)^.clr := $00000020;
  42363. end;
  42364. procedure TPORTA_CNSTATA.setCNSTATA5(thebits : TBits_1); inline;
  42365. begin
  42366. if thebits = 0 then
  42367. pTDefRegMap(@Self)^.clr := $00000020
  42368. else
  42369. pTDefRegMap(@Self)^.&set := $00000020;
  42370. end;
  42371. function TPORTA_CNSTATA.getCNSTATA5 : TBits_1; inline;
  42372. begin
  42373. getCNSTATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42374. end;
  42375. procedure TPORTA_CNSTATA.setCNSTATA6; inline;
  42376. begin
  42377. pTDefRegMap(@Self)^.&set := $00000040;
  42378. end;
  42379. procedure TPORTA_CNSTATA.clearCNSTATA6; inline;
  42380. begin
  42381. pTDefRegMap(@Self)^.clr := $00000040;
  42382. end;
  42383. procedure TPORTA_CNSTATA.setCNSTATA6(thebits : TBits_1); inline;
  42384. begin
  42385. if thebits = 0 then
  42386. pTDefRegMap(@Self)^.clr := $00000040
  42387. else
  42388. pTDefRegMap(@Self)^.&set := $00000040;
  42389. end;
  42390. function TPORTA_CNSTATA.getCNSTATA6 : TBits_1; inline;
  42391. begin
  42392. getCNSTATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42393. end;
  42394. procedure TPORTA_CNSTATA.setCNSTATA7; inline;
  42395. begin
  42396. pTDefRegMap(@Self)^.&set := $00000080;
  42397. end;
  42398. procedure TPORTA_CNSTATA.clearCNSTATA7; inline;
  42399. begin
  42400. pTDefRegMap(@Self)^.clr := $00000080;
  42401. end;
  42402. procedure TPORTA_CNSTATA.setCNSTATA7(thebits : TBits_1); inline;
  42403. begin
  42404. if thebits = 0 then
  42405. pTDefRegMap(@Self)^.clr := $00000080
  42406. else
  42407. pTDefRegMap(@Self)^.&set := $00000080;
  42408. end;
  42409. function TPORTA_CNSTATA.getCNSTATA7 : TBits_1; inline;
  42410. begin
  42411. getCNSTATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42412. end;
  42413. procedure TPORTA_CNSTATA.setCNSTATA9; inline;
  42414. begin
  42415. pTDefRegMap(@Self)^.&set := $00000200;
  42416. end;
  42417. procedure TPORTA_CNSTATA.clearCNSTATA9; inline;
  42418. begin
  42419. pTDefRegMap(@Self)^.clr := $00000200;
  42420. end;
  42421. procedure TPORTA_CNSTATA.setCNSTATA9(thebits : TBits_1); inline;
  42422. begin
  42423. if thebits = 0 then
  42424. pTDefRegMap(@Self)^.clr := $00000200
  42425. else
  42426. pTDefRegMap(@Self)^.&set := $00000200;
  42427. end;
  42428. function TPORTA_CNSTATA.getCNSTATA9 : TBits_1; inline;
  42429. begin
  42430. getCNSTATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42431. end;
  42432. procedure TPORTA_CNSTATA.setCNSTATA10; inline;
  42433. begin
  42434. pTDefRegMap(@Self)^.&set := $00000400;
  42435. end;
  42436. procedure TPORTA_CNSTATA.clearCNSTATA10; inline;
  42437. begin
  42438. pTDefRegMap(@Self)^.clr := $00000400;
  42439. end;
  42440. procedure TPORTA_CNSTATA.setCNSTATA10(thebits : TBits_1); inline;
  42441. begin
  42442. if thebits = 0 then
  42443. pTDefRegMap(@Self)^.clr := $00000400
  42444. else
  42445. pTDefRegMap(@Self)^.&set := $00000400;
  42446. end;
  42447. function TPORTA_CNSTATA.getCNSTATA10 : TBits_1; inline;
  42448. begin
  42449. getCNSTATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42450. end;
  42451. procedure TPORTA_CNSTATA.setCNSTATA14; inline;
  42452. begin
  42453. pTDefRegMap(@Self)^.&set := $00004000;
  42454. end;
  42455. procedure TPORTA_CNSTATA.clearCNSTATA14; inline;
  42456. begin
  42457. pTDefRegMap(@Self)^.clr := $00004000;
  42458. end;
  42459. procedure TPORTA_CNSTATA.setCNSTATA14(thebits : TBits_1); inline;
  42460. begin
  42461. if thebits = 0 then
  42462. pTDefRegMap(@Self)^.clr := $00004000
  42463. else
  42464. pTDefRegMap(@Self)^.&set := $00004000;
  42465. end;
  42466. function TPORTA_CNSTATA.getCNSTATA14 : TBits_1; inline;
  42467. begin
  42468. getCNSTATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42469. end;
  42470. procedure TPORTA_CNSTATA.setCNSTATA15; inline;
  42471. begin
  42472. pTDefRegMap(@Self)^.&set := $00008000;
  42473. end;
  42474. procedure TPORTA_CNSTATA.clearCNSTATA15; inline;
  42475. begin
  42476. pTDefRegMap(@Self)^.clr := $00008000;
  42477. end;
  42478. procedure TPORTA_CNSTATA.setCNSTATA15(thebits : TBits_1); inline;
  42479. begin
  42480. if thebits = 0 then
  42481. pTDefRegMap(@Self)^.clr := $00008000
  42482. else
  42483. pTDefRegMap(@Self)^.&set := $00008000;
  42484. end;
  42485. function TPORTA_CNSTATA.getCNSTATA15 : TBits_1; inline;
  42486. begin
  42487. getCNSTATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42488. end;
  42489. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  42490. begin
  42491. pTDefRegMap(@Self)^.val := thebits;
  42492. end;
  42493. function TPORTA_CNSTATA.getw : TBits_32; inline;
  42494. begin
  42495. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42496. end;
  42497. procedure TPORTA_ANSELB.setANSB0; inline;
  42498. begin
  42499. pTDefRegMap(@Self)^.&set := $00000001;
  42500. end;
  42501. procedure TPORTA_ANSELB.clearANSB0; inline;
  42502. begin
  42503. pTDefRegMap(@Self)^.clr := $00000001;
  42504. end;
  42505. procedure TPORTA_ANSELB.setANSB0(thebits : TBits_1); inline;
  42506. begin
  42507. if thebits = 0 then
  42508. pTDefRegMap(@Self)^.clr := $00000001
  42509. else
  42510. pTDefRegMap(@Self)^.&set := $00000001;
  42511. end;
  42512. function TPORTA_ANSELB.getANSB0 : TBits_1; inline;
  42513. begin
  42514. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42515. end;
  42516. procedure TPORTA_ANSELB.setANSB1; inline;
  42517. begin
  42518. pTDefRegMap(@Self)^.&set := $00000002;
  42519. end;
  42520. procedure TPORTA_ANSELB.clearANSB1; inline;
  42521. begin
  42522. pTDefRegMap(@Self)^.clr := $00000002;
  42523. end;
  42524. procedure TPORTA_ANSELB.setANSB1(thebits : TBits_1); inline;
  42525. begin
  42526. if thebits = 0 then
  42527. pTDefRegMap(@Self)^.clr := $00000002
  42528. else
  42529. pTDefRegMap(@Self)^.&set := $00000002;
  42530. end;
  42531. function TPORTA_ANSELB.getANSB1 : TBits_1; inline;
  42532. begin
  42533. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42534. end;
  42535. procedure TPORTA_ANSELB.setANSB2; inline;
  42536. begin
  42537. pTDefRegMap(@Self)^.&set := $00000004;
  42538. end;
  42539. procedure TPORTA_ANSELB.clearANSB2; inline;
  42540. begin
  42541. pTDefRegMap(@Self)^.clr := $00000004;
  42542. end;
  42543. procedure TPORTA_ANSELB.setANSB2(thebits : TBits_1); inline;
  42544. begin
  42545. if thebits = 0 then
  42546. pTDefRegMap(@Self)^.clr := $00000004
  42547. else
  42548. pTDefRegMap(@Self)^.&set := $00000004;
  42549. end;
  42550. function TPORTA_ANSELB.getANSB2 : TBits_1; inline;
  42551. begin
  42552. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42553. end;
  42554. procedure TPORTA_ANSELB.setANSB3; inline;
  42555. begin
  42556. pTDefRegMap(@Self)^.&set := $00000008;
  42557. end;
  42558. procedure TPORTA_ANSELB.clearANSB3; inline;
  42559. begin
  42560. pTDefRegMap(@Self)^.clr := $00000008;
  42561. end;
  42562. procedure TPORTA_ANSELB.setANSB3(thebits : TBits_1); inline;
  42563. begin
  42564. if thebits = 0 then
  42565. pTDefRegMap(@Self)^.clr := $00000008
  42566. else
  42567. pTDefRegMap(@Self)^.&set := $00000008;
  42568. end;
  42569. function TPORTA_ANSELB.getANSB3 : TBits_1; inline;
  42570. begin
  42571. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42572. end;
  42573. procedure TPORTA_ANSELB.setANSB4; inline;
  42574. begin
  42575. pTDefRegMap(@Self)^.&set := $00000010;
  42576. end;
  42577. procedure TPORTA_ANSELB.clearANSB4; inline;
  42578. begin
  42579. pTDefRegMap(@Self)^.clr := $00000010;
  42580. end;
  42581. procedure TPORTA_ANSELB.setANSB4(thebits : TBits_1); inline;
  42582. begin
  42583. if thebits = 0 then
  42584. pTDefRegMap(@Self)^.clr := $00000010
  42585. else
  42586. pTDefRegMap(@Self)^.&set := $00000010;
  42587. end;
  42588. function TPORTA_ANSELB.getANSB4 : TBits_1; inline;
  42589. begin
  42590. getANSB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42591. end;
  42592. procedure TPORTA_ANSELB.setANSB5; inline;
  42593. begin
  42594. pTDefRegMap(@Self)^.&set := $00000020;
  42595. end;
  42596. procedure TPORTA_ANSELB.clearANSB5; inline;
  42597. begin
  42598. pTDefRegMap(@Self)^.clr := $00000020;
  42599. end;
  42600. procedure TPORTA_ANSELB.setANSB5(thebits : TBits_1); inline;
  42601. begin
  42602. if thebits = 0 then
  42603. pTDefRegMap(@Self)^.clr := $00000020
  42604. else
  42605. pTDefRegMap(@Self)^.&set := $00000020;
  42606. end;
  42607. function TPORTA_ANSELB.getANSB5 : TBits_1; inline;
  42608. begin
  42609. getANSB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42610. end;
  42611. procedure TPORTA_ANSELB.setANSB6; inline;
  42612. begin
  42613. pTDefRegMap(@Self)^.&set := $00000040;
  42614. end;
  42615. procedure TPORTA_ANSELB.clearANSB6; inline;
  42616. begin
  42617. pTDefRegMap(@Self)^.clr := $00000040;
  42618. end;
  42619. procedure TPORTA_ANSELB.setANSB6(thebits : TBits_1); inline;
  42620. begin
  42621. if thebits = 0 then
  42622. pTDefRegMap(@Self)^.clr := $00000040
  42623. else
  42624. pTDefRegMap(@Self)^.&set := $00000040;
  42625. end;
  42626. function TPORTA_ANSELB.getANSB6 : TBits_1; inline;
  42627. begin
  42628. getANSB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42629. end;
  42630. procedure TPORTA_ANSELB.setANSB7; inline;
  42631. begin
  42632. pTDefRegMap(@Self)^.&set := $00000080;
  42633. end;
  42634. procedure TPORTA_ANSELB.clearANSB7; inline;
  42635. begin
  42636. pTDefRegMap(@Self)^.clr := $00000080;
  42637. end;
  42638. procedure TPORTA_ANSELB.setANSB7(thebits : TBits_1); inline;
  42639. begin
  42640. if thebits = 0 then
  42641. pTDefRegMap(@Self)^.clr := $00000080
  42642. else
  42643. pTDefRegMap(@Self)^.&set := $00000080;
  42644. end;
  42645. function TPORTA_ANSELB.getANSB7 : TBits_1; inline;
  42646. begin
  42647. getANSB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42648. end;
  42649. procedure TPORTA_ANSELB.setANSB8; inline;
  42650. begin
  42651. pTDefRegMap(@Self)^.&set := $00000100;
  42652. end;
  42653. procedure TPORTA_ANSELB.clearANSB8; inline;
  42654. begin
  42655. pTDefRegMap(@Self)^.clr := $00000100;
  42656. end;
  42657. procedure TPORTA_ANSELB.setANSB8(thebits : TBits_1); inline;
  42658. begin
  42659. if thebits = 0 then
  42660. pTDefRegMap(@Self)^.clr := $00000100
  42661. else
  42662. pTDefRegMap(@Self)^.&set := $00000100;
  42663. end;
  42664. function TPORTA_ANSELB.getANSB8 : TBits_1; inline;
  42665. begin
  42666. getANSB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42667. end;
  42668. procedure TPORTA_ANSELB.setANSB9; inline;
  42669. begin
  42670. pTDefRegMap(@Self)^.&set := $00000200;
  42671. end;
  42672. procedure TPORTA_ANSELB.clearANSB9; inline;
  42673. begin
  42674. pTDefRegMap(@Self)^.clr := $00000200;
  42675. end;
  42676. procedure TPORTA_ANSELB.setANSB9(thebits : TBits_1); inline;
  42677. begin
  42678. if thebits = 0 then
  42679. pTDefRegMap(@Self)^.clr := $00000200
  42680. else
  42681. pTDefRegMap(@Self)^.&set := $00000200;
  42682. end;
  42683. function TPORTA_ANSELB.getANSB9 : TBits_1; inline;
  42684. begin
  42685. getANSB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42686. end;
  42687. procedure TPORTA_ANSELB.setANSB10; inline;
  42688. begin
  42689. pTDefRegMap(@Self)^.&set := $00000400;
  42690. end;
  42691. procedure TPORTA_ANSELB.clearANSB10; inline;
  42692. begin
  42693. pTDefRegMap(@Self)^.clr := $00000400;
  42694. end;
  42695. procedure TPORTA_ANSELB.setANSB10(thebits : TBits_1); inline;
  42696. begin
  42697. if thebits = 0 then
  42698. pTDefRegMap(@Self)^.clr := $00000400
  42699. else
  42700. pTDefRegMap(@Self)^.&set := $00000400;
  42701. end;
  42702. function TPORTA_ANSELB.getANSB10 : TBits_1; inline;
  42703. begin
  42704. getANSB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42705. end;
  42706. procedure TPORTA_ANSELB.setANSB11; inline;
  42707. begin
  42708. pTDefRegMap(@Self)^.&set := $00000800;
  42709. end;
  42710. procedure TPORTA_ANSELB.clearANSB11; inline;
  42711. begin
  42712. pTDefRegMap(@Self)^.clr := $00000800;
  42713. end;
  42714. procedure TPORTA_ANSELB.setANSB11(thebits : TBits_1); inline;
  42715. begin
  42716. if thebits = 0 then
  42717. pTDefRegMap(@Self)^.clr := $00000800
  42718. else
  42719. pTDefRegMap(@Self)^.&set := $00000800;
  42720. end;
  42721. function TPORTA_ANSELB.getANSB11 : TBits_1; inline;
  42722. begin
  42723. getANSB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42724. end;
  42725. procedure TPORTA_ANSELB.setANSB12; inline;
  42726. begin
  42727. pTDefRegMap(@Self)^.&set := $00001000;
  42728. end;
  42729. procedure TPORTA_ANSELB.clearANSB12; inline;
  42730. begin
  42731. pTDefRegMap(@Self)^.clr := $00001000;
  42732. end;
  42733. procedure TPORTA_ANSELB.setANSB12(thebits : TBits_1); inline;
  42734. begin
  42735. if thebits = 0 then
  42736. pTDefRegMap(@Self)^.clr := $00001000
  42737. else
  42738. pTDefRegMap(@Self)^.&set := $00001000;
  42739. end;
  42740. function TPORTA_ANSELB.getANSB12 : TBits_1; inline;
  42741. begin
  42742. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42743. end;
  42744. procedure TPORTA_ANSELB.setANSB13; inline;
  42745. begin
  42746. pTDefRegMap(@Self)^.&set := $00002000;
  42747. end;
  42748. procedure TPORTA_ANSELB.clearANSB13; inline;
  42749. begin
  42750. pTDefRegMap(@Self)^.clr := $00002000;
  42751. end;
  42752. procedure TPORTA_ANSELB.setANSB13(thebits : TBits_1); inline;
  42753. begin
  42754. if thebits = 0 then
  42755. pTDefRegMap(@Self)^.clr := $00002000
  42756. else
  42757. pTDefRegMap(@Self)^.&set := $00002000;
  42758. end;
  42759. function TPORTA_ANSELB.getANSB13 : TBits_1; inline;
  42760. begin
  42761. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42762. end;
  42763. procedure TPORTA_ANSELB.setANSB14; inline;
  42764. begin
  42765. pTDefRegMap(@Self)^.&set := $00004000;
  42766. end;
  42767. procedure TPORTA_ANSELB.clearANSB14; inline;
  42768. begin
  42769. pTDefRegMap(@Self)^.clr := $00004000;
  42770. end;
  42771. procedure TPORTA_ANSELB.setANSB14(thebits : TBits_1); inline;
  42772. begin
  42773. if thebits = 0 then
  42774. pTDefRegMap(@Self)^.clr := $00004000
  42775. else
  42776. pTDefRegMap(@Self)^.&set := $00004000;
  42777. end;
  42778. function TPORTA_ANSELB.getANSB14 : TBits_1; inline;
  42779. begin
  42780. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42781. end;
  42782. procedure TPORTA_ANSELB.setANSB15; inline;
  42783. begin
  42784. pTDefRegMap(@Self)^.&set := $00008000;
  42785. end;
  42786. procedure TPORTA_ANSELB.clearANSB15; inline;
  42787. begin
  42788. pTDefRegMap(@Self)^.clr := $00008000;
  42789. end;
  42790. procedure TPORTA_ANSELB.setANSB15(thebits : TBits_1); inline;
  42791. begin
  42792. if thebits = 0 then
  42793. pTDefRegMap(@Self)^.clr := $00008000
  42794. else
  42795. pTDefRegMap(@Self)^.&set := $00008000;
  42796. end;
  42797. function TPORTA_ANSELB.getANSB15 : TBits_1; inline;
  42798. begin
  42799. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42800. end;
  42801. procedure TPORTA_ANSELB.setw(thebits : TBits_32); inline;
  42802. begin
  42803. pTDefRegMap(@Self)^.val := thebits;
  42804. end;
  42805. function TPORTA_ANSELB.getw : TBits_32; inline;
  42806. begin
  42807. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42808. end;
  42809. procedure TPORTA_TRISB.setTRISB0; inline;
  42810. begin
  42811. pTDefRegMap(@Self)^.&set := $00000001;
  42812. end;
  42813. procedure TPORTA_TRISB.clearTRISB0; inline;
  42814. begin
  42815. pTDefRegMap(@Self)^.clr := $00000001;
  42816. end;
  42817. procedure TPORTA_TRISB.setTRISB0(thebits : TBits_1); inline;
  42818. begin
  42819. if thebits = 0 then
  42820. pTDefRegMap(@Self)^.clr := $00000001
  42821. else
  42822. pTDefRegMap(@Self)^.&set := $00000001;
  42823. end;
  42824. function TPORTA_TRISB.getTRISB0 : TBits_1; inline;
  42825. begin
  42826. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42827. end;
  42828. procedure TPORTA_TRISB.setTRISB1; inline;
  42829. begin
  42830. pTDefRegMap(@Self)^.&set := $00000002;
  42831. end;
  42832. procedure TPORTA_TRISB.clearTRISB1; inline;
  42833. begin
  42834. pTDefRegMap(@Self)^.clr := $00000002;
  42835. end;
  42836. procedure TPORTA_TRISB.setTRISB1(thebits : TBits_1); inline;
  42837. begin
  42838. if thebits = 0 then
  42839. pTDefRegMap(@Self)^.clr := $00000002
  42840. else
  42841. pTDefRegMap(@Self)^.&set := $00000002;
  42842. end;
  42843. function TPORTA_TRISB.getTRISB1 : TBits_1; inline;
  42844. begin
  42845. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42846. end;
  42847. procedure TPORTA_TRISB.setTRISB2; inline;
  42848. begin
  42849. pTDefRegMap(@Self)^.&set := $00000004;
  42850. end;
  42851. procedure TPORTA_TRISB.clearTRISB2; inline;
  42852. begin
  42853. pTDefRegMap(@Self)^.clr := $00000004;
  42854. end;
  42855. procedure TPORTA_TRISB.setTRISB2(thebits : TBits_1); inline;
  42856. begin
  42857. if thebits = 0 then
  42858. pTDefRegMap(@Self)^.clr := $00000004
  42859. else
  42860. pTDefRegMap(@Self)^.&set := $00000004;
  42861. end;
  42862. function TPORTA_TRISB.getTRISB2 : TBits_1; inline;
  42863. begin
  42864. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42865. end;
  42866. procedure TPORTA_TRISB.setTRISB3; inline;
  42867. begin
  42868. pTDefRegMap(@Self)^.&set := $00000008;
  42869. end;
  42870. procedure TPORTA_TRISB.clearTRISB3; inline;
  42871. begin
  42872. pTDefRegMap(@Self)^.clr := $00000008;
  42873. end;
  42874. procedure TPORTA_TRISB.setTRISB3(thebits : TBits_1); inline;
  42875. begin
  42876. if thebits = 0 then
  42877. pTDefRegMap(@Self)^.clr := $00000008
  42878. else
  42879. pTDefRegMap(@Self)^.&set := $00000008;
  42880. end;
  42881. function TPORTA_TRISB.getTRISB3 : TBits_1; inline;
  42882. begin
  42883. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42884. end;
  42885. procedure TPORTA_TRISB.setTRISB4; inline;
  42886. begin
  42887. pTDefRegMap(@Self)^.&set := $00000010;
  42888. end;
  42889. procedure TPORTA_TRISB.clearTRISB4; inline;
  42890. begin
  42891. pTDefRegMap(@Self)^.clr := $00000010;
  42892. end;
  42893. procedure TPORTA_TRISB.setTRISB4(thebits : TBits_1); inline;
  42894. begin
  42895. if thebits = 0 then
  42896. pTDefRegMap(@Self)^.clr := $00000010
  42897. else
  42898. pTDefRegMap(@Self)^.&set := $00000010;
  42899. end;
  42900. function TPORTA_TRISB.getTRISB4 : TBits_1; inline;
  42901. begin
  42902. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42903. end;
  42904. procedure TPORTA_TRISB.setTRISB5; inline;
  42905. begin
  42906. pTDefRegMap(@Self)^.&set := $00000020;
  42907. end;
  42908. procedure TPORTA_TRISB.clearTRISB5; inline;
  42909. begin
  42910. pTDefRegMap(@Self)^.clr := $00000020;
  42911. end;
  42912. procedure TPORTA_TRISB.setTRISB5(thebits : TBits_1); inline;
  42913. begin
  42914. if thebits = 0 then
  42915. pTDefRegMap(@Self)^.clr := $00000020
  42916. else
  42917. pTDefRegMap(@Self)^.&set := $00000020;
  42918. end;
  42919. function TPORTA_TRISB.getTRISB5 : TBits_1; inline;
  42920. begin
  42921. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42922. end;
  42923. procedure TPORTA_TRISB.setTRISB6; inline;
  42924. begin
  42925. pTDefRegMap(@Self)^.&set := $00000040;
  42926. end;
  42927. procedure TPORTA_TRISB.clearTRISB6; inline;
  42928. begin
  42929. pTDefRegMap(@Self)^.clr := $00000040;
  42930. end;
  42931. procedure TPORTA_TRISB.setTRISB6(thebits : TBits_1); inline;
  42932. begin
  42933. if thebits = 0 then
  42934. pTDefRegMap(@Self)^.clr := $00000040
  42935. else
  42936. pTDefRegMap(@Self)^.&set := $00000040;
  42937. end;
  42938. function TPORTA_TRISB.getTRISB6 : TBits_1; inline;
  42939. begin
  42940. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42941. end;
  42942. procedure TPORTA_TRISB.setTRISB7; inline;
  42943. begin
  42944. pTDefRegMap(@Self)^.&set := $00000080;
  42945. end;
  42946. procedure TPORTA_TRISB.clearTRISB7; inline;
  42947. begin
  42948. pTDefRegMap(@Self)^.clr := $00000080;
  42949. end;
  42950. procedure TPORTA_TRISB.setTRISB7(thebits : TBits_1); inline;
  42951. begin
  42952. if thebits = 0 then
  42953. pTDefRegMap(@Self)^.clr := $00000080
  42954. else
  42955. pTDefRegMap(@Self)^.&set := $00000080;
  42956. end;
  42957. function TPORTA_TRISB.getTRISB7 : TBits_1; inline;
  42958. begin
  42959. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42960. end;
  42961. procedure TPORTA_TRISB.setTRISB8; inline;
  42962. begin
  42963. pTDefRegMap(@Self)^.&set := $00000100;
  42964. end;
  42965. procedure TPORTA_TRISB.clearTRISB8; inline;
  42966. begin
  42967. pTDefRegMap(@Self)^.clr := $00000100;
  42968. end;
  42969. procedure TPORTA_TRISB.setTRISB8(thebits : TBits_1); inline;
  42970. begin
  42971. if thebits = 0 then
  42972. pTDefRegMap(@Self)^.clr := $00000100
  42973. else
  42974. pTDefRegMap(@Self)^.&set := $00000100;
  42975. end;
  42976. function TPORTA_TRISB.getTRISB8 : TBits_1; inline;
  42977. begin
  42978. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42979. end;
  42980. procedure TPORTA_TRISB.setTRISB9; inline;
  42981. begin
  42982. pTDefRegMap(@Self)^.&set := $00000200;
  42983. end;
  42984. procedure TPORTA_TRISB.clearTRISB9; inline;
  42985. begin
  42986. pTDefRegMap(@Self)^.clr := $00000200;
  42987. end;
  42988. procedure TPORTA_TRISB.setTRISB9(thebits : TBits_1); inline;
  42989. begin
  42990. if thebits = 0 then
  42991. pTDefRegMap(@Self)^.clr := $00000200
  42992. else
  42993. pTDefRegMap(@Self)^.&set := $00000200;
  42994. end;
  42995. function TPORTA_TRISB.getTRISB9 : TBits_1; inline;
  42996. begin
  42997. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42998. end;
  42999. procedure TPORTA_TRISB.setTRISB10; inline;
  43000. begin
  43001. pTDefRegMap(@Self)^.&set := $00000400;
  43002. end;
  43003. procedure TPORTA_TRISB.clearTRISB10; inline;
  43004. begin
  43005. pTDefRegMap(@Self)^.clr := $00000400;
  43006. end;
  43007. procedure TPORTA_TRISB.setTRISB10(thebits : TBits_1); inline;
  43008. begin
  43009. if thebits = 0 then
  43010. pTDefRegMap(@Self)^.clr := $00000400
  43011. else
  43012. pTDefRegMap(@Self)^.&set := $00000400;
  43013. end;
  43014. function TPORTA_TRISB.getTRISB10 : TBits_1; inline;
  43015. begin
  43016. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43017. end;
  43018. procedure TPORTA_TRISB.setTRISB11; inline;
  43019. begin
  43020. pTDefRegMap(@Self)^.&set := $00000800;
  43021. end;
  43022. procedure TPORTA_TRISB.clearTRISB11; inline;
  43023. begin
  43024. pTDefRegMap(@Self)^.clr := $00000800;
  43025. end;
  43026. procedure TPORTA_TRISB.setTRISB11(thebits : TBits_1); inline;
  43027. begin
  43028. if thebits = 0 then
  43029. pTDefRegMap(@Self)^.clr := $00000800
  43030. else
  43031. pTDefRegMap(@Self)^.&set := $00000800;
  43032. end;
  43033. function TPORTA_TRISB.getTRISB11 : TBits_1; inline;
  43034. begin
  43035. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43036. end;
  43037. procedure TPORTA_TRISB.setTRISB12; inline;
  43038. begin
  43039. pTDefRegMap(@Self)^.&set := $00001000;
  43040. end;
  43041. procedure TPORTA_TRISB.clearTRISB12; inline;
  43042. begin
  43043. pTDefRegMap(@Self)^.clr := $00001000;
  43044. end;
  43045. procedure TPORTA_TRISB.setTRISB12(thebits : TBits_1); inline;
  43046. begin
  43047. if thebits = 0 then
  43048. pTDefRegMap(@Self)^.clr := $00001000
  43049. else
  43050. pTDefRegMap(@Self)^.&set := $00001000;
  43051. end;
  43052. function TPORTA_TRISB.getTRISB12 : TBits_1; inline;
  43053. begin
  43054. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43055. end;
  43056. procedure TPORTA_TRISB.setTRISB13; inline;
  43057. begin
  43058. pTDefRegMap(@Self)^.&set := $00002000;
  43059. end;
  43060. procedure TPORTA_TRISB.clearTRISB13; inline;
  43061. begin
  43062. pTDefRegMap(@Self)^.clr := $00002000;
  43063. end;
  43064. procedure TPORTA_TRISB.setTRISB13(thebits : TBits_1); inline;
  43065. begin
  43066. if thebits = 0 then
  43067. pTDefRegMap(@Self)^.clr := $00002000
  43068. else
  43069. pTDefRegMap(@Self)^.&set := $00002000;
  43070. end;
  43071. function TPORTA_TRISB.getTRISB13 : TBits_1; inline;
  43072. begin
  43073. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43074. end;
  43075. procedure TPORTA_TRISB.setTRISB14; inline;
  43076. begin
  43077. pTDefRegMap(@Self)^.&set := $00004000;
  43078. end;
  43079. procedure TPORTA_TRISB.clearTRISB14; inline;
  43080. begin
  43081. pTDefRegMap(@Self)^.clr := $00004000;
  43082. end;
  43083. procedure TPORTA_TRISB.setTRISB14(thebits : TBits_1); inline;
  43084. begin
  43085. if thebits = 0 then
  43086. pTDefRegMap(@Self)^.clr := $00004000
  43087. else
  43088. pTDefRegMap(@Self)^.&set := $00004000;
  43089. end;
  43090. function TPORTA_TRISB.getTRISB14 : TBits_1; inline;
  43091. begin
  43092. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43093. end;
  43094. procedure TPORTA_TRISB.setTRISB15; inline;
  43095. begin
  43096. pTDefRegMap(@Self)^.&set := $00008000;
  43097. end;
  43098. procedure TPORTA_TRISB.clearTRISB15; inline;
  43099. begin
  43100. pTDefRegMap(@Self)^.clr := $00008000;
  43101. end;
  43102. procedure TPORTA_TRISB.setTRISB15(thebits : TBits_1); inline;
  43103. begin
  43104. if thebits = 0 then
  43105. pTDefRegMap(@Self)^.clr := $00008000
  43106. else
  43107. pTDefRegMap(@Self)^.&set := $00008000;
  43108. end;
  43109. function TPORTA_TRISB.getTRISB15 : TBits_1; inline;
  43110. begin
  43111. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43112. end;
  43113. procedure TPORTA_TRISB.setw(thebits : TBits_32); inline;
  43114. begin
  43115. pTDefRegMap(@Self)^.val := thebits;
  43116. end;
  43117. function TPORTA_TRISB.getw : TBits_32; inline;
  43118. begin
  43119. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43120. end;
  43121. procedure TPORTB_PORTB.setRB0; inline;
  43122. begin
  43123. pTDefRegMap(@Self)^.&set := $00000001;
  43124. end;
  43125. procedure TPORTB_PORTB.clearRB0; inline;
  43126. begin
  43127. pTDefRegMap(@Self)^.clr := $00000001;
  43128. end;
  43129. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  43130. begin
  43131. if thebits = 0 then
  43132. pTDefRegMap(@Self)^.clr := $00000001
  43133. else
  43134. pTDefRegMap(@Self)^.&set := $00000001;
  43135. end;
  43136. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  43137. begin
  43138. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43139. end;
  43140. procedure TPORTB_PORTB.setRB1; inline;
  43141. begin
  43142. pTDefRegMap(@Self)^.&set := $00000002;
  43143. end;
  43144. procedure TPORTB_PORTB.clearRB1; inline;
  43145. begin
  43146. pTDefRegMap(@Self)^.clr := $00000002;
  43147. end;
  43148. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  43149. begin
  43150. if thebits = 0 then
  43151. pTDefRegMap(@Self)^.clr := $00000002
  43152. else
  43153. pTDefRegMap(@Self)^.&set := $00000002;
  43154. end;
  43155. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  43156. begin
  43157. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43158. end;
  43159. procedure TPORTB_PORTB.setRB2; inline;
  43160. begin
  43161. pTDefRegMap(@Self)^.&set := $00000004;
  43162. end;
  43163. procedure TPORTB_PORTB.clearRB2; inline;
  43164. begin
  43165. pTDefRegMap(@Self)^.clr := $00000004;
  43166. end;
  43167. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  43168. begin
  43169. if thebits = 0 then
  43170. pTDefRegMap(@Self)^.clr := $00000004
  43171. else
  43172. pTDefRegMap(@Self)^.&set := $00000004;
  43173. end;
  43174. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  43175. begin
  43176. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43177. end;
  43178. procedure TPORTB_PORTB.setRB3; inline;
  43179. begin
  43180. pTDefRegMap(@Self)^.&set := $00000008;
  43181. end;
  43182. procedure TPORTB_PORTB.clearRB3; inline;
  43183. begin
  43184. pTDefRegMap(@Self)^.clr := $00000008;
  43185. end;
  43186. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  43187. begin
  43188. if thebits = 0 then
  43189. pTDefRegMap(@Self)^.clr := $00000008
  43190. else
  43191. pTDefRegMap(@Self)^.&set := $00000008;
  43192. end;
  43193. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  43194. begin
  43195. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43196. end;
  43197. procedure TPORTB_PORTB.setRB4; inline;
  43198. begin
  43199. pTDefRegMap(@Self)^.&set := $00000010;
  43200. end;
  43201. procedure TPORTB_PORTB.clearRB4; inline;
  43202. begin
  43203. pTDefRegMap(@Self)^.clr := $00000010;
  43204. end;
  43205. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  43206. begin
  43207. if thebits = 0 then
  43208. pTDefRegMap(@Self)^.clr := $00000010
  43209. else
  43210. pTDefRegMap(@Self)^.&set := $00000010;
  43211. end;
  43212. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  43213. begin
  43214. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43215. end;
  43216. procedure TPORTB_PORTB.setRB5; inline;
  43217. begin
  43218. pTDefRegMap(@Self)^.&set := $00000020;
  43219. end;
  43220. procedure TPORTB_PORTB.clearRB5; inline;
  43221. begin
  43222. pTDefRegMap(@Self)^.clr := $00000020;
  43223. end;
  43224. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  43225. begin
  43226. if thebits = 0 then
  43227. pTDefRegMap(@Self)^.clr := $00000020
  43228. else
  43229. pTDefRegMap(@Self)^.&set := $00000020;
  43230. end;
  43231. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  43232. begin
  43233. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43234. end;
  43235. procedure TPORTB_PORTB.setRB6; inline;
  43236. begin
  43237. pTDefRegMap(@Self)^.&set := $00000040;
  43238. end;
  43239. procedure TPORTB_PORTB.clearRB6; inline;
  43240. begin
  43241. pTDefRegMap(@Self)^.clr := $00000040;
  43242. end;
  43243. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  43244. begin
  43245. if thebits = 0 then
  43246. pTDefRegMap(@Self)^.clr := $00000040
  43247. else
  43248. pTDefRegMap(@Self)^.&set := $00000040;
  43249. end;
  43250. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  43251. begin
  43252. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43253. end;
  43254. procedure TPORTB_PORTB.setRB7; inline;
  43255. begin
  43256. pTDefRegMap(@Self)^.&set := $00000080;
  43257. end;
  43258. procedure TPORTB_PORTB.clearRB7; inline;
  43259. begin
  43260. pTDefRegMap(@Self)^.clr := $00000080;
  43261. end;
  43262. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  43263. begin
  43264. if thebits = 0 then
  43265. pTDefRegMap(@Self)^.clr := $00000080
  43266. else
  43267. pTDefRegMap(@Self)^.&set := $00000080;
  43268. end;
  43269. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  43270. begin
  43271. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43272. end;
  43273. procedure TPORTB_PORTB.setRB8; inline;
  43274. begin
  43275. pTDefRegMap(@Self)^.&set := $00000100;
  43276. end;
  43277. procedure TPORTB_PORTB.clearRB8; inline;
  43278. begin
  43279. pTDefRegMap(@Self)^.clr := $00000100;
  43280. end;
  43281. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  43282. begin
  43283. if thebits = 0 then
  43284. pTDefRegMap(@Self)^.clr := $00000100
  43285. else
  43286. pTDefRegMap(@Self)^.&set := $00000100;
  43287. end;
  43288. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  43289. begin
  43290. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43291. end;
  43292. procedure TPORTB_PORTB.setRB9; inline;
  43293. begin
  43294. pTDefRegMap(@Self)^.&set := $00000200;
  43295. end;
  43296. procedure TPORTB_PORTB.clearRB9; inline;
  43297. begin
  43298. pTDefRegMap(@Self)^.clr := $00000200;
  43299. end;
  43300. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  43301. begin
  43302. if thebits = 0 then
  43303. pTDefRegMap(@Self)^.clr := $00000200
  43304. else
  43305. pTDefRegMap(@Self)^.&set := $00000200;
  43306. end;
  43307. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  43308. begin
  43309. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43310. end;
  43311. procedure TPORTB_PORTB.setRB10; inline;
  43312. begin
  43313. pTDefRegMap(@Self)^.&set := $00000400;
  43314. end;
  43315. procedure TPORTB_PORTB.clearRB10; inline;
  43316. begin
  43317. pTDefRegMap(@Self)^.clr := $00000400;
  43318. end;
  43319. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  43320. begin
  43321. if thebits = 0 then
  43322. pTDefRegMap(@Self)^.clr := $00000400
  43323. else
  43324. pTDefRegMap(@Self)^.&set := $00000400;
  43325. end;
  43326. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  43327. begin
  43328. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43329. end;
  43330. procedure TPORTB_PORTB.setRB11; inline;
  43331. begin
  43332. pTDefRegMap(@Self)^.&set := $00000800;
  43333. end;
  43334. procedure TPORTB_PORTB.clearRB11; inline;
  43335. begin
  43336. pTDefRegMap(@Self)^.clr := $00000800;
  43337. end;
  43338. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  43339. begin
  43340. if thebits = 0 then
  43341. pTDefRegMap(@Self)^.clr := $00000800
  43342. else
  43343. pTDefRegMap(@Self)^.&set := $00000800;
  43344. end;
  43345. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  43346. begin
  43347. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43348. end;
  43349. procedure TPORTB_PORTB.setRB12; inline;
  43350. begin
  43351. pTDefRegMap(@Self)^.&set := $00001000;
  43352. end;
  43353. procedure TPORTB_PORTB.clearRB12; inline;
  43354. begin
  43355. pTDefRegMap(@Self)^.clr := $00001000;
  43356. end;
  43357. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  43358. begin
  43359. if thebits = 0 then
  43360. pTDefRegMap(@Self)^.clr := $00001000
  43361. else
  43362. pTDefRegMap(@Self)^.&set := $00001000;
  43363. end;
  43364. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  43365. begin
  43366. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43367. end;
  43368. procedure TPORTB_PORTB.setRB13; inline;
  43369. begin
  43370. pTDefRegMap(@Self)^.&set := $00002000;
  43371. end;
  43372. procedure TPORTB_PORTB.clearRB13; inline;
  43373. begin
  43374. pTDefRegMap(@Self)^.clr := $00002000;
  43375. end;
  43376. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  43377. begin
  43378. if thebits = 0 then
  43379. pTDefRegMap(@Self)^.clr := $00002000
  43380. else
  43381. pTDefRegMap(@Self)^.&set := $00002000;
  43382. end;
  43383. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  43384. begin
  43385. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43386. end;
  43387. procedure TPORTB_PORTB.setRB14; inline;
  43388. begin
  43389. pTDefRegMap(@Self)^.&set := $00004000;
  43390. end;
  43391. procedure TPORTB_PORTB.clearRB14; inline;
  43392. begin
  43393. pTDefRegMap(@Self)^.clr := $00004000;
  43394. end;
  43395. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  43396. begin
  43397. if thebits = 0 then
  43398. pTDefRegMap(@Self)^.clr := $00004000
  43399. else
  43400. pTDefRegMap(@Self)^.&set := $00004000;
  43401. end;
  43402. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  43403. begin
  43404. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43405. end;
  43406. procedure TPORTB_PORTB.setRB15; inline;
  43407. begin
  43408. pTDefRegMap(@Self)^.&set := $00008000;
  43409. end;
  43410. procedure TPORTB_PORTB.clearRB15; inline;
  43411. begin
  43412. pTDefRegMap(@Self)^.clr := $00008000;
  43413. end;
  43414. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  43415. begin
  43416. if thebits = 0 then
  43417. pTDefRegMap(@Self)^.clr := $00008000
  43418. else
  43419. pTDefRegMap(@Self)^.&set := $00008000;
  43420. end;
  43421. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  43422. begin
  43423. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43424. end;
  43425. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  43426. begin
  43427. pTDefRegMap(@Self)^.val := thebits;
  43428. end;
  43429. function TPORTB_PORTB.getw : TBits_32; inline;
  43430. begin
  43431. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43432. end;
  43433. procedure TPORTB_LATB.setLATB0; inline;
  43434. begin
  43435. pTDefRegMap(@Self)^.&set := $00000001;
  43436. end;
  43437. procedure TPORTB_LATB.clearLATB0; inline;
  43438. begin
  43439. pTDefRegMap(@Self)^.clr := $00000001;
  43440. end;
  43441. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  43442. begin
  43443. if thebits = 0 then
  43444. pTDefRegMap(@Self)^.clr := $00000001
  43445. else
  43446. pTDefRegMap(@Self)^.&set := $00000001;
  43447. end;
  43448. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  43449. begin
  43450. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43451. end;
  43452. procedure TPORTB_LATB.setLATB1; inline;
  43453. begin
  43454. pTDefRegMap(@Self)^.&set := $00000002;
  43455. end;
  43456. procedure TPORTB_LATB.clearLATB1; inline;
  43457. begin
  43458. pTDefRegMap(@Self)^.clr := $00000002;
  43459. end;
  43460. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  43461. begin
  43462. if thebits = 0 then
  43463. pTDefRegMap(@Self)^.clr := $00000002
  43464. else
  43465. pTDefRegMap(@Self)^.&set := $00000002;
  43466. end;
  43467. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  43468. begin
  43469. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43470. end;
  43471. procedure TPORTB_LATB.setLATB2; inline;
  43472. begin
  43473. pTDefRegMap(@Self)^.&set := $00000004;
  43474. end;
  43475. procedure TPORTB_LATB.clearLATB2; inline;
  43476. begin
  43477. pTDefRegMap(@Self)^.clr := $00000004;
  43478. end;
  43479. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  43480. begin
  43481. if thebits = 0 then
  43482. pTDefRegMap(@Self)^.clr := $00000004
  43483. else
  43484. pTDefRegMap(@Self)^.&set := $00000004;
  43485. end;
  43486. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  43487. begin
  43488. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43489. end;
  43490. procedure TPORTB_LATB.setLATB3; inline;
  43491. begin
  43492. pTDefRegMap(@Self)^.&set := $00000008;
  43493. end;
  43494. procedure TPORTB_LATB.clearLATB3; inline;
  43495. begin
  43496. pTDefRegMap(@Self)^.clr := $00000008;
  43497. end;
  43498. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  43499. begin
  43500. if thebits = 0 then
  43501. pTDefRegMap(@Self)^.clr := $00000008
  43502. else
  43503. pTDefRegMap(@Self)^.&set := $00000008;
  43504. end;
  43505. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  43506. begin
  43507. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43508. end;
  43509. procedure TPORTB_LATB.setLATB4; inline;
  43510. begin
  43511. pTDefRegMap(@Self)^.&set := $00000010;
  43512. end;
  43513. procedure TPORTB_LATB.clearLATB4; inline;
  43514. begin
  43515. pTDefRegMap(@Self)^.clr := $00000010;
  43516. end;
  43517. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  43518. begin
  43519. if thebits = 0 then
  43520. pTDefRegMap(@Self)^.clr := $00000010
  43521. else
  43522. pTDefRegMap(@Self)^.&set := $00000010;
  43523. end;
  43524. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  43525. begin
  43526. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43527. end;
  43528. procedure TPORTB_LATB.setLATB5; inline;
  43529. begin
  43530. pTDefRegMap(@Self)^.&set := $00000020;
  43531. end;
  43532. procedure TPORTB_LATB.clearLATB5; inline;
  43533. begin
  43534. pTDefRegMap(@Self)^.clr := $00000020;
  43535. end;
  43536. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  43537. begin
  43538. if thebits = 0 then
  43539. pTDefRegMap(@Self)^.clr := $00000020
  43540. else
  43541. pTDefRegMap(@Self)^.&set := $00000020;
  43542. end;
  43543. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  43544. begin
  43545. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43546. end;
  43547. procedure TPORTB_LATB.setLATB6; inline;
  43548. begin
  43549. pTDefRegMap(@Self)^.&set := $00000040;
  43550. end;
  43551. procedure TPORTB_LATB.clearLATB6; inline;
  43552. begin
  43553. pTDefRegMap(@Self)^.clr := $00000040;
  43554. end;
  43555. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  43556. begin
  43557. if thebits = 0 then
  43558. pTDefRegMap(@Self)^.clr := $00000040
  43559. else
  43560. pTDefRegMap(@Self)^.&set := $00000040;
  43561. end;
  43562. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  43563. begin
  43564. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43565. end;
  43566. procedure TPORTB_LATB.setLATB7; inline;
  43567. begin
  43568. pTDefRegMap(@Self)^.&set := $00000080;
  43569. end;
  43570. procedure TPORTB_LATB.clearLATB7; inline;
  43571. begin
  43572. pTDefRegMap(@Self)^.clr := $00000080;
  43573. end;
  43574. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  43575. begin
  43576. if thebits = 0 then
  43577. pTDefRegMap(@Self)^.clr := $00000080
  43578. else
  43579. pTDefRegMap(@Self)^.&set := $00000080;
  43580. end;
  43581. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  43582. begin
  43583. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43584. end;
  43585. procedure TPORTB_LATB.setLATB8; inline;
  43586. begin
  43587. pTDefRegMap(@Self)^.&set := $00000100;
  43588. end;
  43589. procedure TPORTB_LATB.clearLATB8; inline;
  43590. begin
  43591. pTDefRegMap(@Self)^.clr := $00000100;
  43592. end;
  43593. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  43594. begin
  43595. if thebits = 0 then
  43596. pTDefRegMap(@Self)^.clr := $00000100
  43597. else
  43598. pTDefRegMap(@Self)^.&set := $00000100;
  43599. end;
  43600. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  43601. begin
  43602. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43603. end;
  43604. procedure TPORTB_LATB.setLATB9; inline;
  43605. begin
  43606. pTDefRegMap(@Self)^.&set := $00000200;
  43607. end;
  43608. procedure TPORTB_LATB.clearLATB9; inline;
  43609. begin
  43610. pTDefRegMap(@Self)^.clr := $00000200;
  43611. end;
  43612. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  43613. begin
  43614. if thebits = 0 then
  43615. pTDefRegMap(@Self)^.clr := $00000200
  43616. else
  43617. pTDefRegMap(@Self)^.&set := $00000200;
  43618. end;
  43619. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  43620. begin
  43621. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43622. end;
  43623. procedure TPORTB_LATB.setLATB10; inline;
  43624. begin
  43625. pTDefRegMap(@Self)^.&set := $00000400;
  43626. end;
  43627. procedure TPORTB_LATB.clearLATB10; inline;
  43628. begin
  43629. pTDefRegMap(@Self)^.clr := $00000400;
  43630. end;
  43631. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  43632. begin
  43633. if thebits = 0 then
  43634. pTDefRegMap(@Self)^.clr := $00000400
  43635. else
  43636. pTDefRegMap(@Self)^.&set := $00000400;
  43637. end;
  43638. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  43639. begin
  43640. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43641. end;
  43642. procedure TPORTB_LATB.setLATB11; inline;
  43643. begin
  43644. pTDefRegMap(@Self)^.&set := $00000800;
  43645. end;
  43646. procedure TPORTB_LATB.clearLATB11; inline;
  43647. begin
  43648. pTDefRegMap(@Self)^.clr := $00000800;
  43649. end;
  43650. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  43651. begin
  43652. if thebits = 0 then
  43653. pTDefRegMap(@Self)^.clr := $00000800
  43654. else
  43655. pTDefRegMap(@Self)^.&set := $00000800;
  43656. end;
  43657. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  43658. begin
  43659. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43660. end;
  43661. procedure TPORTB_LATB.setLATB12; inline;
  43662. begin
  43663. pTDefRegMap(@Self)^.&set := $00001000;
  43664. end;
  43665. procedure TPORTB_LATB.clearLATB12; inline;
  43666. begin
  43667. pTDefRegMap(@Self)^.clr := $00001000;
  43668. end;
  43669. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  43670. begin
  43671. if thebits = 0 then
  43672. pTDefRegMap(@Self)^.clr := $00001000
  43673. else
  43674. pTDefRegMap(@Self)^.&set := $00001000;
  43675. end;
  43676. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  43677. begin
  43678. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43679. end;
  43680. procedure TPORTB_LATB.setLATB13; inline;
  43681. begin
  43682. pTDefRegMap(@Self)^.&set := $00002000;
  43683. end;
  43684. procedure TPORTB_LATB.clearLATB13; inline;
  43685. begin
  43686. pTDefRegMap(@Self)^.clr := $00002000;
  43687. end;
  43688. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  43689. begin
  43690. if thebits = 0 then
  43691. pTDefRegMap(@Self)^.clr := $00002000
  43692. else
  43693. pTDefRegMap(@Self)^.&set := $00002000;
  43694. end;
  43695. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  43696. begin
  43697. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43698. end;
  43699. procedure TPORTB_LATB.setLATB14; inline;
  43700. begin
  43701. pTDefRegMap(@Self)^.&set := $00004000;
  43702. end;
  43703. procedure TPORTB_LATB.clearLATB14; inline;
  43704. begin
  43705. pTDefRegMap(@Self)^.clr := $00004000;
  43706. end;
  43707. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  43708. begin
  43709. if thebits = 0 then
  43710. pTDefRegMap(@Self)^.clr := $00004000
  43711. else
  43712. pTDefRegMap(@Self)^.&set := $00004000;
  43713. end;
  43714. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  43715. begin
  43716. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43717. end;
  43718. procedure TPORTB_LATB.setLATB15; inline;
  43719. begin
  43720. pTDefRegMap(@Self)^.&set := $00008000;
  43721. end;
  43722. procedure TPORTB_LATB.clearLATB15; inline;
  43723. begin
  43724. pTDefRegMap(@Self)^.clr := $00008000;
  43725. end;
  43726. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  43727. begin
  43728. if thebits = 0 then
  43729. pTDefRegMap(@Self)^.clr := $00008000
  43730. else
  43731. pTDefRegMap(@Self)^.&set := $00008000;
  43732. end;
  43733. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  43734. begin
  43735. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43736. end;
  43737. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  43738. begin
  43739. pTDefRegMap(@Self)^.val := thebits;
  43740. end;
  43741. function TPORTB_LATB.getw : TBits_32; inline;
  43742. begin
  43743. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43744. end;
  43745. procedure TPORTB_ODCB.setODCB0; inline;
  43746. begin
  43747. pTDefRegMap(@Self)^.&set := $00000001;
  43748. end;
  43749. procedure TPORTB_ODCB.clearODCB0; inline;
  43750. begin
  43751. pTDefRegMap(@Self)^.clr := $00000001;
  43752. end;
  43753. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  43754. begin
  43755. if thebits = 0 then
  43756. pTDefRegMap(@Self)^.clr := $00000001
  43757. else
  43758. pTDefRegMap(@Self)^.&set := $00000001;
  43759. end;
  43760. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  43761. begin
  43762. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43763. end;
  43764. procedure TPORTB_ODCB.setODCB1; inline;
  43765. begin
  43766. pTDefRegMap(@Self)^.&set := $00000002;
  43767. end;
  43768. procedure TPORTB_ODCB.clearODCB1; inline;
  43769. begin
  43770. pTDefRegMap(@Self)^.clr := $00000002;
  43771. end;
  43772. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  43773. begin
  43774. if thebits = 0 then
  43775. pTDefRegMap(@Self)^.clr := $00000002
  43776. else
  43777. pTDefRegMap(@Self)^.&set := $00000002;
  43778. end;
  43779. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  43780. begin
  43781. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43782. end;
  43783. procedure TPORTB_ODCB.setODCB2; inline;
  43784. begin
  43785. pTDefRegMap(@Self)^.&set := $00000004;
  43786. end;
  43787. procedure TPORTB_ODCB.clearODCB2; inline;
  43788. begin
  43789. pTDefRegMap(@Self)^.clr := $00000004;
  43790. end;
  43791. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  43792. begin
  43793. if thebits = 0 then
  43794. pTDefRegMap(@Self)^.clr := $00000004
  43795. else
  43796. pTDefRegMap(@Self)^.&set := $00000004;
  43797. end;
  43798. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  43799. begin
  43800. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43801. end;
  43802. procedure TPORTB_ODCB.setODCB3; inline;
  43803. begin
  43804. pTDefRegMap(@Self)^.&set := $00000008;
  43805. end;
  43806. procedure TPORTB_ODCB.clearODCB3; inline;
  43807. begin
  43808. pTDefRegMap(@Self)^.clr := $00000008;
  43809. end;
  43810. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  43811. begin
  43812. if thebits = 0 then
  43813. pTDefRegMap(@Self)^.clr := $00000008
  43814. else
  43815. pTDefRegMap(@Self)^.&set := $00000008;
  43816. end;
  43817. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  43818. begin
  43819. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43820. end;
  43821. procedure TPORTB_ODCB.setODCB4; inline;
  43822. begin
  43823. pTDefRegMap(@Self)^.&set := $00000010;
  43824. end;
  43825. procedure TPORTB_ODCB.clearODCB4; inline;
  43826. begin
  43827. pTDefRegMap(@Self)^.clr := $00000010;
  43828. end;
  43829. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  43830. begin
  43831. if thebits = 0 then
  43832. pTDefRegMap(@Self)^.clr := $00000010
  43833. else
  43834. pTDefRegMap(@Self)^.&set := $00000010;
  43835. end;
  43836. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  43837. begin
  43838. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43839. end;
  43840. procedure TPORTB_ODCB.setODCB5; inline;
  43841. begin
  43842. pTDefRegMap(@Self)^.&set := $00000020;
  43843. end;
  43844. procedure TPORTB_ODCB.clearODCB5; inline;
  43845. begin
  43846. pTDefRegMap(@Self)^.clr := $00000020;
  43847. end;
  43848. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  43849. begin
  43850. if thebits = 0 then
  43851. pTDefRegMap(@Self)^.clr := $00000020
  43852. else
  43853. pTDefRegMap(@Self)^.&set := $00000020;
  43854. end;
  43855. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  43856. begin
  43857. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43858. end;
  43859. procedure TPORTB_ODCB.setODCB6; inline;
  43860. begin
  43861. pTDefRegMap(@Self)^.&set := $00000040;
  43862. end;
  43863. procedure TPORTB_ODCB.clearODCB6; inline;
  43864. begin
  43865. pTDefRegMap(@Self)^.clr := $00000040;
  43866. end;
  43867. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  43868. begin
  43869. if thebits = 0 then
  43870. pTDefRegMap(@Self)^.clr := $00000040
  43871. else
  43872. pTDefRegMap(@Self)^.&set := $00000040;
  43873. end;
  43874. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  43875. begin
  43876. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43877. end;
  43878. procedure TPORTB_ODCB.setODCB7; inline;
  43879. begin
  43880. pTDefRegMap(@Self)^.&set := $00000080;
  43881. end;
  43882. procedure TPORTB_ODCB.clearODCB7; inline;
  43883. begin
  43884. pTDefRegMap(@Self)^.clr := $00000080;
  43885. end;
  43886. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  43887. begin
  43888. if thebits = 0 then
  43889. pTDefRegMap(@Self)^.clr := $00000080
  43890. else
  43891. pTDefRegMap(@Self)^.&set := $00000080;
  43892. end;
  43893. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  43894. begin
  43895. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43896. end;
  43897. procedure TPORTB_ODCB.setODCB8; inline;
  43898. begin
  43899. pTDefRegMap(@Self)^.&set := $00000100;
  43900. end;
  43901. procedure TPORTB_ODCB.clearODCB8; inline;
  43902. begin
  43903. pTDefRegMap(@Self)^.clr := $00000100;
  43904. end;
  43905. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  43906. begin
  43907. if thebits = 0 then
  43908. pTDefRegMap(@Self)^.clr := $00000100
  43909. else
  43910. pTDefRegMap(@Self)^.&set := $00000100;
  43911. end;
  43912. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  43913. begin
  43914. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43915. end;
  43916. procedure TPORTB_ODCB.setODCB9; inline;
  43917. begin
  43918. pTDefRegMap(@Self)^.&set := $00000200;
  43919. end;
  43920. procedure TPORTB_ODCB.clearODCB9; inline;
  43921. begin
  43922. pTDefRegMap(@Self)^.clr := $00000200;
  43923. end;
  43924. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  43925. begin
  43926. if thebits = 0 then
  43927. pTDefRegMap(@Self)^.clr := $00000200
  43928. else
  43929. pTDefRegMap(@Self)^.&set := $00000200;
  43930. end;
  43931. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  43932. begin
  43933. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43934. end;
  43935. procedure TPORTB_ODCB.setODCB10; inline;
  43936. begin
  43937. pTDefRegMap(@Self)^.&set := $00000400;
  43938. end;
  43939. procedure TPORTB_ODCB.clearODCB10; inline;
  43940. begin
  43941. pTDefRegMap(@Self)^.clr := $00000400;
  43942. end;
  43943. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  43944. begin
  43945. if thebits = 0 then
  43946. pTDefRegMap(@Self)^.clr := $00000400
  43947. else
  43948. pTDefRegMap(@Self)^.&set := $00000400;
  43949. end;
  43950. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  43951. begin
  43952. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43953. end;
  43954. procedure TPORTB_ODCB.setODCB11; inline;
  43955. begin
  43956. pTDefRegMap(@Self)^.&set := $00000800;
  43957. end;
  43958. procedure TPORTB_ODCB.clearODCB11; inline;
  43959. begin
  43960. pTDefRegMap(@Self)^.clr := $00000800;
  43961. end;
  43962. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  43963. begin
  43964. if thebits = 0 then
  43965. pTDefRegMap(@Self)^.clr := $00000800
  43966. else
  43967. pTDefRegMap(@Self)^.&set := $00000800;
  43968. end;
  43969. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  43970. begin
  43971. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43972. end;
  43973. procedure TPORTB_ODCB.setODCB12; inline;
  43974. begin
  43975. pTDefRegMap(@Self)^.&set := $00001000;
  43976. end;
  43977. procedure TPORTB_ODCB.clearODCB12; inline;
  43978. begin
  43979. pTDefRegMap(@Self)^.clr := $00001000;
  43980. end;
  43981. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  43982. begin
  43983. if thebits = 0 then
  43984. pTDefRegMap(@Self)^.clr := $00001000
  43985. else
  43986. pTDefRegMap(@Self)^.&set := $00001000;
  43987. end;
  43988. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  43989. begin
  43990. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43991. end;
  43992. procedure TPORTB_ODCB.setODCB13; inline;
  43993. begin
  43994. pTDefRegMap(@Self)^.&set := $00002000;
  43995. end;
  43996. procedure TPORTB_ODCB.clearODCB13; inline;
  43997. begin
  43998. pTDefRegMap(@Self)^.clr := $00002000;
  43999. end;
  44000. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  44001. begin
  44002. if thebits = 0 then
  44003. pTDefRegMap(@Self)^.clr := $00002000
  44004. else
  44005. pTDefRegMap(@Self)^.&set := $00002000;
  44006. end;
  44007. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  44008. begin
  44009. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44010. end;
  44011. procedure TPORTB_ODCB.setODCB14; inline;
  44012. begin
  44013. pTDefRegMap(@Self)^.&set := $00004000;
  44014. end;
  44015. procedure TPORTB_ODCB.clearODCB14; inline;
  44016. begin
  44017. pTDefRegMap(@Self)^.clr := $00004000;
  44018. end;
  44019. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  44020. begin
  44021. if thebits = 0 then
  44022. pTDefRegMap(@Self)^.clr := $00004000
  44023. else
  44024. pTDefRegMap(@Self)^.&set := $00004000;
  44025. end;
  44026. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  44027. begin
  44028. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44029. end;
  44030. procedure TPORTB_ODCB.setODCB15; inline;
  44031. begin
  44032. pTDefRegMap(@Self)^.&set := $00008000;
  44033. end;
  44034. procedure TPORTB_ODCB.clearODCB15; inline;
  44035. begin
  44036. pTDefRegMap(@Self)^.clr := $00008000;
  44037. end;
  44038. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  44039. begin
  44040. if thebits = 0 then
  44041. pTDefRegMap(@Self)^.clr := $00008000
  44042. else
  44043. pTDefRegMap(@Self)^.&set := $00008000;
  44044. end;
  44045. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  44046. begin
  44047. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44048. end;
  44049. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  44050. begin
  44051. pTDefRegMap(@Self)^.val := thebits;
  44052. end;
  44053. function TPORTB_ODCB.getw : TBits_32; inline;
  44054. begin
  44055. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44056. end;
  44057. procedure TPORTB_CNPUB.setCNPUB0; inline;
  44058. begin
  44059. pTDefRegMap(@Self)^.&set := $00000001;
  44060. end;
  44061. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  44062. begin
  44063. pTDefRegMap(@Self)^.clr := $00000001;
  44064. end;
  44065. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  44066. begin
  44067. if thebits = 0 then
  44068. pTDefRegMap(@Self)^.clr := $00000001
  44069. else
  44070. pTDefRegMap(@Self)^.&set := $00000001;
  44071. end;
  44072. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  44073. begin
  44074. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44075. end;
  44076. procedure TPORTB_CNPUB.setCNPUB1; inline;
  44077. begin
  44078. pTDefRegMap(@Self)^.&set := $00000002;
  44079. end;
  44080. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  44081. begin
  44082. pTDefRegMap(@Self)^.clr := $00000002;
  44083. end;
  44084. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  44085. begin
  44086. if thebits = 0 then
  44087. pTDefRegMap(@Self)^.clr := $00000002
  44088. else
  44089. pTDefRegMap(@Self)^.&set := $00000002;
  44090. end;
  44091. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  44092. begin
  44093. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44094. end;
  44095. procedure TPORTB_CNPUB.setCNPUB2; inline;
  44096. begin
  44097. pTDefRegMap(@Self)^.&set := $00000004;
  44098. end;
  44099. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  44100. begin
  44101. pTDefRegMap(@Self)^.clr := $00000004;
  44102. end;
  44103. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  44104. begin
  44105. if thebits = 0 then
  44106. pTDefRegMap(@Self)^.clr := $00000004
  44107. else
  44108. pTDefRegMap(@Self)^.&set := $00000004;
  44109. end;
  44110. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  44111. begin
  44112. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44113. end;
  44114. procedure TPORTB_CNPUB.setCNPUB3; inline;
  44115. begin
  44116. pTDefRegMap(@Self)^.&set := $00000008;
  44117. end;
  44118. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  44119. begin
  44120. pTDefRegMap(@Self)^.clr := $00000008;
  44121. end;
  44122. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  44123. begin
  44124. if thebits = 0 then
  44125. pTDefRegMap(@Self)^.clr := $00000008
  44126. else
  44127. pTDefRegMap(@Self)^.&set := $00000008;
  44128. end;
  44129. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  44130. begin
  44131. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44132. end;
  44133. procedure TPORTB_CNPUB.setCNPUB4; inline;
  44134. begin
  44135. pTDefRegMap(@Self)^.&set := $00000010;
  44136. end;
  44137. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  44138. begin
  44139. pTDefRegMap(@Self)^.clr := $00000010;
  44140. end;
  44141. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  44142. begin
  44143. if thebits = 0 then
  44144. pTDefRegMap(@Self)^.clr := $00000010
  44145. else
  44146. pTDefRegMap(@Self)^.&set := $00000010;
  44147. end;
  44148. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  44149. begin
  44150. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44151. end;
  44152. procedure TPORTB_CNPUB.setCNPUB5; inline;
  44153. begin
  44154. pTDefRegMap(@Self)^.&set := $00000020;
  44155. end;
  44156. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  44157. begin
  44158. pTDefRegMap(@Self)^.clr := $00000020;
  44159. end;
  44160. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  44161. begin
  44162. if thebits = 0 then
  44163. pTDefRegMap(@Self)^.clr := $00000020
  44164. else
  44165. pTDefRegMap(@Self)^.&set := $00000020;
  44166. end;
  44167. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  44168. begin
  44169. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44170. end;
  44171. procedure TPORTB_CNPUB.setCNPUB6; inline;
  44172. begin
  44173. pTDefRegMap(@Self)^.&set := $00000040;
  44174. end;
  44175. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  44176. begin
  44177. pTDefRegMap(@Self)^.clr := $00000040;
  44178. end;
  44179. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  44180. begin
  44181. if thebits = 0 then
  44182. pTDefRegMap(@Self)^.clr := $00000040
  44183. else
  44184. pTDefRegMap(@Self)^.&set := $00000040;
  44185. end;
  44186. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  44187. begin
  44188. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44189. end;
  44190. procedure TPORTB_CNPUB.setCNPUB7; inline;
  44191. begin
  44192. pTDefRegMap(@Self)^.&set := $00000080;
  44193. end;
  44194. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  44195. begin
  44196. pTDefRegMap(@Self)^.clr := $00000080;
  44197. end;
  44198. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  44199. begin
  44200. if thebits = 0 then
  44201. pTDefRegMap(@Self)^.clr := $00000080
  44202. else
  44203. pTDefRegMap(@Self)^.&set := $00000080;
  44204. end;
  44205. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  44206. begin
  44207. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44208. end;
  44209. procedure TPORTB_CNPUB.setCNPUB8; inline;
  44210. begin
  44211. pTDefRegMap(@Self)^.&set := $00000100;
  44212. end;
  44213. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  44214. begin
  44215. pTDefRegMap(@Self)^.clr := $00000100;
  44216. end;
  44217. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  44218. begin
  44219. if thebits = 0 then
  44220. pTDefRegMap(@Self)^.clr := $00000100
  44221. else
  44222. pTDefRegMap(@Self)^.&set := $00000100;
  44223. end;
  44224. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  44225. begin
  44226. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44227. end;
  44228. procedure TPORTB_CNPUB.setCNPUB9; inline;
  44229. begin
  44230. pTDefRegMap(@Self)^.&set := $00000200;
  44231. end;
  44232. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  44233. begin
  44234. pTDefRegMap(@Self)^.clr := $00000200;
  44235. end;
  44236. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  44237. begin
  44238. if thebits = 0 then
  44239. pTDefRegMap(@Self)^.clr := $00000200
  44240. else
  44241. pTDefRegMap(@Self)^.&set := $00000200;
  44242. end;
  44243. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  44244. begin
  44245. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44246. end;
  44247. procedure TPORTB_CNPUB.setCNPUB10; inline;
  44248. begin
  44249. pTDefRegMap(@Self)^.&set := $00000400;
  44250. end;
  44251. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  44252. begin
  44253. pTDefRegMap(@Self)^.clr := $00000400;
  44254. end;
  44255. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  44256. begin
  44257. if thebits = 0 then
  44258. pTDefRegMap(@Self)^.clr := $00000400
  44259. else
  44260. pTDefRegMap(@Self)^.&set := $00000400;
  44261. end;
  44262. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  44263. begin
  44264. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44265. end;
  44266. procedure TPORTB_CNPUB.setCNPUB11; inline;
  44267. begin
  44268. pTDefRegMap(@Self)^.&set := $00000800;
  44269. end;
  44270. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  44271. begin
  44272. pTDefRegMap(@Self)^.clr := $00000800;
  44273. end;
  44274. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  44275. begin
  44276. if thebits = 0 then
  44277. pTDefRegMap(@Self)^.clr := $00000800
  44278. else
  44279. pTDefRegMap(@Self)^.&set := $00000800;
  44280. end;
  44281. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  44282. begin
  44283. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44284. end;
  44285. procedure TPORTB_CNPUB.setCNPUB12; inline;
  44286. begin
  44287. pTDefRegMap(@Self)^.&set := $00001000;
  44288. end;
  44289. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  44290. begin
  44291. pTDefRegMap(@Self)^.clr := $00001000;
  44292. end;
  44293. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  44294. begin
  44295. if thebits = 0 then
  44296. pTDefRegMap(@Self)^.clr := $00001000
  44297. else
  44298. pTDefRegMap(@Self)^.&set := $00001000;
  44299. end;
  44300. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  44301. begin
  44302. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  44303. end;
  44304. procedure TPORTB_CNPUB.setCNPUB13; inline;
  44305. begin
  44306. pTDefRegMap(@Self)^.&set := $00002000;
  44307. end;
  44308. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  44309. begin
  44310. pTDefRegMap(@Self)^.clr := $00002000;
  44311. end;
  44312. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  44313. begin
  44314. if thebits = 0 then
  44315. pTDefRegMap(@Self)^.clr := $00002000
  44316. else
  44317. pTDefRegMap(@Self)^.&set := $00002000;
  44318. end;
  44319. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  44320. begin
  44321. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44322. end;
  44323. procedure TPORTB_CNPUB.setCNPUB14; inline;
  44324. begin
  44325. pTDefRegMap(@Self)^.&set := $00004000;
  44326. end;
  44327. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  44328. begin
  44329. pTDefRegMap(@Self)^.clr := $00004000;
  44330. end;
  44331. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  44332. begin
  44333. if thebits = 0 then
  44334. pTDefRegMap(@Self)^.clr := $00004000
  44335. else
  44336. pTDefRegMap(@Self)^.&set := $00004000;
  44337. end;
  44338. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  44339. begin
  44340. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44341. end;
  44342. procedure TPORTB_CNPUB.setCNPUB15; inline;
  44343. begin
  44344. pTDefRegMap(@Self)^.&set := $00008000;
  44345. end;
  44346. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  44347. begin
  44348. pTDefRegMap(@Self)^.clr := $00008000;
  44349. end;
  44350. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  44351. begin
  44352. if thebits = 0 then
  44353. pTDefRegMap(@Self)^.clr := $00008000
  44354. else
  44355. pTDefRegMap(@Self)^.&set := $00008000;
  44356. end;
  44357. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  44358. begin
  44359. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44360. end;
  44361. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  44362. begin
  44363. pTDefRegMap(@Self)^.val := thebits;
  44364. end;
  44365. function TPORTB_CNPUB.getw : TBits_32; inline;
  44366. begin
  44367. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44368. end;
  44369. procedure TPORTB_CNPDB.setCNPDB0; inline;
  44370. begin
  44371. pTDefRegMap(@Self)^.&set := $00000001;
  44372. end;
  44373. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  44374. begin
  44375. pTDefRegMap(@Self)^.clr := $00000001;
  44376. end;
  44377. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  44378. begin
  44379. if thebits = 0 then
  44380. pTDefRegMap(@Self)^.clr := $00000001
  44381. else
  44382. pTDefRegMap(@Self)^.&set := $00000001;
  44383. end;
  44384. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  44385. begin
  44386. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44387. end;
  44388. procedure TPORTB_CNPDB.setCNPDB1; inline;
  44389. begin
  44390. pTDefRegMap(@Self)^.&set := $00000002;
  44391. end;
  44392. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  44393. begin
  44394. pTDefRegMap(@Self)^.clr := $00000002;
  44395. end;
  44396. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  44397. begin
  44398. if thebits = 0 then
  44399. pTDefRegMap(@Self)^.clr := $00000002
  44400. else
  44401. pTDefRegMap(@Self)^.&set := $00000002;
  44402. end;
  44403. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  44404. begin
  44405. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44406. end;
  44407. procedure TPORTB_CNPDB.setCNPDB2; inline;
  44408. begin
  44409. pTDefRegMap(@Self)^.&set := $00000004;
  44410. end;
  44411. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  44412. begin
  44413. pTDefRegMap(@Self)^.clr := $00000004;
  44414. end;
  44415. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  44416. begin
  44417. if thebits = 0 then
  44418. pTDefRegMap(@Self)^.clr := $00000004
  44419. else
  44420. pTDefRegMap(@Self)^.&set := $00000004;
  44421. end;
  44422. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  44423. begin
  44424. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44425. end;
  44426. procedure TPORTB_CNPDB.setCNPDB3; inline;
  44427. begin
  44428. pTDefRegMap(@Self)^.&set := $00000008;
  44429. end;
  44430. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  44431. begin
  44432. pTDefRegMap(@Self)^.clr := $00000008;
  44433. end;
  44434. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  44435. begin
  44436. if thebits = 0 then
  44437. pTDefRegMap(@Self)^.clr := $00000008
  44438. else
  44439. pTDefRegMap(@Self)^.&set := $00000008;
  44440. end;
  44441. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  44442. begin
  44443. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44444. end;
  44445. procedure TPORTB_CNPDB.setCNPDB4; inline;
  44446. begin
  44447. pTDefRegMap(@Self)^.&set := $00000010;
  44448. end;
  44449. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  44450. begin
  44451. pTDefRegMap(@Self)^.clr := $00000010;
  44452. end;
  44453. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  44454. begin
  44455. if thebits = 0 then
  44456. pTDefRegMap(@Self)^.clr := $00000010
  44457. else
  44458. pTDefRegMap(@Self)^.&set := $00000010;
  44459. end;
  44460. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  44461. begin
  44462. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44463. end;
  44464. procedure TPORTB_CNPDB.setCNPDB5; inline;
  44465. begin
  44466. pTDefRegMap(@Self)^.&set := $00000020;
  44467. end;
  44468. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  44469. begin
  44470. pTDefRegMap(@Self)^.clr := $00000020;
  44471. end;
  44472. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  44473. begin
  44474. if thebits = 0 then
  44475. pTDefRegMap(@Self)^.clr := $00000020
  44476. else
  44477. pTDefRegMap(@Self)^.&set := $00000020;
  44478. end;
  44479. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  44480. begin
  44481. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44482. end;
  44483. procedure TPORTB_CNPDB.setCNPDB6; inline;
  44484. begin
  44485. pTDefRegMap(@Self)^.&set := $00000040;
  44486. end;
  44487. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  44488. begin
  44489. pTDefRegMap(@Self)^.clr := $00000040;
  44490. end;
  44491. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  44492. begin
  44493. if thebits = 0 then
  44494. pTDefRegMap(@Self)^.clr := $00000040
  44495. else
  44496. pTDefRegMap(@Self)^.&set := $00000040;
  44497. end;
  44498. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  44499. begin
  44500. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44501. end;
  44502. procedure TPORTB_CNPDB.setCNPDB7; inline;
  44503. begin
  44504. pTDefRegMap(@Self)^.&set := $00000080;
  44505. end;
  44506. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  44507. begin
  44508. pTDefRegMap(@Self)^.clr := $00000080;
  44509. end;
  44510. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  44511. begin
  44512. if thebits = 0 then
  44513. pTDefRegMap(@Self)^.clr := $00000080
  44514. else
  44515. pTDefRegMap(@Self)^.&set := $00000080;
  44516. end;
  44517. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  44518. begin
  44519. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44520. end;
  44521. procedure TPORTB_CNPDB.setCNPDB8; inline;
  44522. begin
  44523. pTDefRegMap(@Self)^.&set := $00000100;
  44524. end;
  44525. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  44526. begin
  44527. pTDefRegMap(@Self)^.clr := $00000100;
  44528. end;
  44529. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  44530. begin
  44531. if thebits = 0 then
  44532. pTDefRegMap(@Self)^.clr := $00000100
  44533. else
  44534. pTDefRegMap(@Self)^.&set := $00000100;
  44535. end;
  44536. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  44537. begin
  44538. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44539. end;
  44540. procedure TPORTB_CNPDB.setCNPDB9; inline;
  44541. begin
  44542. pTDefRegMap(@Self)^.&set := $00000200;
  44543. end;
  44544. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  44545. begin
  44546. pTDefRegMap(@Self)^.clr := $00000200;
  44547. end;
  44548. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  44549. begin
  44550. if thebits = 0 then
  44551. pTDefRegMap(@Self)^.clr := $00000200
  44552. else
  44553. pTDefRegMap(@Self)^.&set := $00000200;
  44554. end;
  44555. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  44556. begin
  44557. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44558. end;
  44559. procedure TPORTB_CNPDB.setCNPDB10; inline;
  44560. begin
  44561. pTDefRegMap(@Self)^.&set := $00000400;
  44562. end;
  44563. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  44564. begin
  44565. pTDefRegMap(@Self)^.clr := $00000400;
  44566. end;
  44567. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  44568. begin
  44569. if thebits = 0 then
  44570. pTDefRegMap(@Self)^.clr := $00000400
  44571. else
  44572. pTDefRegMap(@Self)^.&set := $00000400;
  44573. end;
  44574. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  44575. begin
  44576. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44577. end;
  44578. procedure TPORTB_CNPDB.setCNPDB11; inline;
  44579. begin
  44580. pTDefRegMap(@Self)^.&set := $00000800;
  44581. end;
  44582. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  44583. begin
  44584. pTDefRegMap(@Self)^.clr := $00000800;
  44585. end;
  44586. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  44587. begin
  44588. if thebits = 0 then
  44589. pTDefRegMap(@Self)^.clr := $00000800
  44590. else
  44591. pTDefRegMap(@Self)^.&set := $00000800;
  44592. end;
  44593. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  44594. begin
  44595. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44596. end;
  44597. procedure TPORTB_CNPDB.setCNPDB12; inline;
  44598. begin
  44599. pTDefRegMap(@Self)^.&set := $00001000;
  44600. end;
  44601. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  44602. begin
  44603. pTDefRegMap(@Self)^.clr := $00001000;
  44604. end;
  44605. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  44606. begin
  44607. if thebits = 0 then
  44608. pTDefRegMap(@Self)^.clr := $00001000
  44609. else
  44610. pTDefRegMap(@Self)^.&set := $00001000;
  44611. end;
  44612. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  44613. begin
  44614. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  44615. end;
  44616. procedure TPORTB_CNPDB.setCNPDB13; inline;
  44617. begin
  44618. pTDefRegMap(@Self)^.&set := $00002000;
  44619. end;
  44620. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  44621. begin
  44622. pTDefRegMap(@Self)^.clr := $00002000;
  44623. end;
  44624. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  44625. begin
  44626. if thebits = 0 then
  44627. pTDefRegMap(@Self)^.clr := $00002000
  44628. else
  44629. pTDefRegMap(@Self)^.&set := $00002000;
  44630. end;
  44631. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  44632. begin
  44633. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44634. end;
  44635. procedure TPORTB_CNPDB.setCNPDB14; inline;
  44636. begin
  44637. pTDefRegMap(@Self)^.&set := $00004000;
  44638. end;
  44639. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  44640. begin
  44641. pTDefRegMap(@Self)^.clr := $00004000;
  44642. end;
  44643. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  44644. begin
  44645. if thebits = 0 then
  44646. pTDefRegMap(@Self)^.clr := $00004000
  44647. else
  44648. pTDefRegMap(@Self)^.&set := $00004000;
  44649. end;
  44650. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  44651. begin
  44652. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44653. end;
  44654. procedure TPORTB_CNPDB.setCNPDB15; inline;
  44655. begin
  44656. pTDefRegMap(@Self)^.&set := $00008000;
  44657. end;
  44658. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  44659. begin
  44660. pTDefRegMap(@Self)^.clr := $00008000;
  44661. end;
  44662. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  44663. begin
  44664. if thebits = 0 then
  44665. pTDefRegMap(@Self)^.clr := $00008000
  44666. else
  44667. pTDefRegMap(@Self)^.&set := $00008000;
  44668. end;
  44669. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  44670. begin
  44671. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44672. end;
  44673. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  44674. begin
  44675. pTDefRegMap(@Self)^.val := thebits;
  44676. end;
  44677. function TPORTB_CNPDB.getw : TBits_32; inline;
  44678. begin
  44679. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44680. end;
  44681. procedure TPORTB_CNCONB.setSIDL; inline;
  44682. begin
  44683. pTDefRegMap(@Self)^.&set := $00002000;
  44684. end;
  44685. procedure TPORTB_CNCONB.clearSIDL; inline;
  44686. begin
  44687. pTDefRegMap(@Self)^.clr := $00002000;
  44688. end;
  44689. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  44690. begin
  44691. if thebits = 0 then
  44692. pTDefRegMap(@Self)^.clr := $00002000
  44693. else
  44694. pTDefRegMap(@Self)^.&set := $00002000;
  44695. end;
  44696. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  44697. begin
  44698. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44699. end;
  44700. procedure TPORTB_CNCONB.setON; inline;
  44701. begin
  44702. pTDefRegMap(@Self)^.&set := $00008000;
  44703. end;
  44704. procedure TPORTB_CNCONB.clearON; inline;
  44705. begin
  44706. pTDefRegMap(@Self)^.clr := $00008000;
  44707. end;
  44708. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  44709. begin
  44710. if thebits = 0 then
  44711. pTDefRegMap(@Self)^.clr := $00008000
  44712. else
  44713. pTDefRegMap(@Self)^.&set := $00008000;
  44714. end;
  44715. function TPORTB_CNCONB.getON : TBits_1; inline;
  44716. begin
  44717. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44718. end;
  44719. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  44720. begin
  44721. pTDefRegMap(@Self)^.val := thebits;
  44722. end;
  44723. function TPORTB_CNCONB.getw : TBits_32; inline;
  44724. begin
  44725. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44726. end;
  44727. procedure TPORTB_CNENB.setCNIEB0; inline;
  44728. begin
  44729. pTDefRegMap(@Self)^.&set := $00000001;
  44730. end;
  44731. procedure TPORTB_CNENB.clearCNIEB0; inline;
  44732. begin
  44733. pTDefRegMap(@Self)^.clr := $00000001;
  44734. end;
  44735. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  44736. begin
  44737. if thebits = 0 then
  44738. pTDefRegMap(@Self)^.clr := $00000001
  44739. else
  44740. pTDefRegMap(@Self)^.&set := $00000001;
  44741. end;
  44742. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  44743. begin
  44744. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44745. end;
  44746. procedure TPORTB_CNENB.setCNIEB1; inline;
  44747. begin
  44748. pTDefRegMap(@Self)^.&set := $00000002;
  44749. end;
  44750. procedure TPORTB_CNENB.clearCNIEB1; inline;
  44751. begin
  44752. pTDefRegMap(@Self)^.clr := $00000002;
  44753. end;
  44754. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  44755. begin
  44756. if thebits = 0 then
  44757. pTDefRegMap(@Self)^.clr := $00000002
  44758. else
  44759. pTDefRegMap(@Self)^.&set := $00000002;
  44760. end;
  44761. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  44762. begin
  44763. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44764. end;
  44765. procedure TPORTB_CNENB.setCNIEB2; inline;
  44766. begin
  44767. pTDefRegMap(@Self)^.&set := $00000004;
  44768. end;
  44769. procedure TPORTB_CNENB.clearCNIEB2; inline;
  44770. begin
  44771. pTDefRegMap(@Self)^.clr := $00000004;
  44772. end;
  44773. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  44774. begin
  44775. if thebits = 0 then
  44776. pTDefRegMap(@Self)^.clr := $00000004
  44777. else
  44778. pTDefRegMap(@Self)^.&set := $00000004;
  44779. end;
  44780. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  44781. begin
  44782. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44783. end;
  44784. procedure TPORTB_CNENB.setCNIEB3; inline;
  44785. begin
  44786. pTDefRegMap(@Self)^.&set := $00000008;
  44787. end;
  44788. procedure TPORTB_CNENB.clearCNIEB3; inline;
  44789. begin
  44790. pTDefRegMap(@Self)^.clr := $00000008;
  44791. end;
  44792. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  44793. begin
  44794. if thebits = 0 then
  44795. pTDefRegMap(@Self)^.clr := $00000008
  44796. else
  44797. pTDefRegMap(@Self)^.&set := $00000008;
  44798. end;
  44799. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  44800. begin
  44801. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44802. end;
  44803. procedure TPORTB_CNENB.setCNIEB4; inline;
  44804. begin
  44805. pTDefRegMap(@Self)^.&set := $00000010;
  44806. end;
  44807. procedure TPORTB_CNENB.clearCNIEB4; inline;
  44808. begin
  44809. pTDefRegMap(@Self)^.clr := $00000010;
  44810. end;
  44811. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  44812. begin
  44813. if thebits = 0 then
  44814. pTDefRegMap(@Self)^.clr := $00000010
  44815. else
  44816. pTDefRegMap(@Self)^.&set := $00000010;
  44817. end;
  44818. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  44819. begin
  44820. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44821. end;
  44822. procedure TPORTB_CNENB.setCNIEB5; inline;
  44823. begin
  44824. pTDefRegMap(@Self)^.&set := $00000020;
  44825. end;
  44826. procedure TPORTB_CNENB.clearCNIEB5; inline;
  44827. begin
  44828. pTDefRegMap(@Self)^.clr := $00000020;
  44829. end;
  44830. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  44831. begin
  44832. if thebits = 0 then
  44833. pTDefRegMap(@Self)^.clr := $00000020
  44834. else
  44835. pTDefRegMap(@Self)^.&set := $00000020;
  44836. end;
  44837. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  44838. begin
  44839. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44840. end;
  44841. procedure TPORTB_CNENB.setCNIEB6; inline;
  44842. begin
  44843. pTDefRegMap(@Self)^.&set := $00000040;
  44844. end;
  44845. procedure TPORTB_CNENB.clearCNIEB6; inline;
  44846. begin
  44847. pTDefRegMap(@Self)^.clr := $00000040;
  44848. end;
  44849. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  44850. begin
  44851. if thebits = 0 then
  44852. pTDefRegMap(@Self)^.clr := $00000040
  44853. else
  44854. pTDefRegMap(@Self)^.&set := $00000040;
  44855. end;
  44856. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  44857. begin
  44858. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44859. end;
  44860. procedure TPORTB_CNENB.setCNIEB7; inline;
  44861. begin
  44862. pTDefRegMap(@Self)^.&set := $00000080;
  44863. end;
  44864. procedure TPORTB_CNENB.clearCNIEB7; inline;
  44865. begin
  44866. pTDefRegMap(@Self)^.clr := $00000080;
  44867. end;
  44868. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  44869. begin
  44870. if thebits = 0 then
  44871. pTDefRegMap(@Self)^.clr := $00000080
  44872. else
  44873. pTDefRegMap(@Self)^.&set := $00000080;
  44874. end;
  44875. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  44876. begin
  44877. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44878. end;
  44879. procedure TPORTB_CNENB.setCNIEB8; inline;
  44880. begin
  44881. pTDefRegMap(@Self)^.&set := $00000100;
  44882. end;
  44883. procedure TPORTB_CNENB.clearCNIEB8; inline;
  44884. begin
  44885. pTDefRegMap(@Self)^.clr := $00000100;
  44886. end;
  44887. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  44888. begin
  44889. if thebits = 0 then
  44890. pTDefRegMap(@Self)^.clr := $00000100
  44891. else
  44892. pTDefRegMap(@Self)^.&set := $00000100;
  44893. end;
  44894. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  44895. begin
  44896. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44897. end;
  44898. procedure TPORTB_CNENB.setCNIEB9; inline;
  44899. begin
  44900. pTDefRegMap(@Self)^.&set := $00000200;
  44901. end;
  44902. procedure TPORTB_CNENB.clearCNIEB9; inline;
  44903. begin
  44904. pTDefRegMap(@Self)^.clr := $00000200;
  44905. end;
  44906. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  44907. begin
  44908. if thebits = 0 then
  44909. pTDefRegMap(@Self)^.clr := $00000200
  44910. else
  44911. pTDefRegMap(@Self)^.&set := $00000200;
  44912. end;
  44913. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  44914. begin
  44915. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44916. end;
  44917. procedure TPORTB_CNENB.setCNIEB10; inline;
  44918. begin
  44919. pTDefRegMap(@Self)^.&set := $00000400;
  44920. end;
  44921. procedure TPORTB_CNENB.clearCNIEB10; inline;
  44922. begin
  44923. pTDefRegMap(@Self)^.clr := $00000400;
  44924. end;
  44925. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  44926. begin
  44927. if thebits = 0 then
  44928. pTDefRegMap(@Self)^.clr := $00000400
  44929. else
  44930. pTDefRegMap(@Self)^.&set := $00000400;
  44931. end;
  44932. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  44933. begin
  44934. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44935. end;
  44936. procedure TPORTB_CNENB.setCNIEB11; inline;
  44937. begin
  44938. pTDefRegMap(@Self)^.&set := $00000800;
  44939. end;
  44940. procedure TPORTB_CNENB.clearCNIEB11; inline;
  44941. begin
  44942. pTDefRegMap(@Self)^.clr := $00000800;
  44943. end;
  44944. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  44945. begin
  44946. if thebits = 0 then
  44947. pTDefRegMap(@Self)^.clr := $00000800
  44948. else
  44949. pTDefRegMap(@Self)^.&set := $00000800;
  44950. end;
  44951. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  44952. begin
  44953. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44954. end;
  44955. procedure TPORTB_CNENB.setCNIEB12; inline;
  44956. begin
  44957. pTDefRegMap(@Self)^.&set := $00001000;
  44958. end;
  44959. procedure TPORTB_CNENB.clearCNIEB12; inline;
  44960. begin
  44961. pTDefRegMap(@Self)^.clr := $00001000;
  44962. end;
  44963. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  44964. begin
  44965. if thebits = 0 then
  44966. pTDefRegMap(@Self)^.clr := $00001000
  44967. else
  44968. pTDefRegMap(@Self)^.&set := $00001000;
  44969. end;
  44970. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  44971. begin
  44972. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  44973. end;
  44974. procedure TPORTB_CNENB.setCNIEB13; inline;
  44975. begin
  44976. pTDefRegMap(@Self)^.&set := $00002000;
  44977. end;
  44978. procedure TPORTB_CNENB.clearCNIEB13; inline;
  44979. begin
  44980. pTDefRegMap(@Self)^.clr := $00002000;
  44981. end;
  44982. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  44983. begin
  44984. if thebits = 0 then
  44985. pTDefRegMap(@Self)^.clr := $00002000
  44986. else
  44987. pTDefRegMap(@Self)^.&set := $00002000;
  44988. end;
  44989. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  44990. begin
  44991. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44992. end;
  44993. procedure TPORTB_CNENB.setCNIEB14; inline;
  44994. begin
  44995. pTDefRegMap(@Self)^.&set := $00004000;
  44996. end;
  44997. procedure TPORTB_CNENB.clearCNIEB14; inline;
  44998. begin
  44999. pTDefRegMap(@Self)^.clr := $00004000;
  45000. end;
  45001. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  45002. begin
  45003. if thebits = 0 then
  45004. pTDefRegMap(@Self)^.clr := $00004000
  45005. else
  45006. pTDefRegMap(@Self)^.&set := $00004000;
  45007. end;
  45008. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  45009. begin
  45010. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45011. end;
  45012. procedure TPORTB_CNENB.setCNIEB15; inline;
  45013. begin
  45014. pTDefRegMap(@Self)^.&set := $00008000;
  45015. end;
  45016. procedure TPORTB_CNENB.clearCNIEB15; inline;
  45017. begin
  45018. pTDefRegMap(@Self)^.clr := $00008000;
  45019. end;
  45020. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  45021. begin
  45022. if thebits = 0 then
  45023. pTDefRegMap(@Self)^.clr := $00008000
  45024. else
  45025. pTDefRegMap(@Self)^.&set := $00008000;
  45026. end;
  45027. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  45028. begin
  45029. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45030. end;
  45031. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  45032. begin
  45033. pTDefRegMap(@Self)^.val := thebits;
  45034. end;
  45035. function TPORTB_CNENB.getw : TBits_32; inline;
  45036. begin
  45037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45038. end;
  45039. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  45040. begin
  45041. pTDefRegMap(@Self)^.&set := $00000001;
  45042. end;
  45043. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  45044. begin
  45045. pTDefRegMap(@Self)^.clr := $00000001;
  45046. end;
  45047. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  45048. begin
  45049. if thebits = 0 then
  45050. pTDefRegMap(@Self)^.clr := $00000001
  45051. else
  45052. pTDefRegMap(@Self)^.&set := $00000001;
  45053. end;
  45054. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  45055. begin
  45056. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45057. end;
  45058. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  45059. begin
  45060. pTDefRegMap(@Self)^.&set := $00000002;
  45061. end;
  45062. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  45063. begin
  45064. pTDefRegMap(@Self)^.clr := $00000002;
  45065. end;
  45066. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  45067. begin
  45068. if thebits = 0 then
  45069. pTDefRegMap(@Self)^.clr := $00000002
  45070. else
  45071. pTDefRegMap(@Self)^.&set := $00000002;
  45072. end;
  45073. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  45074. begin
  45075. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45076. end;
  45077. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  45078. begin
  45079. pTDefRegMap(@Self)^.&set := $00000004;
  45080. end;
  45081. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  45082. begin
  45083. pTDefRegMap(@Self)^.clr := $00000004;
  45084. end;
  45085. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  45086. begin
  45087. if thebits = 0 then
  45088. pTDefRegMap(@Self)^.clr := $00000004
  45089. else
  45090. pTDefRegMap(@Self)^.&set := $00000004;
  45091. end;
  45092. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  45093. begin
  45094. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45095. end;
  45096. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  45097. begin
  45098. pTDefRegMap(@Self)^.&set := $00000008;
  45099. end;
  45100. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  45101. begin
  45102. pTDefRegMap(@Self)^.clr := $00000008;
  45103. end;
  45104. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  45105. begin
  45106. if thebits = 0 then
  45107. pTDefRegMap(@Self)^.clr := $00000008
  45108. else
  45109. pTDefRegMap(@Self)^.&set := $00000008;
  45110. end;
  45111. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  45112. begin
  45113. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45114. end;
  45115. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  45116. begin
  45117. pTDefRegMap(@Self)^.&set := $00000010;
  45118. end;
  45119. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  45120. begin
  45121. pTDefRegMap(@Self)^.clr := $00000010;
  45122. end;
  45123. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  45124. begin
  45125. if thebits = 0 then
  45126. pTDefRegMap(@Self)^.clr := $00000010
  45127. else
  45128. pTDefRegMap(@Self)^.&set := $00000010;
  45129. end;
  45130. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  45131. begin
  45132. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45133. end;
  45134. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  45135. begin
  45136. pTDefRegMap(@Self)^.&set := $00000020;
  45137. end;
  45138. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  45139. begin
  45140. pTDefRegMap(@Self)^.clr := $00000020;
  45141. end;
  45142. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  45143. begin
  45144. if thebits = 0 then
  45145. pTDefRegMap(@Self)^.clr := $00000020
  45146. else
  45147. pTDefRegMap(@Self)^.&set := $00000020;
  45148. end;
  45149. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  45150. begin
  45151. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45152. end;
  45153. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  45154. begin
  45155. pTDefRegMap(@Self)^.&set := $00000040;
  45156. end;
  45157. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  45158. begin
  45159. pTDefRegMap(@Self)^.clr := $00000040;
  45160. end;
  45161. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  45162. begin
  45163. if thebits = 0 then
  45164. pTDefRegMap(@Self)^.clr := $00000040
  45165. else
  45166. pTDefRegMap(@Self)^.&set := $00000040;
  45167. end;
  45168. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  45169. begin
  45170. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45171. end;
  45172. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  45173. begin
  45174. pTDefRegMap(@Self)^.&set := $00000080;
  45175. end;
  45176. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  45177. begin
  45178. pTDefRegMap(@Self)^.clr := $00000080;
  45179. end;
  45180. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  45181. begin
  45182. if thebits = 0 then
  45183. pTDefRegMap(@Self)^.clr := $00000080
  45184. else
  45185. pTDefRegMap(@Self)^.&set := $00000080;
  45186. end;
  45187. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  45188. begin
  45189. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45190. end;
  45191. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  45192. begin
  45193. pTDefRegMap(@Self)^.&set := $00000100;
  45194. end;
  45195. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  45196. begin
  45197. pTDefRegMap(@Self)^.clr := $00000100;
  45198. end;
  45199. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  45200. begin
  45201. if thebits = 0 then
  45202. pTDefRegMap(@Self)^.clr := $00000100
  45203. else
  45204. pTDefRegMap(@Self)^.&set := $00000100;
  45205. end;
  45206. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  45207. begin
  45208. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45209. end;
  45210. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  45211. begin
  45212. pTDefRegMap(@Self)^.&set := $00000200;
  45213. end;
  45214. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  45215. begin
  45216. pTDefRegMap(@Self)^.clr := $00000200;
  45217. end;
  45218. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  45219. begin
  45220. if thebits = 0 then
  45221. pTDefRegMap(@Self)^.clr := $00000200
  45222. else
  45223. pTDefRegMap(@Self)^.&set := $00000200;
  45224. end;
  45225. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  45226. begin
  45227. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45228. end;
  45229. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  45230. begin
  45231. pTDefRegMap(@Self)^.&set := $00000400;
  45232. end;
  45233. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  45234. begin
  45235. pTDefRegMap(@Self)^.clr := $00000400;
  45236. end;
  45237. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  45238. begin
  45239. if thebits = 0 then
  45240. pTDefRegMap(@Self)^.clr := $00000400
  45241. else
  45242. pTDefRegMap(@Self)^.&set := $00000400;
  45243. end;
  45244. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  45245. begin
  45246. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45247. end;
  45248. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  45249. begin
  45250. pTDefRegMap(@Self)^.&set := $00000800;
  45251. end;
  45252. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  45253. begin
  45254. pTDefRegMap(@Self)^.clr := $00000800;
  45255. end;
  45256. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  45257. begin
  45258. if thebits = 0 then
  45259. pTDefRegMap(@Self)^.clr := $00000800
  45260. else
  45261. pTDefRegMap(@Self)^.&set := $00000800;
  45262. end;
  45263. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  45264. begin
  45265. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45266. end;
  45267. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  45268. begin
  45269. pTDefRegMap(@Self)^.&set := $00001000;
  45270. end;
  45271. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  45272. begin
  45273. pTDefRegMap(@Self)^.clr := $00001000;
  45274. end;
  45275. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  45276. begin
  45277. if thebits = 0 then
  45278. pTDefRegMap(@Self)^.clr := $00001000
  45279. else
  45280. pTDefRegMap(@Self)^.&set := $00001000;
  45281. end;
  45282. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  45283. begin
  45284. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45285. end;
  45286. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  45287. begin
  45288. pTDefRegMap(@Self)^.&set := $00002000;
  45289. end;
  45290. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  45291. begin
  45292. pTDefRegMap(@Self)^.clr := $00002000;
  45293. end;
  45294. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  45295. begin
  45296. if thebits = 0 then
  45297. pTDefRegMap(@Self)^.clr := $00002000
  45298. else
  45299. pTDefRegMap(@Self)^.&set := $00002000;
  45300. end;
  45301. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  45302. begin
  45303. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45304. end;
  45305. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  45306. begin
  45307. pTDefRegMap(@Self)^.&set := $00004000;
  45308. end;
  45309. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  45310. begin
  45311. pTDefRegMap(@Self)^.clr := $00004000;
  45312. end;
  45313. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  45314. begin
  45315. if thebits = 0 then
  45316. pTDefRegMap(@Self)^.clr := $00004000
  45317. else
  45318. pTDefRegMap(@Self)^.&set := $00004000;
  45319. end;
  45320. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  45321. begin
  45322. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45323. end;
  45324. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  45325. begin
  45326. pTDefRegMap(@Self)^.&set := $00008000;
  45327. end;
  45328. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  45329. begin
  45330. pTDefRegMap(@Self)^.clr := $00008000;
  45331. end;
  45332. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  45333. begin
  45334. if thebits = 0 then
  45335. pTDefRegMap(@Self)^.clr := $00008000
  45336. else
  45337. pTDefRegMap(@Self)^.&set := $00008000;
  45338. end;
  45339. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  45340. begin
  45341. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45342. end;
  45343. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  45344. begin
  45345. pTDefRegMap(@Self)^.val := thebits;
  45346. end;
  45347. function TPORTB_CNSTATB.getw : TBits_32; inline;
  45348. begin
  45349. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45350. end;
  45351. procedure TPORTB_TRISC.setTRISC1; inline;
  45352. begin
  45353. pTDefRegMap(@Self)^.&set := $00000002;
  45354. end;
  45355. procedure TPORTB_TRISC.clearTRISC1; inline;
  45356. begin
  45357. pTDefRegMap(@Self)^.clr := $00000002;
  45358. end;
  45359. procedure TPORTB_TRISC.setTRISC1(thebits : TBits_1); inline;
  45360. begin
  45361. if thebits = 0 then
  45362. pTDefRegMap(@Self)^.clr := $00000002
  45363. else
  45364. pTDefRegMap(@Self)^.&set := $00000002;
  45365. end;
  45366. function TPORTB_TRISC.getTRISC1 : TBits_1; inline;
  45367. begin
  45368. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45369. end;
  45370. procedure TPORTB_TRISC.setTRISC2; inline;
  45371. begin
  45372. pTDefRegMap(@Self)^.&set := $00000004;
  45373. end;
  45374. procedure TPORTB_TRISC.clearTRISC2; inline;
  45375. begin
  45376. pTDefRegMap(@Self)^.clr := $00000004;
  45377. end;
  45378. procedure TPORTB_TRISC.setTRISC2(thebits : TBits_1); inline;
  45379. begin
  45380. if thebits = 0 then
  45381. pTDefRegMap(@Self)^.clr := $00000004
  45382. else
  45383. pTDefRegMap(@Self)^.&set := $00000004;
  45384. end;
  45385. function TPORTB_TRISC.getTRISC2 : TBits_1; inline;
  45386. begin
  45387. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45388. end;
  45389. procedure TPORTB_TRISC.setTRISC3; inline;
  45390. begin
  45391. pTDefRegMap(@Self)^.&set := $00000008;
  45392. end;
  45393. procedure TPORTB_TRISC.clearTRISC3; inline;
  45394. begin
  45395. pTDefRegMap(@Self)^.clr := $00000008;
  45396. end;
  45397. procedure TPORTB_TRISC.setTRISC3(thebits : TBits_1); inline;
  45398. begin
  45399. if thebits = 0 then
  45400. pTDefRegMap(@Self)^.clr := $00000008
  45401. else
  45402. pTDefRegMap(@Self)^.&set := $00000008;
  45403. end;
  45404. function TPORTB_TRISC.getTRISC3 : TBits_1; inline;
  45405. begin
  45406. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45407. end;
  45408. procedure TPORTB_TRISC.setTRISC4; inline;
  45409. begin
  45410. pTDefRegMap(@Self)^.&set := $00000010;
  45411. end;
  45412. procedure TPORTB_TRISC.clearTRISC4; inline;
  45413. begin
  45414. pTDefRegMap(@Self)^.clr := $00000010;
  45415. end;
  45416. procedure TPORTB_TRISC.setTRISC4(thebits : TBits_1); inline;
  45417. begin
  45418. if thebits = 0 then
  45419. pTDefRegMap(@Self)^.clr := $00000010
  45420. else
  45421. pTDefRegMap(@Self)^.&set := $00000010;
  45422. end;
  45423. function TPORTB_TRISC.getTRISC4 : TBits_1; inline;
  45424. begin
  45425. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45426. end;
  45427. procedure TPORTB_TRISC.setTRISC12; inline;
  45428. begin
  45429. pTDefRegMap(@Self)^.&set := $00001000;
  45430. end;
  45431. procedure TPORTB_TRISC.clearTRISC12; inline;
  45432. begin
  45433. pTDefRegMap(@Self)^.clr := $00001000;
  45434. end;
  45435. procedure TPORTB_TRISC.setTRISC12(thebits : TBits_1); inline;
  45436. begin
  45437. if thebits = 0 then
  45438. pTDefRegMap(@Self)^.clr := $00001000
  45439. else
  45440. pTDefRegMap(@Self)^.&set := $00001000;
  45441. end;
  45442. function TPORTB_TRISC.getTRISC12 : TBits_1; inline;
  45443. begin
  45444. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45445. end;
  45446. procedure TPORTB_TRISC.setTRISC13; inline;
  45447. begin
  45448. pTDefRegMap(@Self)^.&set := $00002000;
  45449. end;
  45450. procedure TPORTB_TRISC.clearTRISC13; inline;
  45451. begin
  45452. pTDefRegMap(@Self)^.clr := $00002000;
  45453. end;
  45454. procedure TPORTB_TRISC.setTRISC13(thebits : TBits_1); inline;
  45455. begin
  45456. if thebits = 0 then
  45457. pTDefRegMap(@Self)^.clr := $00002000
  45458. else
  45459. pTDefRegMap(@Self)^.&set := $00002000;
  45460. end;
  45461. function TPORTB_TRISC.getTRISC13 : TBits_1; inline;
  45462. begin
  45463. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45464. end;
  45465. procedure TPORTB_TRISC.setTRISC14; inline;
  45466. begin
  45467. pTDefRegMap(@Self)^.&set := $00004000;
  45468. end;
  45469. procedure TPORTB_TRISC.clearTRISC14; inline;
  45470. begin
  45471. pTDefRegMap(@Self)^.clr := $00004000;
  45472. end;
  45473. procedure TPORTB_TRISC.setTRISC14(thebits : TBits_1); inline;
  45474. begin
  45475. if thebits = 0 then
  45476. pTDefRegMap(@Self)^.clr := $00004000
  45477. else
  45478. pTDefRegMap(@Self)^.&set := $00004000;
  45479. end;
  45480. function TPORTB_TRISC.getTRISC14 : TBits_1; inline;
  45481. begin
  45482. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45483. end;
  45484. procedure TPORTB_TRISC.setTRISC15; inline;
  45485. begin
  45486. pTDefRegMap(@Self)^.&set := $00008000;
  45487. end;
  45488. procedure TPORTB_TRISC.clearTRISC15; inline;
  45489. begin
  45490. pTDefRegMap(@Self)^.clr := $00008000;
  45491. end;
  45492. procedure TPORTB_TRISC.setTRISC15(thebits : TBits_1); inline;
  45493. begin
  45494. if thebits = 0 then
  45495. pTDefRegMap(@Self)^.clr := $00008000
  45496. else
  45497. pTDefRegMap(@Self)^.&set := $00008000;
  45498. end;
  45499. function TPORTB_TRISC.getTRISC15 : TBits_1; inline;
  45500. begin
  45501. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45502. end;
  45503. procedure TPORTB_TRISC.setw(thebits : TBits_32); inline;
  45504. begin
  45505. pTDefRegMap(@Self)^.val := thebits;
  45506. end;
  45507. function TPORTB_TRISC.getw : TBits_32; inline;
  45508. begin
  45509. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45510. end;
  45511. procedure TPORTC_PORTC.setRC1; inline;
  45512. begin
  45513. pTDefRegMap(@Self)^.&set := $00000002;
  45514. end;
  45515. procedure TPORTC_PORTC.clearRC1; inline;
  45516. begin
  45517. pTDefRegMap(@Self)^.clr := $00000002;
  45518. end;
  45519. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  45520. begin
  45521. if thebits = 0 then
  45522. pTDefRegMap(@Self)^.clr := $00000002
  45523. else
  45524. pTDefRegMap(@Self)^.&set := $00000002;
  45525. end;
  45526. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  45527. begin
  45528. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45529. end;
  45530. procedure TPORTC_PORTC.setRC2; inline;
  45531. begin
  45532. pTDefRegMap(@Self)^.&set := $00000004;
  45533. end;
  45534. procedure TPORTC_PORTC.clearRC2; inline;
  45535. begin
  45536. pTDefRegMap(@Self)^.clr := $00000004;
  45537. end;
  45538. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  45539. begin
  45540. if thebits = 0 then
  45541. pTDefRegMap(@Self)^.clr := $00000004
  45542. else
  45543. pTDefRegMap(@Self)^.&set := $00000004;
  45544. end;
  45545. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  45546. begin
  45547. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45548. end;
  45549. procedure TPORTC_PORTC.setRC3; inline;
  45550. begin
  45551. pTDefRegMap(@Self)^.&set := $00000008;
  45552. end;
  45553. procedure TPORTC_PORTC.clearRC3; inline;
  45554. begin
  45555. pTDefRegMap(@Self)^.clr := $00000008;
  45556. end;
  45557. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  45558. begin
  45559. if thebits = 0 then
  45560. pTDefRegMap(@Self)^.clr := $00000008
  45561. else
  45562. pTDefRegMap(@Self)^.&set := $00000008;
  45563. end;
  45564. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  45565. begin
  45566. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45567. end;
  45568. procedure TPORTC_PORTC.setRC4; inline;
  45569. begin
  45570. pTDefRegMap(@Self)^.&set := $00000010;
  45571. end;
  45572. procedure TPORTC_PORTC.clearRC4; inline;
  45573. begin
  45574. pTDefRegMap(@Self)^.clr := $00000010;
  45575. end;
  45576. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  45577. begin
  45578. if thebits = 0 then
  45579. pTDefRegMap(@Self)^.clr := $00000010
  45580. else
  45581. pTDefRegMap(@Self)^.&set := $00000010;
  45582. end;
  45583. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  45584. begin
  45585. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45586. end;
  45587. procedure TPORTC_PORTC.setRC12; inline;
  45588. begin
  45589. pTDefRegMap(@Self)^.&set := $00001000;
  45590. end;
  45591. procedure TPORTC_PORTC.clearRC12; inline;
  45592. begin
  45593. pTDefRegMap(@Self)^.clr := $00001000;
  45594. end;
  45595. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  45596. begin
  45597. if thebits = 0 then
  45598. pTDefRegMap(@Self)^.clr := $00001000
  45599. else
  45600. pTDefRegMap(@Self)^.&set := $00001000;
  45601. end;
  45602. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  45603. begin
  45604. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45605. end;
  45606. procedure TPORTC_PORTC.setRC13; inline;
  45607. begin
  45608. pTDefRegMap(@Self)^.&set := $00002000;
  45609. end;
  45610. procedure TPORTC_PORTC.clearRC13; inline;
  45611. begin
  45612. pTDefRegMap(@Self)^.clr := $00002000;
  45613. end;
  45614. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  45615. begin
  45616. if thebits = 0 then
  45617. pTDefRegMap(@Self)^.clr := $00002000
  45618. else
  45619. pTDefRegMap(@Self)^.&set := $00002000;
  45620. end;
  45621. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  45622. begin
  45623. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45624. end;
  45625. procedure TPORTC_PORTC.setRC14; inline;
  45626. begin
  45627. pTDefRegMap(@Self)^.&set := $00004000;
  45628. end;
  45629. procedure TPORTC_PORTC.clearRC14; inline;
  45630. begin
  45631. pTDefRegMap(@Self)^.clr := $00004000;
  45632. end;
  45633. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  45634. begin
  45635. if thebits = 0 then
  45636. pTDefRegMap(@Self)^.clr := $00004000
  45637. else
  45638. pTDefRegMap(@Self)^.&set := $00004000;
  45639. end;
  45640. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  45641. begin
  45642. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45643. end;
  45644. procedure TPORTC_PORTC.setRC15; inline;
  45645. begin
  45646. pTDefRegMap(@Self)^.&set := $00008000;
  45647. end;
  45648. procedure TPORTC_PORTC.clearRC15; inline;
  45649. begin
  45650. pTDefRegMap(@Self)^.clr := $00008000;
  45651. end;
  45652. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  45653. begin
  45654. if thebits = 0 then
  45655. pTDefRegMap(@Self)^.clr := $00008000
  45656. else
  45657. pTDefRegMap(@Self)^.&set := $00008000;
  45658. end;
  45659. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  45660. begin
  45661. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45662. end;
  45663. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  45664. begin
  45665. pTDefRegMap(@Self)^.val := thebits;
  45666. end;
  45667. function TPORTC_PORTC.getw : TBits_32; inline;
  45668. begin
  45669. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45670. end;
  45671. procedure TPORTC_LATC.setLATC1; inline;
  45672. begin
  45673. pTDefRegMap(@Self)^.&set := $00000002;
  45674. end;
  45675. procedure TPORTC_LATC.clearLATC1; inline;
  45676. begin
  45677. pTDefRegMap(@Self)^.clr := $00000002;
  45678. end;
  45679. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  45680. begin
  45681. if thebits = 0 then
  45682. pTDefRegMap(@Self)^.clr := $00000002
  45683. else
  45684. pTDefRegMap(@Self)^.&set := $00000002;
  45685. end;
  45686. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  45687. begin
  45688. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45689. end;
  45690. procedure TPORTC_LATC.setLATC2; inline;
  45691. begin
  45692. pTDefRegMap(@Self)^.&set := $00000004;
  45693. end;
  45694. procedure TPORTC_LATC.clearLATC2; inline;
  45695. begin
  45696. pTDefRegMap(@Self)^.clr := $00000004;
  45697. end;
  45698. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  45699. begin
  45700. if thebits = 0 then
  45701. pTDefRegMap(@Self)^.clr := $00000004
  45702. else
  45703. pTDefRegMap(@Self)^.&set := $00000004;
  45704. end;
  45705. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  45706. begin
  45707. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45708. end;
  45709. procedure TPORTC_LATC.setLATC3; inline;
  45710. begin
  45711. pTDefRegMap(@Self)^.&set := $00000008;
  45712. end;
  45713. procedure TPORTC_LATC.clearLATC3; inline;
  45714. begin
  45715. pTDefRegMap(@Self)^.clr := $00000008;
  45716. end;
  45717. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  45718. begin
  45719. if thebits = 0 then
  45720. pTDefRegMap(@Self)^.clr := $00000008
  45721. else
  45722. pTDefRegMap(@Self)^.&set := $00000008;
  45723. end;
  45724. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  45725. begin
  45726. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45727. end;
  45728. procedure TPORTC_LATC.setLATC4; inline;
  45729. begin
  45730. pTDefRegMap(@Self)^.&set := $00000010;
  45731. end;
  45732. procedure TPORTC_LATC.clearLATC4; inline;
  45733. begin
  45734. pTDefRegMap(@Self)^.clr := $00000010;
  45735. end;
  45736. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  45737. begin
  45738. if thebits = 0 then
  45739. pTDefRegMap(@Self)^.clr := $00000010
  45740. else
  45741. pTDefRegMap(@Self)^.&set := $00000010;
  45742. end;
  45743. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  45744. begin
  45745. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45746. end;
  45747. procedure TPORTC_LATC.setLATC12; inline;
  45748. begin
  45749. pTDefRegMap(@Self)^.&set := $00001000;
  45750. end;
  45751. procedure TPORTC_LATC.clearLATC12; inline;
  45752. begin
  45753. pTDefRegMap(@Self)^.clr := $00001000;
  45754. end;
  45755. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  45756. begin
  45757. if thebits = 0 then
  45758. pTDefRegMap(@Self)^.clr := $00001000
  45759. else
  45760. pTDefRegMap(@Self)^.&set := $00001000;
  45761. end;
  45762. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  45763. begin
  45764. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45765. end;
  45766. procedure TPORTC_LATC.setLATC13; inline;
  45767. begin
  45768. pTDefRegMap(@Self)^.&set := $00002000;
  45769. end;
  45770. procedure TPORTC_LATC.clearLATC13; inline;
  45771. begin
  45772. pTDefRegMap(@Self)^.clr := $00002000;
  45773. end;
  45774. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  45775. begin
  45776. if thebits = 0 then
  45777. pTDefRegMap(@Self)^.clr := $00002000
  45778. else
  45779. pTDefRegMap(@Self)^.&set := $00002000;
  45780. end;
  45781. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  45782. begin
  45783. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45784. end;
  45785. procedure TPORTC_LATC.setLATC14; inline;
  45786. begin
  45787. pTDefRegMap(@Self)^.&set := $00004000;
  45788. end;
  45789. procedure TPORTC_LATC.clearLATC14; inline;
  45790. begin
  45791. pTDefRegMap(@Self)^.clr := $00004000;
  45792. end;
  45793. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  45794. begin
  45795. if thebits = 0 then
  45796. pTDefRegMap(@Self)^.clr := $00004000
  45797. else
  45798. pTDefRegMap(@Self)^.&set := $00004000;
  45799. end;
  45800. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  45801. begin
  45802. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45803. end;
  45804. procedure TPORTC_LATC.setLATC15; inline;
  45805. begin
  45806. pTDefRegMap(@Self)^.&set := $00008000;
  45807. end;
  45808. procedure TPORTC_LATC.clearLATC15; inline;
  45809. begin
  45810. pTDefRegMap(@Self)^.clr := $00008000;
  45811. end;
  45812. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  45813. begin
  45814. if thebits = 0 then
  45815. pTDefRegMap(@Self)^.clr := $00008000
  45816. else
  45817. pTDefRegMap(@Self)^.&set := $00008000;
  45818. end;
  45819. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  45820. begin
  45821. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45822. end;
  45823. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  45824. begin
  45825. pTDefRegMap(@Self)^.val := thebits;
  45826. end;
  45827. function TPORTC_LATC.getw : TBits_32; inline;
  45828. begin
  45829. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45830. end;
  45831. procedure TPORTC_ODCC.setODCC1; inline;
  45832. begin
  45833. pTDefRegMap(@Self)^.&set := $00000002;
  45834. end;
  45835. procedure TPORTC_ODCC.clearODCC1; inline;
  45836. begin
  45837. pTDefRegMap(@Self)^.clr := $00000002;
  45838. end;
  45839. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  45840. begin
  45841. if thebits = 0 then
  45842. pTDefRegMap(@Self)^.clr := $00000002
  45843. else
  45844. pTDefRegMap(@Self)^.&set := $00000002;
  45845. end;
  45846. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  45847. begin
  45848. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45849. end;
  45850. procedure TPORTC_ODCC.setODCC2; inline;
  45851. begin
  45852. pTDefRegMap(@Self)^.&set := $00000004;
  45853. end;
  45854. procedure TPORTC_ODCC.clearODCC2; inline;
  45855. begin
  45856. pTDefRegMap(@Self)^.clr := $00000004;
  45857. end;
  45858. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  45859. begin
  45860. if thebits = 0 then
  45861. pTDefRegMap(@Self)^.clr := $00000004
  45862. else
  45863. pTDefRegMap(@Self)^.&set := $00000004;
  45864. end;
  45865. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  45866. begin
  45867. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45868. end;
  45869. procedure TPORTC_ODCC.setODCC3; inline;
  45870. begin
  45871. pTDefRegMap(@Self)^.&set := $00000008;
  45872. end;
  45873. procedure TPORTC_ODCC.clearODCC3; inline;
  45874. begin
  45875. pTDefRegMap(@Self)^.clr := $00000008;
  45876. end;
  45877. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  45878. begin
  45879. if thebits = 0 then
  45880. pTDefRegMap(@Self)^.clr := $00000008
  45881. else
  45882. pTDefRegMap(@Self)^.&set := $00000008;
  45883. end;
  45884. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  45885. begin
  45886. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45887. end;
  45888. procedure TPORTC_ODCC.setODCC4; inline;
  45889. begin
  45890. pTDefRegMap(@Self)^.&set := $00000010;
  45891. end;
  45892. procedure TPORTC_ODCC.clearODCC4; inline;
  45893. begin
  45894. pTDefRegMap(@Self)^.clr := $00000010;
  45895. end;
  45896. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  45897. begin
  45898. if thebits = 0 then
  45899. pTDefRegMap(@Self)^.clr := $00000010
  45900. else
  45901. pTDefRegMap(@Self)^.&set := $00000010;
  45902. end;
  45903. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  45904. begin
  45905. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45906. end;
  45907. procedure TPORTC_ODCC.setODCC12; inline;
  45908. begin
  45909. pTDefRegMap(@Self)^.&set := $00001000;
  45910. end;
  45911. procedure TPORTC_ODCC.clearODCC12; inline;
  45912. begin
  45913. pTDefRegMap(@Self)^.clr := $00001000;
  45914. end;
  45915. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  45916. begin
  45917. if thebits = 0 then
  45918. pTDefRegMap(@Self)^.clr := $00001000
  45919. else
  45920. pTDefRegMap(@Self)^.&set := $00001000;
  45921. end;
  45922. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  45923. begin
  45924. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45925. end;
  45926. procedure TPORTC_ODCC.setODCC13; inline;
  45927. begin
  45928. pTDefRegMap(@Self)^.&set := $00002000;
  45929. end;
  45930. procedure TPORTC_ODCC.clearODCC13; inline;
  45931. begin
  45932. pTDefRegMap(@Self)^.clr := $00002000;
  45933. end;
  45934. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  45935. begin
  45936. if thebits = 0 then
  45937. pTDefRegMap(@Self)^.clr := $00002000
  45938. else
  45939. pTDefRegMap(@Self)^.&set := $00002000;
  45940. end;
  45941. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  45942. begin
  45943. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45944. end;
  45945. procedure TPORTC_ODCC.setODCC14; inline;
  45946. begin
  45947. pTDefRegMap(@Self)^.&set := $00004000;
  45948. end;
  45949. procedure TPORTC_ODCC.clearODCC14; inline;
  45950. begin
  45951. pTDefRegMap(@Self)^.clr := $00004000;
  45952. end;
  45953. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  45954. begin
  45955. if thebits = 0 then
  45956. pTDefRegMap(@Self)^.clr := $00004000
  45957. else
  45958. pTDefRegMap(@Self)^.&set := $00004000;
  45959. end;
  45960. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  45961. begin
  45962. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45963. end;
  45964. procedure TPORTC_ODCC.setODCC15; inline;
  45965. begin
  45966. pTDefRegMap(@Self)^.&set := $00008000;
  45967. end;
  45968. procedure TPORTC_ODCC.clearODCC15; inline;
  45969. begin
  45970. pTDefRegMap(@Self)^.clr := $00008000;
  45971. end;
  45972. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  45973. begin
  45974. if thebits = 0 then
  45975. pTDefRegMap(@Self)^.clr := $00008000
  45976. else
  45977. pTDefRegMap(@Self)^.&set := $00008000;
  45978. end;
  45979. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  45980. begin
  45981. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45982. end;
  45983. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  45984. begin
  45985. pTDefRegMap(@Self)^.val := thebits;
  45986. end;
  45987. function TPORTC_ODCC.getw : TBits_32; inline;
  45988. begin
  45989. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45990. end;
  45991. procedure TPORTC_CNPUC.setCNPUC1; inline;
  45992. begin
  45993. pTDefRegMap(@Self)^.&set := $00000002;
  45994. end;
  45995. procedure TPORTC_CNPUC.clearCNPUC1; inline;
  45996. begin
  45997. pTDefRegMap(@Self)^.clr := $00000002;
  45998. end;
  45999. procedure TPORTC_CNPUC.setCNPUC1(thebits : TBits_1); inline;
  46000. begin
  46001. if thebits = 0 then
  46002. pTDefRegMap(@Self)^.clr := $00000002
  46003. else
  46004. pTDefRegMap(@Self)^.&set := $00000002;
  46005. end;
  46006. function TPORTC_CNPUC.getCNPUC1 : TBits_1; inline;
  46007. begin
  46008. getCNPUC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46009. end;
  46010. procedure TPORTC_CNPUC.setCNPUC2; inline;
  46011. begin
  46012. pTDefRegMap(@Self)^.&set := $00000004;
  46013. end;
  46014. procedure TPORTC_CNPUC.clearCNPUC2; inline;
  46015. begin
  46016. pTDefRegMap(@Self)^.clr := $00000004;
  46017. end;
  46018. procedure TPORTC_CNPUC.setCNPUC2(thebits : TBits_1); inline;
  46019. begin
  46020. if thebits = 0 then
  46021. pTDefRegMap(@Self)^.clr := $00000004
  46022. else
  46023. pTDefRegMap(@Self)^.&set := $00000004;
  46024. end;
  46025. function TPORTC_CNPUC.getCNPUC2 : TBits_1; inline;
  46026. begin
  46027. getCNPUC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46028. end;
  46029. procedure TPORTC_CNPUC.setCNPUC3; inline;
  46030. begin
  46031. pTDefRegMap(@Self)^.&set := $00000008;
  46032. end;
  46033. procedure TPORTC_CNPUC.clearCNPUC3; inline;
  46034. begin
  46035. pTDefRegMap(@Self)^.clr := $00000008;
  46036. end;
  46037. procedure TPORTC_CNPUC.setCNPUC3(thebits : TBits_1); inline;
  46038. begin
  46039. if thebits = 0 then
  46040. pTDefRegMap(@Self)^.clr := $00000008
  46041. else
  46042. pTDefRegMap(@Self)^.&set := $00000008;
  46043. end;
  46044. function TPORTC_CNPUC.getCNPUC3 : TBits_1; inline;
  46045. begin
  46046. getCNPUC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46047. end;
  46048. procedure TPORTC_CNPUC.setCNPUC4; inline;
  46049. begin
  46050. pTDefRegMap(@Self)^.&set := $00000010;
  46051. end;
  46052. procedure TPORTC_CNPUC.clearCNPUC4; inline;
  46053. begin
  46054. pTDefRegMap(@Self)^.clr := $00000010;
  46055. end;
  46056. procedure TPORTC_CNPUC.setCNPUC4(thebits : TBits_1); inline;
  46057. begin
  46058. if thebits = 0 then
  46059. pTDefRegMap(@Self)^.clr := $00000010
  46060. else
  46061. pTDefRegMap(@Self)^.&set := $00000010;
  46062. end;
  46063. function TPORTC_CNPUC.getCNPUC4 : TBits_1; inline;
  46064. begin
  46065. getCNPUC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46066. end;
  46067. procedure TPORTC_CNPUC.setCNPUC12; inline;
  46068. begin
  46069. pTDefRegMap(@Self)^.&set := $00001000;
  46070. end;
  46071. procedure TPORTC_CNPUC.clearCNPUC12; inline;
  46072. begin
  46073. pTDefRegMap(@Self)^.clr := $00001000;
  46074. end;
  46075. procedure TPORTC_CNPUC.setCNPUC12(thebits : TBits_1); inline;
  46076. begin
  46077. if thebits = 0 then
  46078. pTDefRegMap(@Self)^.clr := $00001000
  46079. else
  46080. pTDefRegMap(@Self)^.&set := $00001000;
  46081. end;
  46082. function TPORTC_CNPUC.getCNPUC12 : TBits_1; inline;
  46083. begin
  46084. getCNPUC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46085. end;
  46086. procedure TPORTC_CNPUC.setCNPUC13; inline;
  46087. begin
  46088. pTDefRegMap(@Self)^.&set := $00002000;
  46089. end;
  46090. procedure TPORTC_CNPUC.clearCNPUC13; inline;
  46091. begin
  46092. pTDefRegMap(@Self)^.clr := $00002000;
  46093. end;
  46094. procedure TPORTC_CNPUC.setCNPUC13(thebits : TBits_1); inline;
  46095. begin
  46096. if thebits = 0 then
  46097. pTDefRegMap(@Self)^.clr := $00002000
  46098. else
  46099. pTDefRegMap(@Self)^.&set := $00002000;
  46100. end;
  46101. function TPORTC_CNPUC.getCNPUC13 : TBits_1; inline;
  46102. begin
  46103. getCNPUC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46104. end;
  46105. procedure TPORTC_CNPUC.setCNPUC14; inline;
  46106. begin
  46107. pTDefRegMap(@Self)^.&set := $00004000;
  46108. end;
  46109. procedure TPORTC_CNPUC.clearCNPUC14; inline;
  46110. begin
  46111. pTDefRegMap(@Self)^.clr := $00004000;
  46112. end;
  46113. procedure TPORTC_CNPUC.setCNPUC14(thebits : TBits_1); inline;
  46114. begin
  46115. if thebits = 0 then
  46116. pTDefRegMap(@Self)^.clr := $00004000
  46117. else
  46118. pTDefRegMap(@Self)^.&set := $00004000;
  46119. end;
  46120. function TPORTC_CNPUC.getCNPUC14 : TBits_1; inline;
  46121. begin
  46122. getCNPUC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46123. end;
  46124. procedure TPORTC_CNPUC.setCNPUC15; inline;
  46125. begin
  46126. pTDefRegMap(@Self)^.&set := $00008000;
  46127. end;
  46128. procedure TPORTC_CNPUC.clearCNPUC15; inline;
  46129. begin
  46130. pTDefRegMap(@Self)^.clr := $00008000;
  46131. end;
  46132. procedure TPORTC_CNPUC.setCNPUC15(thebits : TBits_1); inline;
  46133. begin
  46134. if thebits = 0 then
  46135. pTDefRegMap(@Self)^.clr := $00008000
  46136. else
  46137. pTDefRegMap(@Self)^.&set := $00008000;
  46138. end;
  46139. function TPORTC_CNPUC.getCNPUC15 : TBits_1; inline;
  46140. begin
  46141. getCNPUC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46142. end;
  46143. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  46144. begin
  46145. pTDefRegMap(@Self)^.val := thebits;
  46146. end;
  46147. function TPORTC_CNPUC.getw : TBits_32; inline;
  46148. begin
  46149. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46150. end;
  46151. procedure TPORTC_CNPDC.setCNPDC1; inline;
  46152. begin
  46153. pTDefRegMap(@Self)^.&set := $00000002;
  46154. end;
  46155. procedure TPORTC_CNPDC.clearCNPDC1; inline;
  46156. begin
  46157. pTDefRegMap(@Self)^.clr := $00000002;
  46158. end;
  46159. procedure TPORTC_CNPDC.setCNPDC1(thebits : TBits_1); inline;
  46160. begin
  46161. if thebits = 0 then
  46162. pTDefRegMap(@Self)^.clr := $00000002
  46163. else
  46164. pTDefRegMap(@Self)^.&set := $00000002;
  46165. end;
  46166. function TPORTC_CNPDC.getCNPDC1 : TBits_1; inline;
  46167. begin
  46168. getCNPDC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46169. end;
  46170. procedure TPORTC_CNPDC.setCNPDC2; inline;
  46171. begin
  46172. pTDefRegMap(@Self)^.&set := $00000004;
  46173. end;
  46174. procedure TPORTC_CNPDC.clearCNPDC2; inline;
  46175. begin
  46176. pTDefRegMap(@Self)^.clr := $00000004;
  46177. end;
  46178. procedure TPORTC_CNPDC.setCNPDC2(thebits : TBits_1); inline;
  46179. begin
  46180. if thebits = 0 then
  46181. pTDefRegMap(@Self)^.clr := $00000004
  46182. else
  46183. pTDefRegMap(@Self)^.&set := $00000004;
  46184. end;
  46185. function TPORTC_CNPDC.getCNPDC2 : TBits_1; inline;
  46186. begin
  46187. getCNPDC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46188. end;
  46189. procedure TPORTC_CNPDC.setCNPDC3; inline;
  46190. begin
  46191. pTDefRegMap(@Self)^.&set := $00000008;
  46192. end;
  46193. procedure TPORTC_CNPDC.clearCNPDC3; inline;
  46194. begin
  46195. pTDefRegMap(@Self)^.clr := $00000008;
  46196. end;
  46197. procedure TPORTC_CNPDC.setCNPDC3(thebits : TBits_1); inline;
  46198. begin
  46199. if thebits = 0 then
  46200. pTDefRegMap(@Self)^.clr := $00000008
  46201. else
  46202. pTDefRegMap(@Self)^.&set := $00000008;
  46203. end;
  46204. function TPORTC_CNPDC.getCNPDC3 : TBits_1; inline;
  46205. begin
  46206. getCNPDC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46207. end;
  46208. procedure TPORTC_CNPDC.setCNPDC4; inline;
  46209. begin
  46210. pTDefRegMap(@Self)^.&set := $00000010;
  46211. end;
  46212. procedure TPORTC_CNPDC.clearCNPDC4; inline;
  46213. begin
  46214. pTDefRegMap(@Self)^.clr := $00000010;
  46215. end;
  46216. procedure TPORTC_CNPDC.setCNPDC4(thebits : TBits_1); inline;
  46217. begin
  46218. if thebits = 0 then
  46219. pTDefRegMap(@Self)^.clr := $00000010
  46220. else
  46221. pTDefRegMap(@Self)^.&set := $00000010;
  46222. end;
  46223. function TPORTC_CNPDC.getCNPDC4 : TBits_1; inline;
  46224. begin
  46225. getCNPDC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46226. end;
  46227. procedure TPORTC_CNPDC.setCNPDC12; inline;
  46228. begin
  46229. pTDefRegMap(@Self)^.&set := $00001000;
  46230. end;
  46231. procedure TPORTC_CNPDC.clearCNPDC12; inline;
  46232. begin
  46233. pTDefRegMap(@Self)^.clr := $00001000;
  46234. end;
  46235. procedure TPORTC_CNPDC.setCNPDC12(thebits : TBits_1); inline;
  46236. begin
  46237. if thebits = 0 then
  46238. pTDefRegMap(@Self)^.clr := $00001000
  46239. else
  46240. pTDefRegMap(@Self)^.&set := $00001000;
  46241. end;
  46242. function TPORTC_CNPDC.getCNPDC12 : TBits_1; inline;
  46243. begin
  46244. getCNPDC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46245. end;
  46246. procedure TPORTC_CNPDC.setCNPDC13; inline;
  46247. begin
  46248. pTDefRegMap(@Self)^.&set := $00002000;
  46249. end;
  46250. procedure TPORTC_CNPDC.clearCNPDC13; inline;
  46251. begin
  46252. pTDefRegMap(@Self)^.clr := $00002000;
  46253. end;
  46254. procedure TPORTC_CNPDC.setCNPDC13(thebits : TBits_1); inline;
  46255. begin
  46256. if thebits = 0 then
  46257. pTDefRegMap(@Self)^.clr := $00002000
  46258. else
  46259. pTDefRegMap(@Self)^.&set := $00002000;
  46260. end;
  46261. function TPORTC_CNPDC.getCNPDC13 : TBits_1; inline;
  46262. begin
  46263. getCNPDC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46264. end;
  46265. procedure TPORTC_CNPDC.setCNPDC14; inline;
  46266. begin
  46267. pTDefRegMap(@Self)^.&set := $00004000;
  46268. end;
  46269. procedure TPORTC_CNPDC.clearCNPDC14; inline;
  46270. begin
  46271. pTDefRegMap(@Self)^.clr := $00004000;
  46272. end;
  46273. procedure TPORTC_CNPDC.setCNPDC14(thebits : TBits_1); inline;
  46274. begin
  46275. if thebits = 0 then
  46276. pTDefRegMap(@Self)^.clr := $00004000
  46277. else
  46278. pTDefRegMap(@Self)^.&set := $00004000;
  46279. end;
  46280. function TPORTC_CNPDC.getCNPDC14 : TBits_1; inline;
  46281. begin
  46282. getCNPDC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46283. end;
  46284. procedure TPORTC_CNPDC.setCNPDC15; inline;
  46285. begin
  46286. pTDefRegMap(@Self)^.&set := $00008000;
  46287. end;
  46288. procedure TPORTC_CNPDC.clearCNPDC15; inline;
  46289. begin
  46290. pTDefRegMap(@Self)^.clr := $00008000;
  46291. end;
  46292. procedure TPORTC_CNPDC.setCNPDC15(thebits : TBits_1); inline;
  46293. begin
  46294. if thebits = 0 then
  46295. pTDefRegMap(@Self)^.clr := $00008000
  46296. else
  46297. pTDefRegMap(@Self)^.&set := $00008000;
  46298. end;
  46299. function TPORTC_CNPDC.getCNPDC15 : TBits_1; inline;
  46300. begin
  46301. getCNPDC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46302. end;
  46303. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  46304. begin
  46305. pTDefRegMap(@Self)^.val := thebits;
  46306. end;
  46307. function TPORTC_CNPDC.getw : TBits_32; inline;
  46308. begin
  46309. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46310. end;
  46311. procedure TPORTC_CNCONC.setSIDL; inline;
  46312. begin
  46313. pTDefRegMap(@Self)^.&set := $00002000;
  46314. end;
  46315. procedure TPORTC_CNCONC.clearSIDL; inline;
  46316. begin
  46317. pTDefRegMap(@Self)^.clr := $00002000;
  46318. end;
  46319. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  46320. begin
  46321. if thebits = 0 then
  46322. pTDefRegMap(@Self)^.clr := $00002000
  46323. else
  46324. pTDefRegMap(@Self)^.&set := $00002000;
  46325. end;
  46326. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  46327. begin
  46328. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46329. end;
  46330. procedure TPORTC_CNCONC.setON; inline;
  46331. begin
  46332. pTDefRegMap(@Self)^.&set := $00008000;
  46333. end;
  46334. procedure TPORTC_CNCONC.clearON; inline;
  46335. begin
  46336. pTDefRegMap(@Self)^.clr := $00008000;
  46337. end;
  46338. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  46339. begin
  46340. if thebits = 0 then
  46341. pTDefRegMap(@Self)^.clr := $00008000
  46342. else
  46343. pTDefRegMap(@Self)^.&set := $00008000;
  46344. end;
  46345. function TPORTC_CNCONC.getON : TBits_1; inline;
  46346. begin
  46347. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46348. end;
  46349. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  46350. begin
  46351. pTDefRegMap(@Self)^.val := thebits;
  46352. end;
  46353. function TPORTC_CNCONC.getw : TBits_32; inline;
  46354. begin
  46355. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46356. end;
  46357. procedure TPORTC_CNENC.setCNIEC1; inline;
  46358. begin
  46359. pTDefRegMap(@Self)^.&set := $00000002;
  46360. end;
  46361. procedure TPORTC_CNENC.clearCNIEC1; inline;
  46362. begin
  46363. pTDefRegMap(@Self)^.clr := $00000002;
  46364. end;
  46365. procedure TPORTC_CNENC.setCNIEC1(thebits : TBits_1); inline;
  46366. begin
  46367. if thebits = 0 then
  46368. pTDefRegMap(@Self)^.clr := $00000002
  46369. else
  46370. pTDefRegMap(@Self)^.&set := $00000002;
  46371. end;
  46372. function TPORTC_CNENC.getCNIEC1 : TBits_1; inline;
  46373. begin
  46374. getCNIEC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46375. end;
  46376. procedure TPORTC_CNENC.setCNIEC2; inline;
  46377. begin
  46378. pTDefRegMap(@Self)^.&set := $00000004;
  46379. end;
  46380. procedure TPORTC_CNENC.clearCNIEC2; inline;
  46381. begin
  46382. pTDefRegMap(@Self)^.clr := $00000004;
  46383. end;
  46384. procedure TPORTC_CNENC.setCNIEC2(thebits : TBits_1); inline;
  46385. begin
  46386. if thebits = 0 then
  46387. pTDefRegMap(@Self)^.clr := $00000004
  46388. else
  46389. pTDefRegMap(@Self)^.&set := $00000004;
  46390. end;
  46391. function TPORTC_CNENC.getCNIEC2 : TBits_1; inline;
  46392. begin
  46393. getCNIEC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46394. end;
  46395. procedure TPORTC_CNENC.setCNIEC3; inline;
  46396. begin
  46397. pTDefRegMap(@Self)^.&set := $00000008;
  46398. end;
  46399. procedure TPORTC_CNENC.clearCNIEC3; inline;
  46400. begin
  46401. pTDefRegMap(@Self)^.clr := $00000008;
  46402. end;
  46403. procedure TPORTC_CNENC.setCNIEC3(thebits : TBits_1); inline;
  46404. begin
  46405. if thebits = 0 then
  46406. pTDefRegMap(@Self)^.clr := $00000008
  46407. else
  46408. pTDefRegMap(@Self)^.&set := $00000008;
  46409. end;
  46410. function TPORTC_CNENC.getCNIEC3 : TBits_1; inline;
  46411. begin
  46412. getCNIEC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46413. end;
  46414. procedure TPORTC_CNENC.setCNIEC4; inline;
  46415. begin
  46416. pTDefRegMap(@Self)^.&set := $00000010;
  46417. end;
  46418. procedure TPORTC_CNENC.clearCNIEC4; inline;
  46419. begin
  46420. pTDefRegMap(@Self)^.clr := $00000010;
  46421. end;
  46422. procedure TPORTC_CNENC.setCNIEC4(thebits : TBits_1); inline;
  46423. begin
  46424. if thebits = 0 then
  46425. pTDefRegMap(@Self)^.clr := $00000010
  46426. else
  46427. pTDefRegMap(@Self)^.&set := $00000010;
  46428. end;
  46429. function TPORTC_CNENC.getCNIEC4 : TBits_1; inline;
  46430. begin
  46431. getCNIEC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46432. end;
  46433. procedure TPORTC_CNENC.setCNIEC12; inline;
  46434. begin
  46435. pTDefRegMap(@Self)^.&set := $00001000;
  46436. end;
  46437. procedure TPORTC_CNENC.clearCNIEC12; inline;
  46438. begin
  46439. pTDefRegMap(@Self)^.clr := $00001000;
  46440. end;
  46441. procedure TPORTC_CNENC.setCNIEC12(thebits : TBits_1); inline;
  46442. begin
  46443. if thebits = 0 then
  46444. pTDefRegMap(@Self)^.clr := $00001000
  46445. else
  46446. pTDefRegMap(@Self)^.&set := $00001000;
  46447. end;
  46448. function TPORTC_CNENC.getCNIEC12 : TBits_1; inline;
  46449. begin
  46450. getCNIEC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46451. end;
  46452. procedure TPORTC_CNENC.setCNIEC13; inline;
  46453. begin
  46454. pTDefRegMap(@Self)^.&set := $00002000;
  46455. end;
  46456. procedure TPORTC_CNENC.clearCNIEC13; inline;
  46457. begin
  46458. pTDefRegMap(@Self)^.clr := $00002000;
  46459. end;
  46460. procedure TPORTC_CNENC.setCNIEC13(thebits : TBits_1); inline;
  46461. begin
  46462. if thebits = 0 then
  46463. pTDefRegMap(@Self)^.clr := $00002000
  46464. else
  46465. pTDefRegMap(@Self)^.&set := $00002000;
  46466. end;
  46467. function TPORTC_CNENC.getCNIEC13 : TBits_1; inline;
  46468. begin
  46469. getCNIEC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46470. end;
  46471. procedure TPORTC_CNENC.setCNIEC14; inline;
  46472. begin
  46473. pTDefRegMap(@Self)^.&set := $00004000;
  46474. end;
  46475. procedure TPORTC_CNENC.clearCNIEC14; inline;
  46476. begin
  46477. pTDefRegMap(@Self)^.clr := $00004000;
  46478. end;
  46479. procedure TPORTC_CNENC.setCNIEC14(thebits : TBits_1); inline;
  46480. begin
  46481. if thebits = 0 then
  46482. pTDefRegMap(@Self)^.clr := $00004000
  46483. else
  46484. pTDefRegMap(@Self)^.&set := $00004000;
  46485. end;
  46486. function TPORTC_CNENC.getCNIEC14 : TBits_1; inline;
  46487. begin
  46488. getCNIEC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46489. end;
  46490. procedure TPORTC_CNENC.setCNIEC15; inline;
  46491. begin
  46492. pTDefRegMap(@Self)^.&set := $00008000;
  46493. end;
  46494. procedure TPORTC_CNENC.clearCNIEC15; inline;
  46495. begin
  46496. pTDefRegMap(@Self)^.clr := $00008000;
  46497. end;
  46498. procedure TPORTC_CNENC.setCNIEC15(thebits : TBits_1); inline;
  46499. begin
  46500. if thebits = 0 then
  46501. pTDefRegMap(@Self)^.clr := $00008000
  46502. else
  46503. pTDefRegMap(@Self)^.&set := $00008000;
  46504. end;
  46505. function TPORTC_CNENC.getCNIEC15 : TBits_1; inline;
  46506. begin
  46507. getCNIEC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46508. end;
  46509. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  46510. begin
  46511. pTDefRegMap(@Self)^.val := thebits;
  46512. end;
  46513. function TPORTC_CNENC.getw : TBits_32; inline;
  46514. begin
  46515. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46516. end;
  46517. procedure TPORTC_CNSTATC.setCNSTATC1; inline;
  46518. begin
  46519. pTDefRegMap(@Self)^.&set := $00000002;
  46520. end;
  46521. procedure TPORTC_CNSTATC.clearCNSTATC1; inline;
  46522. begin
  46523. pTDefRegMap(@Self)^.clr := $00000002;
  46524. end;
  46525. procedure TPORTC_CNSTATC.setCNSTATC1(thebits : TBits_1); inline;
  46526. begin
  46527. if thebits = 0 then
  46528. pTDefRegMap(@Self)^.clr := $00000002
  46529. else
  46530. pTDefRegMap(@Self)^.&set := $00000002;
  46531. end;
  46532. function TPORTC_CNSTATC.getCNSTATC1 : TBits_1; inline;
  46533. begin
  46534. getCNSTATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46535. end;
  46536. procedure TPORTC_CNSTATC.setCNSTATC2; inline;
  46537. begin
  46538. pTDefRegMap(@Self)^.&set := $00000004;
  46539. end;
  46540. procedure TPORTC_CNSTATC.clearCNSTATC2; inline;
  46541. begin
  46542. pTDefRegMap(@Self)^.clr := $00000004;
  46543. end;
  46544. procedure TPORTC_CNSTATC.setCNSTATC2(thebits : TBits_1); inline;
  46545. begin
  46546. if thebits = 0 then
  46547. pTDefRegMap(@Self)^.clr := $00000004
  46548. else
  46549. pTDefRegMap(@Self)^.&set := $00000004;
  46550. end;
  46551. function TPORTC_CNSTATC.getCNSTATC2 : TBits_1; inline;
  46552. begin
  46553. getCNSTATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46554. end;
  46555. procedure TPORTC_CNSTATC.setCNSTATC3; inline;
  46556. begin
  46557. pTDefRegMap(@Self)^.&set := $00000008;
  46558. end;
  46559. procedure TPORTC_CNSTATC.clearCNSTATC3; inline;
  46560. begin
  46561. pTDefRegMap(@Self)^.clr := $00000008;
  46562. end;
  46563. procedure TPORTC_CNSTATC.setCNSTATC3(thebits : TBits_1); inline;
  46564. begin
  46565. if thebits = 0 then
  46566. pTDefRegMap(@Self)^.clr := $00000008
  46567. else
  46568. pTDefRegMap(@Self)^.&set := $00000008;
  46569. end;
  46570. function TPORTC_CNSTATC.getCNSTATC3 : TBits_1; inline;
  46571. begin
  46572. getCNSTATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46573. end;
  46574. procedure TPORTC_CNSTATC.setCNSTATC4; inline;
  46575. begin
  46576. pTDefRegMap(@Self)^.&set := $00000010;
  46577. end;
  46578. procedure TPORTC_CNSTATC.clearCNSTATC4; inline;
  46579. begin
  46580. pTDefRegMap(@Self)^.clr := $00000010;
  46581. end;
  46582. procedure TPORTC_CNSTATC.setCNSTATC4(thebits : TBits_1); inline;
  46583. begin
  46584. if thebits = 0 then
  46585. pTDefRegMap(@Self)^.clr := $00000010
  46586. else
  46587. pTDefRegMap(@Self)^.&set := $00000010;
  46588. end;
  46589. function TPORTC_CNSTATC.getCNSTATC4 : TBits_1; inline;
  46590. begin
  46591. getCNSTATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46592. end;
  46593. procedure TPORTC_CNSTATC.setCNSTATC12; inline;
  46594. begin
  46595. pTDefRegMap(@Self)^.&set := $00001000;
  46596. end;
  46597. procedure TPORTC_CNSTATC.clearCNSTATC12; inline;
  46598. begin
  46599. pTDefRegMap(@Self)^.clr := $00001000;
  46600. end;
  46601. procedure TPORTC_CNSTATC.setCNSTATC12(thebits : TBits_1); inline;
  46602. begin
  46603. if thebits = 0 then
  46604. pTDefRegMap(@Self)^.clr := $00001000
  46605. else
  46606. pTDefRegMap(@Self)^.&set := $00001000;
  46607. end;
  46608. function TPORTC_CNSTATC.getCNSTATC12 : TBits_1; inline;
  46609. begin
  46610. getCNSTATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46611. end;
  46612. procedure TPORTC_CNSTATC.setCNSTATC13; inline;
  46613. begin
  46614. pTDefRegMap(@Self)^.&set := $00002000;
  46615. end;
  46616. procedure TPORTC_CNSTATC.clearCNSTATC13; inline;
  46617. begin
  46618. pTDefRegMap(@Self)^.clr := $00002000;
  46619. end;
  46620. procedure TPORTC_CNSTATC.setCNSTATC13(thebits : TBits_1); inline;
  46621. begin
  46622. if thebits = 0 then
  46623. pTDefRegMap(@Self)^.clr := $00002000
  46624. else
  46625. pTDefRegMap(@Self)^.&set := $00002000;
  46626. end;
  46627. function TPORTC_CNSTATC.getCNSTATC13 : TBits_1; inline;
  46628. begin
  46629. getCNSTATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  46630. end;
  46631. procedure TPORTC_CNSTATC.setCNSTATC14; inline;
  46632. begin
  46633. pTDefRegMap(@Self)^.&set := $00004000;
  46634. end;
  46635. procedure TPORTC_CNSTATC.clearCNSTATC14; inline;
  46636. begin
  46637. pTDefRegMap(@Self)^.clr := $00004000;
  46638. end;
  46639. procedure TPORTC_CNSTATC.setCNSTATC14(thebits : TBits_1); inline;
  46640. begin
  46641. if thebits = 0 then
  46642. pTDefRegMap(@Self)^.clr := $00004000
  46643. else
  46644. pTDefRegMap(@Self)^.&set := $00004000;
  46645. end;
  46646. function TPORTC_CNSTATC.getCNSTATC14 : TBits_1; inline;
  46647. begin
  46648. getCNSTATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  46649. end;
  46650. procedure TPORTC_CNSTATC.setCNSTATC15; inline;
  46651. begin
  46652. pTDefRegMap(@Self)^.&set := $00008000;
  46653. end;
  46654. procedure TPORTC_CNSTATC.clearCNSTATC15; inline;
  46655. begin
  46656. pTDefRegMap(@Self)^.clr := $00008000;
  46657. end;
  46658. procedure TPORTC_CNSTATC.setCNSTATC15(thebits : TBits_1); inline;
  46659. begin
  46660. if thebits = 0 then
  46661. pTDefRegMap(@Self)^.clr := $00008000
  46662. else
  46663. pTDefRegMap(@Self)^.&set := $00008000;
  46664. end;
  46665. function TPORTC_CNSTATC.getCNSTATC15 : TBits_1; inline;
  46666. begin
  46667. getCNSTATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46668. end;
  46669. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  46670. begin
  46671. pTDefRegMap(@Self)^.val := thebits;
  46672. end;
  46673. function TPORTC_CNSTATC.getw : TBits_32; inline;
  46674. begin
  46675. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46676. end;
  46677. procedure TPORTC_ANSELD.setANSD1; inline;
  46678. begin
  46679. pTDefRegMap(@Self)^.&set := $00000002;
  46680. end;
  46681. procedure TPORTC_ANSELD.clearANSD1; inline;
  46682. begin
  46683. pTDefRegMap(@Self)^.clr := $00000002;
  46684. end;
  46685. procedure TPORTC_ANSELD.setANSD1(thebits : TBits_1); inline;
  46686. begin
  46687. if thebits = 0 then
  46688. pTDefRegMap(@Self)^.clr := $00000002
  46689. else
  46690. pTDefRegMap(@Self)^.&set := $00000002;
  46691. end;
  46692. function TPORTC_ANSELD.getANSD1 : TBits_1; inline;
  46693. begin
  46694. getANSD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46695. end;
  46696. procedure TPORTC_ANSELD.setANSD2; inline;
  46697. begin
  46698. pTDefRegMap(@Self)^.&set := $00000004;
  46699. end;
  46700. procedure TPORTC_ANSELD.clearANSD2; inline;
  46701. begin
  46702. pTDefRegMap(@Self)^.clr := $00000004;
  46703. end;
  46704. procedure TPORTC_ANSELD.setANSD2(thebits : TBits_1); inline;
  46705. begin
  46706. if thebits = 0 then
  46707. pTDefRegMap(@Self)^.clr := $00000004
  46708. else
  46709. pTDefRegMap(@Self)^.&set := $00000004;
  46710. end;
  46711. function TPORTC_ANSELD.getANSD2 : TBits_1; inline;
  46712. begin
  46713. getANSD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46714. end;
  46715. procedure TPORTC_ANSELD.setANSD3; inline;
  46716. begin
  46717. pTDefRegMap(@Self)^.&set := $00000008;
  46718. end;
  46719. procedure TPORTC_ANSELD.clearANSD3; inline;
  46720. begin
  46721. pTDefRegMap(@Self)^.clr := $00000008;
  46722. end;
  46723. procedure TPORTC_ANSELD.setANSD3(thebits : TBits_1); inline;
  46724. begin
  46725. if thebits = 0 then
  46726. pTDefRegMap(@Self)^.clr := $00000008
  46727. else
  46728. pTDefRegMap(@Self)^.&set := $00000008;
  46729. end;
  46730. function TPORTC_ANSELD.getANSD3 : TBits_1; inline;
  46731. begin
  46732. getANSD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46733. end;
  46734. procedure TPORTC_ANSELD.setw(thebits : TBits_32); inline;
  46735. begin
  46736. pTDefRegMap(@Self)^.val := thebits;
  46737. end;
  46738. function TPORTC_ANSELD.getw : TBits_32; inline;
  46739. begin
  46740. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46741. end;
  46742. procedure TPORTC_TRISD.setTRISD0; inline;
  46743. begin
  46744. pTDefRegMap(@Self)^.&set := $00000001;
  46745. end;
  46746. procedure TPORTC_TRISD.clearTRISD0; inline;
  46747. begin
  46748. pTDefRegMap(@Self)^.clr := $00000001;
  46749. end;
  46750. procedure TPORTC_TRISD.setTRISD0(thebits : TBits_1); inline;
  46751. begin
  46752. if thebits = 0 then
  46753. pTDefRegMap(@Self)^.clr := $00000001
  46754. else
  46755. pTDefRegMap(@Self)^.&set := $00000001;
  46756. end;
  46757. function TPORTC_TRISD.getTRISD0 : TBits_1; inline;
  46758. begin
  46759. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46760. end;
  46761. procedure TPORTC_TRISD.setTRISD1; inline;
  46762. begin
  46763. pTDefRegMap(@Self)^.&set := $00000002;
  46764. end;
  46765. procedure TPORTC_TRISD.clearTRISD1; inline;
  46766. begin
  46767. pTDefRegMap(@Self)^.clr := $00000002;
  46768. end;
  46769. procedure TPORTC_TRISD.setTRISD1(thebits : TBits_1); inline;
  46770. begin
  46771. if thebits = 0 then
  46772. pTDefRegMap(@Self)^.clr := $00000002
  46773. else
  46774. pTDefRegMap(@Self)^.&set := $00000002;
  46775. end;
  46776. function TPORTC_TRISD.getTRISD1 : TBits_1; inline;
  46777. begin
  46778. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46779. end;
  46780. procedure TPORTC_TRISD.setTRISD2; inline;
  46781. begin
  46782. pTDefRegMap(@Self)^.&set := $00000004;
  46783. end;
  46784. procedure TPORTC_TRISD.clearTRISD2; inline;
  46785. begin
  46786. pTDefRegMap(@Self)^.clr := $00000004;
  46787. end;
  46788. procedure TPORTC_TRISD.setTRISD2(thebits : TBits_1); inline;
  46789. begin
  46790. if thebits = 0 then
  46791. pTDefRegMap(@Self)^.clr := $00000004
  46792. else
  46793. pTDefRegMap(@Self)^.&set := $00000004;
  46794. end;
  46795. function TPORTC_TRISD.getTRISD2 : TBits_1; inline;
  46796. begin
  46797. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46798. end;
  46799. procedure TPORTC_TRISD.setTRISD3; inline;
  46800. begin
  46801. pTDefRegMap(@Self)^.&set := $00000008;
  46802. end;
  46803. procedure TPORTC_TRISD.clearTRISD3; inline;
  46804. begin
  46805. pTDefRegMap(@Self)^.clr := $00000008;
  46806. end;
  46807. procedure TPORTC_TRISD.setTRISD3(thebits : TBits_1); inline;
  46808. begin
  46809. if thebits = 0 then
  46810. pTDefRegMap(@Self)^.clr := $00000008
  46811. else
  46812. pTDefRegMap(@Self)^.&set := $00000008;
  46813. end;
  46814. function TPORTC_TRISD.getTRISD3 : TBits_1; inline;
  46815. begin
  46816. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46817. end;
  46818. procedure TPORTC_TRISD.setTRISD4; inline;
  46819. begin
  46820. pTDefRegMap(@Self)^.&set := $00000010;
  46821. end;
  46822. procedure TPORTC_TRISD.clearTRISD4; inline;
  46823. begin
  46824. pTDefRegMap(@Self)^.clr := $00000010;
  46825. end;
  46826. procedure TPORTC_TRISD.setTRISD4(thebits : TBits_1); inline;
  46827. begin
  46828. if thebits = 0 then
  46829. pTDefRegMap(@Self)^.clr := $00000010
  46830. else
  46831. pTDefRegMap(@Self)^.&set := $00000010;
  46832. end;
  46833. function TPORTC_TRISD.getTRISD4 : TBits_1; inline;
  46834. begin
  46835. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46836. end;
  46837. procedure TPORTC_TRISD.setTRISD5; inline;
  46838. begin
  46839. pTDefRegMap(@Self)^.&set := $00000020;
  46840. end;
  46841. procedure TPORTC_TRISD.clearTRISD5; inline;
  46842. begin
  46843. pTDefRegMap(@Self)^.clr := $00000020;
  46844. end;
  46845. procedure TPORTC_TRISD.setTRISD5(thebits : TBits_1); inline;
  46846. begin
  46847. if thebits = 0 then
  46848. pTDefRegMap(@Self)^.clr := $00000020
  46849. else
  46850. pTDefRegMap(@Self)^.&set := $00000020;
  46851. end;
  46852. function TPORTC_TRISD.getTRISD5 : TBits_1; inline;
  46853. begin
  46854. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46855. end;
  46856. procedure TPORTC_TRISD.setTRISD6; inline;
  46857. begin
  46858. pTDefRegMap(@Self)^.&set := $00000040;
  46859. end;
  46860. procedure TPORTC_TRISD.clearTRISD6; inline;
  46861. begin
  46862. pTDefRegMap(@Self)^.clr := $00000040;
  46863. end;
  46864. procedure TPORTC_TRISD.setTRISD6(thebits : TBits_1); inline;
  46865. begin
  46866. if thebits = 0 then
  46867. pTDefRegMap(@Self)^.clr := $00000040
  46868. else
  46869. pTDefRegMap(@Self)^.&set := $00000040;
  46870. end;
  46871. function TPORTC_TRISD.getTRISD6 : TBits_1; inline;
  46872. begin
  46873. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46874. end;
  46875. procedure TPORTC_TRISD.setTRISD7; inline;
  46876. begin
  46877. pTDefRegMap(@Self)^.&set := $00000080;
  46878. end;
  46879. procedure TPORTC_TRISD.clearTRISD7; inline;
  46880. begin
  46881. pTDefRegMap(@Self)^.clr := $00000080;
  46882. end;
  46883. procedure TPORTC_TRISD.setTRISD7(thebits : TBits_1); inline;
  46884. begin
  46885. if thebits = 0 then
  46886. pTDefRegMap(@Self)^.clr := $00000080
  46887. else
  46888. pTDefRegMap(@Self)^.&set := $00000080;
  46889. end;
  46890. function TPORTC_TRISD.getTRISD7 : TBits_1; inline;
  46891. begin
  46892. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46893. end;
  46894. procedure TPORTC_TRISD.setTRISD8; inline;
  46895. begin
  46896. pTDefRegMap(@Self)^.&set := $00000100;
  46897. end;
  46898. procedure TPORTC_TRISD.clearTRISD8; inline;
  46899. begin
  46900. pTDefRegMap(@Self)^.clr := $00000100;
  46901. end;
  46902. procedure TPORTC_TRISD.setTRISD8(thebits : TBits_1); inline;
  46903. begin
  46904. if thebits = 0 then
  46905. pTDefRegMap(@Self)^.clr := $00000100
  46906. else
  46907. pTDefRegMap(@Self)^.&set := $00000100;
  46908. end;
  46909. function TPORTC_TRISD.getTRISD8 : TBits_1; inline;
  46910. begin
  46911. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46912. end;
  46913. procedure TPORTC_TRISD.setTRISD9; inline;
  46914. begin
  46915. pTDefRegMap(@Self)^.&set := $00000200;
  46916. end;
  46917. procedure TPORTC_TRISD.clearTRISD9; inline;
  46918. begin
  46919. pTDefRegMap(@Self)^.clr := $00000200;
  46920. end;
  46921. procedure TPORTC_TRISD.setTRISD9(thebits : TBits_1); inline;
  46922. begin
  46923. if thebits = 0 then
  46924. pTDefRegMap(@Self)^.clr := $00000200
  46925. else
  46926. pTDefRegMap(@Self)^.&set := $00000200;
  46927. end;
  46928. function TPORTC_TRISD.getTRISD9 : TBits_1; inline;
  46929. begin
  46930. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46931. end;
  46932. procedure TPORTC_TRISD.setTRISD10; inline;
  46933. begin
  46934. pTDefRegMap(@Self)^.&set := $00000400;
  46935. end;
  46936. procedure TPORTC_TRISD.clearTRISD10; inline;
  46937. begin
  46938. pTDefRegMap(@Self)^.clr := $00000400;
  46939. end;
  46940. procedure TPORTC_TRISD.setTRISD10(thebits : TBits_1); inline;
  46941. begin
  46942. if thebits = 0 then
  46943. pTDefRegMap(@Self)^.clr := $00000400
  46944. else
  46945. pTDefRegMap(@Self)^.&set := $00000400;
  46946. end;
  46947. function TPORTC_TRISD.getTRISD10 : TBits_1; inline;
  46948. begin
  46949. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46950. end;
  46951. procedure TPORTC_TRISD.setTRISD11; inline;
  46952. begin
  46953. pTDefRegMap(@Self)^.&set := $00000800;
  46954. end;
  46955. procedure TPORTC_TRISD.clearTRISD11; inline;
  46956. begin
  46957. pTDefRegMap(@Self)^.clr := $00000800;
  46958. end;
  46959. procedure TPORTC_TRISD.setTRISD11(thebits : TBits_1); inline;
  46960. begin
  46961. if thebits = 0 then
  46962. pTDefRegMap(@Self)^.clr := $00000800
  46963. else
  46964. pTDefRegMap(@Self)^.&set := $00000800;
  46965. end;
  46966. function TPORTC_TRISD.getTRISD11 : TBits_1; inline;
  46967. begin
  46968. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46969. end;
  46970. procedure TPORTC_TRISD.setTRISD12; inline;
  46971. begin
  46972. pTDefRegMap(@Self)^.&set := $00001000;
  46973. end;
  46974. procedure TPORTC_TRISD.clearTRISD12; inline;
  46975. begin
  46976. pTDefRegMap(@Self)^.clr := $00001000;
  46977. end;
  46978. procedure TPORTC_TRISD.setTRISD12(thebits : TBits_1); inline;
  46979. begin
  46980. if thebits = 0 then
  46981. pTDefRegMap(@Self)^.clr := $00001000
  46982. else
  46983. pTDefRegMap(@Self)^.&set := $00001000;
  46984. end;
  46985. function TPORTC_TRISD.getTRISD12 : TBits_1; inline;
  46986. begin
  46987. getTRISD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  46988. end;
  46989. procedure TPORTC_TRISD.setTRISD13; inline;
  46990. begin
  46991. pTDefRegMap(@Self)^.&set := $00002000;
  46992. end;
  46993. procedure TPORTC_TRISD.clearTRISD13; inline;
  46994. begin
  46995. pTDefRegMap(@Self)^.clr := $00002000;
  46996. end;
  46997. procedure TPORTC_TRISD.setTRISD13(thebits : TBits_1); inline;
  46998. begin
  46999. if thebits = 0 then
  47000. pTDefRegMap(@Self)^.clr := $00002000
  47001. else
  47002. pTDefRegMap(@Self)^.&set := $00002000;
  47003. end;
  47004. function TPORTC_TRISD.getTRISD13 : TBits_1; inline;
  47005. begin
  47006. getTRISD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47007. end;
  47008. procedure TPORTC_TRISD.setTRISD14; inline;
  47009. begin
  47010. pTDefRegMap(@Self)^.&set := $00004000;
  47011. end;
  47012. procedure TPORTC_TRISD.clearTRISD14; inline;
  47013. begin
  47014. pTDefRegMap(@Self)^.clr := $00004000;
  47015. end;
  47016. procedure TPORTC_TRISD.setTRISD14(thebits : TBits_1); inline;
  47017. begin
  47018. if thebits = 0 then
  47019. pTDefRegMap(@Self)^.clr := $00004000
  47020. else
  47021. pTDefRegMap(@Self)^.&set := $00004000;
  47022. end;
  47023. function TPORTC_TRISD.getTRISD14 : TBits_1; inline;
  47024. begin
  47025. getTRISD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  47026. end;
  47027. procedure TPORTC_TRISD.setTRISD15; inline;
  47028. begin
  47029. pTDefRegMap(@Self)^.&set := $00008000;
  47030. end;
  47031. procedure TPORTC_TRISD.clearTRISD15; inline;
  47032. begin
  47033. pTDefRegMap(@Self)^.clr := $00008000;
  47034. end;
  47035. procedure TPORTC_TRISD.setTRISD15(thebits : TBits_1); inline;
  47036. begin
  47037. if thebits = 0 then
  47038. pTDefRegMap(@Self)^.clr := $00008000
  47039. else
  47040. pTDefRegMap(@Self)^.&set := $00008000;
  47041. end;
  47042. function TPORTC_TRISD.getTRISD15 : TBits_1; inline;
  47043. begin
  47044. getTRISD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47045. end;
  47046. procedure TPORTC_TRISD.setw(thebits : TBits_32); inline;
  47047. begin
  47048. pTDefRegMap(@Self)^.val := thebits;
  47049. end;
  47050. function TPORTC_TRISD.getw : TBits_32; inline;
  47051. begin
  47052. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47053. end;
  47054. procedure TPORTD_PORTD.setRD0; inline;
  47055. begin
  47056. pTDefRegMap(@Self)^.&set := $00000001;
  47057. end;
  47058. procedure TPORTD_PORTD.clearRD0; inline;
  47059. begin
  47060. pTDefRegMap(@Self)^.clr := $00000001;
  47061. end;
  47062. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  47063. begin
  47064. if thebits = 0 then
  47065. pTDefRegMap(@Self)^.clr := $00000001
  47066. else
  47067. pTDefRegMap(@Self)^.&set := $00000001;
  47068. end;
  47069. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  47070. begin
  47071. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47072. end;
  47073. procedure TPORTD_PORTD.setRD1; inline;
  47074. begin
  47075. pTDefRegMap(@Self)^.&set := $00000002;
  47076. end;
  47077. procedure TPORTD_PORTD.clearRD1; inline;
  47078. begin
  47079. pTDefRegMap(@Self)^.clr := $00000002;
  47080. end;
  47081. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  47082. begin
  47083. if thebits = 0 then
  47084. pTDefRegMap(@Self)^.clr := $00000002
  47085. else
  47086. pTDefRegMap(@Self)^.&set := $00000002;
  47087. end;
  47088. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  47089. begin
  47090. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47091. end;
  47092. procedure TPORTD_PORTD.setRD2; inline;
  47093. begin
  47094. pTDefRegMap(@Self)^.&set := $00000004;
  47095. end;
  47096. procedure TPORTD_PORTD.clearRD2; inline;
  47097. begin
  47098. pTDefRegMap(@Self)^.clr := $00000004;
  47099. end;
  47100. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  47101. begin
  47102. if thebits = 0 then
  47103. pTDefRegMap(@Self)^.clr := $00000004
  47104. else
  47105. pTDefRegMap(@Self)^.&set := $00000004;
  47106. end;
  47107. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  47108. begin
  47109. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47110. end;
  47111. procedure TPORTD_PORTD.setRD3; inline;
  47112. begin
  47113. pTDefRegMap(@Self)^.&set := $00000008;
  47114. end;
  47115. procedure TPORTD_PORTD.clearRD3; inline;
  47116. begin
  47117. pTDefRegMap(@Self)^.clr := $00000008;
  47118. end;
  47119. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  47120. begin
  47121. if thebits = 0 then
  47122. pTDefRegMap(@Self)^.clr := $00000008
  47123. else
  47124. pTDefRegMap(@Self)^.&set := $00000008;
  47125. end;
  47126. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  47127. begin
  47128. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47129. end;
  47130. procedure TPORTD_PORTD.setRD4; inline;
  47131. begin
  47132. pTDefRegMap(@Self)^.&set := $00000010;
  47133. end;
  47134. procedure TPORTD_PORTD.clearRD4; inline;
  47135. begin
  47136. pTDefRegMap(@Self)^.clr := $00000010;
  47137. end;
  47138. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  47139. begin
  47140. if thebits = 0 then
  47141. pTDefRegMap(@Self)^.clr := $00000010
  47142. else
  47143. pTDefRegMap(@Self)^.&set := $00000010;
  47144. end;
  47145. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  47146. begin
  47147. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47148. end;
  47149. procedure TPORTD_PORTD.setRD5; inline;
  47150. begin
  47151. pTDefRegMap(@Self)^.&set := $00000020;
  47152. end;
  47153. procedure TPORTD_PORTD.clearRD5; inline;
  47154. begin
  47155. pTDefRegMap(@Self)^.clr := $00000020;
  47156. end;
  47157. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  47158. begin
  47159. if thebits = 0 then
  47160. pTDefRegMap(@Self)^.clr := $00000020
  47161. else
  47162. pTDefRegMap(@Self)^.&set := $00000020;
  47163. end;
  47164. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  47165. begin
  47166. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47167. end;
  47168. procedure TPORTD_PORTD.setRD6; inline;
  47169. begin
  47170. pTDefRegMap(@Self)^.&set := $00000040;
  47171. end;
  47172. procedure TPORTD_PORTD.clearRD6; inline;
  47173. begin
  47174. pTDefRegMap(@Self)^.clr := $00000040;
  47175. end;
  47176. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  47177. begin
  47178. if thebits = 0 then
  47179. pTDefRegMap(@Self)^.clr := $00000040
  47180. else
  47181. pTDefRegMap(@Self)^.&set := $00000040;
  47182. end;
  47183. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  47184. begin
  47185. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47186. end;
  47187. procedure TPORTD_PORTD.setRD7; inline;
  47188. begin
  47189. pTDefRegMap(@Self)^.&set := $00000080;
  47190. end;
  47191. procedure TPORTD_PORTD.clearRD7; inline;
  47192. begin
  47193. pTDefRegMap(@Self)^.clr := $00000080;
  47194. end;
  47195. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  47196. begin
  47197. if thebits = 0 then
  47198. pTDefRegMap(@Self)^.clr := $00000080
  47199. else
  47200. pTDefRegMap(@Self)^.&set := $00000080;
  47201. end;
  47202. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  47203. begin
  47204. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47205. end;
  47206. procedure TPORTD_PORTD.setRD8; inline;
  47207. begin
  47208. pTDefRegMap(@Self)^.&set := $00000100;
  47209. end;
  47210. procedure TPORTD_PORTD.clearRD8; inline;
  47211. begin
  47212. pTDefRegMap(@Self)^.clr := $00000100;
  47213. end;
  47214. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  47215. begin
  47216. if thebits = 0 then
  47217. pTDefRegMap(@Self)^.clr := $00000100
  47218. else
  47219. pTDefRegMap(@Self)^.&set := $00000100;
  47220. end;
  47221. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  47222. begin
  47223. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47224. end;
  47225. procedure TPORTD_PORTD.setRD9; inline;
  47226. begin
  47227. pTDefRegMap(@Self)^.&set := $00000200;
  47228. end;
  47229. procedure TPORTD_PORTD.clearRD9; inline;
  47230. begin
  47231. pTDefRegMap(@Self)^.clr := $00000200;
  47232. end;
  47233. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  47234. begin
  47235. if thebits = 0 then
  47236. pTDefRegMap(@Self)^.clr := $00000200
  47237. else
  47238. pTDefRegMap(@Self)^.&set := $00000200;
  47239. end;
  47240. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  47241. begin
  47242. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47243. end;
  47244. procedure TPORTD_PORTD.setRD10; inline;
  47245. begin
  47246. pTDefRegMap(@Self)^.&set := $00000400;
  47247. end;
  47248. procedure TPORTD_PORTD.clearRD10; inline;
  47249. begin
  47250. pTDefRegMap(@Self)^.clr := $00000400;
  47251. end;
  47252. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  47253. begin
  47254. if thebits = 0 then
  47255. pTDefRegMap(@Self)^.clr := $00000400
  47256. else
  47257. pTDefRegMap(@Self)^.&set := $00000400;
  47258. end;
  47259. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  47260. begin
  47261. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47262. end;
  47263. procedure TPORTD_PORTD.setRD11; inline;
  47264. begin
  47265. pTDefRegMap(@Self)^.&set := $00000800;
  47266. end;
  47267. procedure TPORTD_PORTD.clearRD11; inline;
  47268. begin
  47269. pTDefRegMap(@Self)^.clr := $00000800;
  47270. end;
  47271. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  47272. begin
  47273. if thebits = 0 then
  47274. pTDefRegMap(@Self)^.clr := $00000800
  47275. else
  47276. pTDefRegMap(@Self)^.&set := $00000800;
  47277. end;
  47278. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  47279. begin
  47280. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47281. end;
  47282. procedure TPORTD_PORTD.setRD12; inline;
  47283. begin
  47284. pTDefRegMap(@Self)^.&set := $00001000;
  47285. end;
  47286. procedure TPORTD_PORTD.clearRD12; inline;
  47287. begin
  47288. pTDefRegMap(@Self)^.clr := $00001000;
  47289. end;
  47290. procedure TPORTD_PORTD.setRD12(thebits : TBits_1); inline;
  47291. begin
  47292. if thebits = 0 then
  47293. pTDefRegMap(@Self)^.clr := $00001000
  47294. else
  47295. pTDefRegMap(@Self)^.&set := $00001000;
  47296. end;
  47297. function TPORTD_PORTD.getRD12 : TBits_1; inline;
  47298. begin
  47299. getRD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47300. end;
  47301. procedure TPORTD_PORTD.setRD13; inline;
  47302. begin
  47303. pTDefRegMap(@Self)^.&set := $00002000;
  47304. end;
  47305. procedure TPORTD_PORTD.clearRD13; inline;
  47306. begin
  47307. pTDefRegMap(@Self)^.clr := $00002000;
  47308. end;
  47309. procedure TPORTD_PORTD.setRD13(thebits : TBits_1); inline;
  47310. begin
  47311. if thebits = 0 then
  47312. pTDefRegMap(@Self)^.clr := $00002000
  47313. else
  47314. pTDefRegMap(@Self)^.&set := $00002000;
  47315. end;
  47316. function TPORTD_PORTD.getRD13 : TBits_1; inline;
  47317. begin
  47318. getRD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47319. end;
  47320. procedure TPORTD_PORTD.setRD14; inline;
  47321. begin
  47322. pTDefRegMap(@Self)^.&set := $00004000;
  47323. end;
  47324. procedure TPORTD_PORTD.clearRD14; inline;
  47325. begin
  47326. pTDefRegMap(@Self)^.clr := $00004000;
  47327. end;
  47328. procedure TPORTD_PORTD.setRD14(thebits : TBits_1); inline;
  47329. begin
  47330. if thebits = 0 then
  47331. pTDefRegMap(@Self)^.clr := $00004000
  47332. else
  47333. pTDefRegMap(@Self)^.&set := $00004000;
  47334. end;
  47335. function TPORTD_PORTD.getRD14 : TBits_1; inline;
  47336. begin
  47337. getRD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  47338. end;
  47339. procedure TPORTD_PORTD.setRD15; inline;
  47340. begin
  47341. pTDefRegMap(@Self)^.&set := $00008000;
  47342. end;
  47343. procedure TPORTD_PORTD.clearRD15; inline;
  47344. begin
  47345. pTDefRegMap(@Self)^.clr := $00008000;
  47346. end;
  47347. procedure TPORTD_PORTD.setRD15(thebits : TBits_1); inline;
  47348. begin
  47349. if thebits = 0 then
  47350. pTDefRegMap(@Self)^.clr := $00008000
  47351. else
  47352. pTDefRegMap(@Self)^.&set := $00008000;
  47353. end;
  47354. function TPORTD_PORTD.getRD15 : TBits_1; inline;
  47355. begin
  47356. getRD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47357. end;
  47358. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  47359. begin
  47360. pTDefRegMap(@Self)^.val := thebits;
  47361. end;
  47362. function TPORTD_PORTD.getw : TBits_32; inline;
  47363. begin
  47364. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47365. end;
  47366. procedure TPORTD_LATD.setLATD0; inline;
  47367. begin
  47368. pTDefRegMap(@Self)^.&set := $00000001;
  47369. end;
  47370. procedure TPORTD_LATD.clearLATD0; inline;
  47371. begin
  47372. pTDefRegMap(@Self)^.clr := $00000001;
  47373. end;
  47374. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  47375. begin
  47376. if thebits = 0 then
  47377. pTDefRegMap(@Self)^.clr := $00000001
  47378. else
  47379. pTDefRegMap(@Self)^.&set := $00000001;
  47380. end;
  47381. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  47382. begin
  47383. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47384. end;
  47385. procedure TPORTD_LATD.setLATD1; inline;
  47386. begin
  47387. pTDefRegMap(@Self)^.&set := $00000002;
  47388. end;
  47389. procedure TPORTD_LATD.clearLATD1; inline;
  47390. begin
  47391. pTDefRegMap(@Self)^.clr := $00000002;
  47392. end;
  47393. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  47394. begin
  47395. if thebits = 0 then
  47396. pTDefRegMap(@Self)^.clr := $00000002
  47397. else
  47398. pTDefRegMap(@Self)^.&set := $00000002;
  47399. end;
  47400. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  47401. begin
  47402. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47403. end;
  47404. procedure TPORTD_LATD.setLATD2; inline;
  47405. begin
  47406. pTDefRegMap(@Self)^.&set := $00000004;
  47407. end;
  47408. procedure TPORTD_LATD.clearLATD2; inline;
  47409. begin
  47410. pTDefRegMap(@Self)^.clr := $00000004;
  47411. end;
  47412. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  47413. begin
  47414. if thebits = 0 then
  47415. pTDefRegMap(@Self)^.clr := $00000004
  47416. else
  47417. pTDefRegMap(@Self)^.&set := $00000004;
  47418. end;
  47419. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  47420. begin
  47421. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47422. end;
  47423. procedure TPORTD_LATD.setLATD3; inline;
  47424. begin
  47425. pTDefRegMap(@Self)^.&set := $00000008;
  47426. end;
  47427. procedure TPORTD_LATD.clearLATD3; inline;
  47428. begin
  47429. pTDefRegMap(@Self)^.clr := $00000008;
  47430. end;
  47431. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  47432. begin
  47433. if thebits = 0 then
  47434. pTDefRegMap(@Self)^.clr := $00000008
  47435. else
  47436. pTDefRegMap(@Self)^.&set := $00000008;
  47437. end;
  47438. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  47439. begin
  47440. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47441. end;
  47442. procedure TPORTD_LATD.setLATD4; inline;
  47443. begin
  47444. pTDefRegMap(@Self)^.&set := $00000010;
  47445. end;
  47446. procedure TPORTD_LATD.clearLATD4; inline;
  47447. begin
  47448. pTDefRegMap(@Self)^.clr := $00000010;
  47449. end;
  47450. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  47451. begin
  47452. if thebits = 0 then
  47453. pTDefRegMap(@Self)^.clr := $00000010
  47454. else
  47455. pTDefRegMap(@Self)^.&set := $00000010;
  47456. end;
  47457. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  47458. begin
  47459. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47460. end;
  47461. procedure TPORTD_LATD.setLATD5; inline;
  47462. begin
  47463. pTDefRegMap(@Self)^.&set := $00000020;
  47464. end;
  47465. procedure TPORTD_LATD.clearLATD5; inline;
  47466. begin
  47467. pTDefRegMap(@Self)^.clr := $00000020;
  47468. end;
  47469. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  47470. begin
  47471. if thebits = 0 then
  47472. pTDefRegMap(@Self)^.clr := $00000020
  47473. else
  47474. pTDefRegMap(@Self)^.&set := $00000020;
  47475. end;
  47476. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  47477. begin
  47478. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47479. end;
  47480. procedure TPORTD_LATD.setLATD6; inline;
  47481. begin
  47482. pTDefRegMap(@Self)^.&set := $00000040;
  47483. end;
  47484. procedure TPORTD_LATD.clearLATD6; inline;
  47485. begin
  47486. pTDefRegMap(@Self)^.clr := $00000040;
  47487. end;
  47488. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  47489. begin
  47490. if thebits = 0 then
  47491. pTDefRegMap(@Self)^.clr := $00000040
  47492. else
  47493. pTDefRegMap(@Self)^.&set := $00000040;
  47494. end;
  47495. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  47496. begin
  47497. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47498. end;
  47499. procedure TPORTD_LATD.setLATD7; inline;
  47500. begin
  47501. pTDefRegMap(@Self)^.&set := $00000080;
  47502. end;
  47503. procedure TPORTD_LATD.clearLATD7; inline;
  47504. begin
  47505. pTDefRegMap(@Self)^.clr := $00000080;
  47506. end;
  47507. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  47508. begin
  47509. if thebits = 0 then
  47510. pTDefRegMap(@Self)^.clr := $00000080
  47511. else
  47512. pTDefRegMap(@Self)^.&set := $00000080;
  47513. end;
  47514. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  47515. begin
  47516. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47517. end;
  47518. procedure TPORTD_LATD.setLATD8; inline;
  47519. begin
  47520. pTDefRegMap(@Self)^.&set := $00000100;
  47521. end;
  47522. procedure TPORTD_LATD.clearLATD8; inline;
  47523. begin
  47524. pTDefRegMap(@Self)^.clr := $00000100;
  47525. end;
  47526. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  47527. begin
  47528. if thebits = 0 then
  47529. pTDefRegMap(@Self)^.clr := $00000100
  47530. else
  47531. pTDefRegMap(@Self)^.&set := $00000100;
  47532. end;
  47533. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  47534. begin
  47535. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47536. end;
  47537. procedure TPORTD_LATD.setLATD9; inline;
  47538. begin
  47539. pTDefRegMap(@Self)^.&set := $00000200;
  47540. end;
  47541. procedure TPORTD_LATD.clearLATD9; inline;
  47542. begin
  47543. pTDefRegMap(@Self)^.clr := $00000200;
  47544. end;
  47545. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  47546. begin
  47547. if thebits = 0 then
  47548. pTDefRegMap(@Self)^.clr := $00000200
  47549. else
  47550. pTDefRegMap(@Self)^.&set := $00000200;
  47551. end;
  47552. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  47553. begin
  47554. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47555. end;
  47556. procedure TPORTD_LATD.setLATD10; inline;
  47557. begin
  47558. pTDefRegMap(@Self)^.&set := $00000400;
  47559. end;
  47560. procedure TPORTD_LATD.clearLATD10; inline;
  47561. begin
  47562. pTDefRegMap(@Self)^.clr := $00000400;
  47563. end;
  47564. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  47565. begin
  47566. if thebits = 0 then
  47567. pTDefRegMap(@Self)^.clr := $00000400
  47568. else
  47569. pTDefRegMap(@Self)^.&set := $00000400;
  47570. end;
  47571. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  47572. begin
  47573. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47574. end;
  47575. procedure TPORTD_LATD.setLATD11; inline;
  47576. begin
  47577. pTDefRegMap(@Self)^.&set := $00000800;
  47578. end;
  47579. procedure TPORTD_LATD.clearLATD11; inline;
  47580. begin
  47581. pTDefRegMap(@Self)^.clr := $00000800;
  47582. end;
  47583. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  47584. begin
  47585. if thebits = 0 then
  47586. pTDefRegMap(@Self)^.clr := $00000800
  47587. else
  47588. pTDefRegMap(@Self)^.&set := $00000800;
  47589. end;
  47590. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  47591. begin
  47592. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47593. end;
  47594. procedure TPORTD_LATD.setLATD12; inline;
  47595. begin
  47596. pTDefRegMap(@Self)^.&set := $00001000;
  47597. end;
  47598. procedure TPORTD_LATD.clearLATD12; inline;
  47599. begin
  47600. pTDefRegMap(@Self)^.clr := $00001000;
  47601. end;
  47602. procedure TPORTD_LATD.setLATD12(thebits : TBits_1); inline;
  47603. begin
  47604. if thebits = 0 then
  47605. pTDefRegMap(@Self)^.clr := $00001000
  47606. else
  47607. pTDefRegMap(@Self)^.&set := $00001000;
  47608. end;
  47609. function TPORTD_LATD.getLATD12 : TBits_1; inline;
  47610. begin
  47611. getLATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47612. end;
  47613. procedure TPORTD_LATD.setLATD13; inline;
  47614. begin
  47615. pTDefRegMap(@Self)^.&set := $00002000;
  47616. end;
  47617. procedure TPORTD_LATD.clearLATD13; inline;
  47618. begin
  47619. pTDefRegMap(@Self)^.clr := $00002000;
  47620. end;
  47621. procedure TPORTD_LATD.setLATD13(thebits : TBits_1); inline;
  47622. begin
  47623. if thebits = 0 then
  47624. pTDefRegMap(@Self)^.clr := $00002000
  47625. else
  47626. pTDefRegMap(@Self)^.&set := $00002000;
  47627. end;
  47628. function TPORTD_LATD.getLATD13 : TBits_1; inline;
  47629. begin
  47630. getLATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47631. end;
  47632. procedure TPORTD_LATD.setLATD14; inline;
  47633. begin
  47634. pTDefRegMap(@Self)^.&set := $00004000;
  47635. end;
  47636. procedure TPORTD_LATD.clearLATD14; inline;
  47637. begin
  47638. pTDefRegMap(@Self)^.clr := $00004000;
  47639. end;
  47640. procedure TPORTD_LATD.setLATD14(thebits : TBits_1); inline;
  47641. begin
  47642. if thebits = 0 then
  47643. pTDefRegMap(@Self)^.clr := $00004000
  47644. else
  47645. pTDefRegMap(@Self)^.&set := $00004000;
  47646. end;
  47647. function TPORTD_LATD.getLATD14 : TBits_1; inline;
  47648. begin
  47649. getLATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  47650. end;
  47651. procedure TPORTD_LATD.setLATD15; inline;
  47652. begin
  47653. pTDefRegMap(@Self)^.&set := $00008000;
  47654. end;
  47655. procedure TPORTD_LATD.clearLATD15; inline;
  47656. begin
  47657. pTDefRegMap(@Self)^.clr := $00008000;
  47658. end;
  47659. procedure TPORTD_LATD.setLATD15(thebits : TBits_1); inline;
  47660. begin
  47661. if thebits = 0 then
  47662. pTDefRegMap(@Self)^.clr := $00008000
  47663. else
  47664. pTDefRegMap(@Self)^.&set := $00008000;
  47665. end;
  47666. function TPORTD_LATD.getLATD15 : TBits_1; inline;
  47667. begin
  47668. getLATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47669. end;
  47670. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  47671. begin
  47672. pTDefRegMap(@Self)^.val := thebits;
  47673. end;
  47674. function TPORTD_LATD.getw : TBits_32; inline;
  47675. begin
  47676. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47677. end;
  47678. procedure TPORTD_ODCD.setODCD0; inline;
  47679. begin
  47680. pTDefRegMap(@Self)^.&set := $00000001;
  47681. end;
  47682. procedure TPORTD_ODCD.clearODCD0; inline;
  47683. begin
  47684. pTDefRegMap(@Self)^.clr := $00000001;
  47685. end;
  47686. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  47687. begin
  47688. if thebits = 0 then
  47689. pTDefRegMap(@Self)^.clr := $00000001
  47690. else
  47691. pTDefRegMap(@Self)^.&set := $00000001;
  47692. end;
  47693. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  47694. begin
  47695. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47696. end;
  47697. procedure TPORTD_ODCD.setODCD1; inline;
  47698. begin
  47699. pTDefRegMap(@Self)^.&set := $00000002;
  47700. end;
  47701. procedure TPORTD_ODCD.clearODCD1; inline;
  47702. begin
  47703. pTDefRegMap(@Self)^.clr := $00000002;
  47704. end;
  47705. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  47706. begin
  47707. if thebits = 0 then
  47708. pTDefRegMap(@Self)^.clr := $00000002
  47709. else
  47710. pTDefRegMap(@Self)^.&set := $00000002;
  47711. end;
  47712. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  47713. begin
  47714. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47715. end;
  47716. procedure TPORTD_ODCD.setODCD2; inline;
  47717. begin
  47718. pTDefRegMap(@Self)^.&set := $00000004;
  47719. end;
  47720. procedure TPORTD_ODCD.clearODCD2; inline;
  47721. begin
  47722. pTDefRegMap(@Self)^.clr := $00000004;
  47723. end;
  47724. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  47725. begin
  47726. if thebits = 0 then
  47727. pTDefRegMap(@Self)^.clr := $00000004
  47728. else
  47729. pTDefRegMap(@Self)^.&set := $00000004;
  47730. end;
  47731. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  47732. begin
  47733. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47734. end;
  47735. procedure TPORTD_ODCD.setODCD3; inline;
  47736. begin
  47737. pTDefRegMap(@Self)^.&set := $00000008;
  47738. end;
  47739. procedure TPORTD_ODCD.clearODCD3; inline;
  47740. begin
  47741. pTDefRegMap(@Self)^.clr := $00000008;
  47742. end;
  47743. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  47744. begin
  47745. if thebits = 0 then
  47746. pTDefRegMap(@Self)^.clr := $00000008
  47747. else
  47748. pTDefRegMap(@Self)^.&set := $00000008;
  47749. end;
  47750. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  47751. begin
  47752. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47753. end;
  47754. procedure TPORTD_ODCD.setODCD4; inline;
  47755. begin
  47756. pTDefRegMap(@Self)^.&set := $00000010;
  47757. end;
  47758. procedure TPORTD_ODCD.clearODCD4; inline;
  47759. begin
  47760. pTDefRegMap(@Self)^.clr := $00000010;
  47761. end;
  47762. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  47763. begin
  47764. if thebits = 0 then
  47765. pTDefRegMap(@Self)^.clr := $00000010
  47766. else
  47767. pTDefRegMap(@Self)^.&set := $00000010;
  47768. end;
  47769. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  47770. begin
  47771. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47772. end;
  47773. procedure TPORTD_ODCD.setODCD5; inline;
  47774. begin
  47775. pTDefRegMap(@Self)^.&set := $00000020;
  47776. end;
  47777. procedure TPORTD_ODCD.clearODCD5; inline;
  47778. begin
  47779. pTDefRegMap(@Self)^.clr := $00000020;
  47780. end;
  47781. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  47782. begin
  47783. if thebits = 0 then
  47784. pTDefRegMap(@Self)^.clr := $00000020
  47785. else
  47786. pTDefRegMap(@Self)^.&set := $00000020;
  47787. end;
  47788. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  47789. begin
  47790. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47791. end;
  47792. procedure TPORTD_ODCD.setODCD6; inline;
  47793. begin
  47794. pTDefRegMap(@Self)^.&set := $00000040;
  47795. end;
  47796. procedure TPORTD_ODCD.clearODCD6; inline;
  47797. begin
  47798. pTDefRegMap(@Self)^.clr := $00000040;
  47799. end;
  47800. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  47801. begin
  47802. if thebits = 0 then
  47803. pTDefRegMap(@Self)^.clr := $00000040
  47804. else
  47805. pTDefRegMap(@Self)^.&set := $00000040;
  47806. end;
  47807. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  47808. begin
  47809. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47810. end;
  47811. procedure TPORTD_ODCD.setODCD7; inline;
  47812. begin
  47813. pTDefRegMap(@Self)^.&set := $00000080;
  47814. end;
  47815. procedure TPORTD_ODCD.clearODCD7; inline;
  47816. begin
  47817. pTDefRegMap(@Self)^.clr := $00000080;
  47818. end;
  47819. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  47820. begin
  47821. if thebits = 0 then
  47822. pTDefRegMap(@Self)^.clr := $00000080
  47823. else
  47824. pTDefRegMap(@Self)^.&set := $00000080;
  47825. end;
  47826. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  47827. begin
  47828. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47829. end;
  47830. procedure TPORTD_ODCD.setODCD8; inline;
  47831. begin
  47832. pTDefRegMap(@Self)^.&set := $00000100;
  47833. end;
  47834. procedure TPORTD_ODCD.clearODCD8; inline;
  47835. begin
  47836. pTDefRegMap(@Self)^.clr := $00000100;
  47837. end;
  47838. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  47839. begin
  47840. if thebits = 0 then
  47841. pTDefRegMap(@Self)^.clr := $00000100
  47842. else
  47843. pTDefRegMap(@Self)^.&set := $00000100;
  47844. end;
  47845. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  47846. begin
  47847. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47848. end;
  47849. procedure TPORTD_ODCD.setODCD9; inline;
  47850. begin
  47851. pTDefRegMap(@Self)^.&set := $00000200;
  47852. end;
  47853. procedure TPORTD_ODCD.clearODCD9; inline;
  47854. begin
  47855. pTDefRegMap(@Self)^.clr := $00000200;
  47856. end;
  47857. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  47858. begin
  47859. if thebits = 0 then
  47860. pTDefRegMap(@Self)^.clr := $00000200
  47861. else
  47862. pTDefRegMap(@Self)^.&set := $00000200;
  47863. end;
  47864. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  47865. begin
  47866. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  47867. end;
  47868. procedure TPORTD_ODCD.setODCD10; inline;
  47869. begin
  47870. pTDefRegMap(@Self)^.&set := $00000400;
  47871. end;
  47872. procedure TPORTD_ODCD.clearODCD10; inline;
  47873. begin
  47874. pTDefRegMap(@Self)^.clr := $00000400;
  47875. end;
  47876. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  47877. begin
  47878. if thebits = 0 then
  47879. pTDefRegMap(@Self)^.clr := $00000400
  47880. else
  47881. pTDefRegMap(@Self)^.&set := $00000400;
  47882. end;
  47883. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  47884. begin
  47885. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  47886. end;
  47887. procedure TPORTD_ODCD.setODCD11; inline;
  47888. begin
  47889. pTDefRegMap(@Self)^.&set := $00000800;
  47890. end;
  47891. procedure TPORTD_ODCD.clearODCD11; inline;
  47892. begin
  47893. pTDefRegMap(@Self)^.clr := $00000800;
  47894. end;
  47895. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  47896. begin
  47897. if thebits = 0 then
  47898. pTDefRegMap(@Self)^.clr := $00000800
  47899. else
  47900. pTDefRegMap(@Self)^.&set := $00000800;
  47901. end;
  47902. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  47903. begin
  47904. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47905. end;
  47906. procedure TPORTD_ODCD.setODCD12; inline;
  47907. begin
  47908. pTDefRegMap(@Self)^.&set := $00001000;
  47909. end;
  47910. procedure TPORTD_ODCD.clearODCD12; inline;
  47911. begin
  47912. pTDefRegMap(@Self)^.clr := $00001000;
  47913. end;
  47914. procedure TPORTD_ODCD.setODCD12(thebits : TBits_1); inline;
  47915. begin
  47916. if thebits = 0 then
  47917. pTDefRegMap(@Self)^.clr := $00001000
  47918. else
  47919. pTDefRegMap(@Self)^.&set := $00001000;
  47920. end;
  47921. function TPORTD_ODCD.getODCD12 : TBits_1; inline;
  47922. begin
  47923. getODCD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47924. end;
  47925. procedure TPORTD_ODCD.setODCD13; inline;
  47926. begin
  47927. pTDefRegMap(@Self)^.&set := $00002000;
  47928. end;
  47929. procedure TPORTD_ODCD.clearODCD13; inline;
  47930. begin
  47931. pTDefRegMap(@Self)^.clr := $00002000;
  47932. end;
  47933. procedure TPORTD_ODCD.setODCD13(thebits : TBits_1); inline;
  47934. begin
  47935. if thebits = 0 then
  47936. pTDefRegMap(@Self)^.clr := $00002000
  47937. else
  47938. pTDefRegMap(@Self)^.&set := $00002000;
  47939. end;
  47940. function TPORTD_ODCD.getODCD13 : TBits_1; inline;
  47941. begin
  47942. getODCD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  47943. end;
  47944. procedure TPORTD_ODCD.setODCD14; inline;
  47945. begin
  47946. pTDefRegMap(@Self)^.&set := $00004000;
  47947. end;
  47948. procedure TPORTD_ODCD.clearODCD14; inline;
  47949. begin
  47950. pTDefRegMap(@Self)^.clr := $00004000;
  47951. end;
  47952. procedure TPORTD_ODCD.setODCD14(thebits : TBits_1); inline;
  47953. begin
  47954. if thebits = 0 then
  47955. pTDefRegMap(@Self)^.clr := $00004000
  47956. else
  47957. pTDefRegMap(@Self)^.&set := $00004000;
  47958. end;
  47959. function TPORTD_ODCD.getODCD14 : TBits_1; inline;
  47960. begin
  47961. getODCD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  47962. end;
  47963. procedure TPORTD_ODCD.setODCD15; inline;
  47964. begin
  47965. pTDefRegMap(@Self)^.&set := $00008000;
  47966. end;
  47967. procedure TPORTD_ODCD.clearODCD15; inline;
  47968. begin
  47969. pTDefRegMap(@Self)^.clr := $00008000;
  47970. end;
  47971. procedure TPORTD_ODCD.setODCD15(thebits : TBits_1); inline;
  47972. begin
  47973. if thebits = 0 then
  47974. pTDefRegMap(@Self)^.clr := $00008000
  47975. else
  47976. pTDefRegMap(@Self)^.&set := $00008000;
  47977. end;
  47978. function TPORTD_ODCD.getODCD15 : TBits_1; inline;
  47979. begin
  47980. getODCD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47981. end;
  47982. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  47983. begin
  47984. pTDefRegMap(@Self)^.val := thebits;
  47985. end;
  47986. function TPORTD_ODCD.getw : TBits_32; inline;
  47987. begin
  47988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47989. end;
  47990. procedure TPORTD_CNPUD.setCNPUD0; inline;
  47991. begin
  47992. pTDefRegMap(@Self)^.&set := $00000001;
  47993. end;
  47994. procedure TPORTD_CNPUD.clearCNPUD0; inline;
  47995. begin
  47996. pTDefRegMap(@Self)^.clr := $00000001;
  47997. end;
  47998. procedure TPORTD_CNPUD.setCNPUD0(thebits : TBits_1); inline;
  47999. begin
  48000. if thebits = 0 then
  48001. pTDefRegMap(@Self)^.clr := $00000001
  48002. else
  48003. pTDefRegMap(@Self)^.&set := $00000001;
  48004. end;
  48005. function TPORTD_CNPUD.getCNPUD0 : TBits_1; inline;
  48006. begin
  48007. getCNPUD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48008. end;
  48009. procedure TPORTD_CNPUD.setCNPUD1; inline;
  48010. begin
  48011. pTDefRegMap(@Self)^.&set := $00000002;
  48012. end;
  48013. procedure TPORTD_CNPUD.clearCNPUD1; inline;
  48014. begin
  48015. pTDefRegMap(@Self)^.clr := $00000002;
  48016. end;
  48017. procedure TPORTD_CNPUD.setCNPUD1(thebits : TBits_1); inline;
  48018. begin
  48019. if thebits = 0 then
  48020. pTDefRegMap(@Self)^.clr := $00000002
  48021. else
  48022. pTDefRegMap(@Self)^.&set := $00000002;
  48023. end;
  48024. function TPORTD_CNPUD.getCNPUD1 : TBits_1; inline;
  48025. begin
  48026. getCNPUD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48027. end;
  48028. procedure TPORTD_CNPUD.setCNPUD2; inline;
  48029. begin
  48030. pTDefRegMap(@Self)^.&set := $00000004;
  48031. end;
  48032. procedure TPORTD_CNPUD.clearCNPUD2; inline;
  48033. begin
  48034. pTDefRegMap(@Self)^.clr := $00000004;
  48035. end;
  48036. procedure TPORTD_CNPUD.setCNPUD2(thebits : TBits_1); inline;
  48037. begin
  48038. if thebits = 0 then
  48039. pTDefRegMap(@Self)^.clr := $00000004
  48040. else
  48041. pTDefRegMap(@Self)^.&set := $00000004;
  48042. end;
  48043. function TPORTD_CNPUD.getCNPUD2 : TBits_1; inline;
  48044. begin
  48045. getCNPUD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48046. end;
  48047. procedure TPORTD_CNPUD.setCNPUD3; inline;
  48048. begin
  48049. pTDefRegMap(@Self)^.&set := $00000008;
  48050. end;
  48051. procedure TPORTD_CNPUD.clearCNPUD3; inline;
  48052. begin
  48053. pTDefRegMap(@Self)^.clr := $00000008;
  48054. end;
  48055. procedure TPORTD_CNPUD.setCNPUD3(thebits : TBits_1); inline;
  48056. begin
  48057. if thebits = 0 then
  48058. pTDefRegMap(@Self)^.clr := $00000008
  48059. else
  48060. pTDefRegMap(@Self)^.&set := $00000008;
  48061. end;
  48062. function TPORTD_CNPUD.getCNPUD3 : TBits_1; inline;
  48063. begin
  48064. getCNPUD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48065. end;
  48066. procedure TPORTD_CNPUD.setCNPUD4; inline;
  48067. begin
  48068. pTDefRegMap(@Self)^.&set := $00000010;
  48069. end;
  48070. procedure TPORTD_CNPUD.clearCNPUD4; inline;
  48071. begin
  48072. pTDefRegMap(@Self)^.clr := $00000010;
  48073. end;
  48074. procedure TPORTD_CNPUD.setCNPUD4(thebits : TBits_1); inline;
  48075. begin
  48076. if thebits = 0 then
  48077. pTDefRegMap(@Self)^.clr := $00000010
  48078. else
  48079. pTDefRegMap(@Self)^.&set := $00000010;
  48080. end;
  48081. function TPORTD_CNPUD.getCNPUD4 : TBits_1; inline;
  48082. begin
  48083. getCNPUD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48084. end;
  48085. procedure TPORTD_CNPUD.setCNPUD5; inline;
  48086. begin
  48087. pTDefRegMap(@Self)^.&set := $00000020;
  48088. end;
  48089. procedure TPORTD_CNPUD.clearCNPUD5; inline;
  48090. begin
  48091. pTDefRegMap(@Self)^.clr := $00000020;
  48092. end;
  48093. procedure TPORTD_CNPUD.setCNPUD5(thebits : TBits_1); inline;
  48094. begin
  48095. if thebits = 0 then
  48096. pTDefRegMap(@Self)^.clr := $00000020
  48097. else
  48098. pTDefRegMap(@Self)^.&set := $00000020;
  48099. end;
  48100. function TPORTD_CNPUD.getCNPUD5 : TBits_1; inline;
  48101. begin
  48102. getCNPUD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48103. end;
  48104. procedure TPORTD_CNPUD.setCNPUD6; inline;
  48105. begin
  48106. pTDefRegMap(@Self)^.&set := $00000040;
  48107. end;
  48108. procedure TPORTD_CNPUD.clearCNPUD6; inline;
  48109. begin
  48110. pTDefRegMap(@Self)^.clr := $00000040;
  48111. end;
  48112. procedure TPORTD_CNPUD.setCNPUD6(thebits : TBits_1); inline;
  48113. begin
  48114. if thebits = 0 then
  48115. pTDefRegMap(@Self)^.clr := $00000040
  48116. else
  48117. pTDefRegMap(@Self)^.&set := $00000040;
  48118. end;
  48119. function TPORTD_CNPUD.getCNPUD6 : TBits_1; inline;
  48120. begin
  48121. getCNPUD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48122. end;
  48123. procedure TPORTD_CNPUD.setCNPUD7; inline;
  48124. begin
  48125. pTDefRegMap(@Self)^.&set := $00000080;
  48126. end;
  48127. procedure TPORTD_CNPUD.clearCNPUD7; inline;
  48128. begin
  48129. pTDefRegMap(@Self)^.clr := $00000080;
  48130. end;
  48131. procedure TPORTD_CNPUD.setCNPUD7(thebits : TBits_1); inline;
  48132. begin
  48133. if thebits = 0 then
  48134. pTDefRegMap(@Self)^.clr := $00000080
  48135. else
  48136. pTDefRegMap(@Self)^.&set := $00000080;
  48137. end;
  48138. function TPORTD_CNPUD.getCNPUD7 : TBits_1; inline;
  48139. begin
  48140. getCNPUD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48141. end;
  48142. procedure TPORTD_CNPUD.setCNPUD8; inline;
  48143. begin
  48144. pTDefRegMap(@Self)^.&set := $00000100;
  48145. end;
  48146. procedure TPORTD_CNPUD.clearCNPUD8; inline;
  48147. begin
  48148. pTDefRegMap(@Self)^.clr := $00000100;
  48149. end;
  48150. procedure TPORTD_CNPUD.setCNPUD8(thebits : TBits_1); inline;
  48151. begin
  48152. if thebits = 0 then
  48153. pTDefRegMap(@Self)^.clr := $00000100
  48154. else
  48155. pTDefRegMap(@Self)^.&set := $00000100;
  48156. end;
  48157. function TPORTD_CNPUD.getCNPUD8 : TBits_1; inline;
  48158. begin
  48159. getCNPUD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48160. end;
  48161. procedure TPORTD_CNPUD.setCNPUD9; inline;
  48162. begin
  48163. pTDefRegMap(@Self)^.&set := $00000200;
  48164. end;
  48165. procedure TPORTD_CNPUD.clearCNPUD9; inline;
  48166. begin
  48167. pTDefRegMap(@Self)^.clr := $00000200;
  48168. end;
  48169. procedure TPORTD_CNPUD.setCNPUD9(thebits : TBits_1); inline;
  48170. begin
  48171. if thebits = 0 then
  48172. pTDefRegMap(@Self)^.clr := $00000200
  48173. else
  48174. pTDefRegMap(@Self)^.&set := $00000200;
  48175. end;
  48176. function TPORTD_CNPUD.getCNPUD9 : TBits_1; inline;
  48177. begin
  48178. getCNPUD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48179. end;
  48180. procedure TPORTD_CNPUD.setCNPUD10; inline;
  48181. begin
  48182. pTDefRegMap(@Self)^.&set := $00000400;
  48183. end;
  48184. procedure TPORTD_CNPUD.clearCNPUD10; inline;
  48185. begin
  48186. pTDefRegMap(@Self)^.clr := $00000400;
  48187. end;
  48188. procedure TPORTD_CNPUD.setCNPUD10(thebits : TBits_1); inline;
  48189. begin
  48190. if thebits = 0 then
  48191. pTDefRegMap(@Self)^.clr := $00000400
  48192. else
  48193. pTDefRegMap(@Self)^.&set := $00000400;
  48194. end;
  48195. function TPORTD_CNPUD.getCNPUD10 : TBits_1; inline;
  48196. begin
  48197. getCNPUD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  48198. end;
  48199. procedure TPORTD_CNPUD.setCNPUD11; inline;
  48200. begin
  48201. pTDefRegMap(@Self)^.&set := $00000800;
  48202. end;
  48203. procedure TPORTD_CNPUD.clearCNPUD11; inline;
  48204. begin
  48205. pTDefRegMap(@Self)^.clr := $00000800;
  48206. end;
  48207. procedure TPORTD_CNPUD.setCNPUD11(thebits : TBits_1); inline;
  48208. begin
  48209. if thebits = 0 then
  48210. pTDefRegMap(@Self)^.clr := $00000800
  48211. else
  48212. pTDefRegMap(@Self)^.&set := $00000800;
  48213. end;
  48214. function TPORTD_CNPUD.getCNPUD11 : TBits_1; inline;
  48215. begin
  48216. getCNPUD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  48217. end;
  48218. procedure TPORTD_CNPUD.setCNPUD12; inline;
  48219. begin
  48220. pTDefRegMap(@Self)^.&set := $00001000;
  48221. end;
  48222. procedure TPORTD_CNPUD.clearCNPUD12; inline;
  48223. begin
  48224. pTDefRegMap(@Self)^.clr := $00001000;
  48225. end;
  48226. procedure TPORTD_CNPUD.setCNPUD12(thebits : TBits_1); inline;
  48227. begin
  48228. if thebits = 0 then
  48229. pTDefRegMap(@Self)^.clr := $00001000
  48230. else
  48231. pTDefRegMap(@Self)^.&set := $00001000;
  48232. end;
  48233. function TPORTD_CNPUD.getCNPUD12 : TBits_1; inline;
  48234. begin
  48235. getCNPUD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48236. end;
  48237. procedure TPORTD_CNPUD.setCNPUD13; inline;
  48238. begin
  48239. pTDefRegMap(@Self)^.&set := $00002000;
  48240. end;
  48241. procedure TPORTD_CNPUD.clearCNPUD13; inline;
  48242. begin
  48243. pTDefRegMap(@Self)^.clr := $00002000;
  48244. end;
  48245. procedure TPORTD_CNPUD.setCNPUD13(thebits : TBits_1); inline;
  48246. begin
  48247. if thebits = 0 then
  48248. pTDefRegMap(@Self)^.clr := $00002000
  48249. else
  48250. pTDefRegMap(@Self)^.&set := $00002000;
  48251. end;
  48252. function TPORTD_CNPUD.getCNPUD13 : TBits_1; inline;
  48253. begin
  48254. getCNPUD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48255. end;
  48256. procedure TPORTD_CNPUD.setCNPUD14; inline;
  48257. begin
  48258. pTDefRegMap(@Self)^.&set := $00004000;
  48259. end;
  48260. procedure TPORTD_CNPUD.clearCNPUD14; inline;
  48261. begin
  48262. pTDefRegMap(@Self)^.clr := $00004000;
  48263. end;
  48264. procedure TPORTD_CNPUD.setCNPUD14(thebits : TBits_1); inline;
  48265. begin
  48266. if thebits = 0 then
  48267. pTDefRegMap(@Self)^.clr := $00004000
  48268. else
  48269. pTDefRegMap(@Self)^.&set := $00004000;
  48270. end;
  48271. function TPORTD_CNPUD.getCNPUD14 : TBits_1; inline;
  48272. begin
  48273. getCNPUD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48274. end;
  48275. procedure TPORTD_CNPUD.setCNPUD15; inline;
  48276. begin
  48277. pTDefRegMap(@Self)^.&set := $00008000;
  48278. end;
  48279. procedure TPORTD_CNPUD.clearCNPUD15; inline;
  48280. begin
  48281. pTDefRegMap(@Self)^.clr := $00008000;
  48282. end;
  48283. procedure TPORTD_CNPUD.setCNPUD15(thebits : TBits_1); inline;
  48284. begin
  48285. if thebits = 0 then
  48286. pTDefRegMap(@Self)^.clr := $00008000
  48287. else
  48288. pTDefRegMap(@Self)^.&set := $00008000;
  48289. end;
  48290. function TPORTD_CNPUD.getCNPUD15 : TBits_1; inline;
  48291. begin
  48292. getCNPUD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48293. end;
  48294. procedure TPORTD_CNPUD.setw(thebits : TBits_32); inline;
  48295. begin
  48296. pTDefRegMap(@Self)^.val := thebits;
  48297. end;
  48298. function TPORTD_CNPUD.getw : TBits_32; inline;
  48299. begin
  48300. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48301. end;
  48302. procedure TPORTD_CNPDD.setCNPDD0; inline;
  48303. begin
  48304. pTDefRegMap(@Self)^.&set := $00000001;
  48305. end;
  48306. procedure TPORTD_CNPDD.clearCNPDD0; inline;
  48307. begin
  48308. pTDefRegMap(@Self)^.clr := $00000001;
  48309. end;
  48310. procedure TPORTD_CNPDD.setCNPDD0(thebits : TBits_1); inline;
  48311. begin
  48312. if thebits = 0 then
  48313. pTDefRegMap(@Self)^.clr := $00000001
  48314. else
  48315. pTDefRegMap(@Self)^.&set := $00000001;
  48316. end;
  48317. function TPORTD_CNPDD.getCNPDD0 : TBits_1; inline;
  48318. begin
  48319. getCNPDD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48320. end;
  48321. procedure TPORTD_CNPDD.setCNPDD1; inline;
  48322. begin
  48323. pTDefRegMap(@Self)^.&set := $00000002;
  48324. end;
  48325. procedure TPORTD_CNPDD.clearCNPDD1; inline;
  48326. begin
  48327. pTDefRegMap(@Self)^.clr := $00000002;
  48328. end;
  48329. procedure TPORTD_CNPDD.setCNPDD1(thebits : TBits_1); inline;
  48330. begin
  48331. if thebits = 0 then
  48332. pTDefRegMap(@Self)^.clr := $00000002
  48333. else
  48334. pTDefRegMap(@Self)^.&set := $00000002;
  48335. end;
  48336. function TPORTD_CNPDD.getCNPDD1 : TBits_1; inline;
  48337. begin
  48338. getCNPDD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48339. end;
  48340. procedure TPORTD_CNPDD.setCNPDD2; inline;
  48341. begin
  48342. pTDefRegMap(@Self)^.&set := $00000004;
  48343. end;
  48344. procedure TPORTD_CNPDD.clearCNPDD2; inline;
  48345. begin
  48346. pTDefRegMap(@Self)^.clr := $00000004;
  48347. end;
  48348. procedure TPORTD_CNPDD.setCNPDD2(thebits : TBits_1); inline;
  48349. begin
  48350. if thebits = 0 then
  48351. pTDefRegMap(@Self)^.clr := $00000004
  48352. else
  48353. pTDefRegMap(@Self)^.&set := $00000004;
  48354. end;
  48355. function TPORTD_CNPDD.getCNPDD2 : TBits_1; inline;
  48356. begin
  48357. getCNPDD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48358. end;
  48359. procedure TPORTD_CNPDD.setCNPDD3; inline;
  48360. begin
  48361. pTDefRegMap(@Self)^.&set := $00000008;
  48362. end;
  48363. procedure TPORTD_CNPDD.clearCNPDD3; inline;
  48364. begin
  48365. pTDefRegMap(@Self)^.clr := $00000008;
  48366. end;
  48367. procedure TPORTD_CNPDD.setCNPDD3(thebits : TBits_1); inline;
  48368. begin
  48369. if thebits = 0 then
  48370. pTDefRegMap(@Self)^.clr := $00000008
  48371. else
  48372. pTDefRegMap(@Self)^.&set := $00000008;
  48373. end;
  48374. function TPORTD_CNPDD.getCNPDD3 : TBits_1; inline;
  48375. begin
  48376. getCNPDD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48377. end;
  48378. procedure TPORTD_CNPDD.setCNPDD4; inline;
  48379. begin
  48380. pTDefRegMap(@Self)^.&set := $00000010;
  48381. end;
  48382. procedure TPORTD_CNPDD.clearCNPDD4; inline;
  48383. begin
  48384. pTDefRegMap(@Self)^.clr := $00000010;
  48385. end;
  48386. procedure TPORTD_CNPDD.setCNPDD4(thebits : TBits_1); inline;
  48387. begin
  48388. if thebits = 0 then
  48389. pTDefRegMap(@Self)^.clr := $00000010
  48390. else
  48391. pTDefRegMap(@Self)^.&set := $00000010;
  48392. end;
  48393. function TPORTD_CNPDD.getCNPDD4 : TBits_1; inline;
  48394. begin
  48395. getCNPDD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48396. end;
  48397. procedure TPORTD_CNPDD.setCNPDD5; inline;
  48398. begin
  48399. pTDefRegMap(@Self)^.&set := $00000020;
  48400. end;
  48401. procedure TPORTD_CNPDD.clearCNPDD5; inline;
  48402. begin
  48403. pTDefRegMap(@Self)^.clr := $00000020;
  48404. end;
  48405. procedure TPORTD_CNPDD.setCNPDD5(thebits : TBits_1); inline;
  48406. begin
  48407. if thebits = 0 then
  48408. pTDefRegMap(@Self)^.clr := $00000020
  48409. else
  48410. pTDefRegMap(@Self)^.&set := $00000020;
  48411. end;
  48412. function TPORTD_CNPDD.getCNPDD5 : TBits_1; inline;
  48413. begin
  48414. getCNPDD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48415. end;
  48416. procedure TPORTD_CNPDD.setCNPDD6; inline;
  48417. begin
  48418. pTDefRegMap(@Self)^.&set := $00000040;
  48419. end;
  48420. procedure TPORTD_CNPDD.clearCNPDD6; inline;
  48421. begin
  48422. pTDefRegMap(@Self)^.clr := $00000040;
  48423. end;
  48424. procedure TPORTD_CNPDD.setCNPDD6(thebits : TBits_1); inline;
  48425. begin
  48426. if thebits = 0 then
  48427. pTDefRegMap(@Self)^.clr := $00000040
  48428. else
  48429. pTDefRegMap(@Self)^.&set := $00000040;
  48430. end;
  48431. function TPORTD_CNPDD.getCNPDD6 : TBits_1; inline;
  48432. begin
  48433. getCNPDD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48434. end;
  48435. procedure TPORTD_CNPDD.setCNPDD7; inline;
  48436. begin
  48437. pTDefRegMap(@Self)^.&set := $00000080;
  48438. end;
  48439. procedure TPORTD_CNPDD.clearCNPDD7; inline;
  48440. begin
  48441. pTDefRegMap(@Self)^.clr := $00000080;
  48442. end;
  48443. procedure TPORTD_CNPDD.setCNPDD7(thebits : TBits_1); inline;
  48444. begin
  48445. if thebits = 0 then
  48446. pTDefRegMap(@Self)^.clr := $00000080
  48447. else
  48448. pTDefRegMap(@Self)^.&set := $00000080;
  48449. end;
  48450. function TPORTD_CNPDD.getCNPDD7 : TBits_1; inline;
  48451. begin
  48452. getCNPDD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48453. end;
  48454. procedure TPORTD_CNPDD.setCNPDD8; inline;
  48455. begin
  48456. pTDefRegMap(@Self)^.&set := $00000100;
  48457. end;
  48458. procedure TPORTD_CNPDD.clearCNPDD8; inline;
  48459. begin
  48460. pTDefRegMap(@Self)^.clr := $00000100;
  48461. end;
  48462. procedure TPORTD_CNPDD.setCNPDD8(thebits : TBits_1); inline;
  48463. begin
  48464. if thebits = 0 then
  48465. pTDefRegMap(@Self)^.clr := $00000100
  48466. else
  48467. pTDefRegMap(@Self)^.&set := $00000100;
  48468. end;
  48469. function TPORTD_CNPDD.getCNPDD8 : TBits_1; inline;
  48470. begin
  48471. getCNPDD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48472. end;
  48473. procedure TPORTD_CNPDD.setCNPDD9; inline;
  48474. begin
  48475. pTDefRegMap(@Self)^.&set := $00000200;
  48476. end;
  48477. procedure TPORTD_CNPDD.clearCNPDD9; inline;
  48478. begin
  48479. pTDefRegMap(@Self)^.clr := $00000200;
  48480. end;
  48481. procedure TPORTD_CNPDD.setCNPDD9(thebits : TBits_1); inline;
  48482. begin
  48483. if thebits = 0 then
  48484. pTDefRegMap(@Self)^.clr := $00000200
  48485. else
  48486. pTDefRegMap(@Self)^.&set := $00000200;
  48487. end;
  48488. function TPORTD_CNPDD.getCNPDD9 : TBits_1; inline;
  48489. begin
  48490. getCNPDD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48491. end;
  48492. procedure TPORTD_CNPDD.setCNPDD10; inline;
  48493. begin
  48494. pTDefRegMap(@Self)^.&set := $00000400;
  48495. end;
  48496. procedure TPORTD_CNPDD.clearCNPDD10; inline;
  48497. begin
  48498. pTDefRegMap(@Self)^.clr := $00000400;
  48499. end;
  48500. procedure TPORTD_CNPDD.setCNPDD10(thebits : TBits_1); inline;
  48501. begin
  48502. if thebits = 0 then
  48503. pTDefRegMap(@Self)^.clr := $00000400
  48504. else
  48505. pTDefRegMap(@Self)^.&set := $00000400;
  48506. end;
  48507. function TPORTD_CNPDD.getCNPDD10 : TBits_1; inline;
  48508. begin
  48509. getCNPDD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  48510. end;
  48511. procedure TPORTD_CNPDD.setCNPDD11; inline;
  48512. begin
  48513. pTDefRegMap(@Self)^.&set := $00000800;
  48514. end;
  48515. procedure TPORTD_CNPDD.clearCNPDD11; inline;
  48516. begin
  48517. pTDefRegMap(@Self)^.clr := $00000800;
  48518. end;
  48519. procedure TPORTD_CNPDD.setCNPDD11(thebits : TBits_1); inline;
  48520. begin
  48521. if thebits = 0 then
  48522. pTDefRegMap(@Self)^.clr := $00000800
  48523. else
  48524. pTDefRegMap(@Self)^.&set := $00000800;
  48525. end;
  48526. function TPORTD_CNPDD.getCNPDD11 : TBits_1; inline;
  48527. begin
  48528. getCNPDD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  48529. end;
  48530. procedure TPORTD_CNPDD.setCNPDD12; inline;
  48531. begin
  48532. pTDefRegMap(@Self)^.&set := $00001000;
  48533. end;
  48534. procedure TPORTD_CNPDD.clearCNPDD12; inline;
  48535. begin
  48536. pTDefRegMap(@Self)^.clr := $00001000;
  48537. end;
  48538. procedure TPORTD_CNPDD.setCNPDD12(thebits : TBits_1); inline;
  48539. begin
  48540. if thebits = 0 then
  48541. pTDefRegMap(@Self)^.clr := $00001000
  48542. else
  48543. pTDefRegMap(@Self)^.&set := $00001000;
  48544. end;
  48545. function TPORTD_CNPDD.getCNPDD12 : TBits_1; inline;
  48546. begin
  48547. getCNPDD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48548. end;
  48549. procedure TPORTD_CNPDD.setCNPDD13; inline;
  48550. begin
  48551. pTDefRegMap(@Self)^.&set := $00002000;
  48552. end;
  48553. procedure TPORTD_CNPDD.clearCNPDD13; inline;
  48554. begin
  48555. pTDefRegMap(@Self)^.clr := $00002000;
  48556. end;
  48557. procedure TPORTD_CNPDD.setCNPDD13(thebits : TBits_1); inline;
  48558. begin
  48559. if thebits = 0 then
  48560. pTDefRegMap(@Self)^.clr := $00002000
  48561. else
  48562. pTDefRegMap(@Self)^.&set := $00002000;
  48563. end;
  48564. function TPORTD_CNPDD.getCNPDD13 : TBits_1; inline;
  48565. begin
  48566. getCNPDD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48567. end;
  48568. procedure TPORTD_CNPDD.setCNPDD14; inline;
  48569. begin
  48570. pTDefRegMap(@Self)^.&set := $00004000;
  48571. end;
  48572. procedure TPORTD_CNPDD.clearCNPDD14; inline;
  48573. begin
  48574. pTDefRegMap(@Self)^.clr := $00004000;
  48575. end;
  48576. procedure TPORTD_CNPDD.setCNPDD14(thebits : TBits_1); inline;
  48577. begin
  48578. if thebits = 0 then
  48579. pTDefRegMap(@Self)^.clr := $00004000
  48580. else
  48581. pTDefRegMap(@Self)^.&set := $00004000;
  48582. end;
  48583. function TPORTD_CNPDD.getCNPDD14 : TBits_1; inline;
  48584. begin
  48585. getCNPDD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48586. end;
  48587. procedure TPORTD_CNPDD.setCNPDD15; inline;
  48588. begin
  48589. pTDefRegMap(@Self)^.&set := $00008000;
  48590. end;
  48591. procedure TPORTD_CNPDD.clearCNPDD15; inline;
  48592. begin
  48593. pTDefRegMap(@Self)^.clr := $00008000;
  48594. end;
  48595. procedure TPORTD_CNPDD.setCNPDD15(thebits : TBits_1); inline;
  48596. begin
  48597. if thebits = 0 then
  48598. pTDefRegMap(@Self)^.clr := $00008000
  48599. else
  48600. pTDefRegMap(@Self)^.&set := $00008000;
  48601. end;
  48602. function TPORTD_CNPDD.getCNPDD15 : TBits_1; inline;
  48603. begin
  48604. getCNPDD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48605. end;
  48606. procedure TPORTD_CNPDD.setw(thebits : TBits_32); inline;
  48607. begin
  48608. pTDefRegMap(@Self)^.val := thebits;
  48609. end;
  48610. function TPORTD_CNPDD.getw : TBits_32; inline;
  48611. begin
  48612. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48613. end;
  48614. procedure TPORTD_CNCOND.setSIDL; inline;
  48615. begin
  48616. pTDefRegMap(@Self)^.&set := $00002000;
  48617. end;
  48618. procedure TPORTD_CNCOND.clearSIDL; inline;
  48619. begin
  48620. pTDefRegMap(@Self)^.clr := $00002000;
  48621. end;
  48622. procedure TPORTD_CNCOND.setSIDL(thebits : TBits_1); inline;
  48623. begin
  48624. if thebits = 0 then
  48625. pTDefRegMap(@Self)^.clr := $00002000
  48626. else
  48627. pTDefRegMap(@Self)^.&set := $00002000;
  48628. end;
  48629. function TPORTD_CNCOND.getSIDL : TBits_1; inline;
  48630. begin
  48631. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48632. end;
  48633. procedure TPORTD_CNCOND.setON; inline;
  48634. begin
  48635. pTDefRegMap(@Self)^.&set := $00008000;
  48636. end;
  48637. procedure TPORTD_CNCOND.clearON; inline;
  48638. begin
  48639. pTDefRegMap(@Self)^.clr := $00008000;
  48640. end;
  48641. procedure TPORTD_CNCOND.setON(thebits : TBits_1); inline;
  48642. begin
  48643. if thebits = 0 then
  48644. pTDefRegMap(@Self)^.clr := $00008000
  48645. else
  48646. pTDefRegMap(@Self)^.&set := $00008000;
  48647. end;
  48648. function TPORTD_CNCOND.getON : TBits_1; inline;
  48649. begin
  48650. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48651. end;
  48652. procedure TPORTD_CNCOND.setw(thebits : TBits_32); inline;
  48653. begin
  48654. pTDefRegMap(@Self)^.val := thebits;
  48655. end;
  48656. function TPORTD_CNCOND.getw : TBits_32; inline;
  48657. begin
  48658. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48659. end;
  48660. procedure TPORTD_CNEND.setCNIED0; inline;
  48661. begin
  48662. pTDefRegMap(@Self)^.&set := $00000001;
  48663. end;
  48664. procedure TPORTD_CNEND.clearCNIED0; inline;
  48665. begin
  48666. pTDefRegMap(@Self)^.clr := $00000001;
  48667. end;
  48668. procedure TPORTD_CNEND.setCNIED0(thebits : TBits_1); inline;
  48669. begin
  48670. if thebits = 0 then
  48671. pTDefRegMap(@Self)^.clr := $00000001
  48672. else
  48673. pTDefRegMap(@Self)^.&set := $00000001;
  48674. end;
  48675. function TPORTD_CNEND.getCNIED0 : TBits_1; inline;
  48676. begin
  48677. getCNIED0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48678. end;
  48679. procedure TPORTD_CNEND.setCNIED1; inline;
  48680. begin
  48681. pTDefRegMap(@Self)^.&set := $00000002;
  48682. end;
  48683. procedure TPORTD_CNEND.clearCNIED1; inline;
  48684. begin
  48685. pTDefRegMap(@Self)^.clr := $00000002;
  48686. end;
  48687. procedure TPORTD_CNEND.setCNIED1(thebits : TBits_1); inline;
  48688. begin
  48689. if thebits = 0 then
  48690. pTDefRegMap(@Self)^.clr := $00000002
  48691. else
  48692. pTDefRegMap(@Self)^.&set := $00000002;
  48693. end;
  48694. function TPORTD_CNEND.getCNIED1 : TBits_1; inline;
  48695. begin
  48696. getCNIED1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48697. end;
  48698. procedure TPORTD_CNEND.setCNIED2; inline;
  48699. begin
  48700. pTDefRegMap(@Self)^.&set := $00000004;
  48701. end;
  48702. procedure TPORTD_CNEND.clearCNIED2; inline;
  48703. begin
  48704. pTDefRegMap(@Self)^.clr := $00000004;
  48705. end;
  48706. procedure TPORTD_CNEND.setCNIED2(thebits : TBits_1); inline;
  48707. begin
  48708. if thebits = 0 then
  48709. pTDefRegMap(@Self)^.clr := $00000004
  48710. else
  48711. pTDefRegMap(@Self)^.&set := $00000004;
  48712. end;
  48713. function TPORTD_CNEND.getCNIED2 : TBits_1; inline;
  48714. begin
  48715. getCNIED2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48716. end;
  48717. procedure TPORTD_CNEND.setCNIED3; inline;
  48718. begin
  48719. pTDefRegMap(@Self)^.&set := $00000008;
  48720. end;
  48721. procedure TPORTD_CNEND.clearCNIED3; inline;
  48722. begin
  48723. pTDefRegMap(@Self)^.clr := $00000008;
  48724. end;
  48725. procedure TPORTD_CNEND.setCNIED3(thebits : TBits_1); inline;
  48726. begin
  48727. if thebits = 0 then
  48728. pTDefRegMap(@Self)^.clr := $00000008
  48729. else
  48730. pTDefRegMap(@Self)^.&set := $00000008;
  48731. end;
  48732. function TPORTD_CNEND.getCNIED3 : TBits_1; inline;
  48733. begin
  48734. getCNIED3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48735. end;
  48736. procedure TPORTD_CNEND.setCNIED4; inline;
  48737. begin
  48738. pTDefRegMap(@Self)^.&set := $00000010;
  48739. end;
  48740. procedure TPORTD_CNEND.clearCNIED4; inline;
  48741. begin
  48742. pTDefRegMap(@Self)^.clr := $00000010;
  48743. end;
  48744. procedure TPORTD_CNEND.setCNIED4(thebits : TBits_1); inline;
  48745. begin
  48746. if thebits = 0 then
  48747. pTDefRegMap(@Self)^.clr := $00000010
  48748. else
  48749. pTDefRegMap(@Self)^.&set := $00000010;
  48750. end;
  48751. function TPORTD_CNEND.getCNIED4 : TBits_1; inline;
  48752. begin
  48753. getCNIED4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48754. end;
  48755. procedure TPORTD_CNEND.setCNIED5; inline;
  48756. begin
  48757. pTDefRegMap(@Self)^.&set := $00000020;
  48758. end;
  48759. procedure TPORTD_CNEND.clearCNIED5; inline;
  48760. begin
  48761. pTDefRegMap(@Self)^.clr := $00000020;
  48762. end;
  48763. procedure TPORTD_CNEND.setCNIED5(thebits : TBits_1); inline;
  48764. begin
  48765. if thebits = 0 then
  48766. pTDefRegMap(@Self)^.clr := $00000020
  48767. else
  48768. pTDefRegMap(@Self)^.&set := $00000020;
  48769. end;
  48770. function TPORTD_CNEND.getCNIED5 : TBits_1; inline;
  48771. begin
  48772. getCNIED5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48773. end;
  48774. procedure TPORTD_CNEND.setCNIED6; inline;
  48775. begin
  48776. pTDefRegMap(@Self)^.&set := $00000040;
  48777. end;
  48778. procedure TPORTD_CNEND.clearCNIED6; inline;
  48779. begin
  48780. pTDefRegMap(@Self)^.clr := $00000040;
  48781. end;
  48782. procedure TPORTD_CNEND.setCNIED6(thebits : TBits_1); inline;
  48783. begin
  48784. if thebits = 0 then
  48785. pTDefRegMap(@Self)^.clr := $00000040
  48786. else
  48787. pTDefRegMap(@Self)^.&set := $00000040;
  48788. end;
  48789. function TPORTD_CNEND.getCNIED6 : TBits_1; inline;
  48790. begin
  48791. getCNIED6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48792. end;
  48793. procedure TPORTD_CNEND.setCNIED7; inline;
  48794. begin
  48795. pTDefRegMap(@Self)^.&set := $00000080;
  48796. end;
  48797. procedure TPORTD_CNEND.clearCNIED7; inline;
  48798. begin
  48799. pTDefRegMap(@Self)^.clr := $00000080;
  48800. end;
  48801. procedure TPORTD_CNEND.setCNIED7(thebits : TBits_1); inline;
  48802. begin
  48803. if thebits = 0 then
  48804. pTDefRegMap(@Self)^.clr := $00000080
  48805. else
  48806. pTDefRegMap(@Self)^.&set := $00000080;
  48807. end;
  48808. function TPORTD_CNEND.getCNIED7 : TBits_1; inline;
  48809. begin
  48810. getCNIED7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48811. end;
  48812. procedure TPORTD_CNEND.setCNIED8; inline;
  48813. begin
  48814. pTDefRegMap(@Self)^.&set := $00000100;
  48815. end;
  48816. procedure TPORTD_CNEND.clearCNIED8; inline;
  48817. begin
  48818. pTDefRegMap(@Self)^.clr := $00000100;
  48819. end;
  48820. procedure TPORTD_CNEND.setCNIED8(thebits : TBits_1); inline;
  48821. begin
  48822. if thebits = 0 then
  48823. pTDefRegMap(@Self)^.clr := $00000100
  48824. else
  48825. pTDefRegMap(@Self)^.&set := $00000100;
  48826. end;
  48827. function TPORTD_CNEND.getCNIED8 : TBits_1; inline;
  48828. begin
  48829. getCNIED8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48830. end;
  48831. procedure TPORTD_CNEND.setCNIED9; inline;
  48832. begin
  48833. pTDefRegMap(@Self)^.&set := $00000200;
  48834. end;
  48835. procedure TPORTD_CNEND.clearCNIED9; inline;
  48836. begin
  48837. pTDefRegMap(@Self)^.clr := $00000200;
  48838. end;
  48839. procedure TPORTD_CNEND.setCNIED9(thebits : TBits_1); inline;
  48840. begin
  48841. if thebits = 0 then
  48842. pTDefRegMap(@Self)^.clr := $00000200
  48843. else
  48844. pTDefRegMap(@Self)^.&set := $00000200;
  48845. end;
  48846. function TPORTD_CNEND.getCNIED9 : TBits_1; inline;
  48847. begin
  48848. getCNIED9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  48849. end;
  48850. procedure TPORTD_CNEND.setCNIED10; inline;
  48851. begin
  48852. pTDefRegMap(@Self)^.&set := $00000400;
  48853. end;
  48854. procedure TPORTD_CNEND.clearCNIED10; inline;
  48855. begin
  48856. pTDefRegMap(@Self)^.clr := $00000400;
  48857. end;
  48858. procedure TPORTD_CNEND.setCNIED10(thebits : TBits_1); inline;
  48859. begin
  48860. if thebits = 0 then
  48861. pTDefRegMap(@Self)^.clr := $00000400
  48862. else
  48863. pTDefRegMap(@Self)^.&set := $00000400;
  48864. end;
  48865. function TPORTD_CNEND.getCNIED10 : TBits_1; inline;
  48866. begin
  48867. getCNIED10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  48868. end;
  48869. procedure TPORTD_CNEND.setCNIED11; inline;
  48870. begin
  48871. pTDefRegMap(@Self)^.&set := $00000800;
  48872. end;
  48873. procedure TPORTD_CNEND.clearCNIED11; inline;
  48874. begin
  48875. pTDefRegMap(@Self)^.clr := $00000800;
  48876. end;
  48877. procedure TPORTD_CNEND.setCNIED11(thebits : TBits_1); inline;
  48878. begin
  48879. if thebits = 0 then
  48880. pTDefRegMap(@Self)^.clr := $00000800
  48881. else
  48882. pTDefRegMap(@Self)^.&set := $00000800;
  48883. end;
  48884. function TPORTD_CNEND.getCNIED11 : TBits_1; inline;
  48885. begin
  48886. getCNIED11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  48887. end;
  48888. procedure TPORTD_CNEND.setCNIED12; inline;
  48889. begin
  48890. pTDefRegMap(@Self)^.&set := $00001000;
  48891. end;
  48892. procedure TPORTD_CNEND.clearCNIED12; inline;
  48893. begin
  48894. pTDefRegMap(@Self)^.clr := $00001000;
  48895. end;
  48896. procedure TPORTD_CNEND.setCNIED12(thebits : TBits_1); inline;
  48897. begin
  48898. if thebits = 0 then
  48899. pTDefRegMap(@Self)^.clr := $00001000
  48900. else
  48901. pTDefRegMap(@Self)^.&set := $00001000;
  48902. end;
  48903. function TPORTD_CNEND.getCNIED12 : TBits_1; inline;
  48904. begin
  48905. getCNIED12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  48906. end;
  48907. procedure TPORTD_CNEND.setCNIED13; inline;
  48908. begin
  48909. pTDefRegMap(@Self)^.&set := $00002000;
  48910. end;
  48911. procedure TPORTD_CNEND.clearCNIED13; inline;
  48912. begin
  48913. pTDefRegMap(@Self)^.clr := $00002000;
  48914. end;
  48915. procedure TPORTD_CNEND.setCNIED13(thebits : TBits_1); inline;
  48916. begin
  48917. if thebits = 0 then
  48918. pTDefRegMap(@Self)^.clr := $00002000
  48919. else
  48920. pTDefRegMap(@Self)^.&set := $00002000;
  48921. end;
  48922. function TPORTD_CNEND.getCNIED13 : TBits_1; inline;
  48923. begin
  48924. getCNIED13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  48925. end;
  48926. procedure TPORTD_CNEND.setCNIED14; inline;
  48927. begin
  48928. pTDefRegMap(@Self)^.&set := $00004000;
  48929. end;
  48930. procedure TPORTD_CNEND.clearCNIED14; inline;
  48931. begin
  48932. pTDefRegMap(@Self)^.clr := $00004000;
  48933. end;
  48934. procedure TPORTD_CNEND.setCNIED14(thebits : TBits_1); inline;
  48935. begin
  48936. if thebits = 0 then
  48937. pTDefRegMap(@Self)^.clr := $00004000
  48938. else
  48939. pTDefRegMap(@Self)^.&set := $00004000;
  48940. end;
  48941. function TPORTD_CNEND.getCNIED14 : TBits_1; inline;
  48942. begin
  48943. getCNIED14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  48944. end;
  48945. procedure TPORTD_CNEND.setCNIED15; inline;
  48946. begin
  48947. pTDefRegMap(@Self)^.&set := $00008000;
  48948. end;
  48949. procedure TPORTD_CNEND.clearCNIED15; inline;
  48950. begin
  48951. pTDefRegMap(@Self)^.clr := $00008000;
  48952. end;
  48953. procedure TPORTD_CNEND.setCNIED15(thebits : TBits_1); inline;
  48954. begin
  48955. if thebits = 0 then
  48956. pTDefRegMap(@Self)^.clr := $00008000
  48957. else
  48958. pTDefRegMap(@Self)^.&set := $00008000;
  48959. end;
  48960. function TPORTD_CNEND.getCNIED15 : TBits_1; inline;
  48961. begin
  48962. getCNIED15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48963. end;
  48964. procedure TPORTD_CNEND.setw(thebits : TBits_32); inline;
  48965. begin
  48966. pTDefRegMap(@Self)^.val := thebits;
  48967. end;
  48968. function TPORTD_CNEND.getw : TBits_32; inline;
  48969. begin
  48970. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48971. end;
  48972. procedure TPORTD_CNSTATD.setCNSTATD0; inline;
  48973. begin
  48974. pTDefRegMap(@Self)^.&set := $00000001;
  48975. end;
  48976. procedure TPORTD_CNSTATD.clearCNSTATD0; inline;
  48977. begin
  48978. pTDefRegMap(@Self)^.clr := $00000001;
  48979. end;
  48980. procedure TPORTD_CNSTATD.setCNSTATD0(thebits : TBits_1); inline;
  48981. begin
  48982. if thebits = 0 then
  48983. pTDefRegMap(@Self)^.clr := $00000001
  48984. else
  48985. pTDefRegMap(@Self)^.&set := $00000001;
  48986. end;
  48987. function TPORTD_CNSTATD.getCNSTATD0 : TBits_1; inline;
  48988. begin
  48989. getCNSTATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48990. end;
  48991. procedure TPORTD_CNSTATD.setCNSTATD1; inline;
  48992. begin
  48993. pTDefRegMap(@Self)^.&set := $00000002;
  48994. end;
  48995. procedure TPORTD_CNSTATD.clearCNSTATD1; inline;
  48996. begin
  48997. pTDefRegMap(@Self)^.clr := $00000002;
  48998. end;
  48999. procedure TPORTD_CNSTATD.setCNSTATD1(thebits : TBits_1); inline;
  49000. begin
  49001. if thebits = 0 then
  49002. pTDefRegMap(@Self)^.clr := $00000002
  49003. else
  49004. pTDefRegMap(@Self)^.&set := $00000002;
  49005. end;
  49006. function TPORTD_CNSTATD.getCNSTATD1 : TBits_1; inline;
  49007. begin
  49008. getCNSTATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49009. end;
  49010. procedure TPORTD_CNSTATD.setCNSTATD2; inline;
  49011. begin
  49012. pTDefRegMap(@Self)^.&set := $00000004;
  49013. end;
  49014. procedure TPORTD_CNSTATD.clearCNSTATD2; inline;
  49015. begin
  49016. pTDefRegMap(@Self)^.clr := $00000004;
  49017. end;
  49018. procedure TPORTD_CNSTATD.setCNSTATD2(thebits : TBits_1); inline;
  49019. begin
  49020. if thebits = 0 then
  49021. pTDefRegMap(@Self)^.clr := $00000004
  49022. else
  49023. pTDefRegMap(@Self)^.&set := $00000004;
  49024. end;
  49025. function TPORTD_CNSTATD.getCNSTATD2 : TBits_1; inline;
  49026. begin
  49027. getCNSTATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49028. end;
  49029. procedure TPORTD_CNSTATD.setCNSTATD3; inline;
  49030. begin
  49031. pTDefRegMap(@Self)^.&set := $00000008;
  49032. end;
  49033. procedure TPORTD_CNSTATD.clearCNSTATD3; inline;
  49034. begin
  49035. pTDefRegMap(@Self)^.clr := $00000008;
  49036. end;
  49037. procedure TPORTD_CNSTATD.setCNSTATD3(thebits : TBits_1); inline;
  49038. begin
  49039. if thebits = 0 then
  49040. pTDefRegMap(@Self)^.clr := $00000008
  49041. else
  49042. pTDefRegMap(@Self)^.&set := $00000008;
  49043. end;
  49044. function TPORTD_CNSTATD.getCNSTATD3 : TBits_1; inline;
  49045. begin
  49046. getCNSTATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49047. end;
  49048. procedure TPORTD_CNSTATD.setCNSTATD4; inline;
  49049. begin
  49050. pTDefRegMap(@Self)^.&set := $00000010;
  49051. end;
  49052. procedure TPORTD_CNSTATD.clearCNSTATD4; inline;
  49053. begin
  49054. pTDefRegMap(@Self)^.clr := $00000010;
  49055. end;
  49056. procedure TPORTD_CNSTATD.setCNSTATD4(thebits : TBits_1); inline;
  49057. begin
  49058. if thebits = 0 then
  49059. pTDefRegMap(@Self)^.clr := $00000010
  49060. else
  49061. pTDefRegMap(@Self)^.&set := $00000010;
  49062. end;
  49063. function TPORTD_CNSTATD.getCNSTATD4 : TBits_1; inline;
  49064. begin
  49065. getCNSTATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49066. end;
  49067. procedure TPORTD_CNSTATD.setCNSTATD5; inline;
  49068. begin
  49069. pTDefRegMap(@Self)^.&set := $00000020;
  49070. end;
  49071. procedure TPORTD_CNSTATD.clearCNSTATD5; inline;
  49072. begin
  49073. pTDefRegMap(@Self)^.clr := $00000020;
  49074. end;
  49075. procedure TPORTD_CNSTATD.setCNSTATD5(thebits : TBits_1); inline;
  49076. begin
  49077. if thebits = 0 then
  49078. pTDefRegMap(@Self)^.clr := $00000020
  49079. else
  49080. pTDefRegMap(@Self)^.&set := $00000020;
  49081. end;
  49082. function TPORTD_CNSTATD.getCNSTATD5 : TBits_1; inline;
  49083. begin
  49084. getCNSTATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49085. end;
  49086. procedure TPORTD_CNSTATD.setCNSTATD6; inline;
  49087. begin
  49088. pTDefRegMap(@Self)^.&set := $00000040;
  49089. end;
  49090. procedure TPORTD_CNSTATD.clearCNSTATD6; inline;
  49091. begin
  49092. pTDefRegMap(@Self)^.clr := $00000040;
  49093. end;
  49094. procedure TPORTD_CNSTATD.setCNSTATD6(thebits : TBits_1); inline;
  49095. begin
  49096. if thebits = 0 then
  49097. pTDefRegMap(@Self)^.clr := $00000040
  49098. else
  49099. pTDefRegMap(@Self)^.&set := $00000040;
  49100. end;
  49101. function TPORTD_CNSTATD.getCNSTATD6 : TBits_1; inline;
  49102. begin
  49103. getCNSTATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49104. end;
  49105. procedure TPORTD_CNSTATD.setCNSTATD7; inline;
  49106. begin
  49107. pTDefRegMap(@Self)^.&set := $00000080;
  49108. end;
  49109. procedure TPORTD_CNSTATD.clearCNSTATD7; inline;
  49110. begin
  49111. pTDefRegMap(@Self)^.clr := $00000080;
  49112. end;
  49113. procedure TPORTD_CNSTATD.setCNSTATD7(thebits : TBits_1); inline;
  49114. begin
  49115. if thebits = 0 then
  49116. pTDefRegMap(@Self)^.clr := $00000080
  49117. else
  49118. pTDefRegMap(@Self)^.&set := $00000080;
  49119. end;
  49120. function TPORTD_CNSTATD.getCNSTATD7 : TBits_1; inline;
  49121. begin
  49122. getCNSTATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49123. end;
  49124. procedure TPORTD_CNSTATD.setCNSTATD8; inline;
  49125. begin
  49126. pTDefRegMap(@Self)^.&set := $00000100;
  49127. end;
  49128. procedure TPORTD_CNSTATD.clearCNSTATD8; inline;
  49129. begin
  49130. pTDefRegMap(@Self)^.clr := $00000100;
  49131. end;
  49132. procedure TPORTD_CNSTATD.setCNSTATD8(thebits : TBits_1); inline;
  49133. begin
  49134. if thebits = 0 then
  49135. pTDefRegMap(@Self)^.clr := $00000100
  49136. else
  49137. pTDefRegMap(@Self)^.&set := $00000100;
  49138. end;
  49139. function TPORTD_CNSTATD.getCNSTATD8 : TBits_1; inline;
  49140. begin
  49141. getCNSTATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49142. end;
  49143. procedure TPORTD_CNSTATD.setCNSTATD9; inline;
  49144. begin
  49145. pTDefRegMap(@Self)^.&set := $00000200;
  49146. end;
  49147. procedure TPORTD_CNSTATD.clearCNSTATD9; inline;
  49148. begin
  49149. pTDefRegMap(@Self)^.clr := $00000200;
  49150. end;
  49151. procedure TPORTD_CNSTATD.setCNSTATD9(thebits : TBits_1); inline;
  49152. begin
  49153. if thebits = 0 then
  49154. pTDefRegMap(@Self)^.clr := $00000200
  49155. else
  49156. pTDefRegMap(@Self)^.&set := $00000200;
  49157. end;
  49158. function TPORTD_CNSTATD.getCNSTATD9 : TBits_1; inline;
  49159. begin
  49160. getCNSTATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49161. end;
  49162. procedure TPORTD_CNSTATD.setCNSTATD10; inline;
  49163. begin
  49164. pTDefRegMap(@Self)^.&set := $00000400;
  49165. end;
  49166. procedure TPORTD_CNSTATD.clearCNSTATD10; inline;
  49167. begin
  49168. pTDefRegMap(@Self)^.clr := $00000400;
  49169. end;
  49170. procedure TPORTD_CNSTATD.setCNSTATD10(thebits : TBits_1); inline;
  49171. begin
  49172. if thebits = 0 then
  49173. pTDefRegMap(@Self)^.clr := $00000400
  49174. else
  49175. pTDefRegMap(@Self)^.&set := $00000400;
  49176. end;
  49177. function TPORTD_CNSTATD.getCNSTATD10 : TBits_1; inline;
  49178. begin
  49179. getCNSTATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  49180. end;
  49181. procedure TPORTD_CNSTATD.setCNSTATD11; inline;
  49182. begin
  49183. pTDefRegMap(@Self)^.&set := $00000800;
  49184. end;
  49185. procedure TPORTD_CNSTATD.clearCNSTATD11; inline;
  49186. begin
  49187. pTDefRegMap(@Self)^.clr := $00000800;
  49188. end;
  49189. procedure TPORTD_CNSTATD.setCNSTATD11(thebits : TBits_1); inline;
  49190. begin
  49191. if thebits = 0 then
  49192. pTDefRegMap(@Self)^.clr := $00000800
  49193. else
  49194. pTDefRegMap(@Self)^.&set := $00000800;
  49195. end;
  49196. function TPORTD_CNSTATD.getCNSTATD11 : TBits_1; inline;
  49197. begin
  49198. getCNSTATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  49199. end;
  49200. procedure TPORTD_CNSTATD.setCNSTATD12; inline;
  49201. begin
  49202. pTDefRegMap(@Self)^.&set := $00001000;
  49203. end;
  49204. procedure TPORTD_CNSTATD.clearCNSTATD12; inline;
  49205. begin
  49206. pTDefRegMap(@Self)^.clr := $00001000;
  49207. end;
  49208. procedure TPORTD_CNSTATD.setCNSTATD12(thebits : TBits_1); inline;
  49209. begin
  49210. if thebits = 0 then
  49211. pTDefRegMap(@Self)^.clr := $00001000
  49212. else
  49213. pTDefRegMap(@Self)^.&set := $00001000;
  49214. end;
  49215. function TPORTD_CNSTATD.getCNSTATD12 : TBits_1; inline;
  49216. begin
  49217. getCNSTATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  49218. end;
  49219. procedure TPORTD_CNSTATD.setCNSTATD13; inline;
  49220. begin
  49221. pTDefRegMap(@Self)^.&set := $00002000;
  49222. end;
  49223. procedure TPORTD_CNSTATD.clearCNSTATD13; inline;
  49224. begin
  49225. pTDefRegMap(@Self)^.clr := $00002000;
  49226. end;
  49227. procedure TPORTD_CNSTATD.setCNSTATD13(thebits : TBits_1); inline;
  49228. begin
  49229. if thebits = 0 then
  49230. pTDefRegMap(@Self)^.clr := $00002000
  49231. else
  49232. pTDefRegMap(@Self)^.&set := $00002000;
  49233. end;
  49234. function TPORTD_CNSTATD.getCNSTATD13 : TBits_1; inline;
  49235. begin
  49236. getCNSTATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  49237. end;
  49238. procedure TPORTD_CNSTATD.setCNSTATD14; inline;
  49239. begin
  49240. pTDefRegMap(@Self)^.&set := $00004000;
  49241. end;
  49242. procedure TPORTD_CNSTATD.clearCNSTATD14; inline;
  49243. begin
  49244. pTDefRegMap(@Self)^.clr := $00004000;
  49245. end;
  49246. procedure TPORTD_CNSTATD.setCNSTATD14(thebits : TBits_1); inline;
  49247. begin
  49248. if thebits = 0 then
  49249. pTDefRegMap(@Self)^.clr := $00004000
  49250. else
  49251. pTDefRegMap(@Self)^.&set := $00004000;
  49252. end;
  49253. function TPORTD_CNSTATD.getCNSTATD14 : TBits_1; inline;
  49254. begin
  49255. getCNSTATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  49256. end;
  49257. procedure TPORTD_CNSTATD.setCNSTATD15; inline;
  49258. begin
  49259. pTDefRegMap(@Self)^.&set := $00008000;
  49260. end;
  49261. procedure TPORTD_CNSTATD.clearCNSTATD15; inline;
  49262. begin
  49263. pTDefRegMap(@Self)^.clr := $00008000;
  49264. end;
  49265. procedure TPORTD_CNSTATD.setCNSTATD15(thebits : TBits_1); inline;
  49266. begin
  49267. if thebits = 0 then
  49268. pTDefRegMap(@Self)^.clr := $00008000
  49269. else
  49270. pTDefRegMap(@Self)^.&set := $00008000;
  49271. end;
  49272. function TPORTD_CNSTATD.getCNSTATD15 : TBits_1; inline;
  49273. begin
  49274. getCNSTATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49275. end;
  49276. procedure TPORTD_CNSTATD.setw(thebits : TBits_32); inline;
  49277. begin
  49278. pTDefRegMap(@Self)^.val := thebits;
  49279. end;
  49280. function TPORTD_CNSTATD.getw : TBits_32; inline;
  49281. begin
  49282. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49283. end;
  49284. procedure TPORTD_ANSELE.setANSE2; inline;
  49285. begin
  49286. pTDefRegMap(@Self)^.&set := $00000004;
  49287. end;
  49288. procedure TPORTD_ANSELE.clearANSE2; inline;
  49289. begin
  49290. pTDefRegMap(@Self)^.clr := $00000004;
  49291. end;
  49292. procedure TPORTD_ANSELE.setANSE2(thebits : TBits_1); inline;
  49293. begin
  49294. if thebits = 0 then
  49295. pTDefRegMap(@Self)^.clr := $00000004
  49296. else
  49297. pTDefRegMap(@Self)^.&set := $00000004;
  49298. end;
  49299. function TPORTD_ANSELE.getANSE2 : TBits_1; inline;
  49300. begin
  49301. getANSE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49302. end;
  49303. procedure TPORTD_ANSELE.setANSE4; inline;
  49304. begin
  49305. pTDefRegMap(@Self)^.&set := $00000010;
  49306. end;
  49307. procedure TPORTD_ANSELE.clearANSE4; inline;
  49308. begin
  49309. pTDefRegMap(@Self)^.clr := $00000010;
  49310. end;
  49311. procedure TPORTD_ANSELE.setANSE4(thebits : TBits_1); inline;
  49312. begin
  49313. if thebits = 0 then
  49314. pTDefRegMap(@Self)^.clr := $00000010
  49315. else
  49316. pTDefRegMap(@Self)^.&set := $00000010;
  49317. end;
  49318. function TPORTD_ANSELE.getANSE4 : TBits_1; inline;
  49319. begin
  49320. getANSE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49321. end;
  49322. procedure TPORTD_ANSELE.setANSE5; inline;
  49323. begin
  49324. pTDefRegMap(@Self)^.&set := $00000020;
  49325. end;
  49326. procedure TPORTD_ANSELE.clearANSE5; inline;
  49327. begin
  49328. pTDefRegMap(@Self)^.clr := $00000020;
  49329. end;
  49330. procedure TPORTD_ANSELE.setANSE5(thebits : TBits_1); inline;
  49331. begin
  49332. if thebits = 0 then
  49333. pTDefRegMap(@Self)^.clr := $00000020
  49334. else
  49335. pTDefRegMap(@Self)^.&set := $00000020;
  49336. end;
  49337. function TPORTD_ANSELE.getANSE5 : TBits_1; inline;
  49338. begin
  49339. getANSE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49340. end;
  49341. procedure TPORTD_ANSELE.setANSE6; inline;
  49342. begin
  49343. pTDefRegMap(@Self)^.&set := $00000040;
  49344. end;
  49345. procedure TPORTD_ANSELE.clearANSE6; inline;
  49346. begin
  49347. pTDefRegMap(@Self)^.clr := $00000040;
  49348. end;
  49349. procedure TPORTD_ANSELE.setANSE6(thebits : TBits_1); inline;
  49350. begin
  49351. if thebits = 0 then
  49352. pTDefRegMap(@Self)^.clr := $00000040
  49353. else
  49354. pTDefRegMap(@Self)^.&set := $00000040;
  49355. end;
  49356. function TPORTD_ANSELE.getANSE6 : TBits_1; inline;
  49357. begin
  49358. getANSE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49359. end;
  49360. procedure TPORTD_ANSELE.setANSE7; inline;
  49361. begin
  49362. pTDefRegMap(@Self)^.&set := $00000080;
  49363. end;
  49364. procedure TPORTD_ANSELE.clearANSE7; inline;
  49365. begin
  49366. pTDefRegMap(@Self)^.clr := $00000080;
  49367. end;
  49368. procedure TPORTD_ANSELE.setANSE7(thebits : TBits_1); inline;
  49369. begin
  49370. if thebits = 0 then
  49371. pTDefRegMap(@Self)^.clr := $00000080
  49372. else
  49373. pTDefRegMap(@Self)^.&set := $00000080;
  49374. end;
  49375. function TPORTD_ANSELE.getANSE7 : TBits_1; inline;
  49376. begin
  49377. getANSE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49378. end;
  49379. procedure TPORTD_ANSELE.setw(thebits : TBits_32); inline;
  49380. begin
  49381. pTDefRegMap(@Self)^.val := thebits;
  49382. end;
  49383. function TPORTD_ANSELE.getw : TBits_32; inline;
  49384. begin
  49385. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49386. end;
  49387. procedure TPORTD_TRISE.setTRISE0; inline;
  49388. begin
  49389. pTDefRegMap(@Self)^.&set := $00000001;
  49390. end;
  49391. procedure TPORTD_TRISE.clearTRISE0; inline;
  49392. begin
  49393. pTDefRegMap(@Self)^.clr := $00000001;
  49394. end;
  49395. procedure TPORTD_TRISE.setTRISE0(thebits : TBits_1); inline;
  49396. begin
  49397. if thebits = 0 then
  49398. pTDefRegMap(@Self)^.clr := $00000001
  49399. else
  49400. pTDefRegMap(@Self)^.&set := $00000001;
  49401. end;
  49402. function TPORTD_TRISE.getTRISE0 : TBits_1; inline;
  49403. begin
  49404. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49405. end;
  49406. procedure TPORTD_TRISE.setTRISE1; inline;
  49407. begin
  49408. pTDefRegMap(@Self)^.&set := $00000002;
  49409. end;
  49410. procedure TPORTD_TRISE.clearTRISE1; inline;
  49411. begin
  49412. pTDefRegMap(@Self)^.clr := $00000002;
  49413. end;
  49414. procedure TPORTD_TRISE.setTRISE1(thebits : TBits_1); inline;
  49415. begin
  49416. if thebits = 0 then
  49417. pTDefRegMap(@Self)^.clr := $00000002
  49418. else
  49419. pTDefRegMap(@Self)^.&set := $00000002;
  49420. end;
  49421. function TPORTD_TRISE.getTRISE1 : TBits_1; inline;
  49422. begin
  49423. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49424. end;
  49425. procedure TPORTD_TRISE.setTRISE2; inline;
  49426. begin
  49427. pTDefRegMap(@Self)^.&set := $00000004;
  49428. end;
  49429. procedure TPORTD_TRISE.clearTRISE2; inline;
  49430. begin
  49431. pTDefRegMap(@Self)^.clr := $00000004;
  49432. end;
  49433. procedure TPORTD_TRISE.setTRISE2(thebits : TBits_1); inline;
  49434. begin
  49435. if thebits = 0 then
  49436. pTDefRegMap(@Self)^.clr := $00000004
  49437. else
  49438. pTDefRegMap(@Self)^.&set := $00000004;
  49439. end;
  49440. function TPORTD_TRISE.getTRISE2 : TBits_1; inline;
  49441. begin
  49442. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49443. end;
  49444. procedure TPORTD_TRISE.setTRISE3; inline;
  49445. begin
  49446. pTDefRegMap(@Self)^.&set := $00000008;
  49447. end;
  49448. procedure TPORTD_TRISE.clearTRISE3; inline;
  49449. begin
  49450. pTDefRegMap(@Self)^.clr := $00000008;
  49451. end;
  49452. procedure TPORTD_TRISE.setTRISE3(thebits : TBits_1); inline;
  49453. begin
  49454. if thebits = 0 then
  49455. pTDefRegMap(@Self)^.clr := $00000008
  49456. else
  49457. pTDefRegMap(@Self)^.&set := $00000008;
  49458. end;
  49459. function TPORTD_TRISE.getTRISE3 : TBits_1; inline;
  49460. begin
  49461. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49462. end;
  49463. procedure TPORTD_TRISE.setTRISE4; inline;
  49464. begin
  49465. pTDefRegMap(@Self)^.&set := $00000010;
  49466. end;
  49467. procedure TPORTD_TRISE.clearTRISE4; inline;
  49468. begin
  49469. pTDefRegMap(@Self)^.clr := $00000010;
  49470. end;
  49471. procedure TPORTD_TRISE.setTRISE4(thebits : TBits_1); inline;
  49472. begin
  49473. if thebits = 0 then
  49474. pTDefRegMap(@Self)^.clr := $00000010
  49475. else
  49476. pTDefRegMap(@Self)^.&set := $00000010;
  49477. end;
  49478. function TPORTD_TRISE.getTRISE4 : TBits_1; inline;
  49479. begin
  49480. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49481. end;
  49482. procedure TPORTD_TRISE.setTRISE5; inline;
  49483. begin
  49484. pTDefRegMap(@Self)^.&set := $00000020;
  49485. end;
  49486. procedure TPORTD_TRISE.clearTRISE5; inline;
  49487. begin
  49488. pTDefRegMap(@Self)^.clr := $00000020;
  49489. end;
  49490. procedure TPORTD_TRISE.setTRISE5(thebits : TBits_1); inline;
  49491. begin
  49492. if thebits = 0 then
  49493. pTDefRegMap(@Self)^.clr := $00000020
  49494. else
  49495. pTDefRegMap(@Self)^.&set := $00000020;
  49496. end;
  49497. function TPORTD_TRISE.getTRISE5 : TBits_1; inline;
  49498. begin
  49499. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49500. end;
  49501. procedure TPORTD_TRISE.setTRISE6; inline;
  49502. begin
  49503. pTDefRegMap(@Self)^.&set := $00000040;
  49504. end;
  49505. procedure TPORTD_TRISE.clearTRISE6; inline;
  49506. begin
  49507. pTDefRegMap(@Self)^.clr := $00000040;
  49508. end;
  49509. procedure TPORTD_TRISE.setTRISE6(thebits : TBits_1); inline;
  49510. begin
  49511. if thebits = 0 then
  49512. pTDefRegMap(@Self)^.clr := $00000040
  49513. else
  49514. pTDefRegMap(@Self)^.&set := $00000040;
  49515. end;
  49516. function TPORTD_TRISE.getTRISE6 : TBits_1; inline;
  49517. begin
  49518. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49519. end;
  49520. procedure TPORTD_TRISE.setTRISE7; inline;
  49521. begin
  49522. pTDefRegMap(@Self)^.&set := $00000080;
  49523. end;
  49524. procedure TPORTD_TRISE.clearTRISE7; inline;
  49525. begin
  49526. pTDefRegMap(@Self)^.clr := $00000080;
  49527. end;
  49528. procedure TPORTD_TRISE.setTRISE7(thebits : TBits_1); inline;
  49529. begin
  49530. if thebits = 0 then
  49531. pTDefRegMap(@Self)^.clr := $00000080
  49532. else
  49533. pTDefRegMap(@Self)^.&set := $00000080;
  49534. end;
  49535. function TPORTD_TRISE.getTRISE7 : TBits_1; inline;
  49536. begin
  49537. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49538. end;
  49539. procedure TPORTD_TRISE.setTRISE8; inline;
  49540. begin
  49541. pTDefRegMap(@Self)^.&set := $00000100;
  49542. end;
  49543. procedure TPORTD_TRISE.clearTRISE8; inline;
  49544. begin
  49545. pTDefRegMap(@Self)^.clr := $00000100;
  49546. end;
  49547. procedure TPORTD_TRISE.setTRISE8(thebits : TBits_1); inline;
  49548. begin
  49549. if thebits = 0 then
  49550. pTDefRegMap(@Self)^.clr := $00000100
  49551. else
  49552. pTDefRegMap(@Self)^.&set := $00000100;
  49553. end;
  49554. function TPORTD_TRISE.getTRISE8 : TBits_1; inline;
  49555. begin
  49556. getTRISE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49557. end;
  49558. procedure TPORTD_TRISE.setTRISE9; inline;
  49559. begin
  49560. pTDefRegMap(@Self)^.&set := $00000200;
  49561. end;
  49562. procedure TPORTD_TRISE.clearTRISE9; inline;
  49563. begin
  49564. pTDefRegMap(@Self)^.clr := $00000200;
  49565. end;
  49566. procedure TPORTD_TRISE.setTRISE9(thebits : TBits_1); inline;
  49567. begin
  49568. if thebits = 0 then
  49569. pTDefRegMap(@Self)^.clr := $00000200
  49570. else
  49571. pTDefRegMap(@Self)^.&set := $00000200;
  49572. end;
  49573. function TPORTD_TRISE.getTRISE9 : TBits_1; inline;
  49574. begin
  49575. getTRISE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49576. end;
  49577. procedure TPORTD_TRISE.setw(thebits : TBits_32); inline;
  49578. begin
  49579. pTDefRegMap(@Self)^.val := thebits;
  49580. end;
  49581. function TPORTD_TRISE.getw : TBits_32; inline;
  49582. begin
  49583. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49584. end;
  49585. procedure TPORTE_PORTE.setRE0; inline;
  49586. begin
  49587. pTDefRegMap(@Self)^.&set := $00000001;
  49588. end;
  49589. procedure TPORTE_PORTE.clearRE0; inline;
  49590. begin
  49591. pTDefRegMap(@Self)^.clr := $00000001;
  49592. end;
  49593. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  49594. begin
  49595. if thebits = 0 then
  49596. pTDefRegMap(@Self)^.clr := $00000001
  49597. else
  49598. pTDefRegMap(@Self)^.&set := $00000001;
  49599. end;
  49600. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  49601. begin
  49602. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49603. end;
  49604. procedure TPORTE_PORTE.setRE1; inline;
  49605. begin
  49606. pTDefRegMap(@Self)^.&set := $00000002;
  49607. end;
  49608. procedure TPORTE_PORTE.clearRE1; inline;
  49609. begin
  49610. pTDefRegMap(@Self)^.clr := $00000002;
  49611. end;
  49612. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  49613. begin
  49614. if thebits = 0 then
  49615. pTDefRegMap(@Self)^.clr := $00000002
  49616. else
  49617. pTDefRegMap(@Self)^.&set := $00000002;
  49618. end;
  49619. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  49620. begin
  49621. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49622. end;
  49623. procedure TPORTE_PORTE.setRE2; inline;
  49624. begin
  49625. pTDefRegMap(@Self)^.&set := $00000004;
  49626. end;
  49627. procedure TPORTE_PORTE.clearRE2; inline;
  49628. begin
  49629. pTDefRegMap(@Self)^.clr := $00000004;
  49630. end;
  49631. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  49632. begin
  49633. if thebits = 0 then
  49634. pTDefRegMap(@Self)^.clr := $00000004
  49635. else
  49636. pTDefRegMap(@Self)^.&set := $00000004;
  49637. end;
  49638. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  49639. begin
  49640. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49641. end;
  49642. procedure TPORTE_PORTE.setRE3; inline;
  49643. begin
  49644. pTDefRegMap(@Self)^.&set := $00000008;
  49645. end;
  49646. procedure TPORTE_PORTE.clearRE3; inline;
  49647. begin
  49648. pTDefRegMap(@Self)^.clr := $00000008;
  49649. end;
  49650. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  49651. begin
  49652. if thebits = 0 then
  49653. pTDefRegMap(@Self)^.clr := $00000008
  49654. else
  49655. pTDefRegMap(@Self)^.&set := $00000008;
  49656. end;
  49657. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  49658. begin
  49659. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49660. end;
  49661. procedure TPORTE_PORTE.setRE4; inline;
  49662. begin
  49663. pTDefRegMap(@Self)^.&set := $00000010;
  49664. end;
  49665. procedure TPORTE_PORTE.clearRE4; inline;
  49666. begin
  49667. pTDefRegMap(@Self)^.clr := $00000010;
  49668. end;
  49669. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  49670. begin
  49671. if thebits = 0 then
  49672. pTDefRegMap(@Self)^.clr := $00000010
  49673. else
  49674. pTDefRegMap(@Self)^.&set := $00000010;
  49675. end;
  49676. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  49677. begin
  49678. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49679. end;
  49680. procedure TPORTE_PORTE.setRE5; inline;
  49681. begin
  49682. pTDefRegMap(@Self)^.&set := $00000020;
  49683. end;
  49684. procedure TPORTE_PORTE.clearRE5; inline;
  49685. begin
  49686. pTDefRegMap(@Self)^.clr := $00000020;
  49687. end;
  49688. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  49689. begin
  49690. if thebits = 0 then
  49691. pTDefRegMap(@Self)^.clr := $00000020
  49692. else
  49693. pTDefRegMap(@Self)^.&set := $00000020;
  49694. end;
  49695. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  49696. begin
  49697. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49698. end;
  49699. procedure TPORTE_PORTE.setRE6; inline;
  49700. begin
  49701. pTDefRegMap(@Self)^.&set := $00000040;
  49702. end;
  49703. procedure TPORTE_PORTE.clearRE6; inline;
  49704. begin
  49705. pTDefRegMap(@Self)^.clr := $00000040;
  49706. end;
  49707. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  49708. begin
  49709. if thebits = 0 then
  49710. pTDefRegMap(@Self)^.clr := $00000040
  49711. else
  49712. pTDefRegMap(@Self)^.&set := $00000040;
  49713. end;
  49714. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  49715. begin
  49716. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49717. end;
  49718. procedure TPORTE_PORTE.setRE7; inline;
  49719. begin
  49720. pTDefRegMap(@Self)^.&set := $00000080;
  49721. end;
  49722. procedure TPORTE_PORTE.clearRE7; inline;
  49723. begin
  49724. pTDefRegMap(@Self)^.clr := $00000080;
  49725. end;
  49726. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  49727. begin
  49728. if thebits = 0 then
  49729. pTDefRegMap(@Self)^.clr := $00000080
  49730. else
  49731. pTDefRegMap(@Self)^.&set := $00000080;
  49732. end;
  49733. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  49734. begin
  49735. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49736. end;
  49737. procedure TPORTE_PORTE.setRE8; inline;
  49738. begin
  49739. pTDefRegMap(@Self)^.&set := $00000100;
  49740. end;
  49741. procedure TPORTE_PORTE.clearRE8; inline;
  49742. begin
  49743. pTDefRegMap(@Self)^.clr := $00000100;
  49744. end;
  49745. procedure TPORTE_PORTE.setRE8(thebits : TBits_1); inline;
  49746. begin
  49747. if thebits = 0 then
  49748. pTDefRegMap(@Self)^.clr := $00000100
  49749. else
  49750. pTDefRegMap(@Self)^.&set := $00000100;
  49751. end;
  49752. function TPORTE_PORTE.getRE8 : TBits_1; inline;
  49753. begin
  49754. getRE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49755. end;
  49756. procedure TPORTE_PORTE.setRE9; inline;
  49757. begin
  49758. pTDefRegMap(@Self)^.&set := $00000200;
  49759. end;
  49760. procedure TPORTE_PORTE.clearRE9; inline;
  49761. begin
  49762. pTDefRegMap(@Self)^.clr := $00000200;
  49763. end;
  49764. procedure TPORTE_PORTE.setRE9(thebits : TBits_1); inline;
  49765. begin
  49766. if thebits = 0 then
  49767. pTDefRegMap(@Self)^.clr := $00000200
  49768. else
  49769. pTDefRegMap(@Self)^.&set := $00000200;
  49770. end;
  49771. function TPORTE_PORTE.getRE9 : TBits_1; inline;
  49772. begin
  49773. getRE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49774. end;
  49775. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  49776. begin
  49777. pTDefRegMap(@Self)^.val := thebits;
  49778. end;
  49779. function TPORTE_PORTE.getw : TBits_32; inline;
  49780. begin
  49781. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49782. end;
  49783. procedure TPORTE_LATE.setLATE0; inline;
  49784. begin
  49785. pTDefRegMap(@Self)^.&set := $00000001;
  49786. end;
  49787. procedure TPORTE_LATE.clearLATE0; inline;
  49788. begin
  49789. pTDefRegMap(@Self)^.clr := $00000001;
  49790. end;
  49791. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  49792. begin
  49793. if thebits = 0 then
  49794. pTDefRegMap(@Self)^.clr := $00000001
  49795. else
  49796. pTDefRegMap(@Self)^.&set := $00000001;
  49797. end;
  49798. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  49799. begin
  49800. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49801. end;
  49802. procedure TPORTE_LATE.setLATE1; inline;
  49803. begin
  49804. pTDefRegMap(@Self)^.&set := $00000002;
  49805. end;
  49806. procedure TPORTE_LATE.clearLATE1; inline;
  49807. begin
  49808. pTDefRegMap(@Self)^.clr := $00000002;
  49809. end;
  49810. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  49811. begin
  49812. if thebits = 0 then
  49813. pTDefRegMap(@Self)^.clr := $00000002
  49814. else
  49815. pTDefRegMap(@Self)^.&set := $00000002;
  49816. end;
  49817. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  49818. begin
  49819. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49820. end;
  49821. procedure TPORTE_LATE.setLATE2; inline;
  49822. begin
  49823. pTDefRegMap(@Self)^.&set := $00000004;
  49824. end;
  49825. procedure TPORTE_LATE.clearLATE2; inline;
  49826. begin
  49827. pTDefRegMap(@Self)^.clr := $00000004;
  49828. end;
  49829. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  49830. begin
  49831. if thebits = 0 then
  49832. pTDefRegMap(@Self)^.clr := $00000004
  49833. else
  49834. pTDefRegMap(@Self)^.&set := $00000004;
  49835. end;
  49836. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  49837. begin
  49838. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49839. end;
  49840. procedure TPORTE_LATE.setLATE3; inline;
  49841. begin
  49842. pTDefRegMap(@Self)^.&set := $00000008;
  49843. end;
  49844. procedure TPORTE_LATE.clearLATE3; inline;
  49845. begin
  49846. pTDefRegMap(@Self)^.clr := $00000008;
  49847. end;
  49848. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  49849. begin
  49850. if thebits = 0 then
  49851. pTDefRegMap(@Self)^.clr := $00000008
  49852. else
  49853. pTDefRegMap(@Self)^.&set := $00000008;
  49854. end;
  49855. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  49856. begin
  49857. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49858. end;
  49859. procedure TPORTE_LATE.setLATE4; inline;
  49860. begin
  49861. pTDefRegMap(@Self)^.&set := $00000010;
  49862. end;
  49863. procedure TPORTE_LATE.clearLATE4; inline;
  49864. begin
  49865. pTDefRegMap(@Self)^.clr := $00000010;
  49866. end;
  49867. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  49868. begin
  49869. if thebits = 0 then
  49870. pTDefRegMap(@Self)^.clr := $00000010
  49871. else
  49872. pTDefRegMap(@Self)^.&set := $00000010;
  49873. end;
  49874. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  49875. begin
  49876. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49877. end;
  49878. procedure TPORTE_LATE.setLATE5; inline;
  49879. begin
  49880. pTDefRegMap(@Self)^.&set := $00000020;
  49881. end;
  49882. procedure TPORTE_LATE.clearLATE5; inline;
  49883. begin
  49884. pTDefRegMap(@Self)^.clr := $00000020;
  49885. end;
  49886. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  49887. begin
  49888. if thebits = 0 then
  49889. pTDefRegMap(@Self)^.clr := $00000020
  49890. else
  49891. pTDefRegMap(@Self)^.&set := $00000020;
  49892. end;
  49893. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  49894. begin
  49895. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49896. end;
  49897. procedure TPORTE_LATE.setLATE6; inline;
  49898. begin
  49899. pTDefRegMap(@Self)^.&set := $00000040;
  49900. end;
  49901. procedure TPORTE_LATE.clearLATE6; inline;
  49902. begin
  49903. pTDefRegMap(@Self)^.clr := $00000040;
  49904. end;
  49905. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  49906. begin
  49907. if thebits = 0 then
  49908. pTDefRegMap(@Self)^.clr := $00000040
  49909. else
  49910. pTDefRegMap(@Self)^.&set := $00000040;
  49911. end;
  49912. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  49913. begin
  49914. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49915. end;
  49916. procedure TPORTE_LATE.setLATE7; inline;
  49917. begin
  49918. pTDefRegMap(@Self)^.&set := $00000080;
  49919. end;
  49920. procedure TPORTE_LATE.clearLATE7; inline;
  49921. begin
  49922. pTDefRegMap(@Self)^.clr := $00000080;
  49923. end;
  49924. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  49925. begin
  49926. if thebits = 0 then
  49927. pTDefRegMap(@Self)^.clr := $00000080
  49928. else
  49929. pTDefRegMap(@Self)^.&set := $00000080;
  49930. end;
  49931. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  49932. begin
  49933. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49934. end;
  49935. procedure TPORTE_LATE.setLATE8; inline;
  49936. begin
  49937. pTDefRegMap(@Self)^.&set := $00000100;
  49938. end;
  49939. procedure TPORTE_LATE.clearLATE8; inline;
  49940. begin
  49941. pTDefRegMap(@Self)^.clr := $00000100;
  49942. end;
  49943. procedure TPORTE_LATE.setLATE8(thebits : TBits_1); inline;
  49944. begin
  49945. if thebits = 0 then
  49946. pTDefRegMap(@Self)^.clr := $00000100
  49947. else
  49948. pTDefRegMap(@Self)^.&set := $00000100;
  49949. end;
  49950. function TPORTE_LATE.getLATE8 : TBits_1; inline;
  49951. begin
  49952. getLATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49953. end;
  49954. procedure TPORTE_LATE.setLATE9; inline;
  49955. begin
  49956. pTDefRegMap(@Self)^.&set := $00000200;
  49957. end;
  49958. procedure TPORTE_LATE.clearLATE9; inline;
  49959. begin
  49960. pTDefRegMap(@Self)^.clr := $00000200;
  49961. end;
  49962. procedure TPORTE_LATE.setLATE9(thebits : TBits_1); inline;
  49963. begin
  49964. if thebits = 0 then
  49965. pTDefRegMap(@Self)^.clr := $00000200
  49966. else
  49967. pTDefRegMap(@Self)^.&set := $00000200;
  49968. end;
  49969. function TPORTE_LATE.getLATE9 : TBits_1; inline;
  49970. begin
  49971. getLATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49972. end;
  49973. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  49974. begin
  49975. pTDefRegMap(@Self)^.val := thebits;
  49976. end;
  49977. function TPORTE_LATE.getw : TBits_32; inline;
  49978. begin
  49979. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49980. end;
  49981. procedure TPORTE_ODCE.setODCE0; inline;
  49982. begin
  49983. pTDefRegMap(@Self)^.&set := $00000001;
  49984. end;
  49985. procedure TPORTE_ODCE.clearODCE0; inline;
  49986. begin
  49987. pTDefRegMap(@Self)^.clr := $00000001;
  49988. end;
  49989. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  49990. begin
  49991. if thebits = 0 then
  49992. pTDefRegMap(@Self)^.clr := $00000001
  49993. else
  49994. pTDefRegMap(@Self)^.&set := $00000001;
  49995. end;
  49996. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  49997. begin
  49998. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49999. end;
  50000. procedure TPORTE_ODCE.setODCE1; inline;
  50001. begin
  50002. pTDefRegMap(@Self)^.&set := $00000002;
  50003. end;
  50004. procedure TPORTE_ODCE.clearODCE1; inline;
  50005. begin
  50006. pTDefRegMap(@Self)^.clr := $00000002;
  50007. end;
  50008. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  50009. begin
  50010. if thebits = 0 then
  50011. pTDefRegMap(@Self)^.clr := $00000002
  50012. else
  50013. pTDefRegMap(@Self)^.&set := $00000002;
  50014. end;
  50015. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  50016. begin
  50017. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50018. end;
  50019. procedure TPORTE_ODCE.setODCE2; inline;
  50020. begin
  50021. pTDefRegMap(@Self)^.&set := $00000004;
  50022. end;
  50023. procedure TPORTE_ODCE.clearODCE2; inline;
  50024. begin
  50025. pTDefRegMap(@Self)^.clr := $00000004;
  50026. end;
  50027. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  50028. begin
  50029. if thebits = 0 then
  50030. pTDefRegMap(@Self)^.clr := $00000004
  50031. else
  50032. pTDefRegMap(@Self)^.&set := $00000004;
  50033. end;
  50034. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  50035. begin
  50036. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50037. end;
  50038. procedure TPORTE_ODCE.setODCE3; inline;
  50039. begin
  50040. pTDefRegMap(@Self)^.&set := $00000008;
  50041. end;
  50042. procedure TPORTE_ODCE.clearODCE3; inline;
  50043. begin
  50044. pTDefRegMap(@Self)^.clr := $00000008;
  50045. end;
  50046. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  50047. begin
  50048. if thebits = 0 then
  50049. pTDefRegMap(@Self)^.clr := $00000008
  50050. else
  50051. pTDefRegMap(@Self)^.&set := $00000008;
  50052. end;
  50053. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  50054. begin
  50055. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50056. end;
  50057. procedure TPORTE_ODCE.setODCE4; inline;
  50058. begin
  50059. pTDefRegMap(@Self)^.&set := $00000010;
  50060. end;
  50061. procedure TPORTE_ODCE.clearODCE4; inline;
  50062. begin
  50063. pTDefRegMap(@Self)^.clr := $00000010;
  50064. end;
  50065. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  50066. begin
  50067. if thebits = 0 then
  50068. pTDefRegMap(@Self)^.clr := $00000010
  50069. else
  50070. pTDefRegMap(@Self)^.&set := $00000010;
  50071. end;
  50072. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  50073. begin
  50074. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50075. end;
  50076. procedure TPORTE_ODCE.setODCE5; inline;
  50077. begin
  50078. pTDefRegMap(@Self)^.&set := $00000020;
  50079. end;
  50080. procedure TPORTE_ODCE.clearODCE5; inline;
  50081. begin
  50082. pTDefRegMap(@Self)^.clr := $00000020;
  50083. end;
  50084. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  50085. begin
  50086. if thebits = 0 then
  50087. pTDefRegMap(@Self)^.clr := $00000020
  50088. else
  50089. pTDefRegMap(@Self)^.&set := $00000020;
  50090. end;
  50091. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  50092. begin
  50093. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50094. end;
  50095. procedure TPORTE_ODCE.setODCE6; inline;
  50096. begin
  50097. pTDefRegMap(@Self)^.&set := $00000040;
  50098. end;
  50099. procedure TPORTE_ODCE.clearODCE6; inline;
  50100. begin
  50101. pTDefRegMap(@Self)^.clr := $00000040;
  50102. end;
  50103. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  50104. begin
  50105. if thebits = 0 then
  50106. pTDefRegMap(@Self)^.clr := $00000040
  50107. else
  50108. pTDefRegMap(@Self)^.&set := $00000040;
  50109. end;
  50110. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  50111. begin
  50112. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50113. end;
  50114. procedure TPORTE_ODCE.setODCE7; inline;
  50115. begin
  50116. pTDefRegMap(@Self)^.&set := $00000080;
  50117. end;
  50118. procedure TPORTE_ODCE.clearODCE7; inline;
  50119. begin
  50120. pTDefRegMap(@Self)^.clr := $00000080;
  50121. end;
  50122. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  50123. begin
  50124. if thebits = 0 then
  50125. pTDefRegMap(@Self)^.clr := $00000080
  50126. else
  50127. pTDefRegMap(@Self)^.&set := $00000080;
  50128. end;
  50129. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  50130. begin
  50131. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50132. end;
  50133. procedure TPORTE_ODCE.setODCE8; inline;
  50134. begin
  50135. pTDefRegMap(@Self)^.&set := $00000100;
  50136. end;
  50137. procedure TPORTE_ODCE.clearODCE8; inline;
  50138. begin
  50139. pTDefRegMap(@Self)^.clr := $00000100;
  50140. end;
  50141. procedure TPORTE_ODCE.setODCE8(thebits : TBits_1); inline;
  50142. begin
  50143. if thebits = 0 then
  50144. pTDefRegMap(@Self)^.clr := $00000100
  50145. else
  50146. pTDefRegMap(@Self)^.&set := $00000100;
  50147. end;
  50148. function TPORTE_ODCE.getODCE8 : TBits_1; inline;
  50149. begin
  50150. getODCE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50151. end;
  50152. procedure TPORTE_ODCE.setODCE9; inline;
  50153. begin
  50154. pTDefRegMap(@Self)^.&set := $00000200;
  50155. end;
  50156. procedure TPORTE_ODCE.clearODCE9; inline;
  50157. begin
  50158. pTDefRegMap(@Self)^.clr := $00000200;
  50159. end;
  50160. procedure TPORTE_ODCE.setODCE9(thebits : TBits_1); inline;
  50161. begin
  50162. if thebits = 0 then
  50163. pTDefRegMap(@Self)^.clr := $00000200
  50164. else
  50165. pTDefRegMap(@Self)^.&set := $00000200;
  50166. end;
  50167. function TPORTE_ODCE.getODCE9 : TBits_1; inline;
  50168. begin
  50169. getODCE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50170. end;
  50171. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  50172. begin
  50173. pTDefRegMap(@Self)^.val := thebits;
  50174. end;
  50175. function TPORTE_ODCE.getw : TBits_32; inline;
  50176. begin
  50177. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50178. end;
  50179. procedure TPORTE_CNPUE.setCNPUE0; inline;
  50180. begin
  50181. pTDefRegMap(@Self)^.&set := $00000001;
  50182. end;
  50183. procedure TPORTE_CNPUE.clearCNPUE0; inline;
  50184. begin
  50185. pTDefRegMap(@Self)^.clr := $00000001;
  50186. end;
  50187. procedure TPORTE_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  50188. begin
  50189. if thebits = 0 then
  50190. pTDefRegMap(@Self)^.clr := $00000001
  50191. else
  50192. pTDefRegMap(@Self)^.&set := $00000001;
  50193. end;
  50194. function TPORTE_CNPUE.getCNPUE0 : TBits_1; inline;
  50195. begin
  50196. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50197. end;
  50198. procedure TPORTE_CNPUE.setCNPUE1; inline;
  50199. begin
  50200. pTDefRegMap(@Self)^.&set := $00000002;
  50201. end;
  50202. procedure TPORTE_CNPUE.clearCNPUE1; inline;
  50203. begin
  50204. pTDefRegMap(@Self)^.clr := $00000002;
  50205. end;
  50206. procedure TPORTE_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  50207. begin
  50208. if thebits = 0 then
  50209. pTDefRegMap(@Self)^.clr := $00000002
  50210. else
  50211. pTDefRegMap(@Self)^.&set := $00000002;
  50212. end;
  50213. function TPORTE_CNPUE.getCNPUE1 : TBits_1; inline;
  50214. begin
  50215. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50216. end;
  50217. procedure TPORTE_CNPUE.setCNPUE2; inline;
  50218. begin
  50219. pTDefRegMap(@Self)^.&set := $00000004;
  50220. end;
  50221. procedure TPORTE_CNPUE.clearCNPUE2; inline;
  50222. begin
  50223. pTDefRegMap(@Self)^.clr := $00000004;
  50224. end;
  50225. procedure TPORTE_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  50226. begin
  50227. if thebits = 0 then
  50228. pTDefRegMap(@Self)^.clr := $00000004
  50229. else
  50230. pTDefRegMap(@Self)^.&set := $00000004;
  50231. end;
  50232. function TPORTE_CNPUE.getCNPUE2 : TBits_1; inline;
  50233. begin
  50234. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50235. end;
  50236. procedure TPORTE_CNPUE.setCNPUE3; inline;
  50237. begin
  50238. pTDefRegMap(@Self)^.&set := $00000008;
  50239. end;
  50240. procedure TPORTE_CNPUE.clearCNPUE3; inline;
  50241. begin
  50242. pTDefRegMap(@Self)^.clr := $00000008;
  50243. end;
  50244. procedure TPORTE_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  50245. begin
  50246. if thebits = 0 then
  50247. pTDefRegMap(@Self)^.clr := $00000008
  50248. else
  50249. pTDefRegMap(@Self)^.&set := $00000008;
  50250. end;
  50251. function TPORTE_CNPUE.getCNPUE3 : TBits_1; inline;
  50252. begin
  50253. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50254. end;
  50255. procedure TPORTE_CNPUE.setCNPUE4; inline;
  50256. begin
  50257. pTDefRegMap(@Self)^.&set := $00000010;
  50258. end;
  50259. procedure TPORTE_CNPUE.clearCNPUE4; inline;
  50260. begin
  50261. pTDefRegMap(@Self)^.clr := $00000010;
  50262. end;
  50263. procedure TPORTE_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  50264. begin
  50265. if thebits = 0 then
  50266. pTDefRegMap(@Self)^.clr := $00000010
  50267. else
  50268. pTDefRegMap(@Self)^.&set := $00000010;
  50269. end;
  50270. function TPORTE_CNPUE.getCNPUE4 : TBits_1; inline;
  50271. begin
  50272. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50273. end;
  50274. procedure TPORTE_CNPUE.setCNPUE5; inline;
  50275. begin
  50276. pTDefRegMap(@Self)^.&set := $00000020;
  50277. end;
  50278. procedure TPORTE_CNPUE.clearCNPUE5; inline;
  50279. begin
  50280. pTDefRegMap(@Self)^.clr := $00000020;
  50281. end;
  50282. procedure TPORTE_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  50283. begin
  50284. if thebits = 0 then
  50285. pTDefRegMap(@Self)^.clr := $00000020
  50286. else
  50287. pTDefRegMap(@Self)^.&set := $00000020;
  50288. end;
  50289. function TPORTE_CNPUE.getCNPUE5 : TBits_1; inline;
  50290. begin
  50291. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50292. end;
  50293. procedure TPORTE_CNPUE.setCNPUE6; inline;
  50294. begin
  50295. pTDefRegMap(@Self)^.&set := $00000040;
  50296. end;
  50297. procedure TPORTE_CNPUE.clearCNPUE6; inline;
  50298. begin
  50299. pTDefRegMap(@Self)^.clr := $00000040;
  50300. end;
  50301. procedure TPORTE_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  50302. begin
  50303. if thebits = 0 then
  50304. pTDefRegMap(@Self)^.clr := $00000040
  50305. else
  50306. pTDefRegMap(@Self)^.&set := $00000040;
  50307. end;
  50308. function TPORTE_CNPUE.getCNPUE6 : TBits_1; inline;
  50309. begin
  50310. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50311. end;
  50312. procedure TPORTE_CNPUE.setCNPUE7; inline;
  50313. begin
  50314. pTDefRegMap(@Self)^.&set := $00000080;
  50315. end;
  50316. procedure TPORTE_CNPUE.clearCNPUE7; inline;
  50317. begin
  50318. pTDefRegMap(@Self)^.clr := $00000080;
  50319. end;
  50320. procedure TPORTE_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  50321. begin
  50322. if thebits = 0 then
  50323. pTDefRegMap(@Self)^.clr := $00000080
  50324. else
  50325. pTDefRegMap(@Self)^.&set := $00000080;
  50326. end;
  50327. function TPORTE_CNPUE.getCNPUE7 : TBits_1; inline;
  50328. begin
  50329. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50330. end;
  50331. procedure TPORTE_CNPUE.setCNPUE8; inline;
  50332. begin
  50333. pTDefRegMap(@Self)^.&set := $00000100;
  50334. end;
  50335. procedure TPORTE_CNPUE.clearCNPUE8; inline;
  50336. begin
  50337. pTDefRegMap(@Self)^.clr := $00000100;
  50338. end;
  50339. procedure TPORTE_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  50340. begin
  50341. if thebits = 0 then
  50342. pTDefRegMap(@Self)^.clr := $00000100
  50343. else
  50344. pTDefRegMap(@Self)^.&set := $00000100;
  50345. end;
  50346. function TPORTE_CNPUE.getCNPUE8 : TBits_1; inline;
  50347. begin
  50348. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50349. end;
  50350. procedure TPORTE_CNPUE.setCNPUE9; inline;
  50351. begin
  50352. pTDefRegMap(@Self)^.&set := $00000200;
  50353. end;
  50354. procedure TPORTE_CNPUE.clearCNPUE9; inline;
  50355. begin
  50356. pTDefRegMap(@Self)^.clr := $00000200;
  50357. end;
  50358. procedure TPORTE_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  50359. begin
  50360. if thebits = 0 then
  50361. pTDefRegMap(@Self)^.clr := $00000200
  50362. else
  50363. pTDefRegMap(@Self)^.&set := $00000200;
  50364. end;
  50365. function TPORTE_CNPUE.getCNPUE9 : TBits_1; inline;
  50366. begin
  50367. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50368. end;
  50369. procedure TPORTE_CNPUE.setw(thebits : TBits_32); inline;
  50370. begin
  50371. pTDefRegMap(@Self)^.val := thebits;
  50372. end;
  50373. function TPORTE_CNPUE.getw : TBits_32; inline;
  50374. begin
  50375. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50376. end;
  50377. procedure TPORTE_CNPDE.setCNPDE0; inline;
  50378. begin
  50379. pTDefRegMap(@Self)^.&set := $00000001;
  50380. end;
  50381. procedure TPORTE_CNPDE.clearCNPDE0; inline;
  50382. begin
  50383. pTDefRegMap(@Self)^.clr := $00000001;
  50384. end;
  50385. procedure TPORTE_CNPDE.setCNPDE0(thebits : TBits_1); inline;
  50386. begin
  50387. if thebits = 0 then
  50388. pTDefRegMap(@Self)^.clr := $00000001
  50389. else
  50390. pTDefRegMap(@Self)^.&set := $00000001;
  50391. end;
  50392. function TPORTE_CNPDE.getCNPDE0 : TBits_1; inline;
  50393. begin
  50394. getCNPDE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50395. end;
  50396. procedure TPORTE_CNPDE.setCNPDE1; inline;
  50397. begin
  50398. pTDefRegMap(@Self)^.&set := $00000002;
  50399. end;
  50400. procedure TPORTE_CNPDE.clearCNPDE1; inline;
  50401. begin
  50402. pTDefRegMap(@Self)^.clr := $00000002;
  50403. end;
  50404. procedure TPORTE_CNPDE.setCNPDE1(thebits : TBits_1); inline;
  50405. begin
  50406. if thebits = 0 then
  50407. pTDefRegMap(@Self)^.clr := $00000002
  50408. else
  50409. pTDefRegMap(@Self)^.&set := $00000002;
  50410. end;
  50411. function TPORTE_CNPDE.getCNPDE1 : TBits_1; inline;
  50412. begin
  50413. getCNPDE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50414. end;
  50415. procedure TPORTE_CNPDE.setCNPDE2; inline;
  50416. begin
  50417. pTDefRegMap(@Self)^.&set := $00000004;
  50418. end;
  50419. procedure TPORTE_CNPDE.clearCNPDE2; inline;
  50420. begin
  50421. pTDefRegMap(@Self)^.clr := $00000004;
  50422. end;
  50423. procedure TPORTE_CNPDE.setCNPDE2(thebits : TBits_1); inline;
  50424. begin
  50425. if thebits = 0 then
  50426. pTDefRegMap(@Self)^.clr := $00000004
  50427. else
  50428. pTDefRegMap(@Self)^.&set := $00000004;
  50429. end;
  50430. function TPORTE_CNPDE.getCNPDE2 : TBits_1; inline;
  50431. begin
  50432. getCNPDE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50433. end;
  50434. procedure TPORTE_CNPDE.setCNPDE3; inline;
  50435. begin
  50436. pTDefRegMap(@Self)^.&set := $00000008;
  50437. end;
  50438. procedure TPORTE_CNPDE.clearCNPDE3; inline;
  50439. begin
  50440. pTDefRegMap(@Self)^.clr := $00000008;
  50441. end;
  50442. procedure TPORTE_CNPDE.setCNPDE3(thebits : TBits_1); inline;
  50443. begin
  50444. if thebits = 0 then
  50445. pTDefRegMap(@Self)^.clr := $00000008
  50446. else
  50447. pTDefRegMap(@Self)^.&set := $00000008;
  50448. end;
  50449. function TPORTE_CNPDE.getCNPDE3 : TBits_1; inline;
  50450. begin
  50451. getCNPDE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50452. end;
  50453. procedure TPORTE_CNPDE.setCNPDE4; inline;
  50454. begin
  50455. pTDefRegMap(@Self)^.&set := $00000010;
  50456. end;
  50457. procedure TPORTE_CNPDE.clearCNPDE4; inline;
  50458. begin
  50459. pTDefRegMap(@Self)^.clr := $00000010;
  50460. end;
  50461. procedure TPORTE_CNPDE.setCNPDE4(thebits : TBits_1); inline;
  50462. begin
  50463. if thebits = 0 then
  50464. pTDefRegMap(@Self)^.clr := $00000010
  50465. else
  50466. pTDefRegMap(@Self)^.&set := $00000010;
  50467. end;
  50468. function TPORTE_CNPDE.getCNPDE4 : TBits_1; inline;
  50469. begin
  50470. getCNPDE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50471. end;
  50472. procedure TPORTE_CNPDE.setCNPDE5; inline;
  50473. begin
  50474. pTDefRegMap(@Self)^.&set := $00000020;
  50475. end;
  50476. procedure TPORTE_CNPDE.clearCNPDE5; inline;
  50477. begin
  50478. pTDefRegMap(@Self)^.clr := $00000020;
  50479. end;
  50480. procedure TPORTE_CNPDE.setCNPDE5(thebits : TBits_1); inline;
  50481. begin
  50482. if thebits = 0 then
  50483. pTDefRegMap(@Self)^.clr := $00000020
  50484. else
  50485. pTDefRegMap(@Self)^.&set := $00000020;
  50486. end;
  50487. function TPORTE_CNPDE.getCNPDE5 : TBits_1; inline;
  50488. begin
  50489. getCNPDE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50490. end;
  50491. procedure TPORTE_CNPDE.setCNPDE6; inline;
  50492. begin
  50493. pTDefRegMap(@Self)^.&set := $00000040;
  50494. end;
  50495. procedure TPORTE_CNPDE.clearCNPDE6; inline;
  50496. begin
  50497. pTDefRegMap(@Self)^.clr := $00000040;
  50498. end;
  50499. procedure TPORTE_CNPDE.setCNPDE6(thebits : TBits_1); inline;
  50500. begin
  50501. if thebits = 0 then
  50502. pTDefRegMap(@Self)^.clr := $00000040
  50503. else
  50504. pTDefRegMap(@Self)^.&set := $00000040;
  50505. end;
  50506. function TPORTE_CNPDE.getCNPDE6 : TBits_1; inline;
  50507. begin
  50508. getCNPDE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50509. end;
  50510. procedure TPORTE_CNPDE.setCNPDE7; inline;
  50511. begin
  50512. pTDefRegMap(@Self)^.&set := $00000080;
  50513. end;
  50514. procedure TPORTE_CNPDE.clearCNPDE7; inline;
  50515. begin
  50516. pTDefRegMap(@Self)^.clr := $00000080;
  50517. end;
  50518. procedure TPORTE_CNPDE.setCNPDE7(thebits : TBits_1); inline;
  50519. begin
  50520. if thebits = 0 then
  50521. pTDefRegMap(@Self)^.clr := $00000080
  50522. else
  50523. pTDefRegMap(@Self)^.&set := $00000080;
  50524. end;
  50525. function TPORTE_CNPDE.getCNPDE7 : TBits_1; inline;
  50526. begin
  50527. getCNPDE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50528. end;
  50529. procedure TPORTE_CNPDE.setCNPDE8; inline;
  50530. begin
  50531. pTDefRegMap(@Self)^.&set := $00000100;
  50532. end;
  50533. procedure TPORTE_CNPDE.clearCNPDE8; inline;
  50534. begin
  50535. pTDefRegMap(@Self)^.clr := $00000100;
  50536. end;
  50537. procedure TPORTE_CNPDE.setCNPDE8(thebits : TBits_1); inline;
  50538. begin
  50539. if thebits = 0 then
  50540. pTDefRegMap(@Self)^.clr := $00000100
  50541. else
  50542. pTDefRegMap(@Self)^.&set := $00000100;
  50543. end;
  50544. function TPORTE_CNPDE.getCNPDE8 : TBits_1; inline;
  50545. begin
  50546. getCNPDE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50547. end;
  50548. procedure TPORTE_CNPDE.setCNPDE9; inline;
  50549. begin
  50550. pTDefRegMap(@Self)^.&set := $00000200;
  50551. end;
  50552. procedure TPORTE_CNPDE.clearCNPDE9; inline;
  50553. begin
  50554. pTDefRegMap(@Self)^.clr := $00000200;
  50555. end;
  50556. procedure TPORTE_CNPDE.setCNPDE9(thebits : TBits_1); inline;
  50557. begin
  50558. if thebits = 0 then
  50559. pTDefRegMap(@Self)^.clr := $00000200
  50560. else
  50561. pTDefRegMap(@Self)^.&set := $00000200;
  50562. end;
  50563. function TPORTE_CNPDE.getCNPDE9 : TBits_1; inline;
  50564. begin
  50565. getCNPDE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50566. end;
  50567. procedure TPORTE_CNPDE.setw(thebits : TBits_32); inline;
  50568. begin
  50569. pTDefRegMap(@Self)^.val := thebits;
  50570. end;
  50571. function TPORTE_CNPDE.getw : TBits_32; inline;
  50572. begin
  50573. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50574. end;
  50575. procedure TPORTE_CNCONE.setSIDL; inline;
  50576. begin
  50577. pTDefRegMap(@Self)^.&set := $00002000;
  50578. end;
  50579. procedure TPORTE_CNCONE.clearSIDL; inline;
  50580. begin
  50581. pTDefRegMap(@Self)^.clr := $00002000;
  50582. end;
  50583. procedure TPORTE_CNCONE.setSIDL(thebits : TBits_1); inline;
  50584. begin
  50585. if thebits = 0 then
  50586. pTDefRegMap(@Self)^.clr := $00002000
  50587. else
  50588. pTDefRegMap(@Self)^.&set := $00002000;
  50589. end;
  50590. function TPORTE_CNCONE.getSIDL : TBits_1; inline;
  50591. begin
  50592. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50593. end;
  50594. procedure TPORTE_CNCONE.setON; inline;
  50595. begin
  50596. pTDefRegMap(@Self)^.&set := $00008000;
  50597. end;
  50598. procedure TPORTE_CNCONE.clearON; inline;
  50599. begin
  50600. pTDefRegMap(@Self)^.clr := $00008000;
  50601. end;
  50602. procedure TPORTE_CNCONE.setON(thebits : TBits_1); inline;
  50603. begin
  50604. if thebits = 0 then
  50605. pTDefRegMap(@Self)^.clr := $00008000
  50606. else
  50607. pTDefRegMap(@Self)^.&set := $00008000;
  50608. end;
  50609. function TPORTE_CNCONE.getON : TBits_1; inline;
  50610. begin
  50611. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50612. end;
  50613. procedure TPORTE_CNCONE.setw(thebits : TBits_32); inline;
  50614. begin
  50615. pTDefRegMap(@Self)^.val := thebits;
  50616. end;
  50617. function TPORTE_CNCONE.getw : TBits_32; inline;
  50618. begin
  50619. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50620. end;
  50621. procedure TPORTE_CNENE.setCNIEE0; inline;
  50622. begin
  50623. pTDefRegMap(@Self)^.&set := $00000001;
  50624. end;
  50625. procedure TPORTE_CNENE.clearCNIEE0; inline;
  50626. begin
  50627. pTDefRegMap(@Self)^.clr := $00000001;
  50628. end;
  50629. procedure TPORTE_CNENE.setCNIEE0(thebits : TBits_1); inline;
  50630. begin
  50631. if thebits = 0 then
  50632. pTDefRegMap(@Self)^.clr := $00000001
  50633. else
  50634. pTDefRegMap(@Self)^.&set := $00000001;
  50635. end;
  50636. function TPORTE_CNENE.getCNIEE0 : TBits_1; inline;
  50637. begin
  50638. getCNIEE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50639. end;
  50640. procedure TPORTE_CNENE.setCNIEE1; inline;
  50641. begin
  50642. pTDefRegMap(@Self)^.&set := $00000002;
  50643. end;
  50644. procedure TPORTE_CNENE.clearCNIEE1; inline;
  50645. begin
  50646. pTDefRegMap(@Self)^.clr := $00000002;
  50647. end;
  50648. procedure TPORTE_CNENE.setCNIEE1(thebits : TBits_1); inline;
  50649. begin
  50650. if thebits = 0 then
  50651. pTDefRegMap(@Self)^.clr := $00000002
  50652. else
  50653. pTDefRegMap(@Self)^.&set := $00000002;
  50654. end;
  50655. function TPORTE_CNENE.getCNIEE1 : TBits_1; inline;
  50656. begin
  50657. getCNIEE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50658. end;
  50659. procedure TPORTE_CNENE.setCNIEE2; inline;
  50660. begin
  50661. pTDefRegMap(@Self)^.&set := $00000004;
  50662. end;
  50663. procedure TPORTE_CNENE.clearCNIEE2; inline;
  50664. begin
  50665. pTDefRegMap(@Self)^.clr := $00000004;
  50666. end;
  50667. procedure TPORTE_CNENE.setCNIEE2(thebits : TBits_1); inline;
  50668. begin
  50669. if thebits = 0 then
  50670. pTDefRegMap(@Self)^.clr := $00000004
  50671. else
  50672. pTDefRegMap(@Self)^.&set := $00000004;
  50673. end;
  50674. function TPORTE_CNENE.getCNIEE2 : TBits_1; inline;
  50675. begin
  50676. getCNIEE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50677. end;
  50678. procedure TPORTE_CNENE.setCNIEE3; inline;
  50679. begin
  50680. pTDefRegMap(@Self)^.&set := $00000008;
  50681. end;
  50682. procedure TPORTE_CNENE.clearCNIEE3; inline;
  50683. begin
  50684. pTDefRegMap(@Self)^.clr := $00000008;
  50685. end;
  50686. procedure TPORTE_CNENE.setCNIEE3(thebits : TBits_1); inline;
  50687. begin
  50688. if thebits = 0 then
  50689. pTDefRegMap(@Self)^.clr := $00000008
  50690. else
  50691. pTDefRegMap(@Self)^.&set := $00000008;
  50692. end;
  50693. function TPORTE_CNENE.getCNIEE3 : TBits_1; inline;
  50694. begin
  50695. getCNIEE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50696. end;
  50697. procedure TPORTE_CNENE.setCNIEE4; inline;
  50698. begin
  50699. pTDefRegMap(@Self)^.&set := $00000010;
  50700. end;
  50701. procedure TPORTE_CNENE.clearCNIEE4; inline;
  50702. begin
  50703. pTDefRegMap(@Self)^.clr := $00000010;
  50704. end;
  50705. procedure TPORTE_CNENE.setCNIEE4(thebits : TBits_1); inline;
  50706. begin
  50707. if thebits = 0 then
  50708. pTDefRegMap(@Self)^.clr := $00000010
  50709. else
  50710. pTDefRegMap(@Self)^.&set := $00000010;
  50711. end;
  50712. function TPORTE_CNENE.getCNIEE4 : TBits_1; inline;
  50713. begin
  50714. getCNIEE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50715. end;
  50716. procedure TPORTE_CNENE.setCNIEE5; inline;
  50717. begin
  50718. pTDefRegMap(@Self)^.&set := $00000020;
  50719. end;
  50720. procedure TPORTE_CNENE.clearCNIEE5; inline;
  50721. begin
  50722. pTDefRegMap(@Self)^.clr := $00000020;
  50723. end;
  50724. procedure TPORTE_CNENE.setCNIEE5(thebits : TBits_1); inline;
  50725. begin
  50726. if thebits = 0 then
  50727. pTDefRegMap(@Self)^.clr := $00000020
  50728. else
  50729. pTDefRegMap(@Self)^.&set := $00000020;
  50730. end;
  50731. function TPORTE_CNENE.getCNIEE5 : TBits_1; inline;
  50732. begin
  50733. getCNIEE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50734. end;
  50735. procedure TPORTE_CNENE.setCNIEE6; inline;
  50736. begin
  50737. pTDefRegMap(@Self)^.&set := $00000040;
  50738. end;
  50739. procedure TPORTE_CNENE.clearCNIEE6; inline;
  50740. begin
  50741. pTDefRegMap(@Self)^.clr := $00000040;
  50742. end;
  50743. procedure TPORTE_CNENE.setCNIEE6(thebits : TBits_1); inline;
  50744. begin
  50745. if thebits = 0 then
  50746. pTDefRegMap(@Self)^.clr := $00000040
  50747. else
  50748. pTDefRegMap(@Self)^.&set := $00000040;
  50749. end;
  50750. function TPORTE_CNENE.getCNIEE6 : TBits_1; inline;
  50751. begin
  50752. getCNIEE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50753. end;
  50754. procedure TPORTE_CNENE.setCNIEE7; inline;
  50755. begin
  50756. pTDefRegMap(@Self)^.&set := $00000080;
  50757. end;
  50758. procedure TPORTE_CNENE.clearCNIEE7; inline;
  50759. begin
  50760. pTDefRegMap(@Self)^.clr := $00000080;
  50761. end;
  50762. procedure TPORTE_CNENE.setCNIEE7(thebits : TBits_1); inline;
  50763. begin
  50764. if thebits = 0 then
  50765. pTDefRegMap(@Self)^.clr := $00000080
  50766. else
  50767. pTDefRegMap(@Self)^.&set := $00000080;
  50768. end;
  50769. function TPORTE_CNENE.getCNIEE7 : TBits_1; inline;
  50770. begin
  50771. getCNIEE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50772. end;
  50773. procedure TPORTE_CNENE.setCNIEE8; inline;
  50774. begin
  50775. pTDefRegMap(@Self)^.&set := $00000100;
  50776. end;
  50777. procedure TPORTE_CNENE.clearCNIEE8; inline;
  50778. begin
  50779. pTDefRegMap(@Self)^.clr := $00000100;
  50780. end;
  50781. procedure TPORTE_CNENE.setCNIEE8(thebits : TBits_1); inline;
  50782. begin
  50783. if thebits = 0 then
  50784. pTDefRegMap(@Self)^.clr := $00000100
  50785. else
  50786. pTDefRegMap(@Self)^.&set := $00000100;
  50787. end;
  50788. function TPORTE_CNENE.getCNIEE8 : TBits_1; inline;
  50789. begin
  50790. getCNIEE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50791. end;
  50792. procedure TPORTE_CNENE.setCNIEE9; inline;
  50793. begin
  50794. pTDefRegMap(@Self)^.&set := $00000200;
  50795. end;
  50796. procedure TPORTE_CNENE.clearCNIEE9; inline;
  50797. begin
  50798. pTDefRegMap(@Self)^.clr := $00000200;
  50799. end;
  50800. procedure TPORTE_CNENE.setCNIEE9(thebits : TBits_1); inline;
  50801. begin
  50802. if thebits = 0 then
  50803. pTDefRegMap(@Self)^.clr := $00000200
  50804. else
  50805. pTDefRegMap(@Self)^.&set := $00000200;
  50806. end;
  50807. function TPORTE_CNENE.getCNIEE9 : TBits_1; inline;
  50808. begin
  50809. getCNIEE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50810. end;
  50811. procedure TPORTE_CNENE.setw(thebits : TBits_32); inline;
  50812. begin
  50813. pTDefRegMap(@Self)^.val := thebits;
  50814. end;
  50815. function TPORTE_CNENE.getw : TBits_32; inline;
  50816. begin
  50817. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50818. end;
  50819. procedure TPORTE_CNSTATE.setCNSTATE0; inline;
  50820. begin
  50821. pTDefRegMap(@Self)^.&set := $00000001;
  50822. end;
  50823. procedure TPORTE_CNSTATE.clearCNSTATE0; inline;
  50824. begin
  50825. pTDefRegMap(@Self)^.clr := $00000001;
  50826. end;
  50827. procedure TPORTE_CNSTATE.setCNSTATE0(thebits : TBits_1); inline;
  50828. begin
  50829. if thebits = 0 then
  50830. pTDefRegMap(@Self)^.clr := $00000001
  50831. else
  50832. pTDefRegMap(@Self)^.&set := $00000001;
  50833. end;
  50834. function TPORTE_CNSTATE.getCNSTATE0 : TBits_1; inline;
  50835. begin
  50836. getCNSTATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50837. end;
  50838. procedure TPORTE_CNSTATE.setCNSTATE1; inline;
  50839. begin
  50840. pTDefRegMap(@Self)^.&set := $00000002;
  50841. end;
  50842. procedure TPORTE_CNSTATE.clearCNSTATE1; inline;
  50843. begin
  50844. pTDefRegMap(@Self)^.clr := $00000002;
  50845. end;
  50846. procedure TPORTE_CNSTATE.setCNSTATE1(thebits : TBits_1); inline;
  50847. begin
  50848. if thebits = 0 then
  50849. pTDefRegMap(@Self)^.clr := $00000002
  50850. else
  50851. pTDefRegMap(@Self)^.&set := $00000002;
  50852. end;
  50853. function TPORTE_CNSTATE.getCNSTATE1 : TBits_1; inline;
  50854. begin
  50855. getCNSTATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50856. end;
  50857. procedure TPORTE_CNSTATE.setCNSTATE2; inline;
  50858. begin
  50859. pTDefRegMap(@Self)^.&set := $00000004;
  50860. end;
  50861. procedure TPORTE_CNSTATE.clearCNSTATE2; inline;
  50862. begin
  50863. pTDefRegMap(@Self)^.clr := $00000004;
  50864. end;
  50865. procedure TPORTE_CNSTATE.setCNSTATE2(thebits : TBits_1); inline;
  50866. begin
  50867. if thebits = 0 then
  50868. pTDefRegMap(@Self)^.clr := $00000004
  50869. else
  50870. pTDefRegMap(@Self)^.&set := $00000004;
  50871. end;
  50872. function TPORTE_CNSTATE.getCNSTATE2 : TBits_1; inline;
  50873. begin
  50874. getCNSTATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50875. end;
  50876. procedure TPORTE_CNSTATE.setCNSTATE3; inline;
  50877. begin
  50878. pTDefRegMap(@Self)^.&set := $00000008;
  50879. end;
  50880. procedure TPORTE_CNSTATE.clearCNSTATE3; inline;
  50881. begin
  50882. pTDefRegMap(@Self)^.clr := $00000008;
  50883. end;
  50884. procedure TPORTE_CNSTATE.setCNSTATE3(thebits : TBits_1); inline;
  50885. begin
  50886. if thebits = 0 then
  50887. pTDefRegMap(@Self)^.clr := $00000008
  50888. else
  50889. pTDefRegMap(@Self)^.&set := $00000008;
  50890. end;
  50891. function TPORTE_CNSTATE.getCNSTATE3 : TBits_1; inline;
  50892. begin
  50893. getCNSTATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50894. end;
  50895. procedure TPORTE_CNSTATE.setCNSTATE4; inline;
  50896. begin
  50897. pTDefRegMap(@Self)^.&set := $00000010;
  50898. end;
  50899. procedure TPORTE_CNSTATE.clearCNSTATE4; inline;
  50900. begin
  50901. pTDefRegMap(@Self)^.clr := $00000010;
  50902. end;
  50903. procedure TPORTE_CNSTATE.setCNSTATE4(thebits : TBits_1); inline;
  50904. begin
  50905. if thebits = 0 then
  50906. pTDefRegMap(@Self)^.clr := $00000010
  50907. else
  50908. pTDefRegMap(@Self)^.&set := $00000010;
  50909. end;
  50910. function TPORTE_CNSTATE.getCNSTATE4 : TBits_1; inline;
  50911. begin
  50912. getCNSTATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50913. end;
  50914. procedure TPORTE_CNSTATE.setCNSTATE5; inline;
  50915. begin
  50916. pTDefRegMap(@Self)^.&set := $00000020;
  50917. end;
  50918. procedure TPORTE_CNSTATE.clearCNSTATE5; inline;
  50919. begin
  50920. pTDefRegMap(@Self)^.clr := $00000020;
  50921. end;
  50922. procedure TPORTE_CNSTATE.setCNSTATE5(thebits : TBits_1); inline;
  50923. begin
  50924. if thebits = 0 then
  50925. pTDefRegMap(@Self)^.clr := $00000020
  50926. else
  50927. pTDefRegMap(@Self)^.&set := $00000020;
  50928. end;
  50929. function TPORTE_CNSTATE.getCNSTATE5 : TBits_1; inline;
  50930. begin
  50931. getCNSTATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50932. end;
  50933. procedure TPORTE_CNSTATE.setCNSTATE6; inline;
  50934. begin
  50935. pTDefRegMap(@Self)^.&set := $00000040;
  50936. end;
  50937. procedure TPORTE_CNSTATE.clearCNSTATE6; inline;
  50938. begin
  50939. pTDefRegMap(@Self)^.clr := $00000040;
  50940. end;
  50941. procedure TPORTE_CNSTATE.setCNSTATE6(thebits : TBits_1); inline;
  50942. begin
  50943. if thebits = 0 then
  50944. pTDefRegMap(@Self)^.clr := $00000040
  50945. else
  50946. pTDefRegMap(@Self)^.&set := $00000040;
  50947. end;
  50948. function TPORTE_CNSTATE.getCNSTATE6 : TBits_1; inline;
  50949. begin
  50950. getCNSTATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50951. end;
  50952. procedure TPORTE_CNSTATE.setCNSTATE7; inline;
  50953. begin
  50954. pTDefRegMap(@Self)^.&set := $00000080;
  50955. end;
  50956. procedure TPORTE_CNSTATE.clearCNSTATE7; inline;
  50957. begin
  50958. pTDefRegMap(@Self)^.clr := $00000080;
  50959. end;
  50960. procedure TPORTE_CNSTATE.setCNSTATE7(thebits : TBits_1); inline;
  50961. begin
  50962. if thebits = 0 then
  50963. pTDefRegMap(@Self)^.clr := $00000080
  50964. else
  50965. pTDefRegMap(@Self)^.&set := $00000080;
  50966. end;
  50967. function TPORTE_CNSTATE.getCNSTATE7 : TBits_1; inline;
  50968. begin
  50969. getCNSTATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50970. end;
  50971. procedure TPORTE_CNSTATE.setCNSTATE8; inline;
  50972. begin
  50973. pTDefRegMap(@Self)^.&set := $00000100;
  50974. end;
  50975. procedure TPORTE_CNSTATE.clearCNSTATE8; inline;
  50976. begin
  50977. pTDefRegMap(@Self)^.clr := $00000100;
  50978. end;
  50979. procedure TPORTE_CNSTATE.setCNSTATE8(thebits : TBits_1); inline;
  50980. begin
  50981. if thebits = 0 then
  50982. pTDefRegMap(@Self)^.clr := $00000100
  50983. else
  50984. pTDefRegMap(@Self)^.&set := $00000100;
  50985. end;
  50986. function TPORTE_CNSTATE.getCNSTATE8 : TBits_1; inline;
  50987. begin
  50988. getCNSTATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50989. end;
  50990. procedure TPORTE_CNSTATE.setCNSTATE9; inline;
  50991. begin
  50992. pTDefRegMap(@Self)^.&set := $00000200;
  50993. end;
  50994. procedure TPORTE_CNSTATE.clearCNSTATE9; inline;
  50995. begin
  50996. pTDefRegMap(@Self)^.clr := $00000200;
  50997. end;
  50998. procedure TPORTE_CNSTATE.setCNSTATE9(thebits : TBits_1); inline;
  50999. begin
  51000. if thebits = 0 then
  51001. pTDefRegMap(@Self)^.clr := $00000200
  51002. else
  51003. pTDefRegMap(@Self)^.&set := $00000200;
  51004. end;
  51005. function TPORTE_CNSTATE.getCNSTATE9 : TBits_1; inline;
  51006. begin
  51007. getCNSTATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  51008. end;
  51009. procedure TPORTE_CNSTATE.setw(thebits : TBits_32); inline;
  51010. begin
  51011. pTDefRegMap(@Self)^.val := thebits;
  51012. end;
  51013. function TPORTE_CNSTATE.getw : TBits_32; inline;
  51014. begin
  51015. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51016. end;
  51017. procedure TPORTE_TRISF.setTRISF0; inline;
  51018. begin
  51019. pTDefRegMap(@Self)^.&set := $00000001;
  51020. end;
  51021. procedure TPORTE_TRISF.clearTRISF0; inline;
  51022. begin
  51023. pTDefRegMap(@Self)^.clr := $00000001;
  51024. end;
  51025. procedure TPORTE_TRISF.setTRISF0(thebits : TBits_1); inline;
  51026. begin
  51027. if thebits = 0 then
  51028. pTDefRegMap(@Self)^.clr := $00000001
  51029. else
  51030. pTDefRegMap(@Self)^.&set := $00000001;
  51031. end;
  51032. function TPORTE_TRISF.getTRISF0 : TBits_1; inline;
  51033. begin
  51034. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51035. end;
  51036. procedure TPORTE_TRISF.setTRISF1; inline;
  51037. begin
  51038. pTDefRegMap(@Self)^.&set := $00000002;
  51039. end;
  51040. procedure TPORTE_TRISF.clearTRISF1; inline;
  51041. begin
  51042. pTDefRegMap(@Self)^.clr := $00000002;
  51043. end;
  51044. procedure TPORTE_TRISF.setTRISF1(thebits : TBits_1); inline;
  51045. begin
  51046. if thebits = 0 then
  51047. pTDefRegMap(@Self)^.clr := $00000002
  51048. else
  51049. pTDefRegMap(@Self)^.&set := $00000002;
  51050. end;
  51051. function TPORTE_TRISF.getTRISF1 : TBits_1; inline;
  51052. begin
  51053. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51054. end;
  51055. procedure TPORTE_TRISF.setTRISF2; inline;
  51056. begin
  51057. pTDefRegMap(@Self)^.&set := $00000004;
  51058. end;
  51059. procedure TPORTE_TRISF.clearTRISF2; inline;
  51060. begin
  51061. pTDefRegMap(@Self)^.clr := $00000004;
  51062. end;
  51063. procedure TPORTE_TRISF.setTRISF2(thebits : TBits_1); inline;
  51064. begin
  51065. if thebits = 0 then
  51066. pTDefRegMap(@Self)^.clr := $00000004
  51067. else
  51068. pTDefRegMap(@Self)^.&set := $00000004;
  51069. end;
  51070. function TPORTE_TRISF.getTRISF2 : TBits_1; inline;
  51071. begin
  51072. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51073. end;
  51074. procedure TPORTE_TRISF.setTRISF3; inline;
  51075. begin
  51076. pTDefRegMap(@Self)^.&set := $00000008;
  51077. end;
  51078. procedure TPORTE_TRISF.clearTRISF3; inline;
  51079. begin
  51080. pTDefRegMap(@Self)^.clr := $00000008;
  51081. end;
  51082. procedure TPORTE_TRISF.setTRISF3(thebits : TBits_1); inline;
  51083. begin
  51084. if thebits = 0 then
  51085. pTDefRegMap(@Self)^.clr := $00000008
  51086. else
  51087. pTDefRegMap(@Self)^.&set := $00000008;
  51088. end;
  51089. function TPORTE_TRISF.getTRISF3 : TBits_1; inline;
  51090. begin
  51091. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51092. end;
  51093. procedure TPORTE_TRISF.setTRISF4; inline;
  51094. begin
  51095. pTDefRegMap(@Self)^.&set := $00000010;
  51096. end;
  51097. procedure TPORTE_TRISF.clearTRISF4; inline;
  51098. begin
  51099. pTDefRegMap(@Self)^.clr := $00000010;
  51100. end;
  51101. procedure TPORTE_TRISF.setTRISF4(thebits : TBits_1); inline;
  51102. begin
  51103. if thebits = 0 then
  51104. pTDefRegMap(@Self)^.clr := $00000010
  51105. else
  51106. pTDefRegMap(@Self)^.&set := $00000010;
  51107. end;
  51108. function TPORTE_TRISF.getTRISF4 : TBits_1; inline;
  51109. begin
  51110. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51111. end;
  51112. procedure TPORTE_TRISF.setTRISF5; inline;
  51113. begin
  51114. pTDefRegMap(@Self)^.&set := $00000020;
  51115. end;
  51116. procedure TPORTE_TRISF.clearTRISF5; inline;
  51117. begin
  51118. pTDefRegMap(@Self)^.clr := $00000020;
  51119. end;
  51120. procedure TPORTE_TRISF.setTRISF5(thebits : TBits_1); inline;
  51121. begin
  51122. if thebits = 0 then
  51123. pTDefRegMap(@Self)^.clr := $00000020
  51124. else
  51125. pTDefRegMap(@Self)^.&set := $00000020;
  51126. end;
  51127. function TPORTE_TRISF.getTRISF5 : TBits_1; inline;
  51128. begin
  51129. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51130. end;
  51131. procedure TPORTE_TRISF.setTRISF6; inline;
  51132. begin
  51133. pTDefRegMap(@Self)^.&set := $00000040;
  51134. end;
  51135. procedure TPORTE_TRISF.clearTRISF6; inline;
  51136. begin
  51137. pTDefRegMap(@Self)^.clr := $00000040;
  51138. end;
  51139. procedure TPORTE_TRISF.setTRISF6(thebits : TBits_1); inline;
  51140. begin
  51141. if thebits = 0 then
  51142. pTDefRegMap(@Self)^.clr := $00000040
  51143. else
  51144. pTDefRegMap(@Self)^.&set := $00000040;
  51145. end;
  51146. function TPORTE_TRISF.getTRISF6 : TBits_1; inline;
  51147. begin
  51148. getTRISF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51149. end;
  51150. procedure TPORTE_TRISF.setTRISF7; inline;
  51151. begin
  51152. pTDefRegMap(@Self)^.&set := $00000080;
  51153. end;
  51154. procedure TPORTE_TRISF.clearTRISF7; inline;
  51155. begin
  51156. pTDefRegMap(@Self)^.clr := $00000080;
  51157. end;
  51158. procedure TPORTE_TRISF.setTRISF7(thebits : TBits_1); inline;
  51159. begin
  51160. if thebits = 0 then
  51161. pTDefRegMap(@Self)^.clr := $00000080
  51162. else
  51163. pTDefRegMap(@Self)^.&set := $00000080;
  51164. end;
  51165. function TPORTE_TRISF.getTRISF7 : TBits_1; inline;
  51166. begin
  51167. getTRISF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51168. end;
  51169. procedure TPORTE_TRISF.setTRISF8; inline;
  51170. begin
  51171. pTDefRegMap(@Self)^.&set := $00000100;
  51172. end;
  51173. procedure TPORTE_TRISF.clearTRISF8; inline;
  51174. begin
  51175. pTDefRegMap(@Self)^.clr := $00000100;
  51176. end;
  51177. procedure TPORTE_TRISF.setTRISF8(thebits : TBits_1); inline;
  51178. begin
  51179. if thebits = 0 then
  51180. pTDefRegMap(@Self)^.clr := $00000100
  51181. else
  51182. pTDefRegMap(@Self)^.&set := $00000100;
  51183. end;
  51184. function TPORTE_TRISF.getTRISF8 : TBits_1; inline;
  51185. begin
  51186. getTRISF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51187. end;
  51188. procedure TPORTE_TRISF.setTRISF12; inline;
  51189. begin
  51190. pTDefRegMap(@Self)^.&set := $00001000;
  51191. end;
  51192. procedure TPORTE_TRISF.clearTRISF12; inline;
  51193. begin
  51194. pTDefRegMap(@Self)^.clr := $00001000;
  51195. end;
  51196. procedure TPORTE_TRISF.setTRISF12(thebits : TBits_1); inline;
  51197. begin
  51198. if thebits = 0 then
  51199. pTDefRegMap(@Self)^.clr := $00001000
  51200. else
  51201. pTDefRegMap(@Self)^.&set := $00001000;
  51202. end;
  51203. function TPORTE_TRISF.getTRISF12 : TBits_1; inline;
  51204. begin
  51205. getTRISF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  51206. end;
  51207. procedure TPORTE_TRISF.setTRISF13; inline;
  51208. begin
  51209. pTDefRegMap(@Self)^.&set := $00002000;
  51210. end;
  51211. procedure TPORTE_TRISF.clearTRISF13; inline;
  51212. begin
  51213. pTDefRegMap(@Self)^.clr := $00002000;
  51214. end;
  51215. procedure TPORTE_TRISF.setTRISF13(thebits : TBits_1); inline;
  51216. begin
  51217. if thebits = 0 then
  51218. pTDefRegMap(@Self)^.clr := $00002000
  51219. else
  51220. pTDefRegMap(@Self)^.&set := $00002000;
  51221. end;
  51222. function TPORTE_TRISF.getTRISF13 : TBits_1; inline;
  51223. begin
  51224. getTRISF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  51225. end;
  51226. procedure TPORTE_TRISF.setw(thebits : TBits_32); inline;
  51227. begin
  51228. pTDefRegMap(@Self)^.val := thebits;
  51229. end;
  51230. function TPORTE_TRISF.getw : TBits_32; inline;
  51231. begin
  51232. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51233. end;
  51234. procedure TPORTF_PORTF.setRF0; inline;
  51235. begin
  51236. pTDefRegMap(@Self)^.&set := $00000001;
  51237. end;
  51238. procedure TPORTF_PORTF.clearRF0; inline;
  51239. begin
  51240. pTDefRegMap(@Self)^.clr := $00000001;
  51241. end;
  51242. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  51243. begin
  51244. if thebits = 0 then
  51245. pTDefRegMap(@Self)^.clr := $00000001
  51246. else
  51247. pTDefRegMap(@Self)^.&set := $00000001;
  51248. end;
  51249. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  51250. begin
  51251. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51252. end;
  51253. procedure TPORTF_PORTF.setRF1; inline;
  51254. begin
  51255. pTDefRegMap(@Self)^.&set := $00000002;
  51256. end;
  51257. procedure TPORTF_PORTF.clearRF1; inline;
  51258. begin
  51259. pTDefRegMap(@Self)^.clr := $00000002;
  51260. end;
  51261. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  51262. begin
  51263. if thebits = 0 then
  51264. pTDefRegMap(@Self)^.clr := $00000002
  51265. else
  51266. pTDefRegMap(@Self)^.&set := $00000002;
  51267. end;
  51268. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  51269. begin
  51270. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51271. end;
  51272. procedure TPORTF_PORTF.setRF2; inline;
  51273. begin
  51274. pTDefRegMap(@Self)^.&set := $00000004;
  51275. end;
  51276. procedure TPORTF_PORTF.clearRF2; inline;
  51277. begin
  51278. pTDefRegMap(@Self)^.clr := $00000004;
  51279. end;
  51280. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  51281. begin
  51282. if thebits = 0 then
  51283. pTDefRegMap(@Self)^.clr := $00000004
  51284. else
  51285. pTDefRegMap(@Self)^.&set := $00000004;
  51286. end;
  51287. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  51288. begin
  51289. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51290. end;
  51291. procedure TPORTF_PORTF.setRF3; inline;
  51292. begin
  51293. pTDefRegMap(@Self)^.&set := $00000008;
  51294. end;
  51295. procedure TPORTF_PORTF.clearRF3; inline;
  51296. begin
  51297. pTDefRegMap(@Self)^.clr := $00000008;
  51298. end;
  51299. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  51300. begin
  51301. if thebits = 0 then
  51302. pTDefRegMap(@Self)^.clr := $00000008
  51303. else
  51304. pTDefRegMap(@Self)^.&set := $00000008;
  51305. end;
  51306. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  51307. begin
  51308. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51309. end;
  51310. procedure TPORTF_PORTF.setRF4; inline;
  51311. begin
  51312. pTDefRegMap(@Self)^.&set := $00000010;
  51313. end;
  51314. procedure TPORTF_PORTF.clearRF4; inline;
  51315. begin
  51316. pTDefRegMap(@Self)^.clr := $00000010;
  51317. end;
  51318. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  51319. begin
  51320. if thebits = 0 then
  51321. pTDefRegMap(@Self)^.clr := $00000010
  51322. else
  51323. pTDefRegMap(@Self)^.&set := $00000010;
  51324. end;
  51325. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  51326. begin
  51327. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51328. end;
  51329. procedure TPORTF_PORTF.setRF5; inline;
  51330. begin
  51331. pTDefRegMap(@Self)^.&set := $00000020;
  51332. end;
  51333. procedure TPORTF_PORTF.clearRF5; inline;
  51334. begin
  51335. pTDefRegMap(@Self)^.clr := $00000020;
  51336. end;
  51337. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  51338. begin
  51339. if thebits = 0 then
  51340. pTDefRegMap(@Self)^.clr := $00000020
  51341. else
  51342. pTDefRegMap(@Self)^.&set := $00000020;
  51343. end;
  51344. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  51345. begin
  51346. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51347. end;
  51348. procedure TPORTF_PORTF.setRF6; inline;
  51349. begin
  51350. pTDefRegMap(@Self)^.&set := $00000040;
  51351. end;
  51352. procedure TPORTF_PORTF.clearRF6; inline;
  51353. begin
  51354. pTDefRegMap(@Self)^.clr := $00000040;
  51355. end;
  51356. procedure TPORTF_PORTF.setRF6(thebits : TBits_1); inline;
  51357. begin
  51358. if thebits = 0 then
  51359. pTDefRegMap(@Self)^.clr := $00000040
  51360. else
  51361. pTDefRegMap(@Self)^.&set := $00000040;
  51362. end;
  51363. function TPORTF_PORTF.getRF6 : TBits_1; inline;
  51364. begin
  51365. getRF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51366. end;
  51367. procedure TPORTF_PORTF.setRF7; inline;
  51368. begin
  51369. pTDefRegMap(@Self)^.&set := $00000080;
  51370. end;
  51371. procedure TPORTF_PORTF.clearRF7; inline;
  51372. begin
  51373. pTDefRegMap(@Self)^.clr := $00000080;
  51374. end;
  51375. procedure TPORTF_PORTF.setRF7(thebits : TBits_1); inline;
  51376. begin
  51377. if thebits = 0 then
  51378. pTDefRegMap(@Self)^.clr := $00000080
  51379. else
  51380. pTDefRegMap(@Self)^.&set := $00000080;
  51381. end;
  51382. function TPORTF_PORTF.getRF7 : TBits_1; inline;
  51383. begin
  51384. getRF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51385. end;
  51386. procedure TPORTF_PORTF.setRF8; inline;
  51387. begin
  51388. pTDefRegMap(@Self)^.&set := $00000100;
  51389. end;
  51390. procedure TPORTF_PORTF.clearRF8; inline;
  51391. begin
  51392. pTDefRegMap(@Self)^.clr := $00000100;
  51393. end;
  51394. procedure TPORTF_PORTF.setRF8(thebits : TBits_1); inline;
  51395. begin
  51396. if thebits = 0 then
  51397. pTDefRegMap(@Self)^.clr := $00000100
  51398. else
  51399. pTDefRegMap(@Self)^.&set := $00000100;
  51400. end;
  51401. function TPORTF_PORTF.getRF8 : TBits_1; inline;
  51402. begin
  51403. getRF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51404. end;
  51405. procedure TPORTF_PORTF.setRF12; inline;
  51406. begin
  51407. pTDefRegMap(@Self)^.&set := $00001000;
  51408. end;
  51409. procedure TPORTF_PORTF.clearRF12; inline;
  51410. begin
  51411. pTDefRegMap(@Self)^.clr := $00001000;
  51412. end;
  51413. procedure TPORTF_PORTF.setRF12(thebits : TBits_1); inline;
  51414. begin
  51415. if thebits = 0 then
  51416. pTDefRegMap(@Self)^.clr := $00001000
  51417. else
  51418. pTDefRegMap(@Self)^.&set := $00001000;
  51419. end;
  51420. function TPORTF_PORTF.getRF12 : TBits_1; inline;
  51421. begin
  51422. getRF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  51423. end;
  51424. procedure TPORTF_PORTF.setRF13; inline;
  51425. begin
  51426. pTDefRegMap(@Self)^.&set := $00002000;
  51427. end;
  51428. procedure TPORTF_PORTF.clearRF13; inline;
  51429. begin
  51430. pTDefRegMap(@Self)^.clr := $00002000;
  51431. end;
  51432. procedure TPORTF_PORTF.setRF13(thebits : TBits_1); inline;
  51433. begin
  51434. if thebits = 0 then
  51435. pTDefRegMap(@Self)^.clr := $00002000
  51436. else
  51437. pTDefRegMap(@Self)^.&set := $00002000;
  51438. end;
  51439. function TPORTF_PORTF.getRF13 : TBits_1; inline;
  51440. begin
  51441. getRF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  51442. end;
  51443. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  51444. begin
  51445. pTDefRegMap(@Self)^.val := thebits;
  51446. end;
  51447. function TPORTF_PORTF.getw : TBits_32; inline;
  51448. begin
  51449. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51450. end;
  51451. procedure TPORTF_LATF.setLATF0; inline;
  51452. begin
  51453. pTDefRegMap(@Self)^.&set := $00000001;
  51454. end;
  51455. procedure TPORTF_LATF.clearLATF0; inline;
  51456. begin
  51457. pTDefRegMap(@Self)^.clr := $00000001;
  51458. end;
  51459. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  51460. begin
  51461. if thebits = 0 then
  51462. pTDefRegMap(@Self)^.clr := $00000001
  51463. else
  51464. pTDefRegMap(@Self)^.&set := $00000001;
  51465. end;
  51466. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  51467. begin
  51468. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51469. end;
  51470. procedure TPORTF_LATF.setLATF1; inline;
  51471. begin
  51472. pTDefRegMap(@Self)^.&set := $00000002;
  51473. end;
  51474. procedure TPORTF_LATF.clearLATF1; inline;
  51475. begin
  51476. pTDefRegMap(@Self)^.clr := $00000002;
  51477. end;
  51478. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  51479. begin
  51480. if thebits = 0 then
  51481. pTDefRegMap(@Self)^.clr := $00000002
  51482. else
  51483. pTDefRegMap(@Self)^.&set := $00000002;
  51484. end;
  51485. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  51486. begin
  51487. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51488. end;
  51489. procedure TPORTF_LATF.setLATF2; inline;
  51490. begin
  51491. pTDefRegMap(@Self)^.&set := $00000004;
  51492. end;
  51493. procedure TPORTF_LATF.clearLATF2; inline;
  51494. begin
  51495. pTDefRegMap(@Self)^.clr := $00000004;
  51496. end;
  51497. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  51498. begin
  51499. if thebits = 0 then
  51500. pTDefRegMap(@Self)^.clr := $00000004
  51501. else
  51502. pTDefRegMap(@Self)^.&set := $00000004;
  51503. end;
  51504. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  51505. begin
  51506. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51507. end;
  51508. procedure TPORTF_LATF.setLATF3; inline;
  51509. begin
  51510. pTDefRegMap(@Self)^.&set := $00000008;
  51511. end;
  51512. procedure TPORTF_LATF.clearLATF3; inline;
  51513. begin
  51514. pTDefRegMap(@Self)^.clr := $00000008;
  51515. end;
  51516. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  51517. begin
  51518. if thebits = 0 then
  51519. pTDefRegMap(@Self)^.clr := $00000008
  51520. else
  51521. pTDefRegMap(@Self)^.&set := $00000008;
  51522. end;
  51523. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  51524. begin
  51525. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51526. end;
  51527. procedure TPORTF_LATF.setLATF4; inline;
  51528. begin
  51529. pTDefRegMap(@Self)^.&set := $00000010;
  51530. end;
  51531. procedure TPORTF_LATF.clearLATF4; inline;
  51532. begin
  51533. pTDefRegMap(@Self)^.clr := $00000010;
  51534. end;
  51535. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  51536. begin
  51537. if thebits = 0 then
  51538. pTDefRegMap(@Self)^.clr := $00000010
  51539. else
  51540. pTDefRegMap(@Self)^.&set := $00000010;
  51541. end;
  51542. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  51543. begin
  51544. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51545. end;
  51546. procedure TPORTF_LATF.setLATF5; inline;
  51547. begin
  51548. pTDefRegMap(@Self)^.&set := $00000020;
  51549. end;
  51550. procedure TPORTF_LATF.clearLATF5; inline;
  51551. begin
  51552. pTDefRegMap(@Self)^.clr := $00000020;
  51553. end;
  51554. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  51555. begin
  51556. if thebits = 0 then
  51557. pTDefRegMap(@Self)^.clr := $00000020
  51558. else
  51559. pTDefRegMap(@Self)^.&set := $00000020;
  51560. end;
  51561. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  51562. begin
  51563. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51564. end;
  51565. procedure TPORTF_LATF.setLATF6; inline;
  51566. begin
  51567. pTDefRegMap(@Self)^.&set := $00000040;
  51568. end;
  51569. procedure TPORTF_LATF.clearLATF6; inline;
  51570. begin
  51571. pTDefRegMap(@Self)^.clr := $00000040;
  51572. end;
  51573. procedure TPORTF_LATF.setLATF6(thebits : TBits_1); inline;
  51574. begin
  51575. if thebits = 0 then
  51576. pTDefRegMap(@Self)^.clr := $00000040
  51577. else
  51578. pTDefRegMap(@Self)^.&set := $00000040;
  51579. end;
  51580. function TPORTF_LATF.getLATF6 : TBits_1; inline;
  51581. begin
  51582. getLATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51583. end;
  51584. procedure TPORTF_LATF.setLATF7; inline;
  51585. begin
  51586. pTDefRegMap(@Self)^.&set := $00000080;
  51587. end;
  51588. procedure TPORTF_LATF.clearLATF7; inline;
  51589. begin
  51590. pTDefRegMap(@Self)^.clr := $00000080;
  51591. end;
  51592. procedure TPORTF_LATF.setLATF7(thebits : TBits_1); inline;
  51593. begin
  51594. if thebits = 0 then
  51595. pTDefRegMap(@Self)^.clr := $00000080
  51596. else
  51597. pTDefRegMap(@Self)^.&set := $00000080;
  51598. end;
  51599. function TPORTF_LATF.getLATF7 : TBits_1; inline;
  51600. begin
  51601. getLATF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51602. end;
  51603. procedure TPORTF_LATF.setLATF8; inline;
  51604. begin
  51605. pTDefRegMap(@Self)^.&set := $00000100;
  51606. end;
  51607. procedure TPORTF_LATF.clearLATF8; inline;
  51608. begin
  51609. pTDefRegMap(@Self)^.clr := $00000100;
  51610. end;
  51611. procedure TPORTF_LATF.setLATF8(thebits : TBits_1); inline;
  51612. begin
  51613. if thebits = 0 then
  51614. pTDefRegMap(@Self)^.clr := $00000100
  51615. else
  51616. pTDefRegMap(@Self)^.&set := $00000100;
  51617. end;
  51618. function TPORTF_LATF.getLATF8 : TBits_1; inline;
  51619. begin
  51620. getLATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51621. end;
  51622. procedure TPORTF_LATF.setLATF12; inline;
  51623. begin
  51624. pTDefRegMap(@Self)^.&set := $00001000;
  51625. end;
  51626. procedure TPORTF_LATF.clearLATF12; inline;
  51627. begin
  51628. pTDefRegMap(@Self)^.clr := $00001000;
  51629. end;
  51630. procedure TPORTF_LATF.setLATF12(thebits : TBits_1); inline;
  51631. begin
  51632. if thebits = 0 then
  51633. pTDefRegMap(@Self)^.clr := $00001000
  51634. else
  51635. pTDefRegMap(@Self)^.&set := $00001000;
  51636. end;
  51637. function TPORTF_LATF.getLATF12 : TBits_1; inline;
  51638. begin
  51639. getLATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  51640. end;
  51641. procedure TPORTF_LATF.setLATF13; inline;
  51642. begin
  51643. pTDefRegMap(@Self)^.&set := $00002000;
  51644. end;
  51645. procedure TPORTF_LATF.clearLATF13; inline;
  51646. begin
  51647. pTDefRegMap(@Self)^.clr := $00002000;
  51648. end;
  51649. procedure TPORTF_LATF.setLATF13(thebits : TBits_1); inline;
  51650. begin
  51651. if thebits = 0 then
  51652. pTDefRegMap(@Self)^.clr := $00002000
  51653. else
  51654. pTDefRegMap(@Self)^.&set := $00002000;
  51655. end;
  51656. function TPORTF_LATF.getLATF13 : TBits_1; inline;
  51657. begin
  51658. getLATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  51659. end;
  51660. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  51661. begin
  51662. pTDefRegMap(@Self)^.val := thebits;
  51663. end;
  51664. function TPORTF_LATF.getw : TBits_32; inline;
  51665. begin
  51666. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51667. end;
  51668. procedure TPORTF_ODCF.setODCF0; inline;
  51669. begin
  51670. pTDefRegMap(@Self)^.&set := $00000001;
  51671. end;
  51672. procedure TPORTF_ODCF.clearODCF0; inline;
  51673. begin
  51674. pTDefRegMap(@Self)^.clr := $00000001;
  51675. end;
  51676. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  51677. begin
  51678. if thebits = 0 then
  51679. pTDefRegMap(@Self)^.clr := $00000001
  51680. else
  51681. pTDefRegMap(@Self)^.&set := $00000001;
  51682. end;
  51683. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  51684. begin
  51685. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51686. end;
  51687. procedure TPORTF_ODCF.setODCF1; inline;
  51688. begin
  51689. pTDefRegMap(@Self)^.&set := $00000002;
  51690. end;
  51691. procedure TPORTF_ODCF.clearODCF1; inline;
  51692. begin
  51693. pTDefRegMap(@Self)^.clr := $00000002;
  51694. end;
  51695. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  51696. begin
  51697. if thebits = 0 then
  51698. pTDefRegMap(@Self)^.clr := $00000002
  51699. else
  51700. pTDefRegMap(@Self)^.&set := $00000002;
  51701. end;
  51702. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  51703. begin
  51704. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51705. end;
  51706. procedure TPORTF_ODCF.setODCF2; inline;
  51707. begin
  51708. pTDefRegMap(@Self)^.&set := $00000004;
  51709. end;
  51710. procedure TPORTF_ODCF.clearODCF2; inline;
  51711. begin
  51712. pTDefRegMap(@Self)^.clr := $00000004;
  51713. end;
  51714. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  51715. begin
  51716. if thebits = 0 then
  51717. pTDefRegMap(@Self)^.clr := $00000004
  51718. else
  51719. pTDefRegMap(@Self)^.&set := $00000004;
  51720. end;
  51721. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  51722. begin
  51723. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51724. end;
  51725. procedure TPORTF_ODCF.setODCF3; inline;
  51726. begin
  51727. pTDefRegMap(@Self)^.&set := $00000008;
  51728. end;
  51729. procedure TPORTF_ODCF.clearODCF3; inline;
  51730. begin
  51731. pTDefRegMap(@Self)^.clr := $00000008;
  51732. end;
  51733. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  51734. begin
  51735. if thebits = 0 then
  51736. pTDefRegMap(@Self)^.clr := $00000008
  51737. else
  51738. pTDefRegMap(@Self)^.&set := $00000008;
  51739. end;
  51740. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  51741. begin
  51742. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51743. end;
  51744. procedure TPORTF_ODCF.setODCF4; inline;
  51745. begin
  51746. pTDefRegMap(@Self)^.&set := $00000010;
  51747. end;
  51748. procedure TPORTF_ODCF.clearODCF4; inline;
  51749. begin
  51750. pTDefRegMap(@Self)^.clr := $00000010;
  51751. end;
  51752. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  51753. begin
  51754. if thebits = 0 then
  51755. pTDefRegMap(@Self)^.clr := $00000010
  51756. else
  51757. pTDefRegMap(@Self)^.&set := $00000010;
  51758. end;
  51759. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  51760. begin
  51761. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51762. end;
  51763. procedure TPORTF_ODCF.setODCF5; inline;
  51764. begin
  51765. pTDefRegMap(@Self)^.&set := $00000020;
  51766. end;
  51767. procedure TPORTF_ODCF.clearODCF5; inline;
  51768. begin
  51769. pTDefRegMap(@Self)^.clr := $00000020;
  51770. end;
  51771. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  51772. begin
  51773. if thebits = 0 then
  51774. pTDefRegMap(@Self)^.clr := $00000020
  51775. else
  51776. pTDefRegMap(@Self)^.&set := $00000020;
  51777. end;
  51778. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  51779. begin
  51780. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51781. end;
  51782. procedure TPORTF_ODCF.setODCF6; inline;
  51783. begin
  51784. pTDefRegMap(@Self)^.&set := $00000040;
  51785. end;
  51786. procedure TPORTF_ODCF.clearODCF6; inline;
  51787. begin
  51788. pTDefRegMap(@Self)^.clr := $00000040;
  51789. end;
  51790. procedure TPORTF_ODCF.setODCF6(thebits : TBits_1); inline;
  51791. begin
  51792. if thebits = 0 then
  51793. pTDefRegMap(@Self)^.clr := $00000040
  51794. else
  51795. pTDefRegMap(@Self)^.&set := $00000040;
  51796. end;
  51797. function TPORTF_ODCF.getODCF6 : TBits_1; inline;
  51798. begin
  51799. getODCF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51800. end;
  51801. procedure TPORTF_ODCF.setODCF7; inline;
  51802. begin
  51803. pTDefRegMap(@Self)^.&set := $00000080;
  51804. end;
  51805. procedure TPORTF_ODCF.clearODCF7; inline;
  51806. begin
  51807. pTDefRegMap(@Self)^.clr := $00000080;
  51808. end;
  51809. procedure TPORTF_ODCF.setODCF7(thebits : TBits_1); inline;
  51810. begin
  51811. if thebits = 0 then
  51812. pTDefRegMap(@Self)^.clr := $00000080
  51813. else
  51814. pTDefRegMap(@Self)^.&set := $00000080;
  51815. end;
  51816. function TPORTF_ODCF.getODCF7 : TBits_1; inline;
  51817. begin
  51818. getODCF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51819. end;
  51820. procedure TPORTF_ODCF.setODCF8; inline;
  51821. begin
  51822. pTDefRegMap(@Self)^.&set := $00000100;
  51823. end;
  51824. procedure TPORTF_ODCF.clearODCF8; inline;
  51825. begin
  51826. pTDefRegMap(@Self)^.clr := $00000100;
  51827. end;
  51828. procedure TPORTF_ODCF.setODCF8(thebits : TBits_1); inline;
  51829. begin
  51830. if thebits = 0 then
  51831. pTDefRegMap(@Self)^.clr := $00000100
  51832. else
  51833. pTDefRegMap(@Self)^.&set := $00000100;
  51834. end;
  51835. function TPORTF_ODCF.getODCF8 : TBits_1; inline;
  51836. begin
  51837. getODCF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51838. end;
  51839. procedure TPORTF_ODCF.setODCF12; inline;
  51840. begin
  51841. pTDefRegMap(@Self)^.&set := $00001000;
  51842. end;
  51843. procedure TPORTF_ODCF.clearODCF12; inline;
  51844. begin
  51845. pTDefRegMap(@Self)^.clr := $00001000;
  51846. end;
  51847. procedure TPORTF_ODCF.setODCF12(thebits : TBits_1); inline;
  51848. begin
  51849. if thebits = 0 then
  51850. pTDefRegMap(@Self)^.clr := $00001000
  51851. else
  51852. pTDefRegMap(@Self)^.&set := $00001000;
  51853. end;
  51854. function TPORTF_ODCF.getODCF12 : TBits_1; inline;
  51855. begin
  51856. getODCF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  51857. end;
  51858. procedure TPORTF_ODCF.setODCF13; inline;
  51859. begin
  51860. pTDefRegMap(@Self)^.&set := $00002000;
  51861. end;
  51862. procedure TPORTF_ODCF.clearODCF13; inline;
  51863. begin
  51864. pTDefRegMap(@Self)^.clr := $00002000;
  51865. end;
  51866. procedure TPORTF_ODCF.setODCF13(thebits : TBits_1); inline;
  51867. begin
  51868. if thebits = 0 then
  51869. pTDefRegMap(@Self)^.clr := $00002000
  51870. else
  51871. pTDefRegMap(@Self)^.&set := $00002000;
  51872. end;
  51873. function TPORTF_ODCF.getODCF13 : TBits_1; inline;
  51874. begin
  51875. getODCF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  51876. end;
  51877. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  51878. begin
  51879. pTDefRegMap(@Self)^.val := thebits;
  51880. end;
  51881. function TPORTF_ODCF.getw : TBits_32; inline;
  51882. begin
  51883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51884. end;
  51885. procedure TPORTF_CNPUF.setCNPUF0; inline;
  51886. begin
  51887. pTDefRegMap(@Self)^.&set := $00000001;
  51888. end;
  51889. procedure TPORTF_CNPUF.clearCNPUF0; inline;
  51890. begin
  51891. pTDefRegMap(@Self)^.clr := $00000001;
  51892. end;
  51893. procedure TPORTF_CNPUF.setCNPUF0(thebits : TBits_1); inline;
  51894. begin
  51895. if thebits = 0 then
  51896. pTDefRegMap(@Self)^.clr := $00000001
  51897. else
  51898. pTDefRegMap(@Self)^.&set := $00000001;
  51899. end;
  51900. function TPORTF_CNPUF.getCNPUF0 : TBits_1; inline;
  51901. begin
  51902. getCNPUF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51903. end;
  51904. procedure TPORTF_CNPUF.setCNPUF1; inline;
  51905. begin
  51906. pTDefRegMap(@Self)^.&set := $00000002;
  51907. end;
  51908. procedure TPORTF_CNPUF.clearCNPUF1; inline;
  51909. begin
  51910. pTDefRegMap(@Self)^.clr := $00000002;
  51911. end;
  51912. procedure TPORTF_CNPUF.setCNPUF1(thebits : TBits_1); inline;
  51913. begin
  51914. if thebits = 0 then
  51915. pTDefRegMap(@Self)^.clr := $00000002
  51916. else
  51917. pTDefRegMap(@Self)^.&set := $00000002;
  51918. end;
  51919. function TPORTF_CNPUF.getCNPUF1 : TBits_1; inline;
  51920. begin
  51921. getCNPUF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51922. end;
  51923. procedure TPORTF_CNPUF.setCNPUF2; inline;
  51924. begin
  51925. pTDefRegMap(@Self)^.&set := $00000004;
  51926. end;
  51927. procedure TPORTF_CNPUF.clearCNPUF2; inline;
  51928. begin
  51929. pTDefRegMap(@Self)^.clr := $00000004;
  51930. end;
  51931. procedure TPORTF_CNPUF.setCNPUF2(thebits : TBits_1); inline;
  51932. begin
  51933. if thebits = 0 then
  51934. pTDefRegMap(@Self)^.clr := $00000004
  51935. else
  51936. pTDefRegMap(@Self)^.&set := $00000004;
  51937. end;
  51938. function TPORTF_CNPUF.getCNPUF2 : TBits_1; inline;
  51939. begin
  51940. getCNPUF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51941. end;
  51942. procedure TPORTF_CNPUF.setCNPUF3; inline;
  51943. begin
  51944. pTDefRegMap(@Self)^.&set := $00000008;
  51945. end;
  51946. procedure TPORTF_CNPUF.clearCNPUF3; inline;
  51947. begin
  51948. pTDefRegMap(@Self)^.clr := $00000008;
  51949. end;
  51950. procedure TPORTF_CNPUF.setCNPUF3(thebits : TBits_1); inline;
  51951. begin
  51952. if thebits = 0 then
  51953. pTDefRegMap(@Self)^.clr := $00000008
  51954. else
  51955. pTDefRegMap(@Self)^.&set := $00000008;
  51956. end;
  51957. function TPORTF_CNPUF.getCNPUF3 : TBits_1; inline;
  51958. begin
  51959. getCNPUF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51960. end;
  51961. procedure TPORTF_CNPUF.setCNPUF4; inline;
  51962. begin
  51963. pTDefRegMap(@Self)^.&set := $00000010;
  51964. end;
  51965. procedure TPORTF_CNPUF.clearCNPUF4; inline;
  51966. begin
  51967. pTDefRegMap(@Self)^.clr := $00000010;
  51968. end;
  51969. procedure TPORTF_CNPUF.setCNPUF4(thebits : TBits_1); inline;
  51970. begin
  51971. if thebits = 0 then
  51972. pTDefRegMap(@Self)^.clr := $00000010
  51973. else
  51974. pTDefRegMap(@Self)^.&set := $00000010;
  51975. end;
  51976. function TPORTF_CNPUF.getCNPUF4 : TBits_1; inline;
  51977. begin
  51978. getCNPUF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51979. end;
  51980. procedure TPORTF_CNPUF.setCNPUF5; inline;
  51981. begin
  51982. pTDefRegMap(@Self)^.&set := $00000020;
  51983. end;
  51984. procedure TPORTF_CNPUF.clearCNPUF5; inline;
  51985. begin
  51986. pTDefRegMap(@Self)^.clr := $00000020;
  51987. end;
  51988. procedure TPORTF_CNPUF.setCNPUF5(thebits : TBits_1); inline;
  51989. begin
  51990. if thebits = 0 then
  51991. pTDefRegMap(@Self)^.clr := $00000020
  51992. else
  51993. pTDefRegMap(@Self)^.&set := $00000020;
  51994. end;
  51995. function TPORTF_CNPUF.getCNPUF5 : TBits_1; inline;
  51996. begin
  51997. getCNPUF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51998. end;
  51999. procedure TPORTF_CNPUF.setCNPUF6; inline;
  52000. begin
  52001. pTDefRegMap(@Self)^.&set := $00000040;
  52002. end;
  52003. procedure TPORTF_CNPUF.clearCNPUF6; inline;
  52004. begin
  52005. pTDefRegMap(@Self)^.clr := $00000040;
  52006. end;
  52007. procedure TPORTF_CNPUF.setCNPUF6(thebits : TBits_1); inline;
  52008. begin
  52009. if thebits = 0 then
  52010. pTDefRegMap(@Self)^.clr := $00000040
  52011. else
  52012. pTDefRegMap(@Self)^.&set := $00000040;
  52013. end;
  52014. function TPORTF_CNPUF.getCNPUF6 : TBits_1; inline;
  52015. begin
  52016. getCNPUF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52017. end;
  52018. procedure TPORTF_CNPUF.setCNPUF7; inline;
  52019. begin
  52020. pTDefRegMap(@Self)^.&set := $00000080;
  52021. end;
  52022. procedure TPORTF_CNPUF.clearCNPUF7; inline;
  52023. begin
  52024. pTDefRegMap(@Self)^.clr := $00000080;
  52025. end;
  52026. procedure TPORTF_CNPUF.setCNPUF7(thebits : TBits_1); inline;
  52027. begin
  52028. if thebits = 0 then
  52029. pTDefRegMap(@Self)^.clr := $00000080
  52030. else
  52031. pTDefRegMap(@Self)^.&set := $00000080;
  52032. end;
  52033. function TPORTF_CNPUF.getCNPUF7 : TBits_1; inline;
  52034. begin
  52035. getCNPUF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52036. end;
  52037. procedure TPORTF_CNPUF.setCNPUF8; inline;
  52038. begin
  52039. pTDefRegMap(@Self)^.&set := $00000100;
  52040. end;
  52041. procedure TPORTF_CNPUF.clearCNPUF8; inline;
  52042. begin
  52043. pTDefRegMap(@Self)^.clr := $00000100;
  52044. end;
  52045. procedure TPORTF_CNPUF.setCNPUF8(thebits : TBits_1); inline;
  52046. begin
  52047. if thebits = 0 then
  52048. pTDefRegMap(@Self)^.clr := $00000100
  52049. else
  52050. pTDefRegMap(@Self)^.&set := $00000100;
  52051. end;
  52052. function TPORTF_CNPUF.getCNPUF8 : TBits_1; inline;
  52053. begin
  52054. getCNPUF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52055. end;
  52056. procedure TPORTF_CNPUF.setCNPUF12; inline;
  52057. begin
  52058. pTDefRegMap(@Self)^.&set := $00001000;
  52059. end;
  52060. procedure TPORTF_CNPUF.clearCNPUF12; inline;
  52061. begin
  52062. pTDefRegMap(@Self)^.clr := $00001000;
  52063. end;
  52064. procedure TPORTF_CNPUF.setCNPUF12(thebits : TBits_1); inline;
  52065. begin
  52066. if thebits = 0 then
  52067. pTDefRegMap(@Self)^.clr := $00001000
  52068. else
  52069. pTDefRegMap(@Self)^.&set := $00001000;
  52070. end;
  52071. function TPORTF_CNPUF.getCNPUF12 : TBits_1; inline;
  52072. begin
  52073. getCNPUF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  52074. end;
  52075. procedure TPORTF_CNPUF.setCNPUF13; inline;
  52076. begin
  52077. pTDefRegMap(@Self)^.&set := $00002000;
  52078. end;
  52079. procedure TPORTF_CNPUF.clearCNPUF13; inline;
  52080. begin
  52081. pTDefRegMap(@Self)^.clr := $00002000;
  52082. end;
  52083. procedure TPORTF_CNPUF.setCNPUF13(thebits : TBits_1); inline;
  52084. begin
  52085. if thebits = 0 then
  52086. pTDefRegMap(@Self)^.clr := $00002000
  52087. else
  52088. pTDefRegMap(@Self)^.&set := $00002000;
  52089. end;
  52090. function TPORTF_CNPUF.getCNPUF13 : TBits_1; inline;
  52091. begin
  52092. getCNPUF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  52093. end;
  52094. procedure TPORTF_CNPUF.setw(thebits : TBits_32); inline;
  52095. begin
  52096. pTDefRegMap(@Self)^.val := thebits;
  52097. end;
  52098. function TPORTF_CNPUF.getw : TBits_32; inline;
  52099. begin
  52100. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52101. end;
  52102. procedure TPORTF_CNPDF.setCNPDF0; inline;
  52103. begin
  52104. pTDefRegMap(@Self)^.&set := $00000001;
  52105. end;
  52106. procedure TPORTF_CNPDF.clearCNPDF0; inline;
  52107. begin
  52108. pTDefRegMap(@Self)^.clr := $00000001;
  52109. end;
  52110. procedure TPORTF_CNPDF.setCNPDF0(thebits : TBits_1); inline;
  52111. begin
  52112. if thebits = 0 then
  52113. pTDefRegMap(@Self)^.clr := $00000001
  52114. else
  52115. pTDefRegMap(@Self)^.&set := $00000001;
  52116. end;
  52117. function TPORTF_CNPDF.getCNPDF0 : TBits_1; inline;
  52118. begin
  52119. getCNPDF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52120. end;
  52121. procedure TPORTF_CNPDF.setCNPDF1; inline;
  52122. begin
  52123. pTDefRegMap(@Self)^.&set := $00000002;
  52124. end;
  52125. procedure TPORTF_CNPDF.clearCNPDF1; inline;
  52126. begin
  52127. pTDefRegMap(@Self)^.clr := $00000002;
  52128. end;
  52129. procedure TPORTF_CNPDF.setCNPDF1(thebits : TBits_1); inline;
  52130. begin
  52131. if thebits = 0 then
  52132. pTDefRegMap(@Self)^.clr := $00000002
  52133. else
  52134. pTDefRegMap(@Self)^.&set := $00000002;
  52135. end;
  52136. function TPORTF_CNPDF.getCNPDF1 : TBits_1; inline;
  52137. begin
  52138. getCNPDF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52139. end;
  52140. procedure TPORTF_CNPDF.setCNPDF2; inline;
  52141. begin
  52142. pTDefRegMap(@Self)^.&set := $00000004;
  52143. end;
  52144. procedure TPORTF_CNPDF.clearCNPDF2; inline;
  52145. begin
  52146. pTDefRegMap(@Self)^.clr := $00000004;
  52147. end;
  52148. procedure TPORTF_CNPDF.setCNPDF2(thebits : TBits_1); inline;
  52149. begin
  52150. if thebits = 0 then
  52151. pTDefRegMap(@Self)^.clr := $00000004
  52152. else
  52153. pTDefRegMap(@Self)^.&set := $00000004;
  52154. end;
  52155. function TPORTF_CNPDF.getCNPDF2 : TBits_1; inline;
  52156. begin
  52157. getCNPDF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52158. end;
  52159. procedure TPORTF_CNPDF.setCNPDF3; inline;
  52160. begin
  52161. pTDefRegMap(@Self)^.&set := $00000008;
  52162. end;
  52163. procedure TPORTF_CNPDF.clearCNPDF3; inline;
  52164. begin
  52165. pTDefRegMap(@Self)^.clr := $00000008;
  52166. end;
  52167. procedure TPORTF_CNPDF.setCNPDF3(thebits : TBits_1); inline;
  52168. begin
  52169. if thebits = 0 then
  52170. pTDefRegMap(@Self)^.clr := $00000008
  52171. else
  52172. pTDefRegMap(@Self)^.&set := $00000008;
  52173. end;
  52174. function TPORTF_CNPDF.getCNPDF3 : TBits_1; inline;
  52175. begin
  52176. getCNPDF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52177. end;
  52178. procedure TPORTF_CNPDF.setCNPDF4; inline;
  52179. begin
  52180. pTDefRegMap(@Self)^.&set := $00000010;
  52181. end;
  52182. procedure TPORTF_CNPDF.clearCNPDF4; inline;
  52183. begin
  52184. pTDefRegMap(@Self)^.clr := $00000010;
  52185. end;
  52186. procedure TPORTF_CNPDF.setCNPDF4(thebits : TBits_1); inline;
  52187. begin
  52188. if thebits = 0 then
  52189. pTDefRegMap(@Self)^.clr := $00000010
  52190. else
  52191. pTDefRegMap(@Self)^.&set := $00000010;
  52192. end;
  52193. function TPORTF_CNPDF.getCNPDF4 : TBits_1; inline;
  52194. begin
  52195. getCNPDF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52196. end;
  52197. procedure TPORTF_CNPDF.setCNPDF5; inline;
  52198. begin
  52199. pTDefRegMap(@Self)^.&set := $00000020;
  52200. end;
  52201. procedure TPORTF_CNPDF.clearCNPDF5; inline;
  52202. begin
  52203. pTDefRegMap(@Self)^.clr := $00000020;
  52204. end;
  52205. procedure TPORTF_CNPDF.setCNPDF5(thebits : TBits_1); inline;
  52206. begin
  52207. if thebits = 0 then
  52208. pTDefRegMap(@Self)^.clr := $00000020
  52209. else
  52210. pTDefRegMap(@Self)^.&set := $00000020;
  52211. end;
  52212. function TPORTF_CNPDF.getCNPDF5 : TBits_1; inline;
  52213. begin
  52214. getCNPDF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52215. end;
  52216. procedure TPORTF_CNPDF.setCNPDF6; inline;
  52217. begin
  52218. pTDefRegMap(@Self)^.&set := $00000040;
  52219. end;
  52220. procedure TPORTF_CNPDF.clearCNPDF6; inline;
  52221. begin
  52222. pTDefRegMap(@Self)^.clr := $00000040;
  52223. end;
  52224. procedure TPORTF_CNPDF.setCNPDF6(thebits : TBits_1); inline;
  52225. begin
  52226. if thebits = 0 then
  52227. pTDefRegMap(@Self)^.clr := $00000040
  52228. else
  52229. pTDefRegMap(@Self)^.&set := $00000040;
  52230. end;
  52231. function TPORTF_CNPDF.getCNPDF6 : TBits_1; inline;
  52232. begin
  52233. getCNPDF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52234. end;
  52235. procedure TPORTF_CNPDF.setCNPDF7; inline;
  52236. begin
  52237. pTDefRegMap(@Self)^.&set := $00000080;
  52238. end;
  52239. procedure TPORTF_CNPDF.clearCNPDF7; inline;
  52240. begin
  52241. pTDefRegMap(@Self)^.clr := $00000080;
  52242. end;
  52243. procedure TPORTF_CNPDF.setCNPDF7(thebits : TBits_1); inline;
  52244. begin
  52245. if thebits = 0 then
  52246. pTDefRegMap(@Self)^.clr := $00000080
  52247. else
  52248. pTDefRegMap(@Self)^.&set := $00000080;
  52249. end;
  52250. function TPORTF_CNPDF.getCNPDF7 : TBits_1; inline;
  52251. begin
  52252. getCNPDF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52253. end;
  52254. procedure TPORTF_CNPDF.setCNPDF8; inline;
  52255. begin
  52256. pTDefRegMap(@Self)^.&set := $00000100;
  52257. end;
  52258. procedure TPORTF_CNPDF.clearCNPDF8; inline;
  52259. begin
  52260. pTDefRegMap(@Self)^.clr := $00000100;
  52261. end;
  52262. procedure TPORTF_CNPDF.setCNPDF8(thebits : TBits_1); inline;
  52263. begin
  52264. if thebits = 0 then
  52265. pTDefRegMap(@Self)^.clr := $00000100
  52266. else
  52267. pTDefRegMap(@Self)^.&set := $00000100;
  52268. end;
  52269. function TPORTF_CNPDF.getCNPDF8 : TBits_1; inline;
  52270. begin
  52271. getCNPDF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52272. end;
  52273. procedure TPORTF_CNPDF.setCNPDF12; inline;
  52274. begin
  52275. pTDefRegMap(@Self)^.&set := $00001000;
  52276. end;
  52277. procedure TPORTF_CNPDF.clearCNPDF12; inline;
  52278. begin
  52279. pTDefRegMap(@Self)^.clr := $00001000;
  52280. end;
  52281. procedure TPORTF_CNPDF.setCNPDF12(thebits : TBits_1); inline;
  52282. begin
  52283. if thebits = 0 then
  52284. pTDefRegMap(@Self)^.clr := $00001000
  52285. else
  52286. pTDefRegMap(@Self)^.&set := $00001000;
  52287. end;
  52288. function TPORTF_CNPDF.getCNPDF12 : TBits_1; inline;
  52289. begin
  52290. getCNPDF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  52291. end;
  52292. procedure TPORTF_CNPDF.setCNPDF13; inline;
  52293. begin
  52294. pTDefRegMap(@Self)^.&set := $00002000;
  52295. end;
  52296. procedure TPORTF_CNPDF.clearCNPDF13; inline;
  52297. begin
  52298. pTDefRegMap(@Self)^.clr := $00002000;
  52299. end;
  52300. procedure TPORTF_CNPDF.setCNPDF13(thebits : TBits_1); inline;
  52301. begin
  52302. if thebits = 0 then
  52303. pTDefRegMap(@Self)^.clr := $00002000
  52304. else
  52305. pTDefRegMap(@Self)^.&set := $00002000;
  52306. end;
  52307. function TPORTF_CNPDF.getCNPDF13 : TBits_1; inline;
  52308. begin
  52309. getCNPDF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  52310. end;
  52311. procedure TPORTF_CNPDF.setw(thebits : TBits_32); inline;
  52312. begin
  52313. pTDefRegMap(@Self)^.val := thebits;
  52314. end;
  52315. function TPORTF_CNPDF.getw : TBits_32; inline;
  52316. begin
  52317. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52318. end;
  52319. procedure TPORTF_CNCONF.setSIDL; inline;
  52320. begin
  52321. pTDefRegMap(@Self)^.&set := $00002000;
  52322. end;
  52323. procedure TPORTF_CNCONF.clearSIDL; inline;
  52324. begin
  52325. pTDefRegMap(@Self)^.clr := $00002000;
  52326. end;
  52327. procedure TPORTF_CNCONF.setSIDL(thebits : TBits_1); inline;
  52328. begin
  52329. if thebits = 0 then
  52330. pTDefRegMap(@Self)^.clr := $00002000
  52331. else
  52332. pTDefRegMap(@Self)^.&set := $00002000;
  52333. end;
  52334. function TPORTF_CNCONF.getSIDL : TBits_1; inline;
  52335. begin
  52336. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  52337. end;
  52338. procedure TPORTF_CNCONF.setON; inline;
  52339. begin
  52340. pTDefRegMap(@Self)^.&set := $00008000;
  52341. end;
  52342. procedure TPORTF_CNCONF.clearON; inline;
  52343. begin
  52344. pTDefRegMap(@Self)^.clr := $00008000;
  52345. end;
  52346. procedure TPORTF_CNCONF.setON(thebits : TBits_1); inline;
  52347. begin
  52348. if thebits = 0 then
  52349. pTDefRegMap(@Self)^.clr := $00008000
  52350. else
  52351. pTDefRegMap(@Self)^.&set := $00008000;
  52352. end;
  52353. function TPORTF_CNCONF.getON : TBits_1; inline;
  52354. begin
  52355. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  52356. end;
  52357. procedure TPORTF_CNCONF.setw(thebits : TBits_32); inline;
  52358. begin
  52359. pTDefRegMap(@Self)^.val := thebits;
  52360. end;
  52361. function TPORTF_CNCONF.getw : TBits_32; inline;
  52362. begin
  52363. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52364. end;
  52365. procedure TPORTF_CNENF.setCNIEF0; inline;
  52366. begin
  52367. pTDefRegMap(@Self)^.&set := $00000001;
  52368. end;
  52369. procedure TPORTF_CNENF.clearCNIEF0; inline;
  52370. begin
  52371. pTDefRegMap(@Self)^.clr := $00000001;
  52372. end;
  52373. procedure TPORTF_CNENF.setCNIEF0(thebits : TBits_1); inline;
  52374. begin
  52375. if thebits = 0 then
  52376. pTDefRegMap(@Self)^.clr := $00000001
  52377. else
  52378. pTDefRegMap(@Self)^.&set := $00000001;
  52379. end;
  52380. function TPORTF_CNENF.getCNIEF0 : TBits_1; inline;
  52381. begin
  52382. getCNIEF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52383. end;
  52384. procedure TPORTF_CNENF.setCNIEF1; inline;
  52385. begin
  52386. pTDefRegMap(@Self)^.&set := $00000002;
  52387. end;
  52388. procedure TPORTF_CNENF.clearCNIEF1; inline;
  52389. begin
  52390. pTDefRegMap(@Self)^.clr := $00000002;
  52391. end;
  52392. procedure TPORTF_CNENF.setCNIEF1(thebits : TBits_1); inline;
  52393. begin
  52394. if thebits = 0 then
  52395. pTDefRegMap(@Self)^.clr := $00000002
  52396. else
  52397. pTDefRegMap(@Self)^.&set := $00000002;
  52398. end;
  52399. function TPORTF_CNENF.getCNIEF1 : TBits_1; inline;
  52400. begin
  52401. getCNIEF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52402. end;
  52403. procedure TPORTF_CNENF.setCNIEF2; inline;
  52404. begin
  52405. pTDefRegMap(@Self)^.&set := $00000004;
  52406. end;
  52407. procedure TPORTF_CNENF.clearCNIEF2; inline;
  52408. begin
  52409. pTDefRegMap(@Self)^.clr := $00000004;
  52410. end;
  52411. procedure TPORTF_CNENF.setCNIEF2(thebits : TBits_1); inline;
  52412. begin
  52413. if thebits = 0 then
  52414. pTDefRegMap(@Self)^.clr := $00000004
  52415. else
  52416. pTDefRegMap(@Self)^.&set := $00000004;
  52417. end;
  52418. function TPORTF_CNENF.getCNIEF2 : TBits_1; inline;
  52419. begin
  52420. getCNIEF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52421. end;
  52422. procedure TPORTF_CNENF.setCNIEF3; inline;
  52423. begin
  52424. pTDefRegMap(@Self)^.&set := $00000008;
  52425. end;
  52426. procedure TPORTF_CNENF.clearCNIEF3; inline;
  52427. begin
  52428. pTDefRegMap(@Self)^.clr := $00000008;
  52429. end;
  52430. procedure TPORTF_CNENF.setCNIEF3(thebits : TBits_1); inline;
  52431. begin
  52432. if thebits = 0 then
  52433. pTDefRegMap(@Self)^.clr := $00000008
  52434. else
  52435. pTDefRegMap(@Self)^.&set := $00000008;
  52436. end;
  52437. function TPORTF_CNENF.getCNIEF3 : TBits_1; inline;
  52438. begin
  52439. getCNIEF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52440. end;
  52441. procedure TPORTF_CNENF.setCNIEF4; inline;
  52442. begin
  52443. pTDefRegMap(@Self)^.&set := $00000010;
  52444. end;
  52445. procedure TPORTF_CNENF.clearCNIEF4; inline;
  52446. begin
  52447. pTDefRegMap(@Self)^.clr := $00000010;
  52448. end;
  52449. procedure TPORTF_CNENF.setCNIEF4(thebits : TBits_1); inline;
  52450. begin
  52451. if thebits = 0 then
  52452. pTDefRegMap(@Self)^.clr := $00000010
  52453. else
  52454. pTDefRegMap(@Self)^.&set := $00000010;
  52455. end;
  52456. function TPORTF_CNENF.getCNIEF4 : TBits_1; inline;
  52457. begin
  52458. getCNIEF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52459. end;
  52460. procedure TPORTF_CNENF.setCNIEF5; inline;
  52461. begin
  52462. pTDefRegMap(@Self)^.&set := $00000020;
  52463. end;
  52464. procedure TPORTF_CNENF.clearCNIEF5; inline;
  52465. begin
  52466. pTDefRegMap(@Self)^.clr := $00000020;
  52467. end;
  52468. procedure TPORTF_CNENF.setCNIEF5(thebits : TBits_1); inline;
  52469. begin
  52470. if thebits = 0 then
  52471. pTDefRegMap(@Self)^.clr := $00000020
  52472. else
  52473. pTDefRegMap(@Self)^.&set := $00000020;
  52474. end;
  52475. function TPORTF_CNENF.getCNIEF5 : TBits_1; inline;
  52476. begin
  52477. getCNIEF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52478. end;
  52479. procedure TPORTF_CNENF.setCNIEF6; inline;
  52480. begin
  52481. pTDefRegMap(@Self)^.&set := $00000040;
  52482. end;
  52483. procedure TPORTF_CNENF.clearCNIEF6; inline;
  52484. begin
  52485. pTDefRegMap(@Self)^.clr := $00000040;
  52486. end;
  52487. procedure TPORTF_CNENF.setCNIEF6(thebits : TBits_1); inline;
  52488. begin
  52489. if thebits = 0 then
  52490. pTDefRegMap(@Self)^.clr := $00000040
  52491. else
  52492. pTDefRegMap(@Self)^.&set := $00000040;
  52493. end;
  52494. function TPORTF_CNENF.getCNIEF6 : TBits_1; inline;
  52495. begin
  52496. getCNIEF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52497. end;
  52498. procedure TPORTF_CNENF.setCNIEF7; inline;
  52499. begin
  52500. pTDefRegMap(@Self)^.&set := $00000080;
  52501. end;
  52502. procedure TPORTF_CNENF.clearCNIEF7; inline;
  52503. begin
  52504. pTDefRegMap(@Self)^.clr := $00000080;
  52505. end;
  52506. procedure TPORTF_CNENF.setCNIEF7(thebits : TBits_1); inline;
  52507. begin
  52508. if thebits = 0 then
  52509. pTDefRegMap(@Self)^.clr := $00000080
  52510. else
  52511. pTDefRegMap(@Self)^.&set := $00000080;
  52512. end;
  52513. function TPORTF_CNENF.getCNIEF7 : TBits_1; inline;
  52514. begin
  52515. getCNIEF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52516. end;
  52517. procedure TPORTF_CNENF.setCNIEF8; inline;
  52518. begin
  52519. pTDefRegMap(@Self)^.&set := $00000100;
  52520. end;
  52521. procedure TPORTF_CNENF.clearCNIEF8; inline;
  52522. begin
  52523. pTDefRegMap(@Self)^.clr := $00000100;
  52524. end;
  52525. procedure TPORTF_CNENF.setCNIEF8(thebits : TBits_1); inline;
  52526. begin
  52527. if thebits = 0 then
  52528. pTDefRegMap(@Self)^.clr := $00000100
  52529. else
  52530. pTDefRegMap(@Self)^.&set := $00000100;
  52531. end;
  52532. function TPORTF_CNENF.getCNIEF8 : TBits_1; inline;
  52533. begin
  52534. getCNIEF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52535. end;
  52536. procedure TPORTF_CNENF.setCNIEF12; inline;
  52537. begin
  52538. pTDefRegMap(@Self)^.&set := $00001000;
  52539. end;
  52540. procedure TPORTF_CNENF.clearCNIEF12; inline;
  52541. begin
  52542. pTDefRegMap(@Self)^.clr := $00001000;
  52543. end;
  52544. procedure TPORTF_CNENF.setCNIEF12(thebits : TBits_1); inline;
  52545. begin
  52546. if thebits = 0 then
  52547. pTDefRegMap(@Self)^.clr := $00001000
  52548. else
  52549. pTDefRegMap(@Self)^.&set := $00001000;
  52550. end;
  52551. function TPORTF_CNENF.getCNIEF12 : TBits_1; inline;
  52552. begin
  52553. getCNIEF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  52554. end;
  52555. procedure TPORTF_CNENF.setCNIEF13; inline;
  52556. begin
  52557. pTDefRegMap(@Self)^.&set := $00002000;
  52558. end;
  52559. procedure TPORTF_CNENF.clearCNIEF13; inline;
  52560. begin
  52561. pTDefRegMap(@Self)^.clr := $00002000;
  52562. end;
  52563. procedure TPORTF_CNENF.setCNIEF13(thebits : TBits_1); inline;
  52564. begin
  52565. if thebits = 0 then
  52566. pTDefRegMap(@Self)^.clr := $00002000
  52567. else
  52568. pTDefRegMap(@Self)^.&set := $00002000;
  52569. end;
  52570. function TPORTF_CNENF.getCNIEF13 : TBits_1; inline;
  52571. begin
  52572. getCNIEF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  52573. end;
  52574. procedure TPORTF_CNENF.setw(thebits : TBits_32); inline;
  52575. begin
  52576. pTDefRegMap(@Self)^.val := thebits;
  52577. end;
  52578. function TPORTF_CNENF.getw : TBits_32; inline;
  52579. begin
  52580. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52581. end;
  52582. procedure TPORTF_CNSTATF.setCNSTATF0; inline;
  52583. begin
  52584. pTDefRegMap(@Self)^.&set := $00000001;
  52585. end;
  52586. procedure TPORTF_CNSTATF.clearCNSTATF0; inline;
  52587. begin
  52588. pTDefRegMap(@Self)^.clr := $00000001;
  52589. end;
  52590. procedure TPORTF_CNSTATF.setCNSTATF0(thebits : TBits_1); inline;
  52591. begin
  52592. if thebits = 0 then
  52593. pTDefRegMap(@Self)^.clr := $00000001
  52594. else
  52595. pTDefRegMap(@Self)^.&set := $00000001;
  52596. end;
  52597. function TPORTF_CNSTATF.getCNSTATF0 : TBits_1; inline;
  52598. begin
  52599. getCNSTATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52600. end;
  52601. procedure TPORTF_CNSTATF.setCNSTATF1; inline;
  52602. begin
  52603. pTDefRegMap(@Self)^.&set := $00000002;
  52604. end;
  52605. procedure TPORTF_CNSTATF.clearCNSTATF1; inline;
  52606. begin
  52607. pTDefRegMap(@Self)^.clr := $00000002;
  52608. end;
  52609. procedure TPORTF_CNSTATF.setCNSTATF1(thebits : TBits_1); inline;
  52610. begin
  52611. if thebits = 0 then
  52612. pTDefRegMap(@Self)^.clr := $00000002
  52613. else
  52614. pTDefRegMap(@Self)^.&set := $00000002;
  52615. end;
  52616. function TPORTF_CNSTATF.getCNSTATF1 : TBits_1; inline;
  52617. begin
  52618. getCNSTATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52619. end;
  52620. procedure TPORTF_CNSTATF.setCNSTATF2; inline;
  52621. begin
  52622. pTDefRegMap(@Self)^.&set := $00000004;
  52623. end;
  52624. procedure TPORTF_CNSTATF.clearCNSTATF2; inline;
  52625. begin
  52626. pTDefRegMap(@Self)^.clr := $00000004;
  52627. end;
  52628. procedure TPORTF_CNSTATF.setCNSTATF2(thebits : TBits_1); inline;
  52629. begin
  52630. if thebits = 0 then
  52631. pTDefRegMap(@Self)^.clr := $00000004
  52632. else
  52633. pTDefRegMap(@Self)^.&set := $00000004;
  52634. end;
  52635. function TPORTF_CNSTATF.getCNSTATF2 : TBits_1; inline;
  52636. begin
  52637. getCNSTATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52638. end;
  52639. procedure TPORTF_CNSTATF.setCNSTATF3; inline;
  52640. begin
  52641. pTDefRegMap(@Self)^.&set := $00000008;
  52642. end;
  52643. procedure TPORTF_CNSTATF.clearCNSTATF3; inline;
  52644. begin
  52645. pTDefRegMap(@Self)^.clr := $00000008;
  52646. end;
  52647. procedure TPORTF_CNSTATF.setCNSTATF3(thebits : TBits_1); inline;
  52648. begin
  52649. if thebits = 0 then
  52650. pTDefRegMap(@Self)^.clr := $00000008
  52651. else
  52652. pTDefRegMap(@Self)^.&set := $00000008;
  52653. end;
  52654. function TPORTF_CNSTATF.getCNSTATF3 : TBits_1; inline;
  52655. begin
  52656. getCNSTATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52657. end;
  52658. procedure TPORTF_CNSTATF.setCNSTATF4; inline;
  52659. begin
  52660. pTDefRegMap(@Self)^.&set := $00000010;
  52661. end;
  52662. procedure TPORTF_CNSTATF.clearCNSTATF4; inline;
  52663. begin
  52664. pTDefRegMap(@Self)^.clr := $00000010;
  52665. end;
  52666. procedure TPORTF_CNSTATF.setCNSTATF4(thebits : TBits_1); inline;
  52667. begin
  52668. if thebits = 0 then
  52669. pTDefRegMap(@Self)^.clr := $00000010
  52670. else
  52671. pTDefRegMap(@Self)^.&set := $00000010;
  52672. end;
  52673. function TPORTF_CNSTATF.getCNSTATF4 : TBits_1; inline;
  52674. begin
  52675. getCNSTATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52676. end;
  52677. procedure TPORTF_CNSTATF.setCNSTATF5; inline;
  52678. begin
  52679. pTDefRegMap(@Self)^.&set := $00000020;
  52680. end;
  52681. procedure TPORTF_CNSTATF.clearCNSTATF5; inline;
  52682. begin
  52683. pTDefRegMap(@Self)^.clr := $00000020;
  52684. end;
  52685. procedure TPORTF_CNSTATF.setCNSTATF5(thebits : TBits_1); inline;
  52686. begin
  52687. if thebits = 0 then
  52688. pTDefRegMap(@Self)^.clr := $00000020
  52689. else
  52690. pTDefRegMap(@Self)^.&set := $00000020;
  52691. end;
  52692. function TPORTF_CNSTATF.getCNSTATF5 : TBits_1; inline;
  52693. begin
  52694. getCNSTATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52695. end;
  52696. procedure TPORTF_CNSTATF.setCNSTATF6; inline;
  52697. begin
  52698. pTDefRegMap(@Self)^.&set := $00000040;
  52699. end;
  52700. procedure TPORTF_CNSTATF.clearCNSTATF6; inline;
  52701. begin
  52702. pTDefRegMap(@Self)^.clr := $00000040;
  52703. end;
  52704. procedure TPORTF_CNSTATF.setCNSTATF6(thebits : TBits_1); inline;
  52705. begin
  52706. if thebits = 0 then
  52707. pTDefRegMap(@Self)^.clr := $00000040
  52708. else
  52709. pTDefRegMap(@Self)^.&set := $00000040;
  52710. end;
  52711. function TPORTF_CNSTATF.getCNSTATF6 : TBits_1; inline;
  52712. begin
  52713. getCNSTATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52714. end;
  52715. procedure TPORTF_CNSTATF.setCNSTATF7; inline;
  52716. begin
  52717. pTDefRegMap(@Self)^.&set := $00000080;
  52718. end;
  52719. procedure TPORTF_CNSTATF.clearCNSTATF7; inline;
  52720. begin
  52721. pTDefRegMap(@Self)^.clr := $00000080;
  52722. end;
  52723. procedure TPORTF_CNSTATF.setCNSTATF7(thebits : TBits_1); inline;
  52724. begin
  52725. if thebits = 0 then
  52726. pTDefRegMap(@Self)^.clr := $00000080
  52727. else
  52728. pTDefRegMap(@Self)^.&set := $00000080;
  52729. end;
  52730. function TPORTF_CNSTATF.getCNSTATF7 : TBits_1; inline;
  52731. begin
  52732. getCNSTATF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52733. end;
  52734. procedure TPORTF_CNSTATF.setCNSTATF8; inline;
  52735. begin
  52736. pTDefRegMap(@Self)^.&set := $00000100;
  52737. end;
  52738. procedure TPORTF_CNSTATF.clearCNSTATF8; inline;
  52739. begin
  52740. pTDefRegMap(@Self)^.clr := $00000100;
  52741. end;
  52742. procedure TPORTF_CNSTATF.setCNSTATF8(thebits : TBits_1); inline;
  52743. begin
  52744. if thebits = 0 then
  52745. pTDefRegMap(@Self)^.clr := $00000100
  52746. else
  52747. pTDefRegMap(@Self)^.&set := $00000100;
  52748. end;
  52749. function TPORTF_CNSTATF.getCNSTATF8 : TBits_1; inline;
  52750. begin
  52751. getCNSTATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52752. end;
  52753. procedure TPORTF_CNSTATF.setCNSTATF12; inline;
  52754. begin
  52755. pTDefRegMap(@Self)^.&set := $00001000;
  52756. end;
  52757. procedure TPORTF_CNSTATF.clearCNSTATF12; inline;
  52758. begin
  52759. pTDefRegMap(@Self)^.clr := $00001000;
  52760. end;
  52761. procedure TPORTF_CNSTATF.setCNSTATF12(thebits : TBits_1); inline;
  52762. begin
  52763. if thebits = 0 then
  52764. pTDefRegMap(@Self)^.clr := $00001000
  52765. else
  52766. pTDefRegMap(@Self)^.&set := $00001000;
  52767. end;
  52768. function TPORTF_CNSTATF.getCNSTATF12 : TBits_1; inline;
  52769. begin
  52770. getCNSTATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  52771. end;
  52772. procedure TPORTF_CNSTATF.setCNSTATF13; inline;
  52773. begin
  52774. pTDefRegMap(@Self)^.&set := $00002000;
  52775. end;
  52776. procedure TPORTF_CNSTATF.clearCNSTATF13; inline;
  52777. begin
  52778. pTDefRegMap(@Self)^.clr := $00002000;
  52779. end;
  52780. procedure TPORTF_CNSTATF.setCNSTATF13(thebits : TBits_1); inline;
  52781. begin
  52782. if thebits = 0 then
  52783. pTDefRegMap(@Self)^.clr := $00002000
  52784. else
  52785. pTDefRegMap(@Self)^.&set := $00002000;
  52786. end;
  52787. function TPORTF_CNSTATF.getCNSTATF13 : TBits_1; inline;
  52788. begin
  52789. getCNSTATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  52790. end;
  52791. procedure TPORTF_CNSTATF.setw(thebits : TBits_32); inline;
  52792. begin
  52793. pTDefRegMap(@Self)^.val := thebits;
  52794. end;
  52795. function TPORTF_CNSTATF.getw : TBits_32; inline;
  52796. begin
  52797. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52798. end;
  52799. procedure TPORTF_ANSELG.setANSG6; inline;
  52800. begin
  52801. pTDefRegMap(@Self)^.&set := $00000040;
  52802. end;
  52803. procedure TPORTF_ANSELG.clearANSG6; inline;
  52804. begin
  52805. pTDefRegMap(@Self)^.clr := $00000040;
  52806. end;
  52807. procedure TPORTF_ANSELG.setANSG6(thebits : TBits_1); inline;
  52808. begin
  52809. if thebits = 0 then
  52810. pTDefRegMap(@Self)^.clr := $00000040
  52811. else
  52812. pTDefRegMap(@Self)^.&set := $00000040;
  52813. end;
  52814. function TPORTF_ANSELG.getANSG6 : TBits_1; inline;
  52815. begin
  52816. getANSG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52817. end;
  52818. procedure TPORTF_ANSELG.setANSG7; inline;
  52819. begin
  52820. pTDefRegMap(@Self)^.&set := $00000080;
  52821. end;
  52822. procedure TPORTF_ANSELG.clearANSG7; inline;
  52823. begin
  52824. pTDefRegMap(@Self)^.clr := $00000080;
  52825. end;
  52826. procedure TPORTF_ANSELG.setANSG7(thebits : TBits_1); inline;
  52827. begin
  52828. if thebits = 0 then
  52829. pTDefRegMap(@Self)^.clr := $00000080
  52830. else
  52831. pTDefRegMap(@Self)^.&set := $00000080;
  52832. end;
  52833. function TPORTF_ANSELG.getANSG7 : TBits_1; inline;
  52834. begin
  52835. getANSG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52836. end;
  52837. procedure TPORTF_ANSELG.setANSG8; inline;
  52838. begin
  52839. pTDefRegMap(@Self)^.&set := $00000100;
  52840. end;
  52841. procedure TPORTF_ANSELG.clearANSG8; inline;
  52842. begin
  52843. pTDefRegMap(@Self)^.clr := $00000100;
  52844. end;
  52845. procedure TPORTF_ANSELG.setANSG8(thebits : TBits_1); inline;
  52846. begin
  52847. if thebits = 0 then
  52848. pTDefRegMap(@Self)^.clr := $00000100
  52849. else
  52850. pTDefRegMap(@Self)^.&set := $00000100;
  52851. end;
  52852. function TPORTF_ANSELG.getANSG8 : TBits_1; inline;
  52853. begin
  52854. getANSG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52855. end;
  52856. procedure TPORTF_ANSELG.setANSG9; inline;
  52857. begin
  52858. pTDefRegMap(@Self)^.&set := $00000200;
  52859. end;
  52860. procedure TPORTF_ANSELG.clearANSG9; inline;
  52861. begin
  52862. pTDefRegMap(@Self)^.clr := $00000200;
  52863. end;
  52864. procedure TPORTF_ANSELG.setANSG9(thebits : TBits_1); inline;
  52865. begin
  52866. if thebits = 0 then
  52867. pTDefRegMap(@Self)^.clr := $00000200
  52868. else
  52869. pTDefRegMap(@Self)^.&set := $00000200;
  52870. end;
  52871. function TPORTF_ANSELG.getANSG9 : TBits_1; inline;
  52872. begin
  52873. getANSG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52874. end;
  52875. procedure TPORTF_ANSELG.setw(thebits : TBits_32); inline;
  52876. begin
  52877. pTDefRegMap(@Self)^.val := thebits;
  52878. end;
  52879. function TPORTF_ANSELG.getw : TBits_32; inline;
  52880. begin
  52881. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52882. end;
  52883. procedure TPORTF_TRISG.setTRISG0; inline;
  52884. begin
  52885. pTDefRegMap(@Self)^.&set := $00000001;
  52886. end;
  52887. procedure TPORTF_TRISG.clearTRISG0; inline;
  52888. begin
  52889. pTDefRegMap(@Self)^.clr := $00000001;
  52890. end;
  52891. procedure TPORTF_TRISG.setTRISG0(thebits : TBits_1); inline;
  52892. begin
  52893. if thebits = 0 then
  52894. pTDefRegMap(@Self)^.clr := $00000001
  52895. else
  52896. pTDefRegMap(@Self)^.&set := $00000001;
  52897. end;
  52898. function TPORTF_TRISG.getTRISG0 : TBits_1; inline;
  52899. begin
  52900. getTRISG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52901. end;
  52902. procedure TPORTF_TRISG.setTRISG1; inline;
  52903. begin
  52904. pTDefRegMap(@Self)^.&set := $00000002;
  52905. end;
  52906. procedure TPORTF_TRISG.clearTRISG1; inline;
  52907. begin
  52908. pTDefRegMap(@Self)^.clr := $00000002;
  52909. end;
  52910. procedure TPORTF_TRISG.setTRISG1(thebits : TBits_1); inline;
  52911. begin
  52912. if thebits = 0 then
  52913. pTDefRegMap(@Self)^.clr := $00000002
  52914. else
  52915. pTDefRegMap(@Self)^.&set := $00000002;
  52916. end;
  52917. function TPORTF_TRISG.getTRISG1 : TBits_1; inline;
  52918. begin
  52919. getTRISG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52920. end;
  52921. procedure TPORTF_TRISG.setTRISG2; inline;
  52922. begin
  52923. pTDefRegMap(@Self)^.&set := $00000004;
  52924. end;
  52925. procedure TPORTF_TRISG.clearTRISG2; inline;
  52926. begin
  52927. pTDefRegMap(@Self)^.clr := $00000004;
  52928. end;
  52929. procedure TPORTF_TRISG.setTRISG2(thebits : TBits_1); inline;
  52930. begin
  52931. if thebits = 0 then
  52932. pTDefRegMap(@Self)^.clr := $00000004
  52933. else
  52934. pTDefRegMap(@Self)^.&set := $00000004;
  52935. end;
  52936. function TPORTF_TRISG.getTRISG2 : TBits_1; inline;
  52937. begin
  52938. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52939. end;
  52940. procedure TPORTF_TRISG.setTRISG3; inline;
  52941. begin
  52942. pTDefRegMap(@Self)^.&set := $00000008;
  52943. end;
  52944. procedure TPORTF_TRISG.clearTRISG3; inline;
  52945. begin
  52946. pTDefRegMap(@Self)^.clr := $00000008;
  52947. end;
  52948. procedure TPORTF_TRISG.setTRISG3(thebits : TBits_1); inline;
  52949. begin
  52950. if thebits = 0 then
  52951. pTDefRegMap(@Self)^.clr := $00000008
  52952. else
  52953. pTDefRegMap(@Self)^.&set := $00000008;
  52954. end;
  52955. function TPORTF_TRISG.getTRISG3 : TBits_1; inline;
  52956. begin
  52957. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52958. end;
  52959. procedure TPORTF_TRISG.setTRISG6; inline;
  52960. begin
  52961. pTDefRegMap(@Self)^.&set := $00000040;
  52962. end;
  52963. procedure TPORTF_TRISG.clearTRISG6; inline;
  52964. begin
  52965. pTDefRegMap(@Self)^.clr := $00000040;
  52966. end;
  52967. procedure TPORTF_TRISG.setTRISG6(thebits : TBits_1); inline;
  52968. begin
  52969. if thebits = 0 then
  52970. pTDefRegMap(@Self)^.clr := $00000040
  52971. else
  52972. pTDefRegMap(@Self)^.&set := $00000040;
  52973. end;
  52974. function TPORTF_TRISG.getTRISG6 : TBits_1; inline;
  52975. begin
  52976. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52977. end;
  52978. procedure TPORTF_TRISG.setTRISG7; inline;
  52979. begin
  52980. pTDefRegMap(@Self)^.&set := $00000080;
  52981. end;
  52982. procedure TPORTF_TRISG.clearTRISG7; inline;
  52983. begin
  52984. pTDefRegMap(@Self)^.clr := $00000080;
  52985. end;
  52986. procedure TPORTF_TRISG.setTRISG7(thebits : TBits_1); inline;
  52987. begin
  52988. if thebits = 0 then
  52989. pTDefRegMap(@Self)^.clr := $00000080
  52990. else
  52991. pTDefRegMap(@Self)^.&set := $00000080;
  52992. end;
  52993. function TPORTF_TRISG.getTRISG7 : TBits_1; inline;
  52994. begin
  52995. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52996. end;
  52997. procedure TPORTF_TRISG.setTRISG8; inline;
  52998. begin
  52999. pTDefRegMap(@Self)^.&set := $00000100;
  53000. end;
  53001. procedure TPORTF_TRISG.clearTRISG8; inline;
  53002. begin
  53003. pTDefRegMap(@Self)^.clr := $00000100;
  53004. end;
  53005. procedure TPORTF_TRISG.setTRISG8(thebits : TBits_1); inline;
  53006. begin
  53007. if thebits = 0 then
  53008. pTDefRegMap(@Self)^.clr := $00000100
  53009. else
  53010. pTDefRegMap(@Self)^.&set := $00000100;
  53011. end;
  53012. function TPORTF_TRISG.getTRISG8 : TBits_1; inline;
  53013. begin
  53014. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53015. end;
  53016. procedure TPORTF_TRISG.setTRISG9; inline;
  53017. begin
  53018. pTDefRegMap(@Self)^.&set := $00000200;
  53019. end;
  53020. procedure TPORTF_TRISG.clearTRISG9; inline;
  53021. begin
  53022. pTDefRegMap(@Self)^.clr := $00000200;
  53023. end;
  53024. procedure TPORTF_TRISG.setTRISG9(thebits : TBits_1); inline;
  53025. begin
  53026. if thebits = 0 then
  53027. pTDefRegMap(@Self)^.clr := $00000200
  53028. else
  53029. pTDefRegMap(@Self)^.&set := $00000200;
  53030. end;
  53031. function TPORTF_TRISG.getTRISG9 : TBits_1; inline;
  53032. begin
  53033. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53034. end;
  53035. procedure TPORTF_TRISG.setTRISG12; inline;
  53036. begin
  53037. pTDefRegMap(@Self)^.&set := $00001000;
  53038. end;
  53039. procedure TPORTF_TRISG.clearTRISG12; inline;
  53040. begin
  53041. pTDefRegMap(@Self)^.clr := $00001000;
  53042. end;
  53043. procedure TPORTF_TRISG.setTRISG12(thebits : TBits_1); inline;
  53044. begin
  53045. if thebits = 0 then
  53046. pTDefRegMap(@Self)^.clr := $00001000
  53047. else
  53048. pTDefRegMap(@Self)^.&set := $00001000;
  53049. end;
  53050. function TPORTF_TRISG.getTRISG12 : TBits_1; inline;
  53051. begin
  53052. getTRISG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53053. end;
  53054. procedure TPORTF_TRISG.setTRISG13; inline;
  53055. begin
  53056. pTDefRegMap(@Self)^.&set := $00002000;
  53057. end;
  53058. procedure TPORTF_TRISG.clearTRISG13; inline;
  53059. begin
  53060. pTDefRegMap(@Self)^.clr := $00002000;
  53061. end;
  53062. procedure TPORTF_TRISG.setTRISG13(thebits : TBits_1); inline;
  53063. begin
  53064. if thebits = 0 then
  53065. pTDefRegMap(@Self)^.clr := $00002000
  53066. else
  53067. pTDefRegMap(@Self)^.&set := $00002000;
  53068. end;
  53069. function TPORTF_TRISG.getTRISG13 : TBits_1; inline;
  53070. begin
  53071. getTRISG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53072. end;
  53073. procedure TPORTF_TRISG.setTRISG14; inline;
  53074. begin
  53075. pTDefRegMap(@Self)^.&set := $00004000;
  53076. end;
  53077. procedure TPORTF_TRISG.clearTRISG14; inline;
  53078. begin
  53079. pTDefRegMap(@Self)^.clr := $00004000;
  53080. end;
  53081. procedure TPORTF_TRISG.setTRISG14(thebits : TBits_1); inline;
  53082. begin
  53083. if thebits = 0 then
  53084. pTDefRegMap(@Self)^.clr := $00004000
  53085. else
  53086. pTDefRegMap(@Self)^.&set := $00004000;
  53087. end;
  53088. function TPORTF_TRISG.getTRISG14 : TBits_1; inline;
  53089. begin
  53090. getTRISG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53091. end;
  53092. procedure TPORTF_TRISG.setTRISG15; inline;
  53093. begin
  53094. pTDefRegMap(@Self)^.&set := $00008000;
  53095. end;
  53096. procedure TPORTF_TRISG.clearTRISG15; inline;
  53097. begin
  53098. pTDefRegMap(@Self)^.clr := $00008000;
  53099. end;
  53100. procedure TPORTF_TRISG.setTRISG15(thebits : TBits_1); inline;
  53101. begin
  53102. if thebits = 0 then
  53103. pTDefRegMap(@Self)^.clr := $00008000
  53104. else
  53105. pTDefRegMap(@Self)^.&set := $00008000;
  53106. end;
  53107. function TPORTF_TRISG.getTRISG15 : TBits_1; inline;
  53108. begin
  53109. getTRISG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53110. end;
  53111. procedure TPORTF_TRISG.setw(thebits : TBits_32); inline;
  53112. begin
  53113. pTDefRegMap(@Self)^.val := thebits;
  53114. end;
  53115. function TPORTF_TRISG.getw : TBits_32; inline;
  53116. begin
  53117. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53118. end;
  53119. procedure TPORTG_PORTG.setRG0; inline;
  53120. begin
  53121. pTDefRegMap(@Self)^.&set := $00000001;
  53122. end;
  53123. procedure TPORTG_PORTG.clearRG0; inline;
  53124. begin
  53125. pTDefRegMap(@Self)^.clr := $00000001;
  53126. end;
  53127. procedure TPORTG_PORTG.setRG0(thebits : TBits_1); inline;
  53128. begin
  53129. if thebits = 0 then
  53130. pTDefRegMap(@Self)^.clr := $00000001
  53131. else
  53132. pTDefRegMap(@Self)^.&set := $00000001;
  53133. end;
  53134. function TPORTG_PORTG.getRG0 : TBits_1; inline;
  53135. begin
  53136. getRG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53137. end;
  53138. procedure TPORTG_PORTG.setRG1; inline;
  53139. begin
  53140. pTDefRegMap(@Self)^.&set := $00000002;
  53141. end;
  53142. procedure TPORTG_PORTG.clearRG1; inline;
  53143. begin
  53144. pTDefRegMap(@Self)^.clr := $00000002;
  53145. end;
  53146. procedure TPORTG_PORTG.setRG1(thebits : TBits_1); inline;
  53147. begin
  53148. if thebits = 0 then
  53149. pTDefRegMap(@Self)^.clr := $00000002
  53150. else
  53151. pTDefRegMap(@Self)^.&set := $00000002;
  53152. end;
  53153. function TPORTG_PORTG.getRG1 : TBits_1; inline;
  53154. begin
  53155. getRG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53156. end;
  53157. procedure TPORTG_PORTG.setRG2; inline;
  53158. begin
  53159. pTDefRegMap(@Self)^.&set := $00000004;
  53160. end;
  53161. procedure TPORTG_PORTG.clearRG2; inline;
  53162. begin
  53163. pTDefRegMap(@Self)^.clr := $00000004;
  53164. end;
  53165. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  53166. begin
  53167. if thebits = 0 then
  53168. pTDefRegMap(@Self)^.clr := $00000004
  53169. else
  53170. pTDefRegMap(@Self)^.&set := $00000004;
  53171. end;
  53172. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  53173. begin
  53174. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53175. end;
  53176. procedure TPORTG_PORTG.setRG3; inline;
  53177. begin
  53178. pTDefRegMap(@Self)^.&set := $00000008;
  53179. end;
  53180. procedure TPORTG_PORTG.clearRG3; inline;
  53181. begin
  53182. pTDefRegMap(@Self)^.clr := $00000008;
  53183. end;
  53184. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  53185. begin
  53186. if thebits = 0 then
  53187. pTDefRegMap(@Self)^.clr := $00000008
  53188. else
  53189. pTDefRegMap(@Self)^.&set := $00000008;
  53190. end;
  53191. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  53192. begin
  53193. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53194. end;
  53195. procedure TPORTG_PORTG.setRG6; inline;
  53196. begin
  53197. pTDefRegMap(@Self)^.&set := $00000040;
  53198. end;
  53199. procedure TPORTG_PORTG.clearRG6; inline;
  53200. begin
  53201. pTDefRegMap(@Self)^.clr := $00000040;
  53202. end;
  53203. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  53204. begin
  53205. if thebits = 0 then
  53206. pTDefRegMap(@Self)^.clr := $00000040
  53207. else
  53208. pTDefRegMap(@Self)^.&set := $00000040;
  53209. end;
  53210. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  53211. begin
  53212. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53213. end;
  53214. procedure TPORTG_PORTG.setRG7; inline;
  53215. begin
  53216. pTDefRegMap(@Self)^.&set := $00000080;
  53217. end;
  53218. procedure TPORTG_PORTG.clearRG7; inline;
  53219. begin
  53220. pTDefRegMap(@Self)^.clr := $00000080;
  53221. end;
  53222. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  53223. begin
  53224. if thebits = 0 then
  53225. pTDefRegMap(@Self)^.clr := $00000080
  53226. else
  53227. pTDefRegMap(@Self)^.&set := $00000080;
  53228. end;
  53229. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  53230. begin
  53231. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53232. end;
  53233. procedure TPORTG_PORTG.setRG8; inline;
  53234. begin
  53235. pTDefRegMap(@Self)^.&set := $00000100;
  53236. end;
  53237. procedure TPORTG_PORTG.clearRG8; inline;
  53238. begin
  53239. pTDefRegMap(@Self)^.clr := $00000100;
  53240. end;
  53241. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  53242. begin
  53243. if thebits = 0 then
  53244. pTDefRegMap(@Self)^.clr := $00000100
  53245. else
  53246. pTDefRegMap(@Self)^.&set := $00000100;
  53247. end;
  53248. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  53249. begin
  53250. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53251. end;
  53252. procedure TPORTG_PORTG.setRG9; inline;
  53253. begin
  53254. pTDefRegMap(@Self)^.&set := $00000200;
  53255. end;
  53256. procedure TPORTG_PORTG.clearRG9; inline;
  53257. begin
  53258. pTDefRegMap(@Self)^.clr := $00000200;
  53259. end;
  53260. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  53261. begin
  53262. if thebits = 0 then
  53263. pTDefRegMap(@Self)^.clr := $00000200
  53264. else
  53265. pTDefRegMap(@Self)^.&set := $00000200;
  53266. end;
  53267. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  53268. begin
  53269. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53270. end;
  53271. procedure TPORTG_PORTG.setRG12; inline;
  53272. begin
  53273. pTDefRegMap(@Self)^.&set := $00001000;
  53274. end;
  53275. procedure TPORTG_PORTG.clearRG12; inline;
  53276. begin
  53277. pTDefRegMap(@Self)^.clr := $00001000;
  53278. end;
  53279. procedure TPORTG_PORTG.setRG12(thebits : TBits_1); inline;
  53280. begin
  53281. if thebits = 0 then
  53282. pTDefRegMap(@Self)^.clr := $00001000
  53283. else
  53284. pTDefRegMap(@Self)^.&set := $00001000;
  53285. end;
  53286. function TPORTG_PORTG.getRG12 : TBits_1; inline;
  53287. begin
  53288. getRG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53289. end;
  53290. procedure TPORTG_PORTG.setRG13; inline;
  53291. begin
  53292. pTDefRegMap(@Self)^.&set := $00002000;
  53293. end;
  53294. procedure TPORTG_PORTG.clearRG13; inline;
  53295. begin
  53296. pTDefRegMap(@Self)^.clr := $00002000;
  53297. end;
  53298. procedure TPORTG_PORTG.setRG13(thebits : TBits_1); inline;
  53299. begin
  53300. if thebits = 0 then
  53301. pTDefRegMap(@Self)^.clr := $00002000
  53302. else
  53303. pTDefRegMap(@Self)^.&set := $00002000;
  53304. end;
  53305. function TPORTG_PORTG.getRG13 : TBits_1; inline;
  53306. begin
  53307. getRG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53308. end;
  53309. procedure TPORTG_PORTG.setRG14; inline;
  53310. begin
  53311. pTDefRegMap(@Self)^.&set := $00004000;
  53312. end;
  53313. procedure TPORTG_PORTG.clearRG14; inline;
  53314. begin
  53315. pTDefRegMap(@Self)^.clr := $00004000;
  53316. end;
  53317. procedure TPORTG_PORTG.setRG14(thebits : TBits_1); inline;
  53318. begin
  53319. if thebits = 0 then
  53320. pTDefRegMap(@Self)^.clr := $00004000
  53321. else
  53322. pTDefRegMap(@Self)^.&set := $00004000;
  53323. end;
  53324. function TPORTG_PORTG.getRG14 : TBits_1; inline;
  53325. begin
  53326. getRG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53327. end;
  53328. procedure TPORTG_PORTG.setRG15; inline;
  53329. begin
  53330. pTDefRegMap(@Self)^.&set := $00008000;
  53331. end;
  53332. procedure TPORTG_PORTG.clearRG15; inline;
  53333. begin
  53334. pTDefRegMap(@Self)^.clr := $00008000;
  53335. end;
  53336. procedure TPORTG_PORTG.setRG15(thebits : TBits_1); inline;
  53337. begin
  53338. if thebits = 0 then
  53339. pTDefRegMap(@Self)^.clr := $00008000
  53340. else
  53341. pTDefRegMap(@Self)^.&set := $00008000;
  53342. end;
  53343. function TPORTG_PORTG.getRG15 : TBits_1; inline;
  53344. begin
  53345. getRG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53346. end;
  53347. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  53348. begin
  53349. pTDefRegMap(@Self)^.val := thebits;
  53350. end;
  53351. function TPORTG_PORTG.getw : TBits_32; inline;
  53352. begin
  53353. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53354. end;
  53355. procedure TPORTG_LATG.setLATG0; inline;
  53356. begin
  53357. pTDefRegMap(@Self)^.&set := $00000001;
  53358. end;
  53359. procedure TPORTG_LATG.clearLATG0; inline;
  53360. begin
  53361. pTDefRegMap(@Self)^.clr := $00000001;
  53362. end;
  53363. procedure TPORTG_LATG.setLATG0(thebits : TBits_1); inline;
  53364. begin
  53365. if thebits = 0 then
  53366. pTDefRegMap(@Self)^.clr := $00000001
  53367. else
  53368. pTDefRegMap(@Self)^.&set := $00000001;
  53369. end;
  53370. function TPORTG_LATG.getLATG0 : TBits_1; inline;
  53371. begin
  53372. getLATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53373. end;
  53374. procedure TPORTG_LATG.setLATG1; inline;
  53375. begin
  53376. pTDefRegMap(@Self)^.&set := $00000002;
  53377. end;
  53378. procedure TPORTG_LATG.clearLATG1; inline;
  53379. begin
  53380. pTDefRegMap(@Self)^.clr := $00000002;
  53381. end;
  53382. procedure TPORTG_LATG.setLATG1(thebits : TBits_1); inline;
  53383. begin
  53384. if thebits = 0 then
  53385. pTDefRegMap(@Self)^.clr := $00000002
  53386. else
  53387. pTDefRegMap(@Self)^.&set := $00000002;
  53388. end;
  53389. function TPORTG_LATG.getLATG1 : TBits_1; inline;
  53390. begin
  53391. getLATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53392. end;
  53393. procedure TPORTG_LATG.setLATG2; inline;
  53394. begin
  53395. pTDefRegMap(@Self)^.&set := $00000004;
  53396. end;
  53397. procedure TPORTG_LATG.clearLATG2; inline;
  53398. begin
  53399. pTDefRegMap(@Self)^.clr := $00000004;
  53400. end;
  53401. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  53402. begin
  53403. if thebits = 0 then
  53404. pTDefRegMap(@Self)^.clr := $00000004
  53405. else
  53406. pTDefRegMap(@Self)^.&set := $00000004;
  53407. end;
  53408. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  53409. begin
  53410. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53411. end;
  53412. procedure TPORTG_LATG.setLATG3; inline;
  53413. begin
  53414. pTDefRegMap(@Self)^.&set := $00000008;
  53415. end;
  53416. procedure TPORTG_LATG.clearLATG3; inline;
  53417. begin
  53418. pTDefRegMap(@Self)^.clr := $00000008;
  53419. end;
  53420. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  53421. begin
  53422. if thebits = 0 then
  53423. pTDefRegMap(@Self)^.clr := $00000008
  53424. else
  53425. pTDefRegMap(@Self)^.&set := $00000008;
  53426. end;
  53427. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  53428. begin
  53429. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53430. end;
  53431. procedure TPORTG_LATG.setLATG6; inline;
  53432. begin
  53433. pTDefRegMap(@Self)^.&set := $00000040;
  53434. end;
  53435. procedure TPORTG_LATG.clearLATG6; inline;
  53436. begin
  53437. pTDefRegMap(@Self)^.clr := $00000040;
  53438. end;
  53439. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  53440. begin
  53441. if thebits = 0 then
  53442. pTDefRegMap(@Self)^.clr := $00000040
  53443. else
  53444. pTDefRegMap(@Self)^.&set := $00000040;
  53445. end;
  53446. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  53447. begin
  53448. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53449. end;
  53450. procedure TPORTG_LATG.setLATG7; inline;
  53451. begin
  53452. pTDefRegMap(@Self)^.&set := $00000080;
  53453. end;
  53454. procedure TPORTG_LATG.clearLATG7; inline;
  53455. begin
  53456. pTDefRegMap(@Self)^.clr := $00000080;
  53457. end;
  53458. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  53459. begin
  53460. if thebits = 0 then
  53461. pTDefRegMap(@Self)^.clr := $00000080
  53462. else
  53463. pTDefRegMap(@Self)^.&set := $00000080;
  53464. end;
  53465. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  53466. begin
  53467. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53468. end;
  53469. procedure TPORTG_LATG.setLATG8; inline;
  53470. begin
  53471. pTDefRegMap(@Self)^.&set := $00000100;
  53472. end;
  53473. procedure TPORTG_LATG.clearLATG8; inline;
  53474. begin
  53475. pTDefRegMap(@Self)^.clr := $00000100;
  53476. end;
  53477. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  53478. begin
  53479. if thebits = 0 then
  53480. pTDefRegMap(@Self)^.clr := $00000100
  53481. else
  53482. pTDefRegMap(@Self)^.&set := $00000100;
  53483. end;
  53484. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  53485. begin
  53486. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53487. end;
  53488. procedure TPORTG_LATG.setLATG9; inline;
  53489. begin
  53490. pTDefRegMap(@Self)^.&set := $00000200;
  53491. end;
  53492. procedure TPORTG_LATG.clearLATG9; inline;
  53493. begin
  53494. pTDefRegMap(@Self)^.clr := $00000200;
  53495. end;
  53496. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  53497. begin
  53498. if thebits = 0 then
  53499. pTDefRegMap(@Self)^.clr := $00000200
  53500. else
  53501. pTDefRegMap(@Self)^.&set := $00000200;
  53502. end;
  53503. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  53504. begin
  53505. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53506. end;
  53507. procedure TPORTG_LATG.setLATG12; inline;
  53508. begin
  53509. pTDefRegMap(@Self)^.&set := $00001000;
  53510. end;
  53511. procedure TPORTG_LATG.clearLATG12; inline;
  53512. begin
  53513. pTDefRegMap(@Self)^.clr := $00001000;
  53514. end;
  53515. procedure TPORTG_LATG.setLATG12(thebits : TBits_1); inline;
  53516. begin
  53517. if thebits = 0 then
  53518. pTDefRegMap(@Self)^.clr := $00001000
  53519. else
  53520. pTDefRegMap(@Self)^.&set := $00001000;
  53521. end;
  53522. function TPORTG_LATG.getLATG12 : TBits_1; inline;
  53523. begin
  53524. getLATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53525. end;
  53526. procedure TPORTG_LATG.setLATG13; inline;
  53527. begin
  53528. pTDefRegMap(@Self)^.&set := $00002000;
  53529. end;
  53530. procedure TPORTG_LATG.clearLATG13; inline;
  53531. begin
  53532. pTDefRegMap(@Self)^.clr := $00002000;
  53533. end;
  53534. procedure TPORTG_LATG.setLATG13(thebits : TBits_1); inline;
  53535. begin
  53536. if thebits = 0 then
  53537. pTDefRegMap(@Self)^.clr := $00002000
  53538. else
  53539. pTDefRegMap(@Self)^.&set := $00002000;
  53540. end;
  53541. function TPORTG_LATG.getLATG13 : TBits_1; inline;
  53542. begin
  53543. getLATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53544. end;
  53545. procedure TPORTG_LATG.setLATG14; inline;
  53546. begin
  53547. pTDefRegMap(@Self)^.&set := $00004000;
  53548. end;
  53549. procedure TPORTG_LATG.clearLATG14; inline;
  53550. begin
  53551. pTDefRegMap(@Self)^.clr := $00004000;
  53552. end;
  53553. procedure TPORTG_LATG.setLATG14(thebits : TBits_1); inline;
  53554. begin
  53555. if thebits = 0 then
  53556. pTDefRegMap(@Self)^.clr := $00004000
  53557. else
  53558. pTDefRegMap(@Self)^.&set := $00004000;
  53559. end;
  53560. function TPORTG_LATG.getLATG14 : TBits_1; inline;
  53561. begin
  53562. getLATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53563. end;
  53564. procedure TPORTG_LATG.setLATG15; inline;
  53565. begin
  53566. pTDefRegMap(@Self)^.&set := $00008000;
  53567. end;
  53568. procedure TPORTG_LATG.clearLATG15; inline;
  53569. begin
  53570. pTDefRegMap(@Self)^.clr := $00008000;
  53571. end;
  53572. procedure TPORTG_LATG.setLATG15(thebits : TBits_1); inline;
  53573. begin
  53574. if thebits = 0 then
  53575. pTDefRegMap(@Self)^.clr := $00008000
  53576. else
  53577. pTDefRegMap(@Self)^.&set := $00008000;
  53578. end;
  53579. function TPORTG_LATG.getLATG15 : TBits_1; inline;
  53580. begin
  53581. getLATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53582. end;
  53583. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  53584. begin
  53585. pTDefRegMap(@Self)^.val := thebits;
  53586. end;
  53587. function TPORTG_LATG.getw : TBits_32; inline;
  53588. begin
  53589. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53590. end;
  53591. procedure TPORTG_ODCG.setODCG0; inline;
  53592. begin
  53593. pTDefRegMap(@Self)^.&set := $00000001;
  53594. end;
  53595. procedure TPORTG_ODCG.clearODCG0; inline;
  53596. begin
  53597. pTDefRegMap(@Self)^.clr := $00000001;
  53598. end;
  53599. procedure TPORTG_ODCG.setODCG0(thebits : TBits_1); inline;
  53600. begin
  53601. if thebits = 0 then
  53602. pTDefRegMap(@Self)^.clr := $00000001
  53603. else
  53604. pTDefRegMap(@Self)^.&set := $00000001;
  53605. end;
  53606. function TPORTG_ODCG.getODCG0 : TBits_1; inline;
  53607. begin
  53608. getODCG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53609. end;
  53610. procedure TPORTG_ODCG.setODCG1; inline;
  53611. begin
  53612. pTDefRegMap(@Self)^.&set := $00000002;
  53613. end;
  53614. procedure TPORTG_ODCG.clearODCG1; inline;
  53615. begin
  53616. pTDefRegMap(@Self)^.clr := $00000002;
  53617. end;
  53618. procedure TPORTG_ODCG.setODCG1(thebits : TBits_1); inline;
  53619. begin
  53620. if thebits = 0 then
  53621. pTDefRegMap(@Self)^.clr := $00000002
  53622. else
  53623. pTDefRegMap(@Self)^.&set := $00000002;
  53624. end;
  53625. function TPORTG_ODCG.getODCG1 : TBits_1; inline;
  53626. begin
  53627. getODCG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53628. end;
  53629. procedure TPORTG_ODCG.setODCG2; inline;
  53630. begin
  53631. pTDefRegMap(@Self)^.&set := $00000004;
  53632. end;
  53633. procedure TPORTG_ODCG.clearODCG2; inline;
  53634. begin
  53635. pTDefRegMap(@Self)^.clr := $00000004;
  53636. end;
  53637. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  53638. begin
  53639. if thebits = 0 then
  53640. pTDefRegMap(@Self)^.clr := $00000004
  53641. else
  53642. pTDefRegMap(@Self)^.&set := $00000004;
  53643. end;
  53644. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  53645. begin
  53646. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53647. end;
  53648. procedure TPORTG_ODCG.setODCG3; inline;
  53649. begin
  53650. pTDefRegMap(@Self)^.&set := $00000008;
  53651. end;
  53652. procedure TPORTG_ODCG.clearODCG3; inline;
  53653. begin
  53654. pTDefRegMap(@Self)^.clr := $00000008;
  53655. end;
  53656. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  53657. begin
  53658. if thebits = 0 then
  53659. pTDefRegMap(@Self)^.clr := $00000008
  53660. else
  53661. pTDefRegMap(@Self)^.&set := $00000008;
  53662. end;
  53663. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  53664. begin
  53665. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53666. end;
  53667. procedure TPORTG_ODCG.setODCG6; inline;
  53668. begin
  53669. pTDefRegMap(@Self)^.&set := $00000040;
  53670. end;
  53671. procedure TPORTG_ODCG.clearODCG6; inline;
  53672. begin
  53673. pTDefRegMap(@Self)^.clr := $00000040;
  53674. end;
  53675. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  53676. begin
  53677. if thebits = 0 then
  53678. pTDefRegMap(@Self)^.clr := $00000040
  53679. else
  53680. pTDefRegMap(@Self)^.&set := $00000040;
  53681. end;
  53682. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  53683. begin
  53684. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53685. end;
  53686. procedure TPORTG_ODCG.setODCG7; inline;
  53687. begin
  53688. pTDefRegMap(@Self)^.&set := $00000080;
  53689. end;
  53690. procedure TPORTG_ODCG.clearODCG7; inline;
  53691. begin
  53692. pTDefRegMap(@Self)^.clr := $00000080;
  53693. end;
  53694. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  53695. begin
  53696. if thebits = 0 then
  53697. pTDefRegMap(@Self)^.clr := $00000080
  53698. else
  53699. pTDefRegMap(@Self)^.&set := $00000080;
  53700. end;
  53701. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  53702. begin
  53703. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53704. end;
  53705. procedure TPORTG_ODCG.setODCG8; inline;
  53706. begin
  53707. pTDefRegMap(@Self)^.&set := $00000100;
  53708. end;
  53709. procedure TPORTG_ODCG.clearODCG8; inline;
  53710. begin
  53711. pTDefRegMap(@Self)^.clr := $00000100;
  53712. end;
  53713. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  53714. begin
  53715. if thebits = 0 then
  53716. pTDefRegMap(@Self)^.clr := $00000100
  53717. else
  53718. pTDefRegMap(@Self)^.&set := $00000100;
  53719. end;
  53720. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  53721. begin
  53722. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53723. end;
  53724. procedure TPORTG_ODCG.setODCG9; inline;
  53725. begin
  53726. pTDefRegMap(@Self)^.&set := $00000200;
  53727. end;
  53728. procedure TPORTG_ODCG.clearODCG9; inline;
  53729. begin
  53730. pTDefRegMap(@Self)^.clr := $00000200;
  53731. end;
  53732. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  53733. begin
  53734. if thebits = 0 then
  53735. pTDefRegMap(@Self)^.clr := $00000200
  53736. else
  53737. pTDefRegMap(@Self)^.&set := $00000200;
  53738. end;
  53739. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  53740. begin
  53741. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53742. end;
  53743. procedure TPORTG_ODCG.setODCG12; inline;
  53744. begin
  53745. pTDefRegMap(@Self)^.&set := $00001000;
  53746. end;
  53747. procedure TPORTG_ODCG.clearODCG12; inline;
  53748. begin
  53749. pTDefRegMap(@Self)^.clr := $00001000;
  53750. end;
  53751. procedure TPORTG_ODCG.setODCG12(thebits : TBits_1); inline;
  53752. begin
  53753. if thebits = 0 then
  53754. pTDefRegMap(@Self)^.clr := $00001000
  53755. else
  53756. pTDefRegMap(@Self)^.&set := $00001000;
  53757. end;
  53758. function TPORTG_ODCG.getODCG12 : TBits_1; inline;
  53759. begin
  53760. getODCG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53761. end;
  53762. procedure TPORTG_ODCG.setODCG13; inline;
  53763. begin
  53764. pTDefRegMap(@Self)^.&set := $00002000;
  53765. end;
  53766. procedure TPORTG_ODCG.clearODCG13; inline;
  53767. begin
  53768. pTDefRegMap(@Self)^.clr := $00002000;
  53769. end;
  53770. procedure TPORTG_ODCG.setODCG13(thebits : TBits_1); inline;
  53771. begin
  53772. if thebits = 0 then
  53773. pTDefRegMap(@Self)^.clr := $00002000
  53774. else
  53775. pTDefRegMap(@Self)^.&set := $00002000;
  53776. end;
  53777. function TPORTG_ODCG.getODCG13 : TBits_1; inline;
  53778. begin
  53779. getODCG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53780. end;
  53781. procedure TPORTG_ODCG.setODCG14; inline;
  53782. begin
  53783. pTDefRegMap(@Self)^.&set := $00004000;
  53784. end;
  53785. procedure TPORTG_ODCG.clearODCG14; inline;
  53786. begin
  53787. pTDefRegMap(@Self)^.clr := $00004000;
  53788. end;
  53789. procedure TPORTG_ODCG.setODCG14(thebits : TBits_1); inline;
  53790. begin
  53791. if thebits = 0 then
  53792. pTDefRegMap(@Self)^.clr := $00004000
  53793. else
  53794. pTDefRegMap(@Self)^.&set := $00004000;
  53795. end;
  53796. function TPORTG_ODCG.getODCG14 : TBits_1; inline;
  53797. begin
  53798. getODCG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53799. end;
  53800. procedure TPORTG_ODCG.setODCG15; inline;
  53801. begin
  53802. pTDefRegMap(@Self)^.&set := $00008000;
  53803. end;
  53804. procedure TPORTG_ODCG.clearODCG15; inline;
  53805. begin
  53806. pTDefRegMap(@Self)^.clr := $00008000;
  53807. end;
  53808. procedure TPORTG_ODCG.setODCG15(thebits : TBits_1); inline;
  53809. begin
  53810. if thebits = 0 then
  53811. pTDefRegMap(@Self)^.clr := $00008000
  53812. else
  53813. pTDefRegMap(@Self)^.&set := $00008000;
  53814. end;
  53815. function TPORTG_ODCG.getODCG15 : TBits_1; inline;
  53816. begin
  53817. getODCG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53818. end;
  53819. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  53820. begin
  53821. pTDefRegMap(@Self)^.val := thebits;
  53822. end;
  53823. function TPORTG_ODCG.getw : TBits_32; inline;
  53824. begin
  53825. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53826. end;
  53827. procedure TPORTG_CNPUG.setCNPUG0; inline;
  53828. begin
  53829. pTDefRegMap(@Self)^.&set := $00000001;
  53830. end;
  53831. procedure TPORTG_CNPUG.clearCNPUG0; inline;
  53832. begin
  53833. pTDefRegMap(@Self)^.clr := $00000001;
  53834. end;
  53835. procedure TPORTG_CNPUG.setCNPUG0(thebits : TBits_1); inline;
  53836. begin
  53837. if thebits = 0 then
  53838. pTDefRegMap(@Self)^.clr := $00000001
  53839. else
  53840. pTDefRegMap(@Self)^.&set := $00000001;
  53841. end;
  53842. function TPORTG_CNPUG.getCNPUG0 : TBits_1; inline;
  53843. begin
  53844. getCNPUG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53845. end;
  53846. procedure TPORTG_CNPUG.setCNPUG1; inline;
  53847. begin
  53848. pTDefRegMap(@Self)^.&set := $00000002;
  53849. end;
  53850. procedure TPORTG_CNPUG.clearCNPUG1; inline;
  53851. begin
  53852. pTDefRegMap(@Self)^.clr := $00000002;
  53853. end;
  53854. procedure TPORTG_CNPUG.setCNPUG1(thebits : TBits_1); inline;
  53855. begin
  53856. if thebits = 0 then
  53857. pTDefRegMap(@Self)^.clr := $00000002
  53858. else
  53859. pTDefRegMap(@Self)^.&set := $00000002;
  53860. end;
  53861. function TPORTG_CNPUG.getCNPUG1 : TBits_1; inline;
  53862. begin
  53863. getCNPUG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53864. end;
  53865. procedure TPORTG_CNPUG.setCNPUG2; inline;
  53866. begin
  53867. pTDefRegMap(@Self)^.&set := $00000004;
  53868. end;
  53869. procedure TPORTG_CNPUG.clearCNPUG2; inline;
  53870. begin
  53871. pTDefRegMap(@Self)^.clr := $00000004;
  53872. end;
  53873. procedure TPORTG_CNPUG.setCNPUG2(thebits : TBits_1); inline;
  53874. begin
  53875. if thebits = 0 then
  53876. pTDefRegMap(@Self)^.clr := $00000004
  53877. else
  53878. pTDefRegMap(@Self)^.&set := $00000004;
  53879. end;
  53880. function TPORTG_CNPUG.getCNPUG2 : TBits_1; inline;
  53881. begin
  53882. getCNPUG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53883. end;
  53884. procedure TPORTG_CNPUG.setCNPUG3; inline;
  53885. begin
  53886. pTDefRegMap(@Self)^.&set := $00000008;
  53887. end;
  53888. procedure TPORTG_CNPUG.clearCNPUG3; inline;
  53889. begin
  53890. pTDefRegMap(@Self)^.clr := $00000008;
  53891. end;
  53892. procedure TPORTG_CNPUG.setCNPUG3(thebits : TBits_1); inline;
  53893. begin
  53894. if thebits = 0 then
  53895. pTDefRegMap(@Self)^.clr := $00000008
  53896. else
  53897. pTDefRegMap(@Self)^.&set := $00000008;
  53898. end;
  53899. function TPORTG_CNPUG.getCNPUG3 : TBits_1; inline;
  53900. begin
  53901. getCNPUG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53902. end;
  53903. procedure TPORTG_CNPUG.setCNPUG6; inline;
  53904. begin
  53905. pTDefRegMap(@Self)^.&set := $00000040;
  53906. end;
  53907. procedure TPORTG_CNPUG.clearCNPUG6; inline;
  53908. begin
  53909. pTDefRegMap(@Self)^.clr := $00000040;
  53910. end;
  53911. procedure TPORTG_CNPUG.setCNPUG6(thebits : TBits_1); inline;
  53912. begin
  53913. if thebits = 0 then
  53914. pTDefRegMap(@Self)^.clr := $00000040
  53915. else
  53916. pTDefRegMap(@Self)^.&set := $00000040;
  53917. end;
  53918. function TPORTG_CNPUG.getCNPUG6 : TBits_1; inline;
  53919. begin
  53920. getCNPUG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53921. end;
  53922. procedure TPORTG_CNPUG.setCNPUG7; inline;
  53923. begin
  53924. pTDefRegMap(@Self)^.&set := $00000080;
  53925. end;
  53926. procedure TPORTG_CNPUG.clearCNPUG7; inline;
  53927. begin
  53928. pTDefRegMap(@Self)^.clr := $00000080;
  53929. end;
  53930. procedure TPORTG_CNPUG.setCNPUG7(thebits : TBits_1); inline;
  53931. begin
  53932. if thebits = 0 then
  53933. pTDefRegMap(@Self)^.clr := $00000080
  53934. else
  53935. pTDefRegMap(@Self)^.&set := $00000080;
  53936. end;
  53937. function TPORTG_CNPUG.getCNPUG7 : TBits_1; inline;
  53938. begin
  53939. getCNPUG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53940. end;
  53941. procedure TPORTG_CNPUG.setCNPUG8; inline;
  53942. begin
  53943. pTDefRegMap(@Self)^.&set := $00000100;
  53944. end;
  53945. procedure TPORTG_CNPUG.clearCNPUG8; inline;
  53946. begin
  53947. pTDefRegMap(@Self)^.clr := $00000100;
  53948. end;
  53949. procedure TPORTG_CNPUG.setCNPUG8(thebits : TBits_1); inline;
  53950. begin
  53951. if thebits = 0 then
  53952. pTDefRegMap(@Self)^.clr := $00000100
  53953. else
  53954. pTDefRegMap(@Self)^.&set := $00000100;
  53955. end;
  53956. function TPORTG_CNPUG.getCNPUG8 : TBits_1; inline;
  53957. begin
  53958. getCNPUG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53959. end;
  53960. procedure TPORTG_CNPUG.setCNPUG9; inline;
  53961. begin
  53962. pTDefRegMap(@Self)^.&set := $00000200;
  53963. end;
  53964. procedure TPORTG_CNPUG.clearCNPUG9; inline;
  53965. begin
  53966. pTDefRegMap(@Self)^.clr := $00000200;
  53967. end;
  53968. procedure TPORTG_CNPUG.setCNPUG9(thebits : TBits_1); inline;
  53969. begin
  53970. if thebits = 0 then
  53971. pTDefRegMap(@Self)^.clr := $00000200
  53972. else
  53973. pTDefRegMap(@Self)^.&set := $00000200;
  53974. end;
  53975. function TPORTG_CNPUG.getCNPUG9 : TBits_1; inline;
  53976. begin
  53977. getCNPUG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53978. end;
  53979. procedure TPORTG_CNPUG.setCNPUG12; inline;
  53980. begin
  53981. pTDefRegMap(@Self)^.&set := $00001000;
  53982. end;
  53983. procedure TPORTG_CNPUG.clearCNPUG12; inline;
  53984. begin
  53985. pTDefRegMap(@Self)^.clr := $00001000;
  53986. end;
  53987. procedure TPORTG_CNPUG.setCNPUG12(thebits : TBits_1); inline;
  53988. begin
  53989. if thebits = 0 then
  53990. pTDefRegMap(@Self)^.clr := $00001000
  53991. else
  53992. pTDefRegMap(@Self)^.&set := $00001000;
  53993. end;
  53994. function TPORTG_CNPUG.getCNPUG12 : TBits_1; inline;
  53995. begin
  53996. getCNPUG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53997. end;
  53998. procedure TPORTG_CNPUG.setCNPUG13; inline;
  53999. begin
  54000. pTDefRegMap(@Self)^.&set := $00002000;
  54001. end;
  54002. procedure TPORTG_CNPUG.clearCNPUG13; inline;
  54003. begin
  54004. pTDefRegMap(@Self)^.clr := $00002000;
  54005. end;
  54006. procedure TPORTG_CNPUG.setCNPUG13(thebits : TBits_1); inline;
  54007. begin
  54008. if thebits = 0 then
  54009. pTDefRegMap(@Self)^.clr := $00002000
  54010. else
  54011. pTDefRegMap(@Self)^.&set := $00002000;
  54012. end;
  54013. function TPORTG_CNPUG.getCNPUG13 : TBits_1; inline;
  54014. begin
  54015. getCNPUG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54016. end;
  54017. procedure TPORTG_CNPUG.setCNPUG14; inline;
  54018. begin
  54019. pTDefRegMap(@Self)^.&set := $00004000;
  54020. end;
  54021. procedure TPORTG_CNPUG.clearCNPUG14; inline;
  54022. begin
  54023. pTDefRegMap(@Self)^.clr := $00004000;
  54024. end;
  54025. procedure TPORTG_CNPUG.setCNPUG14(thebits : TBits_1); inline;
  54026. begin
  54027. if thebits = 0 then
  54028. pTDefRegMap(@Self)^.clr := $00004000
  54029. else
  54030. pTDefRegMap(@Self)^.&set := $00004000;
  54031. end;
  54032. function TPORTG_CNPUG.getCNPUG14 : TBits_1; inline;
  54033. begin
  54034. getCNPUG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54035. end;
  54036. procedure TPORTG_CNPUG.setCNPUG15; inline;
  54037. begin
  54038. pTDefRegMap(@Self)^.&set := $00008000;
  54039. end;
  54040. procedure TPORTG_CNPUG.clearCNPUG15; inline;
  54041. begin
  54042. pTDefRegMap(@Self)^.clr := $00008000;
  54043. end;
  54044. procedure TPORTG_CNPUG.setCNPUG15(thebits : TBits_1); inline;
  54045. begin
  54046. if thebits = 0 then
  54047. pTDefRegMap(@Self)^.clr := $00008000
  54048. else
  54049. pTDefRegMap(@Self)^.&set := $00008000;
  54050. end;
  54051. function TPORTG_CNPUG.getCNPUG15 : TBits_1; inline;
  54052. begin
  54053. getCNPUG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54054. end;
  54055. procedure TPORTG_CNPUG.setw(thebits : TBits_32); inline;
  54056. begin
  54057. pTDefRegMap(@Self)^.val := thebits;
  54058. end;
  54059. function TPORTG_CNPUG.getw : TBits_32; inline;
  54060. begin
  54061. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54062. end;
  54063. procedure TPORTG_CNPDG.setCNPDG0; inline;
  54064. begin
  54065. pTDefRegMap(@Self)^.&set := $00000001;
  54066. end;
  54067. procedure TPORTG_CNPDG.clearCNPDG0; inline;
  54068. begin
  54069. pTDefRegMap(@Self)^.clr := $00000001;
  54070. end;
  54071. procedure TPORTG_CNPDG.setCNPDG0(thebits : TBits_1); inline;
  54072. begin
  54073. if thebits = 0 then
  54074. pTDefRegMap(@Self)^.clr := $00000001
  54075. else
  54076. pTDefRegMap(@Self)^.&set := $00000001;
  54077. end;
  54078. function TPORTG_CNPDG.getCNPDG0 : TBits_1; inline;
  54079. begin
  54080. getCNPDG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54081. end;
  54082. procedure TPORTG_CNPDG.setCNPDG1; inline;
  54083. begin
  54084. pTDefRegMap(@Self)^.&set := $00000002;
  54085. end;
  54086. procedure TPORTG_CNPDG.clearCNPDG1; inline;
  54087. begin
  54088. pTDefRegMap(@Self)^.clr := $00000002;
  54089. end;
  54090. procedure TPORTG_CNPDG.setCNPDG1(thebits : TBits_1); inline;
  54091. begin
  54092. if thebits = 0 then
  54093. pTDefRegMap(@Self)^.clr := $00000002
  54094. else
  54095. pTDefRegMap(@Self)^.&set := $00000002;
  54096. end;
  54097. function TPORTG_CNPDG.getCNPDG1 : TBits_1; inline;
  54098. begin
  54099. getCNPDG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54100. end;
  54101. procedure TPORTG_CNPDG.setCNPDG2; inline;
  54102. begin
  54103. pTDefRegMap(@Self)^.&set := $00000004;
  54104. end;
  54105. procedure TPORTG_CNPDG.clearCNPDG2; inline;
  54106. begin
  54107. pTDefRegMap(@Self)^.clr := $00000004;
  54108. end;
  54109. procedure TPORTG_CNPDG.setCNPDG2(thebits : TBits_1); inline;
  54110. begin
  54111. if thebits = 0 then
  54112. pTDefRegMap(@Self)^.clr := $00000004
  54113. else
  54114. pTDefRegMap(@Self)^.&set := $00000004;
  54115. end;
  54116. function TPORTG_CNPDG.getCNPDG2 : TBits_1; inline;
  54117. begin
  54118. getCNPDG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54119. end;
  54120. procedure TPORTG_CNPDG.setCNPDG3; inline;
  54121. begin
  54122. pTDefRegMap(@Self)^.&set := $00000008;
  54123. end;
  54124. procedure TPORTG_CNPDG.clearCNPDG3; inline;
  54125. begin
  54126. pTDefRegMap(@Self)^.clr := $00000008;
  54127. end;
  54128. procedure TPORTG_CNPDG.setCNPDG3(thebits : TBits_1); inline;
  54129. begin
  54130. if thebits = 0 then
  54131. pTDefRegMap(@Self)^.clr := $00000008
  54132. else
  54133. pTDefRegMap(@Self)^.&set := $00000008;
  54134. end;
  54135. function TPORTG_CNPDG.getCNPDG3 : TBits_1; inline;
  54136. begin
  54137. getCNPDG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54138. end;
  54139. procedure TPORTG_CNPDG.setCNPDG6; inline;
  54140. begin
  54141. pTDefRegMap(@Self)^.&set := $00000040;
  54142. end;
  54143. procedure TPORTG_CNPDG.clearCNPDG6; inline;
  54144. begin
  54145. pTDefRegMap(@Self)^.clr := $00000040;
  54146. end;
  54147. procedure TPORTG_CNPDG.setCNPDG6(thebits : TBits_1); inline;
  54148. begin
  54149. if thebits = 0 then
  54150. pTDefRegMap(@Self)^.clr := $00000040
  54151. else
  54152. pTDefRegMap(@Self)^.&set := $00000040;
  54153. end;
  54154. function TPORTG_CNPDG.getCNPDG6 : TBits_1; inline;
  54155. begin
  54156. getCNPDG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54157. end;
  54158. procedure TPORTG_CNPDG.setCNPDG7; inline;
  54159. begin
  54160. pTDefRegMap(@Self)^.&set := $00000080;
  54161. end;
  54162. procedure TPORTG_CNPDG.clearCNPDG7; inline;
  54163. begin
  54164. pTDefRegMap(@Self)^.clr := $00000080;
  54165. end;
  54166. procedure TPORTG_CNPDG.setCNPDG7(thebits : TBits_1); inline;
  54167. begin
  54168. if thebits = 0 then
  54169. pTDefRegMap(@Self)^.clr := $00000080
  54170. else
  54171. pTDefRegMap(@Self)^.&set := $00000080;
  54172. end;
  54173. function TPORTG_CNPDG.getCNPDG7 : TBits_1; inline;
  54174. begin
  54175. getCNPDG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54176. end;
  54177. procedure TPORTG_CNPDG.setCNPDG8; inline;
  54178. begin
  54179. pTDefRegMap(@Self)^.&set := $00000100;
  54180. end;
  54181. procedure TPORTG_CNPDG.clearCNPDG8; inline;
  54182. begin
  54183. pTDefRegMap(@Self)^.clr := $00000100;
  54184. end;
  54185. procedure TPORTG_CNPDG.setCNPDG8(thebits : TBits_1); inline;
  54186. begin
  54187. if thebits = 0 then
  54188. pTDefRegMap(@Self)^.clr := $00000100
  54189. else
  54190. pTDefRegMap(@Self)^.&set := $00000100;
  54191. end;
  54192. function TPORTG_CNPDG.getCNPDG8 : TBits_1; inline;
  54193. begin
  54194. getCNPDG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54195. end;
  54196. procedure TPORTG_CNPDG.setCNPDG9; inline;
  54197. begin
  54198. pTDefRegMap(@Self)^.&set := $00000200;
  54199. end;
  54200. procedure TPORTG_CNPDG.clearCNPDG9; inline;
  54201. begin
  54202. pTDefRegMap(@Self)^.clr := $00000200;
  54203. end;
  54204. procedure TPORTG_CNPDG.setCNPDG9(thebits : TBits_1); inline;
  54205. begin
  54206. if thebits = 0 then
  54207. pTDefRegMap(@Self)^.clr := $00000200
  54208. else
  54209. pTDefRegMap(@Self)^.&set := $00000200;
  54210. end;
  54211. function TPORTG_CNPDG.getCNPDG9 : TBits_1; inline;
  54212. begin
  54213. getCNPDG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54214. end;
  54215. procedure TPORTG_CNPDG.setCNPDG12; inline;
  54216. begin
  54217. pTDefRegMap(@Self)^.&set := $00001000;
  54218. end;
  54219. procedure TPORTG_CNPDG.clearCNPDG12; inline;
  54220. begin
  54221. pTDefRegMap(@Self)^.clr := $00001000;
  54222. end;
  54223. procedure TPORTG_CNPDG.setCNPDG12(thebits : TBits_1); inline;
  54224. begin
  54225. if thebits = 0 then
  54226. pTDefRegMap(@Self)^.clr := $00001000
  54227. else
  54228. pTDefRegMap(@Self)^.&set := $00001000;
  54229. end;
  54230. function TPORTG_CNPDG.getCNPDG12 : TBits_1; inline;
  54231. begin
  54232. getCNPDG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54233. end;
  54234. procedure TPORTG_CNPDG.setCNPDG13; inline;
  54235. begin
  54236. pTDefRegMap(@Self)^.&set := $00002000;
  54237. end;
  54238. procedure TPORTG_CNPDG.clearCNPDG13; inline;
  54239. begin
  54240. pTDefRegMap(@Self)^.clr := $00002000;
  54241. end;
  54242. procedure TPORTG_CNPDG.setCNPDG13(thebits : TBits_1); inline;
  54243. begin
  54244. if thebits = 0 then
  54245. pTDefRegMap(@Self)^.clr := $00002000
  54246. else
  54247. pTDefRegMap(@Self)^.&set := $00002000;
  54248. end;
  54249. function TPORTG_CNPDG.getCNPDG13 : TBits_1; inline;
  54250. begin
  54251. getCNPDG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54252. end;
  54253. procedure TPORTG_CNPDG.setCNPDG14; inline;
  54254. begin
  54255. pTDefRegMap(@Self)^.&set := $00004000;
  54256. end;
  54257. procedure TPORTG_CNPDG.clearCNPDG14; inline;
  54258. begin
  54259. pTDefRegMap(@Self)^.clr := $00004000;
  54260. end;
  54261. procedure TPORTG_CNPDG.setCNPDG14(thebits : TBits_1); inline;
  54262. begin
  54263. if thebits = 0 then
  54264. pTDefRegMap(@Self)^.clr := $00004000
  54265. else
  54266. pTDefRegMap(@Self)^.&set := $00004000;
  54267. end;
  54268. function TPORTG_CNPDG.getCNPDG14 : TBits_1; inline;
  54269. begin
  54270. getCNPDG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54271. end;
  54272. procedure TPORTG_CNPDG.setCNPDG15; inline;
  54273. begin
  54274. pTDefRegMap(@Self)^.&set := $00008000;
  54275. end;
  54276. procedure TPORTG_CNPDG.clearCNPDG15; inline;
  54277. begin
  54278. pTDefRegMap(@Self)^.clr := $00008000;
  54279. end;
  54280. procedure TPORTG_CNPDG.setCNPDG15(thebits : TBits_1); inline;
  54281. begin
  54282. if thebits = 0 then
  54283. pTDefRegMap(@Self)^.clr := $00008000
  54284. else
  54285. pTDefRegMap(@Self)^.&set := $00008000;
  54286. end;
  54287. function TPORTG_CNPDG.getCNPDG15 : TBits_1; inline;
  54288. begin
  54289. getCNPDG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54290. end;
  54291. procedure TPORTG_CNPDG.setw(thebits : TBits_32); inline;
  54292. begin
  54293. pTDefRegMap(@Self)^.val := thebits;
  54294. end;
  54295. function TPORTG_CNPDG.getw : TBits_32; inline;
  54296. begin
  54297. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54298. end;
  54299. procedure TPORTG_CNCONG.setSIDL; inline;
  54300. begin
  54301. pTDefRegMap(@Self)^.&set := $00002000;
  54302. end;
  54303. procedure TPORTG_CNCONG.clearSIDL; inline;
  54304. begin
  54305. pTDefRegMap(@Self)^.clr := $00002000;
  54306. end;
  54307. procedure TPORTG_CNCONG.setSIDL(thebits : TBits_1); inline;
  54308. begin
  54309. if thebits = 0 then
  54310. pTDefRegMap(@Self)^.clr := $00002000
  54311. else
  54312. pTDefRegMap(@Self)^.&set := $00002000;
  54313. end;
  54314. function TPORTG_CNCONG.getSIDL : TBits_1; inline;
  54315. begin
  54316. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54317. end;
  54318. procedure TPORTG_CNCONG.setON; inline;
  54319. begin
  54320. pTDefRegMap(@Self)^.&set := $00008000;
  54321. end;
  54322. procedure TPORTG_CNCONG.clearON; inline;
  54323. begin
  54324. pTDefRegMap(@Self)^.clr := $00008000;
  54325. end;
  54326. procedure TPORTG_CNCONG.setON(thebits : TBits_1); inline;
  54327. begin
  54328. if thebits = 0 then
  54329. pTDefRegMap(@Self)^.clr := $00008000
  54330. else
  54331. pTDefRegMap(@Self)^.&set := $00008000;
  54332. end;
  54333. function TPORTG_CNCONG.getON : TBits_1; inline;
  54334. begin
  54335. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54336. end;
  54337. procedure TPORTG_CNCONG.setw(thebits : TBits_32); inline;
  54338. begin
  54339. pTDefRegMap(@Self)^.val := thebits;
  54340. end;
  54341. function TPORTG_CNCONG.getw : TBits_32; inline;
  54342. begin
  54343. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54344. end;
  54345. procedure TPORTG_CNENG.setCNIEG0; inline;
  54346. begin
  54347. pTDefRegMap(@Self)^.&set := $00000001;
  54348. end;
  54349. procedure TPORTG_CNENG.clearCNIEG0; inline;
  54350. begin
  54351. pTDefRegMap(@Self)^.clr := $00000001;
  54352. end;
  54353. procedure TPORTG_CNENG.setCNIEG0(thebits : TBits_1); inline;
  54354. begin
  54355. if thebits = 0 then
  54356. pTDefRegMap(@Self)^.clr := $00000001
  54357. else
  54358. pTDefRegMap(@Self)^.&set := $00000001;
  54359. end;
  54360. function TPORTG_CNENG.getCNIEG0 : TBits_1; inline;
  54361. begin
  54362. getCNIEG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54363. end;
  54364. procedure TPORTG_CNENG.setCNIEG1; inline;
  54365. begin
  54366. pTDefRegMap(@Self)^.&set := $00000002;
  54367. end;
  54368. procedure TPORTG_CNENG.clearCNIEG1; inline;
  54369. begin
  54370. pTDefRegMap(@Self)^.clr := $00000002;
  54371. end;
  54372. procedure TPORTG_CNENG.setCNIEG1(thebits : TBits_1); inline;
  54373. begin
  54374. if thebits = 0 then
  54375. pTDefRegMap(@Self)^.clr := $00000002
  54376. else
  54377. pTDefRegMap(@Self)^.&set := $00000002;
  54378. end;
  54379. function TPORTG_CNENG.getCNIEG1 : TBits_1; inline;
  54380. begin
  54381. getCNIEG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54382. end;
  54383. procedure TPORTG_CNENG.setCNIEG2; inline;
  54384. begin
  54385. pTDefRegMap(@Self)^.&set := $00000004;
  54386. end;
  54387. procedure TPORTG_CNENG.clearCNIEG2; inline;
  54388. begin
  54389. pTDefRegMap(@Self)^.clr := $00000004;
  54390. end;
  54391. procedure TPORTG_CNENG.setCNIEG2(thebits : TBits_1); inline;
  54392. begin
  54393. if thebits = 0 then
  54394. pTDefRegMap(@Self)^.clr := $00000004
  54395. else
  54396. pTDefRegMap(@Self)^.&set := $00000004;
  54397. end;
  54398. function TPORTG_CNENG.getCNIEG2 : TBits_1; inline;
  54399. begin
  54400. getCNIEG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54401. end;
  54402. procedure TPORTG_CNENG.setCNIEG3; inline;
  54403. begin
  54404. pTDefRegMap(@Self)^.&set := $00000008;
  54405. end;
  54406. procedure TPORTG_CNENG.clearCNIEG3; inline;
  54407. begin
  54408. pTDefRegMap(@Self)^.clr := $00000008;
  54409. end;
  54410. procedure TPORTG_CNENG.setCNIEG3(thebits : TBits_1); inline;
  54411. begin
  54412. if thebits = 0 then
  54413. pTDefRegMap(@Self)^.clr := $00000008
  54414. else
  54415. pTDefRegMap(@Self)^.&set := $00000008;
  54416. end;
  54417. function TPORTG_CNENG.getCNIEG3 : TBits_1; inline;
  54418. begin
  54419. getCNIEG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54420. end;
  54421. procedure TPORTG_CNENG.setCNIEG6; inline;
  54422. begin
  54423. pTDefRegMap(@Self)^.&set := $00000040;
  54424. end;
  54425. procedure TPORTG_CNENG.clearCNIEG6; inline;
  54426. begin
  54427. pTDefRegMap(@Self)^.clr := $00000040;
  54428. end;
  54429. procedure TPORTG_CNENG.setCNIEG6(thebits : TBits_1); inline;
  54430. begin
  54431. if thebits = 0 then
  54432. pTDefRegMap(@Self)^.clr := $00000040
  54433. else
  54434. pTDefRegMap(@Self)^.&set := $00000040;
  54435. end;
  54436. function TPORTG_CNENG.getCNIEG6 : TBits_1; inline;
  54437. begin
  54438. getCNIEG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54439. end;
  54440. procedure TPORTG_CNENG.setCNIEG7; inline;
  54441. begin
  54442. pTDefRegMap(@Self)^.&set := $00000080;
  54443. end;
  54444. procedure TPORTG_CNENG.clearCNIEG7; inline;
  54445. begin
  54446. pTDefRegMap(@Self)^.clr := $00000080;
  54447. end;
  54448. procedure TPORTG_CNENG.setCNIEG7(thebits : TBits_1); inline;
  54449. begin
  54450. if thebits = 0 then
  54451. pTDefRegMap(@Self)^.clr := $00000080
  54452. else
  54453. pTDefRegMap(@Self)^.&set := $00000080;
  54454. end;
  54455. function TPORTG_CNENG.getCNIEG7 : TBits_1; inline;
  54456. begin
  54457. getCNIEG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54458. end;
  54459. procedure TPORTG_CNENG.setCNIEG8; inline;
  54460. begin
  54461. pTDefRegMap(@Self)^.&set := $00000100;
  54462. end;
  54463. procedure TPORTG_CNENG.clearCNIEG8; inline;
  54464. begin
  54465. pTDefRegMap(@Self)^.clr := $00000100;
  54466. end;
  54467. procedure TPORTG_CNENG.setCNIEG8(thebits : TBits_1); inline;
  54468. begin
  54469. if thebits = 0 then
  54470. pTDefRegMap(@Self)^.clr := $00000100
  54471. else
  54472. pTDefRegMap(@Self)^.&set := $00000100;
  54473. end;
  54474. function TPORTG_CNENG.getCNIEG8 : TBits_1; inline;
  54475. begin
  54476. getCNIEG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54477. end;
  54478. procedure TPORTG_CNENG.setCNIEG9; inline;
  54479. begin
  54480. pTDefRegMap(@Self)^.&set := $00000200;
  54481. end;
  54482. procedure TPORTG_CNENG.clearCNIEG9; inline;
  54483. begin
  54484. pTDefRegMap(@Self)^.clr := $00000200;
  54485. end;
  54486. procedure TPORTG_CNENG.setCNIEG9(thebits : TBits_1); inline;
  54487. begin
  54488. if thebits = 0 then
  54489. pTDefRegMap(@Self)^.clr := $00000200
  54490. else
  54491. pTDefRegMap(@Self)^.&set := $00000200;
  54492. end;
  54493. function TPORTG_CNENG.getCNIEG9 : TBits_1; inline;
  54494. begin
  54495. getCNIEG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54496. end;
  54497. procedure TPORTG_CNENG.setCNIEG12; inline;
  54498. begin
  54499. pTDefRegMap(@Self)^.&set := $00001000;
  54500. end;
  54501. procedure TPORTG_CNENG.clearCNIEG12; inline;
  54502. begin
  54503. pTDefRegMap(@Self)^.clr := $00001000;
  54504. end;
  54505. procedure TPORTG_CNENG.setCNIEG12(thebits : TBits_1); inline;
  54506. begin
  54507. if thebits = 0 then
  54508. pTDefRegMap(@Self)^.clr := $00001000
  54509. else
  54510. pTDefRegMap(@Self)^.&set := $00001000;
  54511. end;
  54512. function TPORTG_CNENG.getCNIEG12 : TBits_1; inline;
  54513. begin
  54514. getCNIEG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54515. end;
  54516. procedure TPORTG_CNENG.setCNIEG13; inline;
  54517. begin
  54518. pTDefRegMap(@Self)^.&set := $00002000;
  54519. end;
  54520. procedure TPORTG_CNENG.clearCNIEG13; inline;
  54521. begin
  54522. pTDefRegMap(@Self)^.clr := $00002000;
  54523. end;
  54524. procedure TPORTG_CNENG.setCNIEG13(thebits : TBits_1); inline;
  54525. begin
  54526. if thebits = 0 then
  54527. pTDefRegMap(@Self)^.clr := $00002000
  54528. else
  54529. pTDefRegMap(@Self)^.&set := $00002000;
  54530. end;
  54531. function TPORTG_CNENG.getCNIEG13 : TBits_1; inline;
  54532. begin
  54533. getCNIEG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54534. end;
  54535. procedure TPORTG_CNENG.setCNIEG14; inline;
  54536. begin
  54537. pTDefRegMap(@Self)^.&set := $00004000;
  54538. end;
  54539. procedure TPORTG_CNENG.clearCNIEG14; inline;
  54540. begin
  54541. pTDefRegMap(@Self)^.clr := $00004000;
  54542. end;
  54543. procedure TPORTG_CNENG.setCNIEG14(thebits : TBits_1); inline;
  54544. begin
  54545. if thebits = 0 then
  54546. pTDefRegMap(@Self)^.clr := $00004000
  54547. else
  54548. pTDefRegMap(@Self)^.&set := $00004000;
  54549. end;
  54550. function TPORTG_CNENG.getCNIEG14 : TBits_1; inline;
  54551. begin
  54552. getCNIEG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54553. end;
  54554. procedure TPORTG_CNENG.setCNIEG15; inline;
  54555. begin
  54556. pTDefRegMap(@Self)^.&set := $00008000;
  54557. end;
  54558. procedure TPORTG_CNENG.clearCNIEG15; inline;
  54559. begin
  54560. pTDefRegMap(@Self)^.clr := $00008000;
  54561. end;
  54562. procedure TPORTG_CNENG.setCNIEG15(thebits : TBits_1); inline;
  54563. begin
  54564. if thebits = 0 then
  54565. pTDefRegMap(@Self)^.clr := $00008000
  54566. else
  54567. pTDefRegMap(@Self)^.&set := $00008000;
  54568. end;
  54569. function TPORTG_CNENG.getCNIEG15 : TBits_1; inline;
  54570. begin
  54571. getCNIEG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54572. end;
  54573. procedure TPORTG_CNENG.setw(thebits : TBits_32); inline;
  54574. begin
  54575. pTDefRegMap(@Self)^.val := thebits;
  54576. end;
  54577. function TPORTG_CNENG.getw : TBits_32; inline;
  54578. begin
  54579. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54580. end;
  54581. procedure TPORTG_CNSTATG.setCNSTATG0; inline;
  54582. begin
  54583. pTDefRegMap(@Self)^.&set := $00000001;
  54584. end;
  54585. procedure TPORTG_CNSTATG.clearCNSTATG0; inline;
  54586. begin
  54587. pTDefRegMap(@Self)^.clr := $00000001;
  54588. end;
  54589. procedure TPORTG_CNSTATG.setCNSTATG0(thebits : TBits_1); inline;
  54590. begin
  54591. if thebits = 0 then
  54592. pTDefRegMap(@Self)^.clr := $00000001
  54593. else
  54594. pTDefRegMap(@Self)^.&set := $00000001;
  54595. end;
  54596. function TPORTG_CNSTATG.getCNSTATG0 : TBits_1; inline;
  54597. begin
  54598. getCNSTATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54599. end;
  54600. procedure TPORTG_CNSTATG.setCNSTATG1; inline;
  54601. begin
  54602. pTDefRegMap(@Self)^.&set := $00000002;
  54603. end;
  54604. procedure TPORTG_CNSTATG.clearCNSTATG1; inline;
  54605. begin
  54606. pTDefRegMap(@Self)^.clr := $00000002;
  54607. end;
  54608. procedure TPORTG_CNSTATG.setCNSTATG1(thebits : TBits_1); inline;
  54609. begin
  54610. if thebits = 0 then
  54611. pTDefRegMap(@Self)^.clr := $00000002
  54612. else
  54613. pTDefRegMap(@Self)^.&set := $00000002;
  54614. end;
  54615. function TPORTG_CNSTATG.getCNSTATG1 : TBits_1; inline;
  54616. begin
  54617. getCNSTATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54618. end;
  54619. procedure TPORTG_CNSTATG.setCNSTATG2; inline;
  54620. begin
  54621. pTDefRegMap(@Self)^.&set := $00000004;
  54622. end;
  54623. procedure TPORTG_CNSTATG.clearCNSTATG2; inline;
  54624. begin
  54625. pTDefRegMap(@Self)^.clr := $00000004;
  54626. end;
  54627. procedure TPORTG_CNSTATG.setCNSTATG2(thebits : TBits_1); inline;
  54628. begin
  54629. if thebits = 0 then
  54630. pTDefRegMap(@Self)^.clr := $00000004
  54631. else
  54632. pTDefRegMap(@Self)^.&set := $00000004;
  54633. end;
  54634. function TPORTG_CNSTATG.getCNSTATG2 : TBits_1; inline;
  54635. begin
  54636. getCNSTATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54637. end;
  54638. procedure TPORTG_CNSTATG.setCNSTATG3; inline;
  54639. begin
  54640. pTDefRegMap(@Self)^.&set := $00000008;
  54641. end;
  54642. procedure TPORTG_CNSTATG.clearCNSTATG3; inline;
  54643. begin
  54644. pTDefRegMap(@Self)^.clr := $00000008;
  54645. end;
  54646. procedure TPORTG_CNSTATG.setCNSTATG3(thebits : TBits_1); inline;
  54647. begin
  54648. if thebits = 0 then
  54649. pTDefRegMap(@Self)^.clr := $00000008
  54650. else
  54651. pTDefRegMap(@Self)^.&set := $00000008;
  54652. end;
  54653. function TPORTG_CNSTATG.getCNSTATG3 : TBits_1; inline;
  54654. begin
  54655. getCNSTATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54656. end;
  54657. procedure TPORTG_CNSTATG.setCNSTATG6; inline;
  54658. begin
  54659. pTDefRegMap(@Self)^.&set := $00000040;
  54660. end;
  54661. procedure TPORTG_CNSTATG.clearCNSTATG6; inline;
  54662. begin
  54663. pTDefRegMap(@Self)^.clr := $00000040;
  54664. end;
  54665. procedure TPORTG_CNSTATG.setCNSTATG6(thebits : TBits_1); inline;
  54666. begin
  54667. if thebits = 0 then
  54668. pTDefRegMap(@Self)^.clr := $00000040
  54669. else
  54670. pTDefRegMap(@Self)^.&set := $00000040;
  54671. end;
  54672. function TPORTG_CNSTATG.getCNSTATG6 : TBits_1; inline;
  54673. begin
  54674. getCNSTATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54675. end;
  54676. procedure TPORTG_CNSTATG.setCNSTATG7; inline;
  54677. begin
  54678. pTDefRegMap(@Self)^.&set := $00000080;
  54679. end;
  54680. procedure TPORTG_CNSTATG.clearCNSTATG7; inline;
  54681. begin
  54682. pTDefRegMap(@Self)^.clr := $00000080;
  54683. end;
  54684. procedure TPORTG_CNSTATG.setCNSTATG7(thebits : TBits_1); inline;
  54685. begin
  54686. if thebits = 0 then
  54687. pTDefRegMap(@Self)^.clr := $00000080
  54688. else
  54689. pTDefRegMap(@Self)^.&set := $00000080;
  54690. end;
  54691. function TPORTG_CNSTATG.getCNSTATG7 : TBits_1; inline;
  54692. begin
  54693. getCNSTATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54694. end;
  54695. procedure TPORTG_CNSTATG.setCNSTATG8; inline;
  54696. begin
  54697. pTDefRegMap(@Self)^.&set := $00000100;
  54698. end;
  54699. procedure TPORTG_CNSTATG.clearCNSTATG8; inline;
  54700. begin
  54701. pTDefRegMap(@Self)^.clr := $00000100;
  54702. end;
  54703. procedure TPORTG_CNSTATG.setCNSTATG8(thebits : TBits_1); inline;
  54704. begin
  54705. if thebits = 0 then
  54706. pTDefRegMap(@Self)^.clr := $00000100
  54707. else
  54708. pTDefRegMap(@Self)^.&set := $00000100;
  54709. end;
  54710. function TPORTG_CNSTATG.getCNSTATG8 : TBits_1; inline;
  54711. begin
  54712. getCNSTATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54713. end;
  54714. procedure TPORTG_CNSTATG.setCNSTATG9; inline;
  54715. begin
  54716. pTDefRegMap(@Self)^.&set := $00000200;
  54717. end;
  54718. procedure TPORTG_CNSTATG.clearCNSTATG9; inline;
  54719. begin
  54720. pTDefRegMap(@Self)^.clr := $00000200;
  54721. end;
  54722. procedure TPORTG_CNSTATG.setCNSTATG9(thebits : TBits_1); inline;
  54723. begin
  54724. if thebits = 0 then
  54725. pTDefRegMap(@Self)^.clr := $00000200
  54726. else
  54727. pTDefRegMap(@Self)^.&set := $00000200;
  54728. end;
  54729. function TPORTG_CNSTATG.getCNSTATG9 : TBits_1; inline;
  54730. begin
  54731. getCNSTATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54732. end;
  54733. procedure TPORTG_CNSTATG.setCNSTATG12; inline;
  54734. begin
  54735. pTDefRegMap(@Self)^.&set := $00001000;
  54736. end;
  54737. procedure TPORTG_CNSTATG.clearCNSTATG12; inline;
  54738. begin
  54739. pTDefRegMap(@Self)^.clr := $00001000;
  54740. end;
  54741. procedure TPORTG_CNSTATG.setCNSTATG12(thebits : TBits_1); inline;
  54742. begin
  54743. if thebits = 0 then
  54744. pTDefRegMap(@Self)^.clr := $00001000
  54745. else
  54746. pTDefRegMap(@Self)^.&set := $00001000;
  54747. end;
  54748. function TPORTG_CNSTATG.getCNSTATG12 : TBits_1; inline;
  54749. begin
  54750. getCNSTATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54751. end;
  54752. procedure TPORTG_CNSTATG.setCNSTATG13; inline;
  54753. begin
  54754. pTDefRegMap(@Self)^.&set := $00002000;
  54755. end;
  54756. procedure TPORTG_CNSTATG.clearCNSTATG13; inline;
  54757. begin
  54758. pTDefRegMap(@Self)^.clr := $00002000;
  54759. end;
  54760. procedure TPORTG_CNSTATG.setCNSTATG13(thebits : TBits_1); inline;
  54761. begin
  54762. if thebits = 0 then
  54763. pTDefRegMap(@Self)^.clr := $00002000
  54764. else
  54765. pTDefRegMap(@Self)^.&set := $00002000;
  54766. end;
  54767. function TPORTG_CNSTATG.getCNSTATG13 : TBits_1; inline;
  54768. begin
  54769. getCNSTATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54770. end;
  54771. procedure TPORTG_CNSTATG.setCNSTATG14; inline;
  54772. begin
  54773. pTDefRegMap(@Self)^.&set := $00004000;
  54774. end;
  54775. procedure TPORTG_CNSTATG.clearCNSTATG14; inline;
  54776. begin
  54777. pTDefRegMap(@Self)^.clr := $00004000;
  54778. end;
  54779. procedure TPORTG_CNSTATG.setCNSTATG14(thebits : TBits_1); inline;
  54780. begin
  54781. if thebits = 0 then
  54782. pTDefRegMap(@Self)^.clr := $00004000
  54783. else
  54784. pTDefRegMap(@Self)^.&set := $00004000;
  54785. end;
  54786. function TPORTG_CNSTATG.getCNSTATG14 : TBits_1; inline;
  54787. begin
  54788. getCNSTATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54789. end;
  54790. procedure TPORTG_CNSTATG.setCNSTATG15; inline;
  54791. begin
  54792. pTDefRegMap(@Self)^.&set := $00008000;
  54793. end;
  54794. procedure TPORTG_CNSTATG.clearCNSTATG15; inline;
  54795. begin
  54796. pTDefRegMap(@Self)^.clr := $00008000;
  54797. end;
  54798. procedure TPORTG_CNSTATG.setCNSTATG15(thebits : TBits_1); inline;
  54799. begin
  54800. if thebits = 0 then
  54801. pTDefRegMap(@Self)^.clr := $00008000
  54802. else
  54803. pTDefRegMap(@Self)^.&set := $00008000;
  54804. end;
  54805. function TPORTG_CNSTATG.getCNSTATG15 : TBits_1; inline;
  54806. begin
  54807. getCNSTATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54808. end;
  54809. procedure TPORTG_CNSTATG.setw(thebits : TBits_32); inline;
  54810. begin
  54811. pTDefRegMap(@Self)^.val := thebits;
  54812. end;
  54813. function TPORTG_CNSTATG.getw : TBits_32; inline;
  54814. begin
  54815. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54816. end;
  54817. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  54818. begin
  54819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  54820. end;
  54821. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  54822. begin
  54823. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  54824. end;
  54825. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  54826. begin
  54827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  54828. end;
  54829. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  54830. begin
  54831. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  54832. end;
  54833. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  54834. begin
  54835. pTDefRegMap(@Self)^.&set := $10000000;
  54836. end;
  54837. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  54838. begin
  54839. pTDefRegMap(@Self)^.clr := $10000000;
  54840. end;
  54841. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  54842. begin
  54843. if thebits = 0 then
  54844. pTDefRegMap(@Self)^.clr := $10000000
  54845. else
  54846. pTDefRegMap(@Self)^.&set := $10000000;
  54847. end;
  54848. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  54849. begin
  54850. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  54851. end;
  54852. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  54853. begin
  54854. pTDefRegMap(@Self)^.&set := $20000000;
  54855. end;
  54856. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  54857. begin
  54858. pTDefRegMap(@Self)^.clr := $20000000;
  54859. end;
  54860. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  54861. begin
  54862. if thebits = 0 then
  54863. pTDefRegMap(@Self)^.clr := $20000000
  54864. else
  54865. pTDefRegMap(@Self)^.&set := $20000000;
  54866. end;
  54867. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  54868. begin
  54869. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  54870. end;
  54871. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  54872. begin
  54873. pTDefRegMap(@Self)^.val := thebits;
  54874. end;
  54875. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  54876. begin
  54877. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54878. end;
  54879. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  54880. begin
  54881. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  54882. end;
  54883. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  54884. begin
  54885. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  54886. end;
  54887. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  54888. begin
  54889. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  54890. end;
  54891. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  54892. begin
  54893. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  54894. end;
  54895. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  54896. begin
  54897. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  54898. end;
  54899. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  54900. begin
  54901. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  54902. end;
  54903. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  54904. begin
  54905. pTDefRegMap(@Self)^.val := thebits;
  54906. end;
  54907. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  54908. begin
  54909. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54910. end;
  54911. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  54912. begin
  54913. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  54914. end;
  54915. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  54916. begin
  54917. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  54918. end;
  54919. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  54920. begin
  54921. pTDefRegMap(@Self)^.&set := $00000020;
  54922. end;
  54923. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  54924. begin
  54925. pTDefRegMap(@Self)^.clr := $00000020;
  54926. end;
  54927. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  54928. begin
  54929. if thebits = 0 then
  54930. pTDefRegMap(@Self)^.clr := $00000020
  54931. else
  54932. pTDefRegMap(@Self)^.&set := $00000020;
  54933. end;
  54934. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  54935. begin
  54936. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54937. end;
  54938. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  54939. begin
  54940. pTDefRegMap(@Self)^.&set := $00000080;
  54941. end;
  54942. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  54943. begin
  54944. pTDefRegMap(@Self)^.clr := $00000080;
  54945. end;
  54946. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  54947. begin
  54948. if thebits = 0 then
  54949. pTDefRegMap(@Self)^.clr := $00000080
  54950. else
  54951. pTDefRegMap(@Self)^.&set := $00000080;
  54952. end;
  54953. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  54954. begin
  54955. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54956. end;
  54957. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  54958. begin
  54959. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  54960. end;
  54961. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  54962. begin
  54963. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  54964. end;
  54965. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  54966. begin
  54967. pTDefRegMap(@Self)^.&set := $00000400;
  54968. end;
  54969. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  54970. begin
  54971. pTDefRegMap(@Self)^.clr := $00000400;
  54972. end;
  54973. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  54974. begin
  54975. if thebits = 0 then
  54976. pTDefRegMap(@Self)^.clr := $00000400
  54977. else
  54978. pTDefRegMap(@Self)^.&set := $00000400;
  54979. end;
  54980. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  54981. begin
  54982. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54983. end;
  54984. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  54985. begin
  54986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  54987. end;
  54988. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  54989. begin
  54990. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  54991. end;
  54992. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  54993. begin
  54994. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  54995. end;
  54996. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  54997. begin
  54998. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  54999. end;
  55000. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  55001. begin
  55002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  55003. end;
  55004. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  55005. begin
  55006. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  55007. end;
  55008. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  55009. begin
  55010. pTDefRegMap(@Self)^.&set := $00400000;
  55011. end;
  55012. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  55013. begin
  55014. pTDefRegMap(@Self)^.clr := $00400000;
  55015. end;
  55016. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  55017. begin
  55018. if thebits = 0 then
  55019. pTDefRegMap(@Self)^.clr := $00400000
  55020. else
  55021. pTDefRegMap(@Self)^.&set := $00400000;
  55022. end;
  55023. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  55024. begin
  55025. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  55026. end;
  55027. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  55028. begin
  55029. pTDefRegMap(@Self)^.&set := $00800000;
  55030. end;
  55031. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  55032. begin
  55033. pTDefRegMap(@Self)^.clr := $00800000;
  55034. end;
  55035. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  55036. begin
  55037. if thebits = 0 then
  55038. pTDefRegMap(@Self)^.clr := $00800000
  55039. else
  55040. pTDefRegMap(@Self)^.&set := $00800000;
  55041. end;
  55042. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  55043. begin
  55044. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  55045. end;
  55046. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  55047. begin
  55048. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  55049. end;
  55050. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  55051. begin
  55052. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  55053. end;
  55054. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  55055. begin
  55056. pTDefRegMap(@Self)^.val := thebits;
  55057. end;
  55058. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  55059. begin
  55060. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55061. end;
  55062. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  55063. begin
  55064. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  55065. end;
  55066. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  55067. begin
  55068. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  55069. end;
  55070. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  55071. begin
  55072. pTDefRegMap(@Self)^.&set := $00000004;
  55073. end;
  55074. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  55075. begin
  55076. pTDefRegMap(@Self)^.clr := $00000004;
  55077. end;
  55078. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  55079. begin
  55080. if thebits = 0 then
  55081. pTDefRegMap(@Self)^.clr := $00000004
  55082. else
  55083. pTDefRegMap(@Self)^.&set := $00000004;
  55084. end;
  55085. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  55086. begin
  55087. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55088. end;
  55089. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  55090. begin
  55091. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  55092. end;
  55093. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  55094. begin
  55095. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  55096. end;
  55097. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  55098. begin
  55099. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  55100. end;
  55101. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  55102. begin
  55103. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  55104. end;
  55105. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  55106. begin
  55107. pTDefRegMap(@Self)^.&set := $01000000;
  55108. end;
  55109. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  55110. begin
  55111. pTDefRegMap(@Self)^.clr := $01000000;
  55112. end;
  55113. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  55114. begin
  55115. if thebits = 0 then
  55116. pTDefRegMap(@Self)^.clr := $01000000
  55117. else
  55118. pTDefRegMap(@Self)^.&set := $01000000;
  55119. end;
  55120. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  55121. begin
  55122. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  55123. end;
  55124. procedure TDEVCFG_DEVCFG0.setCP; inline;
  55125. begin
  55126. pTDefRegMap(@Self)^.&set := $10000000;
  55127. end;
  55128. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  55129. begin
  55130. pTDefRegMap(@Self)^.clr := $10000000;
  55131. end;
  55132. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  55133. begin
  55134. if thebits = 0 then
  55135. pTDefRegMap(@Self)^.clr := $10000000
  55136. else
  55137. pTDefRegMap(@Self)^.&set := $10000000;
  55138. end;
  55139. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  55140. begin
  55141. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  55142. end;
  55143. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  55144. begin
  55145. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  55146. end;
  55147. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  55148. begin
  55149. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  55150. end;
  55151. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  55152. begin
  55153. pTDefRegMap(@Self)^.val := thebits;
  55154. end;
  55155. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  55156. begin
  55157. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55158. end;
  55159. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  55160. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  55161. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  55162. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  55163. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  55164. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  55165. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  55166. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  55167. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  55168. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  55169. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  55170. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  55171. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  55172. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  55173. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  55174. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  55175. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  55176. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  55177. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  55178. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  55179. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  55180. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  55181. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  55182. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  55183. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  55184. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  55185. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  55186. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  55187. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  55188. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  55189. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  55190. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  55191. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  55192. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  55193. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  55194. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  55195. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  55196. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  55197. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  55198. procedure _UART_5_VECTOR_interrupt; external name '_UART_5_VECTOR_interrupt';
  55199. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  55200. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  55201. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  55202. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  55203. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  55204. procedure Vectors; assembler; nostackframe;
  55205. label interrupt_vectors;
  55206. asm
  55207. .section ".init.interrupt_vectors,\"ax\",@progbits"
  55208. interrupt_vectors:
  55209. j _CORE_TIMER_VECTOR_interrupt
  55210. nop
  55211. nop
  55212. nop
  55213. nop
  55214. nop
  55215. nop
  55216. nop
  55217. j _CORE_SOFTWARE_0_VECTOR_interrupt
  55218. nop
  55219. nop
  55220. nop
  55221. nop
  55222. nop
  55223. nop
  55224. nop
  55225. j _CORE_SOFTWARE_1_VECTOR_interrupt
  55226. nop
  55227. nop
  55228. nop
  55229. nop
  55230. nop
  55231. nop
  55232. nop
  55233. j _EXTERNAL_0_VECTOR_interrupt
  55234. nop
  55235. nop
  55236. nop
  55237. nop
  55238. nop
  55239. nop
  55240. nop
  55241. j _TIMER_1_VECTOR_interrupt
  55242. nop
  55243. nop
  55244. nop
  55245. nop
  55246. nop
  55247. nop
  55248. nop
  55249. j _INPUT_CAPTURE_1_VECTOR_interrupt
  55250. nop
  55251. nop
  55252. nop
  55253. nop
  55254. nop
  55255. nop
  55256. nop
  55257. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  55258. nop
  55259. nop
  55260. nop
  55261. nop
  55262. nop
  55263. nop
  55264. nop
  55265. j _EXTERNAL_1_VECTOR_interrupt
  55266. nop
  55267. nop
  55268. nop
  55269. nop
  55270. nop
  55271. nop
  55272. nop
  55273. j _TIMER_2_VECTOR_interrupt
  55274. nop
  55275. nop
  55276. nop
  55277. nop
  55278. nop
  55279. nop
  55280. nop
  55281. j _INPUT_CAPTURE_2_VECTOR_interrupt
  55282. nop
  55283. nop
  55284. nop
  55285. nop
  55286. nop
  55287. nop
  55288. nop
  55289. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  55290. nop
  55291. nop
  55292. nop
  55293. nop
  55294. nop
  55295. nop
  55296. nop
  55297. j _EXTERNAL_2_VECTOR_interrupt
  55298. nop
  55299. nop
  55300. nop
  55301. nop
  55302. nop
  55303. nop
  55304. nop
  55305. j _TIMER_3_VECTOR_interrupt
  55306. nop
  55307. nop
  55308. nop
  55309. nop
  55310. nop
  55311. nop
  55312. nop
  55313. j _INPUT_CAPTURE_3_VECTOR_interrupt
  55314. nop
  55315. nop
  55316. nop
  55317. nop
  55318. nop
  55319. nop
  55320. nop
  55321. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  55322. nop
  55323. nop
  55324. nop
  55325. nop
  55326. nop
  55327. nop
  55328. nop
  55329. j _EXTERNAL_3_VECTOR_interrupt
  55330. nop
  55331. nop
  55332. nop
  55333. nop
  55334. nop
  55335. nop
  55336. nop
  55337. j _TIMER_4_VECTOR_interrupt
  55338. nop
  55339. nop
  55340. nop
  55341. nop
  55342. nop
  55343. nop
  55344. nop
  55345. j _INPUT_CAPTURE_4_VECTOR_interrupt
  55346. nop
  55347. nop
  55348. nop
  55349. nop
  55350. nop
  55351. nop
  55352. nop
  55353. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  55354. nop
  55355. nop
  55356. nop
  55357. nop
  55358. nop
  55359. nop
  55360. nop
  55361. j _EXTERNAL_4_VECTOR_interrupt
  55362. nop
  55363. nop
  55364. nop
  55365. nop
  55366. nop
  55367. nop
  55368. nop
  55369. j _TIMER_5_VECTOR_interrupt
  55370. nop
  55371. nop
  55372. nop
  55373. nop
  55374. nop
  55375. nop
  55376. nop
  55377. j _INPUT_CAPTURE_5_VECTOR_interrupt
  55378. nop
  55379. nop
  55380. nop
  55381. nop
  55382. nop
  55383. nop
  55384. nop
  55385. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  55386. nop
  55387. nop
  55388. nop
  55389. nop
  55390. nop
  55391. nop
  55392. nop
  55393. j _ADC_VECTOR_interrupt
  55394. nop
  55395. nop
  55396. nop
  55397. nop
  55398. nop
  55399. nop
  55400. nop
  55401. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  55402. nop
  55403. nop
  55404. nop
  55405. nop
  55406. nop
  55407. nop
  55408. nop
  55409. j _RTCC_VECTOR_interrupt
  55410. nop
  55411. nop
  55412. nop
  55413. nop
  55414. nop
  55415. nop
  55416. nop
  55417. j _FCE_VECTOR_interrupt
  55418. nop
  55419. nop
  55420. nop
  55421. nop
  55422. nop
  55423. nop
  55424. nop
  55425. j _COMPARATOR_1_VECTOR_interrupt
  55426. nop
  55427. nop
  55428. nop
  55429. nop
  55430. nop
  55431. nop
  55432. nop
  55433. j _COMPARATOR_2_VECTOR_interrupt
  55434. nop
  55435. nop
  55436. nop
  55437. nop
  55438. nop
  55439. nop
  55440. nop
  55441. nop
  55442. nop
  55443. nop
  55444. nop
  55445. nop
  55446. nop
  55447. nop
  55448. nop
  55449. j _SPI_1_VECTOR_interrupt
  55450. nop
  55451. nop
  55452. nop
  55453. nop
  55454. nop
  55455. nop
  55456. nop
  55457. j _UART_1_VECTOR_interrupt
  55458. nop
  55459. nop
  55460. nop
  55461. nop
  55462. nop
  55463. nop
  55464. nop
  55465. j _I2C_1_VECTOR_interrupt
  55466. nop
  55467. nop
  55468. nop
  55469. nop
  55470. nop
  55471. nop
  55472. nop
  55473. j _CHANGE_NOTICE_VECTOR_interrupt
  55474. nop
  55475. nop
  55476. nop
  55477. nop
  55478. nop
  55479. nop
  55480. nop
  55481. j _PMP_VECTOR_interrupt
  55482. nop
  55483. nop
  55484. nop
  55485. nop
  55486. nop
  55487. nop
  55488. nop
  55489. j _SPI_2_VECTOR_interrupt
  55490. nop
  55491. nop
  55492. nop
  55493. nop
  55494. nop
  55495. nop
  55496. nop
  55497. j _UART_2_VECTOR_interrupt
  55498. nop
  55499. nop
  55500. nop
  55501. nop
  55502. nop
  55503. nop
  55504. nop
  55505. j _I2C_2_VECTOR_interrupt
  55506. nop
  55507. nop
  55508. nop
  55509. nop
  55510. nop
  55511. nop
  55512. nop
  55513. j _UART_3_VECTOR_interrupt
  55514. nop
  55515. nop
  55516. nop
  55517. nop
  55518. nop
  55519. nop
  55520. nop
  55521. j _UART_4_VECTOR_interrupt
  55522. nop
  55523. nop
  55524. nop
  55525. nop
  55526. nop
  55527. nop
  55528. nop
  55529. j _UART_5_VECTOR_interrupt
  55530. nop
  55531. nop
  55532. nop
  55533. nop
  55534. nop
  55535. nop
  55536. nop
  55537. j _CTMU_VECTOR_interrupt
  55538. nop
  55539. nop
  55540. nop
  55541. nop
  55542. nop
  55543. nop
  55544. nop
  55545. j _DMA_0_VECTOR_interrupt
  55546. nop
  55547. nop
  55548. nop
  55549. nop
  55550. nop
  55551. nop
  55552. nop
  55553. j _DMA_1_VECTOR_interrupt
  55554. nop
  55555. nop
  55556. nop
  55557. nop
  55558. nop
  55559. nop
  55560. nop
  55561. j _DMA_2_VECTOR_interrupt
  55562. nop
  55563. nop
  55564. nop
  55565. nop
  55566. nop
  55567. nop
  55568. nop
  55569. j _DMA_3_VECTOR_interrupt
  55570. nop
  55571. nop
  55572. nop
  55573. nop
  55574. nop
  55575. nop
  55576. nop
  55577. .weak _CORE_TIMER_VECTOR_interrupt
  55578. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  55579. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  55580. .weak _EXTERNAL_0_VECTOR_interrupt
  55581. .weak _TIMER_1_VECTOR_interrupt
  55582. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  55583. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  55584. .weak _EXTERNAL_1_VECTOR_interrupt
  55585. .weak _TIMER_2_VECTOR_interrupt
  55586. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  55587. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  55588. .weak _EXTERNAL_2_VECTOR_interrupt
  55589. .weak _TIMER_3_VECTOR_interrupt
  55590. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  55591. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  55592. .weak _EXTERNAL_3_VECTOR_interrupt
  55593. .weak _TIMER_4_VECTOR_interrupt
  55594. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  55595. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  55596. .weak _EXTERNAL_4_VECTOR_interrupt
  55597. .weak _TIMER_5_VECTOR_interrupt
  55598. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  55599. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  55600. .weak _ADC_VECTOR_interrupt
  55601. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  55602. .weak _RTCC_VECTOR_interrupt
  55603. .weak _FCE_VECTOR_interrupt
  55604. .weak _COMPARATOR_1_VECTOR_interrupt
  55605. .weak _COMPARATOR_2_VECTOR_interrupt
  55606. .weak _SPI_1_VECTOR_interrupt
  55607. .weak _UART_1_VECTOR_interrupt
  55608. .weak _I2C_1_VECTOR_interrupt
  55609. .weak _CHANGE_NOTICE_VECTOR_interrupt
  55610. .weak _PMP_VECTOR_interrupt
  55611. .weak _SPI_2_VECTOR_interrupt
  55612. .weak _UART_2_VECTOR_interrupt
  55613. .weak _I2C_2_VECTOR_interrupt
  55614. .weak _UART_3_VECTOR_interrupt
  55615. .weak _UART_4_VECTOR_interrupt
  55616. .weak _UART_5_VECTOR_interrupt
  55617. .weak _CTMU_VECTOR_interrupt
  55618. .weak _DMA_0_VECTOR_interrupt
  55619. .weak _DMA_1_VECTOR_interrupt
  55620. .weak _DMA_2_VECTOR_interrupt
  55621. .weak _DMA_3_VECTOR_interrupt
  55622. .text
  55623. end;
  55624. end.