pic32mx664f064h.pp 1.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656
  1. unit pic32mx664f064h;
  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 getw : TBits_32; inline;
  55. procedure setON(thebits : TBits_1); inline;
  56. procedure setSWDTPS(thebits : TBits_5); inline;
  57. procedure setSWDTPS0(thebits : TBits_1); inline;
  58. procedure setSWDTPS1(thebits : TBits_1); inline;
  59. procedure setSWDTPS2(thebits : TBits_1); inline;
  60. procedure setSWDTPS3(thebits : TBits_1); inline;
  61. procedure setSWDTPS4(thebits : TBits_1); inline;
  62. procedure setWDTCLR(thebits : TBits_1); inline;
  63. procedure setWDTPS(thebits : TBits_5); inline;
  64. procedure setWDTPSTA(thebits : TBits_5); inline;
  65. procedure setw(thebits : TBits_32); inline;
  66. public
  67. procedure clearON; inline;
  68. procedure clearSWDTPS0; inline;
  69. procedure clearSWDTPS1; inline;
  70. procedure clearSWDTPS2; inline;
  71. procedure clearSWDTPS3; inline;
  72. procedure clearSWDTPS4; inline;
  73. procedure clearWDTCLR; inline;
  74. procedure setON; inline;
  75. procedure setSWDTPS0; inline;
  76. procedure setSWDTPS1; inline;
  77. procedure setSWDTPS2; inline;
  78. procedure setSWDTPS3; inline;
  79. procedure setSWDTPS4; inline;
  80. procedure setWDTCLR; inline;
  81. property ON : TBits_1 read getON write setON;
  82. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  83. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  84. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  85. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  86. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  87. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  88. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  89. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  90. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  91. property w : TBits_32 read getw write setw;
  92. end;
  93. type
  94. TWDTRegisters = record
  95. WDTCONbits : TWDT_WDTCON;
  96. WDTCON : longWord;
  97. WDTCONCLR : longWord;
  98. WDTCONSET : longWord;
  99. WDTCONINV : longWord;
  100. end;
  101. TRTCC_RTCCON = record
  102. private
  103. function getCAL : TBits_10; inline;
  104. function getHALFSEC : TBits_1; inline;
  105. function getON : TBits_1; inline;
  106. function getRTCCLKON : TBits_1; inline;
  107. function getRTCOE : TBits_1; inline;
  108. function getRTCSYNC : TBits_1; inline;
  109. function getRTCWREN : TBits_1; inline;
  110. function getRTSECSEL : TBits_1; inline;
  111. function getSIDL : TBits_1; inline;
  112. function getw : TBits_32; inline;
  113. procedure setCAL(thebits : TBits_10); inline;
  114. procedure setHALFSEC(thebits : TBits_1); inline;
  115. procedure setON(thebits : TBits_1); inline;
  116. procedure setRTCCLKON(thebits : TBits_1); inline;
  117. procedure setRTCOE(thebits : TBits_1); inline;
  118. procedure setRTCSYNC(thebits : TBits_1); inline;
  119. procedure setRTCWREN(thebits : TBits_1); inline;
  120. procedure setRTSECSEL(thebits : TBits_1); inline;
  121. procedure setSIDL(thebits : TBits_1); inline;
  122. procedure setw(thebits : TBits_32); inline;
  123. public
  124. procedure clearHALFSEC; inline;
  125. procedure clearON; inline;
  126. procedure clearRTCCLKON; inline;
  127. procedure clearRTCOE; inline;
  128. procedure clearRTCSYNC; inline;
  129. procedure clearRTCWREN; inline;
  130. procedure clearRTSECSEL; inline;
  131. procedure clearSIDL; inline;
  132. procedure setHALFSEC; inline;
  133. procedure setON; inline;
  134. procedure setRTCCLKON; inline;
  135. procedure setRTCOE; inline;
  136. procedure setRTCSYNC; inline;
  137. procedure setRTCWREN; inline;
  138. procedure setRTSECSEL; inline;
  139. procedure setSIDL; inline;
  140. property CAL : TBits_10 read getCAL write setCAL;
  141. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  142. property ON : TBits_1 read getON write setON;
  143. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  144. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  145. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  146. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  147. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  148. property SIDL : TBits_1 read getSIDL write setSIDL;
  149. property w : TBits_32 read getw write setw;
  150. end;
  151. TRTCC_RTCALRM = record
  152. private
  153. function getALRMEN : TBits_1; inline;
  154. function getALRMSYNC : TBits_1; inline;
  155. function getAMASK : TBits_4; inline;
  156. function getARPT : TBits_8; inline;
  157. function getCHIME : TBits_1; inline;
  158. function getPIV : TBits_1; inline;
  159. function getw : TBits_32; inline;
  160. procedure setALRMEN(thebits : TBits_1); inline;
  161. procedure setALRMSYNC(thebits : TBits_1); inline;
  162. procedure setAMASK(thebits : TBits_4); inline;
  163. procedure setARPT(thebits : TBits_8); inline;
  164. procedure setCHIME(thebits : TBits_1); inline;
  165. procedure setPIV(thebits : TBits_1); inline;
  166. procedure setw(thebits : TBits_32); inline;
  167. public
  168. procedure clearALRMEN; inline;
  169. procedure clearALRMSYNC; inline;
  170. procedure clearCHIME; inline;
  171. procedure clearPIV; inline;
  172. procedure setALRMEN; inline;
  173. procedure setALRMSYNC; inline;
  174. procedure setCHIME; inline;
  175. procedure setPIV; inline;
  176. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  177. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  178. property AMASK : TBits_4 read getAMASK write setAMASK;
  179. property ARPT : TBits_8 read getARPT write setARPT;
  180. property CHIME : TBits_1 read getCHIME write setCHIME;
  181. property PIV : TBits_1 read getPIV write setPIV;
  182. property w : TBits_32 read getw write setw;
  183. end;
  184. TRTCC_RTCTIME = record
  185. private
  186. function getHR01 : TBits_4; inline;
  187. function getHR10 : TBits_4; inline;
  188. function getMIN01 : TBits_4; inline;
  189. function getMIN10 : TBits_4; inline;
  190. function getSEC01 : TBits_4; inline;
  191. function getSEC10 : TBits_4; inline;
  192. function getw : TBits_32; inline;
  193. procedure setHR01(thebits : TBits_4); inline;
  194. procedure setHR10(thebits : TBits_4); inline;
  195. procedure setMIN01(thebits : TBits_4); inline;
  196. procedure setMIN10(thebits : TBits_4); inline;
  197. procedure setSEC01(thebits : TBits_4); inline;
  198. procedure setSEC10(thebits : TBits_4); inline;
  199. procedure setw(thebits : TBits_32); inline;
  200. public
  201. property HR01 : TBits_4 read getHR01 write setHR01;
  202. property HR10 : TBits_4 read getHR10 write setHR10;
  203. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  204. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  205. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  206. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  207. property w : TBits_32 read getw write setw;
  208. end;
  209. TRTCC_RTCDATE = record
  210. private
  211. function getDAY01 : TBits_4; inline;
  212. function getDAY10 : TBits_4; inline;
  213. function getMONTH01 : TBits_4; inline;
  214. function getMONTH10 : TBits_4; inline;
  215. function getWDAY01 : TBits_4; inline;
  216. function getYEAR01 : TBits_4; inline;
  217. function getYEAR10 : TBits_4; inline;
  218. function getw : TBits_32; inline;
  219. procedure setDAY01(thebits : TBits_4); inline;
  220. procedure setDAY10(thebits : TBits_4); inline;
  221. procedure setMONTH01(thebits : TBits_4); inline;
  222. procedure setMONTH10(thebits : TBits_4); inline;
  223. procedure setWDAY01(thebits : TBits_4); inline;
  224. procedure setYEAR01(thebits : TBits_4); inline;
  225. procedure setYEAR10(thebits : TBits_4); inline;
  226. procedure setw(thebits : TBits_32); inline;
  227. public
  228. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  229. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  230. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  231. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  232. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  233. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  234. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  235. property w : TBits_32 read getw write setw;
  236. end;
  237. TRTCC_ALRMTIME = record
  238. private
  239. function getHR01 : TBits_4; inline;
  240. function getHR10 : TBits_4; inline;
  241. function getMIN01 : TBits_4; inline;
  242. function getMIN10 : TBits_4; inline;
  243. function getSEC01 : TBits_4; inline;
  244. function getSEC10 : TBits_4; inline;
  245. function getw : TBits_32; inline;
  246. procedure setHR01(thebits : TBits_4); inline;
  247. procedure setHR10(thebits : TBits_4); inline;
  248. procedure setMIN01(thebits : TBits_4); inline;
  249. procedure setMIN10(thebits : TBits_4); inline;
  250. procedure setSEC01(thebits : TBits_4); inline;
  251. procedure setSEC10(thebits : TBits_4); inline;
  252. procedure setw(thebits : TBits_32); inline;
  253. public
  254. property HR01 : TBits_4 read getHR01 write setHR01;
  255. property HR10 : TBits_4 read getHR10 write setHR10;
  256. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  257. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  258. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  259. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  260. property w : TBits_32 read getw write setw;
  261. end;
  262. TRTCC_ALRMDATE = record
  263. private
  264. function getDAY01 : TBits_4; inline;
  265. function getDAY10 : TBits_4; inline;
  266. function getMONTH01 : TBits_4; inline;
  267. function getMONTH10 : TBits_4; inline;
  268. function getWDAY01 : TBits_4; inline;
  269. function getw : TBits_32; inline;
  270. procedure setDAY01(thebits : TBits_4); inline;
  271. procedure setDAY10(thebits : TBits_4); inline;
  272. procedure setMONTH01(thebits : TBits_4); inline;
  273. procedure setMONTH10(thebits : TBits_4); inline;
  274. procedure setWDAY01(thebits : TBits_4); inline;
  275. procedure setw(thebits : TBits_32); inline;
  276. public
  277. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  278. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  279. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  280. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  281. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  282. property w : TBits_32 read getw write setw;
  283. end;
  284. type
  285. TRTCCRegisters = record
  286. RTCCONbits : TRTCC_RTCCON;
  287. RTCCON : longWord;
  288. RTCCONCLR : longWord;
  289. RTCCONSET : longWord;
  290. RTCCONINV : longWord;
  291. RTCALRMbits : TRTCC_RTCALRM;
  292. RTCALRM : longWord;
  293. RTCALRMCLR : longWord;
  294. RTCALRMSET : longWord;
  295. RTCALRMINV : longWord;
  296. RTCTIMEbits : TRTCC_RTCTIME;
  297. RTCTIME : longWord;
  298. RTCTIMECLR : longWord;
  299. RTCTIMESET : longWord;
  300. RTCTIMEINV : longWord;
  301. RTCDATEbits : TRTCC_RTCDATE;
  302. RTCDATE : longWord;
  303. RTCDATECLR : longWord;
  304. RTCDATESET : longWord;
  305. RTCDATEINV : longWord;
  306. ALRMTIMEbits : TRTCC_ALRMTIME;
  307. ALRMTIME : longWord;
  308. ALRMTIMECLR : longWord;
  309. ALRMTIMESET : longWord;
  310. ALRMTIMEINV : longWord;
  311. ALRMDATEbits : TRTCC_ALRMDATE;
  312. ALRMDATE : longWord;
  313. ALRMDATECLR : longWord;
  314. ALRMDATESET : longWord;
  315. ALRMDATEINV : longWord;
  316. end;
  317. TTMR1_T1CON = record
  318. private
  319. function getON : TBits_1; inline;
  320. function getSIDL : TBits_1; inline;
  321. function getTCKPS : TBits_2; inline;
  322. function getTCKPS0 : TBits_1; inline;
  323. function getTCKPS1 : TBits_1; inline;
  324. function getTCS : TBits_1; inline;
  325. function getTGATE : TBits_1; inline;
  326. function getTON : TBits_1; inline;
  327. function getTSIDL : TBits_1; inline;
  328. function getTSYNC : TBits_1; inline;
  329. function getTWDIS : TBits_1; inline;
  330. function getTWIP : TBits_1; inline;
  331. function getw : TBits_32; inline;
  332. procedure setON(thebits : TBits_1); inline;
  333. procedure setSIDL(thebits : TBits_1); inline;
  334. procedure setTCKPS(thebits : TBits_2); inline;
  335. procedure setTCKPS0(thebits : TBits_1); inline;
  336. procedure setTCKPS1(thebits : TBits_1); inline;
  337. procedure setTCS(thebits : TBits_1); inline;
  338. procedure setTGATE(thebits : TBits_1); inline;
  339. procedure setTON(thebits : TBits_1); inline;
  340. procedure setTSIDL(thebits : TBits_1); inline;
  341. procedure setTSYNC(thebits : TBits_1); inline;
  342. procedure setTWDIS(thebits : TBits_1); inline;
  343. procedure setTWIP(thebits : TBits_1); inline;
  344. procedure setw(thebits : TBits_32); inline;
  345. public
  346. procedure clearON; inline;
  347. procedure clearSIDL; inline;
  348. procedure clearTCKPS0; inline;
  349. procedure clearTCKPS1; inline;
  350. procedure clearTCS; inline;
  351. procedure clearTGATE; inline;
  352. procedure clearTON; inline;
  353. procedure clearTSIDL; inline;
  354. procedure clearTSYNC; inline;
  355. procedure clearTWDIS; inline;
  356. procedure clearTWIP; inline;
  357. procedure setON; inline;
  358. procedure setSIDL; inline;
  359. procedure setTCKPS0; inline;
  360. procedure setTCKPS1; inline;
  361. procedure setTCS; inline;
  362. procedure setTGATE; inline;
  363. procedure setTON; inline;
  364. procedure setTSIDL; inline;
  365. procedure setTSYNC; inline;
  366. procedure setTWDIS; inline;
  367. procedure setTWIP; inline;
  368. property ON : TBits_1 read getON write setON;
  369. property SIDL : TBits_1 read getSIDL write setSIDL;
  370. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  371. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  372. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  373. property TCS : TBits_1 read getTCS write setTCS;
  374. property TGATE : TBits_1 read getTGATE write setTGATE;
  375. property TON : TBits_1 read getTON write setTON;
  376. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  377. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  378. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  379. property TWIP : TBits_1 read getTWIP write setTWIP;
  380. property w : TBits_32 read getw write setw;
  381. end;
  382. type
  383. TTMR1Registers = record
  384. T1CONbits : TTMR1_T1CON;
  385. T1CON : longWord;
  386. T1CONCLR : longWord;
  387. T1CONSET : longWord;
  388. T1CONINV : longWord;
  389. TMR1 : longWord;
  390. TMR1CLR : longWord;
  391. TMR1SET : longWord;
  392. TMR1INV : longWord;
  393. PR1 : longWord;
  394. PR1CLR : longWord;
  395. PR1SET : longWord;
  396. PR1INV : longWord;
  397. end;
  398. TTMR2_T2CON = record
  399. private
  400. function getON : TBits_1; inline;
  401. function getSIDL : TBits_1; inline;
  402. function getT32 : TBits_1; inline;
  403. function getTCKPS : TBits_3; inline;
  404. function getTCKPS0 : TBits_1; inline;
  405. function getTCKPS1 : TBits_1; inline;
  406. function getTCKPS2 : TBits_1; inline;
  407. function getTGATE : TBits_1; inline;
  408. function getTON : TBits_1; inline;
  409. function getTSIDL : TBits_1; inline;
  410. function getw : TBits_32; inline;
  411. procedure setON(thebits : TBits_1); inline;
  412. procedure setSIDL(thebits : TBits_1); inline;
  413. procedure setT32(thebits : TBits_1); inline;
  414. procedure setTCKPS(thebits : TBits_3); inline;
  415. procedure setTCKPS0(thebits : TBits_1); inline;
  416. procedure setTCKPS1(thebits : TBits_1); inline;
  417. procedure setTCKPS2(thebits : TBits_1); inline;
  418. procedure setTGATE(thebits : TBits_1); inline;
  419. procedure setTON(thebits : TBits_1); inline;
  420. procedure setTSIDL(thebits : TBits_1); inline;
  421. procedure setw(thebits : TBits_32); inline;
  422. public
  423. procedure clearON; inline;
  424. procedure clearSIDL; inline;
  425. procedure clearT32; inline;
  426. procedure clearTCKPS0; inline;
  427. procedure clearTCKPS1; inline;
  428. procedure clearTCKPS2; inline;
  429. procedure clearTGATE; inline;
  430. procedure clearTON; inline;
  431. procedure clearTSIDL; inline;
  432. procedure setON; inline;
  433. procedure setSIDL; inline;
  434. procedure setT32; inline;
  435. procedure setTCKPS0; inline;
  436. procedure setTCKPS1; inline;
  437. procedure setTCKPS2; inline;
  438. procedure setTGATE; inline;
  439. procedure setTON; inline;
  440. procedure setTSIDL; inline;
  441. property ON : TBits_1 read getON write setON;
  442. property SIDL : TBits_1 read getSIDL write setSIDL;
  443. property T32 : TBits_1 read getT32 write setT32;
  444. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  445. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  446. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  447. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  448. property TGATE : TBits_1 read getTGATE write setTGATE;
  449. property TON : TBits_1 read getTON write setTON;
  450. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  451. property w : TBits_32 read getw write setw;
  452. end;
  453. type
  454. TTMR2Registers = record
  455. T2CONbits : TTMR2_T2CON;
  456. T2CON : longWord;
  457. T2CONCLR : longWord;
  458. T2CONSET : longWord;
  459. T2CONINV : longWord;
  460. TMR2 : longWord;
  461. TMR2CLR : longWord;
  462. TMR2SET : longWord;
  463. TMR2INV : longWord;
  464. PR2 : longWord;
  465. PR2CLR : longWord;
  466. PR2SET : longWord;
  467. PR2INV : longWord;
  468. end;
  469. TTMR3_T3CON = record
  470. private
  471. function getON : TBits_1; inline;
  472. function getSIDL : TBits_1; inline;
  473. function getTCKPS : TBits_3; inline;
  474. function getTCKPS0 : TBits_1; inline;
  475. function getTCKPS1 : TBits_1; inline;
  476. function getTCKPS2 : TBits_1; inline;
  477. function getTGATE : TBits_1; inline;
  478. function getTON : TBits_1; inline;
  479. function getTSIDL : TBits_1; inline;
  480. function getw : TBits_32; inline;
  481. procedure setON(thebits : TBits_1); inline;
  482. procedure setSIDL(thebits : TBits_1); inline;
  483. procedure setTCKPS(thebits : TBits_3); inline;
  484. procedure setTCKPS0(thebits : TBits_1); inline;
  485. procedure setTCKPS1(thebits : TBits_1); inline;
  486. procedure setTCKPS2(thebits : TBits_1); inline;
  487. procedure setTGATE(thebits : TBits_1); inline;
  488. procedure setTON(thebits : TBits_1); inline;
  489. procedure setTSIDL(thebits : TBits_1); inline;
  490. procedure setw(thebits : TBits_32); inline;
  491. public
  492. procedure clearON; inline;
  493. procedure clearSIDL; inline;
  494. procedure clearTCKPS0; inline;
  495. procedure clearTCKPS1; inline;
  496. procedure clearTCKPS2; inline;
  497. procedure clearTGATE; inline;
  498. procedure clearTON; inline;
  499. procedure clearTSIDL; inline;
  500. procedure setON; inline;
  501. procedure setSIDL; inline;
  502. procedure setTCKPS0; inline;
  503. procedure setTCKPS1; inline;
  504. procedure setTCKPS2; inline;
  505. procedure setTGATE; inline;
  506. procedure setTON; inline;
  507. procedure setTSIDL; inline;
  508. property ON : TBits_1 read getON write setON;
  509. property SIDL : TBits_1 read getSIDL write setSIDL;
  510. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  511. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  512. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  513. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  514. property TGATE : TBits_1 read getTGATE write setTGATE;
  515. property TON : TBits_1 read getTON write setTON;
  516. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  517. property w : TBits_32 read getw write setw;
  518. end;
  519. type
  520. TTMR3Registers = record
  521. T3CONbits : TTMR3_T3CON;
  522. T3CON : longWord;
  523. T3CONCLR : longWord;
  524. T3CONSET : longWord;
  525. T3CONINV : longWord;
  526. TMR3 : longWord;
  527. TMR3CLR : longWord;
  528. TMR3SET : longWord;
  529. TMR3INV : longWord;
  530. PR3 : longWord;
  531. PR3CLR : longWord;
  532. PR3SET : longWord;
  533. PR3INV : longWord;
  534. end;
  535. TTMR4_T4CON = record
  536. private
  537. function getON : TBits_1; inline;
  538. function getSIDL : TBits_1; inline;
  539. function getT32 : TBits_1; inline;
  540. function getTCKPS : TBits_3; inline;
  541. function getTCKPS0 : TBits_1; inline;
  542. function getTCKPS1 : TBits_1; inline;
  543. function getTCKPS2 : TBits_1; inline;
  544. function getTGATE : TBits_1; inline;
  545. function getTON : TBits_1; inline;
  546. function getTSIDL : TBits_1; inline;
  547. function getw : TBits_32; inline;
  548. procedure setON(thebits : TBits_1); inline;
  549. procedure setSIDL(thebits : TBits_1); inline;
  550. procedure setT32(thebits : TBits_1); inline;
  551. procedure setTCKPS(thebits : TBits_3); inline;
  552. procedure setTCKPS0(thebits : TBits_1); inline;
  553. procedure setTCKPS1(thebits : TBits_1); inline;
  554. procedure setTCKPS2(thebits : TBits_1); inline;
  555. procedure setTGATE(thebits : TBits_1); inline;
  556. procedure setTON(thebits : TBits_1); inline;
  557. procedure setTSIDL(thebits : TBits_1); inline;
  558. procedure setw(thebits : TBits_32); inline;
  559. public
  560. procedure clearON; inline;
  561. procedure clearSIDL; inline;
  562. procedure clearT32; inline;
  563. procedure clearTCKPS0; inline;
  564. procedure clearTCKPS1; inline;
  565. procedure clearTCKPS2; inline;
  566. procedure clearTGATE; inline;
  567. procedure clearTON; inline;
  568. procedure clearTSIDL; inline;
  569. procedure setON; inline;
  570. procedure setSIDL; inline;
  571. procedure setT32; inline;
  572. procedure setTCKPS0; inline;
  573. procedure setTCKPS1; inline;
  574. procedure setTCKPS2; inline;
  575. procedure setTGATE; inline;
  576. procedure setTON; inline;
  577. procedure setTSIDL; inline;
  578. property ON : TBits_1 read getON write setON;
  579. property SIDL : TBits_1 read getSIDL write setSIDL;
  580. property T32 : TBits_1 read getT32 write setT32;
  581. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  582. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  583. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  584. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  585. property TGATE : TBits_1 read getTGATE write setTGATE;
  586. property TON : TBits_1 read getTON write setTON;
  587. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  588. property w : TBits_32 read getw write setw;
  589. end;
  590. type
  591. TTMR4Registers = record
  592. T4CONbits : TTMR4_T4CON;
  593. T4CON : longWord;
  594. T4CONCLR : longWord;
  595. T4CONSET : longWord;
  596. T4CONINV : longWord;
  597. TMR4 : longWord;
  598. TMR4CLR : longWord;
  599. TMR4SET : longWord;
  600. TMR4INV : longWord;
  601. PR4 : longWord;
  602. PR4CLR : longWord;
  603. PR4SET : longWord;
  604. PR4INV : longWord;
  605. end;
  606. TTMR5_T5CON = record
  607. private
  608. function getON : TBits_1; inline;
  609. function getSIDL : TBits_1; inline;
  610. function getTCKPS : TBits_3; inline;
  611. function getTCKPS0 : TBits_1; inline;
  612. function getTCKPS1 : TBits_1; inline;
  613. function getTCKPS2 : TBits_1; inline;
  614. function getTGATE : TBits_1; inline;
  615. function getTON : TBits_1; inline;
  616. function getTSIDL : TBits_1; inline;
  617. function getw : TBits_32; inline;
  618. procedure setON(thebits : TBits_1); inline;
  619. procedure setSIDL(thebits : TBits_1); inline;
  620. procedure setTCKPS(thebits : TBits_3); inline;
  621. procedure setTCKPS0(thebits : TBits_1); inline;
  622. procedure setTCKPS1(thebits : TBits_1); inline;
  623. procedure setTCKPS2(thebits : TBits_1); inline;
  624. procedure setTGATE(thebits : TBits_1); inline;
  625. procedure setTON(thebits : TBits_1); inline;
  626. procedure setTSIDL(thebits : TBits_1); inline;
  627. procedure setw(thebits : TBits_32); inline;
  628. public
  629. procedure clearON; inline;
  630. procedure clearSIDL; inline;
  631. procedure clearTCKPS0; inline;
  632. procedure clearTCKPS1; inline;
  633. procedure clearTCKPS2; inline;
  634. procedure clearTGATE; inline;
  635. procedure clearTON; inline;
  636. procedure clearTSIDL; inline;
  637. procedure setON; inline;
  638. procedure setSIDL; inline;
  639. procedure setTCKPS0; inline;
  640. procedure setTCKPS1; inline;
  641. procedure setTCKPS2; inline;
  642. procedure setTGATE; inline;
  643. procedure setTON; inline;
  644. procedure setTSIDL; inline;
  645. property ON : TBits_1 read getON write setON;
  646. property SIDL : TBits_1 read getSIDL write setSIDL;
  647. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  648. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  649. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  650. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  651. property TGATE : TBits_1 read getTGATE write setTGATE;
  652. property TON : TBits_1 read getTON write setTON;
  653. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  654. property w : TBits_32 read getw write setw;
  655. end;
  656. type
  657. TTMR5Registers = record
  658. T5CONbits : TTMR5_T5CON;
  659. T5CON : longWord;
  660. T5CONCLR : longWord;
  661. T5CONSET : longWord;
  662. T5CONINV : longWord;
  663. TMR5 : longWord;
  664. TMR5CLR : longWord;
  665. TMR5SET : longWord;
  666. TMR5INV : longWord;
  667. PR5 : longWord;
  668. PR5CLR : longWord;
  669. PR5SET : longWord;
  670. PR5INV : longWord;
  671. end;
  672. TICAP1_IC1CON = record
  673. private
  674. function getC32 : TBits_1; inline;
  675. function getFEDGE : TBits_1; inline;
  676. function getICBNE : TBits_1; inline;
  677. function getICI : TBits_2; inline;
  678. function getICI0 : TBits_1; inline;
  679. function getICI1 : TBits_1; inline;
  680. function getICM : TBits_3; inline;
  681. function getICM0 : TBits_1; inline;
  682. function getICM1 : TBits_1; inline;
  683. function getICM2 : TBits_1; inline;
  684. function getICOV : TBits_1; inline;
  685. function getICSIDL : TBits_1; inline;
  686. function getICTMR : TBits_1; inline;
  687. function getON : TBits_1; inline;
  688. function getSIDL : TBits_1; inline;
  689. function getw : TBits_32; inline;
  690. procedure setC32(thebits : TBits_1); inline;
  691. procedure setFEDGE(thebits : TBits_1); inline;
  692. procedure setICBNE(thebits : TBits_1); inline;
  693. procedure setICI(thebits : TBits_2); inline;
  694. procedure setICI0(thebits : TBits_1); inline;
  695. procedure setICI1(thebits : TBits_1); inline;
  696. procedure setICM(thebits : TBits_3); inline;
  697. procedure setICM0(thebits : TBits_1); inline;
  698. procedure setICM1(thebits : TBits_1); inline;
  699. procedure setICM2(thebits : TBits_1); inline;
  700. procedure setICOV(thebits : TBits_1); inline;
  701. procedure setICSIDL(thebits : TBits_1); inline;
  702. procedure setICTMR(thebits : TBits_1); inline;
  703. procedure setON(thebits : TBits_1); inline;
  704. procedure setSIDL(thebits : TBits_1); inline;
  705. procedure setw(thebits : TBits_32); inline;
  706. public
  707. procedure clearC32; inline;
  708. procedure clearFEDGE; inline;
  709. procedure clearICBNE; inline;
  710. procedure clearICI0; inline;
  711. procedure clearICI1; inline;
  712. procedure clearICM0; inline;
  713. procedure clearICM1; inline;
  714. procedure clearICM2; inline;
  715. procedure clearICOV; inline;
  716. procedure clearICSIDL; inline;
  717. procedure clearICTMR; inline;
  718. procedure clearON; inline;
  719. procedure clearSIDL; inline;
  720. procedure setC32; inline;
  721. procedure setFEDGE; inline;
  722. procedure setICBNE; inline;
  723. procedure setICI0; inline;
  724. procedure setICI1; inline;
  725. procedure setICM0; inline;
  726. procedure setICM1; inline;
  727. procedure setICM2; inline;
  728. procedure setICOV; inline;
  729. procedure setICSIDL; inline;
  730. procedure setICTMR; inline;
  731. procedure setON; inline;
  732. procedure setSIDL; inline;
  733. property C32 : TBits_1 read getC32 write setC32;
  734. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  735. property ICBNE : TBits_1 read getICBNE write setICBNE;
  736. property ICI : TBits_2 read getICI write setICI;
  737. property ICI0 : TBits_1 read getICI0 write setICI0;
  738. property ICI1 : TBits_1 read getICI1 write setICI1;
  739. property ICM : TBits_3 read getICM write setICM;
  740. property ICM0 : TBits_1 read getICM0 write setICM0;
  741. property ICM1 : TBits_1 read getICM1 write setICM1;
  742. property ICM2 : TBits_1 read getICM2 write setICM2;
  743. property ICOV : TBits_1 read getICOV write setICOV;
  744. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  745. property ICTMR : TBits_1 read getICTMR write setICTMR;
  746. property ON : TBits_1 read getON write setON;
  747. property SIDL : TBits_1 read getSIDL write setSIDL;
  748. property w : TBits_32 read getw write setw;
  749. end;
  750. type
  751. TICAP1Registers = record
  752. IC1CONbits : TICAP1_IC1CON;
  753. IC1CON : longWord;
  754. IC1CONCLR : longWord;
  755. IC1CONSET : longWord;
  756. IC1CONINV : longWord;
  757. IC1BUF : longWord;
  758. end;
  759. TICAP2_IC2CON = record
  760. private
  761. function getC32 : TBits_1; inline;
  762. function getFEDGE : TBits_1; inline;
  763. function getICBNE : TBits_1; inline;
  764. function getICI : TBits_2; inline;
  765. function getICI0 : TBits_1; inline;
  766. function getICI1 : TBits_1; inline;
  767. function getICM : TBits_3; inline;
  768. function getICM0 : TBits_1; inline;
  769. function getICM1 : TBits_1; inline;
  770. function getICM2 : TBits_1; inline;
  771. function getICOV : TBits_1; inline;
  772. function getICSIDL : TBits_1; inline;
  773. function getICTMR : TBits_1; inline;
  774. function getON : TBits_1; inline;
  775. function getSIDL : TBits_1; inline;
  776. function getw : TBits_32; inline;
  777. procedure setC32(thebits : TBits_1); inline;
  778. procedure setFEDGE(thebits : TBits_1); inline;
  779. procedure setICBNE(thebits : TBits_1); inline;
  780. procedure setICI(thebits : TBits_2); inline;
  781. procedure setICI0(thebits : TBits_1); inline;
  782. procedure setICI1(thebits : TBits_1); inline;
  783. procedure setICM(thebits : TBits_3); inline;
  784. procedure setICM0(thebits : TBits_1); inline;
  785. procedure setICM1(thebits : TBits_1); inline;
  786. procedure setICM2(thebits : TBits_1); inline;
  787. procedure setICOV(thebits : TBits_1); inline;
  788. procedure setICSIDL(thebits : TBits_1); inline;
  789. procedure setICTMR(thebits : TBits_1); inline;
  790. procedure setON(thebits : TBits_1); inline;
  791. procedure setSIDL(thebits : TBits_1); inline;
  792. procedure setw(thebits : TBits_32); inline;
  793. public
  794. procedure clearC32; inline;
  795. procedure clearFEDGE; inline;
  796. procedure clearICBNE; inline;
  797. procedure clearICI0; inline;
  798. procedure clearICI1; inline;
  799. procedure clearICM0; inline;
  800. procedure clearICM1; inline;
  801. procedure clearICM2; inline;
  802. procedure clearICOV; inline;
  803. procedure clearICSIDL; inline;
  804. procedure clearICTMR; inline;
  805. procedure clearON; inline;
  806. procedure clearSIDL; inline;
  807. procedure setC32; inline;
  808. procedure setFEDGE; inline;
  809. procedure setICBNE; inline;
  810. procedure setICI0; inline;
  811. procedure setICI1; inline;
  812. procedure setICM0; inline;
  813. procedure setICM1; inline;
  814. procedure setICM2; inline;
  815. procedure setICOV; inline;
  816. procedure setICSIDL; inline;
  817. procedure setICTMR; inline;
  818. procedure setON; inline;
  819. procedure setSIDL; inline;
  820. property C32 : TBits_1 read getC32 write setC32;
  821. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  822. property ICBNE : TBits_1 read getICBNE write setICBNE;
  823. property ICI : TBits_2 read getICI write setICI;
  824. property ICI0 : TBits_1 read getICI0 write setICI0;
  825. property ICI1 : TBits_1 read getICI1 write setICI1;
  826. property ICM : TBits_3 read getICM write setICM;
  827. property ICM0 : TBits_1 read getICM0 write setICM0;
  828. property ICM1 : TBits_1 read getICM1 write setICM1;
  829. property ICM2 : TBits_1 read getICM2 write setICM2;
  830. property ICOV : TBits_1 read getICOV write setICOV;
  831. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  832. property ICTMR : TBits_1 read getICTMR write setICTMR;
  833. property ON : TBits_1 read getON write setON;
  834. property SIDL : TBits_1 read getSIDL write setSIDL;
  835. property w : TBits_32 read getw write setw;
  836. end;
  837. type
  838. TICAP2Registers = record
  839. IC2CONbits : TICAP2_IC2CON;
  840. IC2CON : longWord;
  841. IC2CONCLR : longWord;
  842. IC2CONSET : longWord;
  843. IC2CONINV : longWord;
  844. IC2BUF : longWord;
  845. end;
  846. TICAP3_IC3CON = record
  847. private
  848. function getC32 : TBits_1; inline;
  849. function getFEDGE : TBits_1; inline;
  850. function getICBNE : TBits_1; inline;
  851. function getICI : TBits_2; inline;
  852. function getICI0 : TBits_1; inline;
  853. function getICI1 : TBits_1; inline;
  854. function getICM : TBits_3; inline;
  855. function getICM0 : TBits_1; inline;
  856. function getICM1 : TBits_1; inline;
  857. function getICM2 : TBits_1; inline;
  858. function getICOV : TBits_1; inline;
  859. function getICSIDL : TBits_1; inline;
  860. function getICTMR : TBits_1; inline;
  861. function getON : TBits_1; inline;
  862. function getSIDL : TBits_1; inline;
  863. function getw : TBits_32; inline;
  864. procedure setC32(thebits : TBits_1); inline;
  865. procedure setFEDGE(thebits : TBits_1); inline;
  866. procedure setICBNE(thebits : TBits_1); inline;
  867. procedure setICI(thebits : TBits_2); inline;
  868. procedure setICI0(thebits : TBits_1); inline;
  869. procedure setICI1(thebits : TBits_1); inline;
  870. procedure setICM(thebits : TBits_3); inline;
  871. procedure setICM0(thebits : TBits_1); inline;
  872. procedure setICM1(thebits : TBits_1); inline;
  873. procedure setICM2(thebits : TBits_1); inline;
  874. procedure setICOV(thebits : TBits_1); inline;
  875. procedure setICSIDL(thebits : TBits_1); inline;
  876. procedure setICTMR(thebits : TBits_1); inline;
  877. procedure setON(thebits : TBits_1); inline;
  878. procedure setSIDL(thebits : TBits_1); inline;
  879. procedure setw(thebits : TBits_32); inline;
  880. public
  881. procedure clearC32; inline;
  882. procedure clearFEDGE; inline;
  883. procedure clearICBNE; inline;
  884. procedure clearICI0; inline;
  885. procedure clearICI1; inline;
  886. procedure clearICM0; inline;
  887. procedure clearICM1; inline;
  888. procedure clearICM2; inline;
  889. procedure clearICOV; inline;
  890. procedure clearICSIDL; inline;
  891. procedure clearICTMR; inline;
  892. procedure clearON; inline;
  893. procedure clearSIDL; inline;
  894. procedure setC32; inline;
  895. procedure setFEDGE; inline;
  896. procedure setICBNE; inline;
  897. procedure setICI0; inline;
  898. procedure setICI1; inline;
  899. procedure setICM0; inline;
  900. procedure setICM1; inline;
  901. procedure setICM2; inline;
  902. procedure setICOV; inline;
  903. procedure setICSIDL; inline;
  904. procedure setICTMR; inline;
  905. procedure setON; inline;
  906. procedure setSIDL; inline;
  907. property C32 : TBits_1 read getC32 write setC32;
  908. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  909. property ICBNE : TBits_1 read getICBNE write setICBNE;
  910. property ICI : TBits_2 read getICI write setICI;
  911. property ICI0 : TBits_1 read getICI0 write setICI0;
  912. property ICI1 : TBits_1 read getICI1 write setICI1;
  913. property ICM : TBits_3 read getICM write setICM;
  914. property ICM0 : TBits_1 read getICM0 write setICM0;
  915. property ICM1 : TBits_1 read getICM1 write setICM1;
  916. property ICM2 : TBits_1 read getICM2 write setICM2;
  917. property ICOV : TBits_1 read getICOV write setICOV;
  918. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  919. property ICTMR : TBits_1 read getICTMR write setICTMR;
  920. property ON : TBits_1 read getON write setON;
  921. property SIDL : TBits_1 read getSIDL write setSIDL;
  922. property w : TBits_32 read getw write setw;
  923. end;
  924. type
  925. TICAP3Registers = record
  926. IC3CONbits : TICAP3_IC3CON;
  927. IC3CON : longWord;
  928. IC3CONCLR : longWord;
  929. IC3CONSET : longWord;
  930. IC3CONINV : longWord;
  931. IC3BUF : longWord;
  932. end;
  933. TICAP4_IC4CON = record
  934. private
  935. function getC32 : TBits_1; inline;
  936. function getFEDGE : TBits_1; inline;
  937. function getICBNE : TBits_1; inline;
  938. function getICI : TBits_2; inline;
  939. function getICI0 : TBits_1; inline;
  940. function getICI1 : TBits_1; inline;
  941. function getICM : TBits_3; inline;
  942. function getICM0 : TBits_1; inline;
  943. function getICM1 : TBits_1; inline;
  944. function getICM2 : TBits_1; inline;
  945. function getICOV : TBits_1; inline;
  946. function getICSIDL : TBits_1; inline;
  947. function getICTMR : TBits_1; inline;
  948. function getON : TBits_1; inline;
  949. function getSIDL : TBits_1; inline;
  950. function getw : TBits_32; inline;
  951. procedure setC32(thebits : TBits_1); inline;
  952. procedure setFEDGE(thebits : TBits_1); inline;
  953. procedure setICBNE(thebits : TBits_1); inline;
  954. procedure setICI(thebits : TBits_2); inline;
  955. procedure setICI0(thebits : TBits_1); inline;
  956. procedure setICI1(thebits : TBits_1); inline;
  957. procedure setICM(thebits : TBits_3); inline;
  958. procedure setICM0(thebits : TBits_1); inline;
  959. procedure setICM1(thebits : TBits_1); inline;
  960. procedure setICM2(thebits : TBits_1); inline;
  961. procedure setICOV(thebits : TBits_1); inline;
  962. procedure setICSIDL(thebits : TBits_1); inline;
  963. procedure setICTMR(thebits : TBits_1); inline;
  964. procedure setON(thebits : TBits_1); inline;
  965. procedure setSIDL(thebits : TBits_1); inline;
  966. procedure setw(thebits : TBits_32); inline;
  967. public
  968. procedure clearC32; inline;
  969. procedure clearFEDGE; inline;
  970. procedure clearICBNE; inline;
  971. procedure clearICI0; inline;
  972. procedure clearICI1; inline;
  973. procedure clearICM0; inline;
  974. procedure clearICM1; inline;
  975. procedure clearICM2; inline;
  976. procedure clearICOV; inline;
  977. procedure clearICSIDL; inline;
  978. procedure clearICTMR; inline;
  979. procedure clearON; inline;
  980. procedure clearSIDL; inline;
  981. procedure setC32; inline;
  982. procedure setFEDGE; inline;
  983. procedure setICBNE; inline;
  984. procedure setICI0; inline;
  985. procedure setICI1; inline;
  986. procedure setICM0; inline;
  987. procedure setICM1; inline;
  988. procedure setICM2; inline;
  989. procedure setICOV; inline;
  990. procedure setICSIDL; inline;
  991. procedure setICTMR; inline;
  992. procedure setON; inline;
  993. procedure setSIDL; inline;
  994. property C32 : TBits_1 read getC32 write setC32;
  995. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  996. property ICBNE : TBits_1 read getICBNE write setICBNE;
  997. property ICI : TBits_2 read getICI write setICI;
  998. property ICI0 : TBits_1 read getICI0 write setICI0;
  999. property ICI1 : TBits_1 read getICI1 write setICI1;
  1000. property ICM : TBits_3 read getICM write setICM;
  1001. property ICM0 : TBits_1 read getICM0 write setICM0;
  1002. property ICM1 : TBits_1 read getICM1 write setICM1;
  1003. property ICM2 : TBits_1 read getICM2 write setICM2;
  1004. property ICOV : TBits_1 read getICOV write setICOV;
  1005. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1006. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1007. property ON : TBits_1 read getON write setON;
  1008. property SIDL : TBits_1 read getSIDL write setSIDL;
  1009. property w : TBits_32 read getw write setw;
  1010. end;
  1011. type
  1012. TICAP4Registers = record
  1013. IC4CONbits : TICAP4_IC4CON;
  1014. IC4CON : longWord;
  1015. IC4CONCLR : longWord;
  1016. IC4CONSET : longWord;
  1017. IC4CONINV : longWord;
  1018. IC4BUF : longWord;
  1019. end;
  1020. TICAP5_IC5CON = record
  1021. private
  1022. function getC32 : TBits_1; inline;
  1023. function getFEDGE : TBits_1; inline;
  1024. function getICBNE : TBits_1; inline;
  1025. function getICI : TBits_2; inline;
  1026. function getICI0 : TBits_1; inline;
  1027. function getICI1 : TBits_1; inline;
  1028. function getICM : TBits_3; inline;
  1029. function getICM0 : TBits_1; inline;
  1030. function getICM1 : TBits_1; inline;
  1031. function getICM2 : TBits_1; inline;
  1032. function getICOV : TBits_1; inline;
  1033. function getICSIDL : TBits_1; inline;
  1034. function getICTMR : TBits_1; inline;
  1035. function getON : TBits_1; inline;
  1036. function getSIDL : TBits_1; inline;
  1037. function getw : TBits_32; inline;
  1038. procedure setC32(thebits : TBits_1); inline;
  1039. procedure setFEDGE(thebits : TBits_1); inline;
  1040. procedure setICBNE(thebits : TBits_1); inline;
  1041. procedure setICI(thebits : TBits_2); inline;
  1042. procedure setICI0(thebits : TBits_1); inline;
  1043. procedure setICI1(thebits : TBits_1); inline;
  1044. procedure setICM(thebits : TBits_3); inline;
  1045. procedure setICM0(thebits : TBits_1); inline;
  1046. procedure setICM1(thebits : TBits_1); inline;
  1047. procedure setICM2(thebits : TBits_1); inline;
  1048. procedure setICOV(thebits : TBits_1); inline;
  1049. procedure setICSIDL(thebits : TBits_1); inline;
  1050. procedure setICTMR(thebits : TBits_1); inline;
  1051. procedure setON(thebits : TBits_1); inline;
  1052. procedure setSIDL(thebits : TBits_1); inline;
  1053. procedure setw(thebits : TBits_32); inline;
  1054. public
  1055. procedure clearC32; inline;
  1056. procedure clearFEDGE; inline;
  1057. procedure clearICBNE; inline;
  1058. procedure clearICI0; inline;
  1059. procedure clearICI1; inline;
  1060. procedure clearICM0; inline;
  1061. procedure clearICM1; inline;
  1062. procedure clearICM2; inline;
  1063. procedure clearICOV; inline;
  1064. procedure clearICSIDL; inline;
  1065. procedure clearICTMR; inline;
  1066. procedure clearON; inline;
  1067. procedure clearSIDL; inline;
  1068. procedure setC32; inline;
  1069. procedure setFEDGE; inline;
  1070. procedure setICBNE; inline;
  1071. procedure setICI0; inline;
  1072. procedure setICI1; inline;
  1073. procedure setICM0; inline;
  1074. procedure setICM1; inline;
  1075. procedure setICM2; inline;
  1076. procedure setICOV; inline;
  1077. procedure setICSIDL; inline;
  1078. procedure setICTMR; inline;
  1079. procedure setON; inline;
  1080. procedure setSIDL; inline;
  1081. property C32 : TBits_1 read getC32 write setC32;
  1082. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1083. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1084. property ICI : TBits_2 read getICI write setICI;
  1085. property ICI0 : TBits_1 read getICI0 write setICI0;
  1086. property ICI1 : TBits_1 read getICI1 write setICI1;
  1087. property ICM : TBits_3 read getICM write setICM;
  1088. property ICM0 : TBits_1 read getICM0 write setICM0;
  1089. property ICM1 : TBits_1 read getICM1 write setICM1;
  1090. property ICM2 : TBits_1 read getICM2 write setICM2;
  1091. property ICOV : TBits_1 read getICOV write setICOV;
  1092. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1093. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1094. property ON : TBits_1 read getON write setON;
  1095. property SIDL : TBits_1 read getSIDL write setSIDL;
  1096. property w : TBits_32 read getw write setw;
  1097. end;
  1098. type
  1099. TICAP5Registers = record
  1100. IC5CONbits : TICAP5_IC5CON;
  1101. IC5CON : longWord;
  1102. IC5CONCLR : longWord;
  1103. IC5CONSET : longWord;
  1104. IC5CONINV : longWord;
  1105. IC5BUF : longWord;
  1106. end;
  1107. TOCMP1_OC1CON = record
  1108. private
  1109. function getOC32 : TBits_1; inline;
  1110. function getOCFLT : TBits_1; inline;
  1111. function getOCM : TBits_3; inline;
  1112. function getOCM0 : TBits_1; inline;
  1113. function getOCM1 : TBits_1; inline;
  1114. function getOCM2 : TBits_1; inline;
  1115. function getOCSIDL : TBits_1; inline;
  1116. function getOCTSEL : TBits_1; inline;
  1117. function getON : TBits_1; inline;
  1118. function getSIDL : TBits_1; inline;
  1119. function getw : TBits_32; inline;
  1120. procedure setOC32(thebits : TBits_1); inline;
  1121. procedure setOCFLT(thebits : TBits_1); inline;
  1122. procedure setOCM(thebits : TBits_3); inline;
  1123. procedure setOCM0(thebits : TBits_1); inline;
  1124. procedure setOCM1(thebits : TBits_1); inline;
  1125. procedure setOCM2(thebits : TBits_1); inline;
  1126. procedure setOCSIDL(thebits : TBits_1); inline;
  1127. procedure setOCTSEL(thebits : TBits_1); inline;
  1128. procedure setON(thebits : TBits_1); inline;
  1129. procedure setSIDL(thebits : TBits_1); inline;
  1130. procedure setw(thebits : TBits_32); inline;
  1131. public
  1132. procedure clearOC32; inline;
  1133. procedure clearOCFLT; inline;
  1134. procedure clearOCM0; inline;
  1135. procedure clearOCM1; inline;
  1136. procedure clearOCM2; inline;
  1137. procedure clearOCSIDL; inline;
  1138. procedure clearOCTSEL; inline;
  1139. procedure clearON; inline;
  1140. procedure clearSIDL; inline;
  1141. procedure setOC32; inline;
  1142. procedure setOCFLT; inline;
  1143. procedure setOCM0; inline;
  1144. procedure setOCM1; inline;
  1145. procedure setOCM2; inline;
  1146. procedure setOCSIDL; inline;
  1147. procedure setOCTSEL; inline;
  1148. procedure setON; inline;
  1149. procedure setSIDL; inline;
  1150. property OC32 : TBits_1 read getOC32 write setOC32;
  1151. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1152. property OCM : TBits_3 read getOCM write setOCM;
  1153. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1154. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1155. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1156. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1157. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1158. property ON : TBits_1 read getON write setON;
  1159. property SIDL : TBits_1 read getSIDL write setSIDL;
  1160. property w : TBits_32 read getw write setw;
  1161. end;
  1162. type
  1163. TOCMP1Registers = record
  1164. OC1CONbits : TOCMP1_OC1CON;
  1165. OC1CON : longWord;
  1166. OC1CONCLR : longWord;
  1167. OC1CONSET : longWord;
  1168. OC1CONINV : longWord;
  1169. OC1R : longWord;
  1170. OC1RCLR : longWord;
  1171. OC1RSET : longWord;
  1172. OC1RINV : longWord;
  1173. OC1RS : longWord;
  1174. OC1RSCLR : longWord;
  1175. OC1RSSET : longWord;
  1176. OC1RSINV : longWord;
  1177. end;
  1178. TOCMP2_OC2CON = record
  1179. private
  1180. function getOC32 : TBits_1; inline;
  1181. function getOCFLT : TBits_1; inline;
  1182. function getOCM : TBits_3; inline;
  1183. function getOCM0 : TBits_1; inline;
  1184. function getOCM1 : TBits_1; inline;
  1185. function getOCM2 : TBits_1; inline;
  1186. function getOCSIDL : TBits_1; inline;
  1187. function getOCTSEL : TBits_1; inline;
  1188. function getON : TBits_1; inline;
  1189. function getSIDL : TBits_1; inline;
  1190. function getw : TBits_32; inline;
  1191. procedure setOC32(thebits : TBits_1); inline;
  1192. procedure setOCFLT(thebits : TBits_1); inline;
  1193. procedure setOCM(thebits : TBits_3); inline;
  1194. procedure setOCM0(thebits : TBits_1); inline;
  1195. procedure setOCM1(thebits : TBits_1); inline;
  1196. procedure setOCM2(thebits : TBits_1); inline;
  1197. procedure setOCSIDL(thebits : TBits_1); inline;
  1198. procedure setOCTSEL(thebits : TBits_1); inline;
  1199. procedure setON(thebits : TBits_1); inline;
  1200. procedure setSIDL(thebits : TBits_1); inline;
  1201. procedure setw(thebits : TBits_32); inline;
  1202. public
  1203. procedure clearOC32; inline;
  1204. procedure clearOCFLT; inline;
  1205. procedure clearOCM0; inline;
  1206. procedure clearOCM1; inline;
  1207. procedure clearOCM2; inline;
  1208. procedure clearOCSIDL; inline;
  1209. procedure clearOCTSEL; inline;
  1210. procedure clearON; inline;
  1211. procedure clearSIDL; inline;
  1212. procedure setOC32; inline;
  1213. procedure setOCFLT; inline;
  1214. procedure setOCM0; inline;
  1215. procedure setOCM1; inline;
  1216. procedure setOCM2; inline;
  1217. procedure setOCSIDL; inline;
  1218. procedure setOCTSEL; inline;
  1219. procedure setON; inline;
  1220. procedure setSIDL; inline;
  1221. property OC32 : TBits_1 read getOC32 write setOC32;
  1222. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1223. property OCM : TBits_3 read getOCM write setOCM;
  1224. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1225. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1226. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1227. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1228. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1229. property ON : TBits_1 read getON write setON;
  1230. property SIDL : TBits_1 read getSIDL write setSIDL;
  1231. property w : TBits_32 read getw write setw;
  1232. end;
  1233. type
  1234. TOCMP2Registers = record
  1235. OC2CONbits : TOCMP2_OC2CON;
  1236. OC2CON : longWord;
  1237. OC2CONCLR : longWord;
  1238. OC2CONSET : longWord;
  1239. OC2CONINV : longWord;
  1240. OC2R : longWord;
  1241. OC2RCLR : longWord;
  1242. OC2RSET : longWord;
  1243. OC2RINV : longWord;
  1244. OC2RS : longWord;
  1245. OC2RSCLR : longWord;
  1246. OC2RSSET : longWord;
  1247. OC2RSINV : longWord;
  1248. end;
  1249. TOCMP3_OC3CON = record
  1250. private
  1251. function getOC32 : TBits_1; inline;
  1252. function getOCFLT : TBits_1; inline;
  1253. function getOCM : TBits_3; inline;
  1254. function getOCM0 : TBits_1; inline;
  1255. function getOCM1 : TBits_1; inline;
  1256. function getOCM2 : TBits_1; inline;
  1257. function getOCSIDL : TBits_1; inline;
  1258. function getOCTSEL : TBits_1; inline;
  1259. function getON : TBits_1; inline;
  1260. function getSIDL : TBits_1; inline;
  1261. function getw : TBits_32; inline;
  1262. procedure setOC32(thebits : TBits_1); inline;
  1263. procedure setOCFLT(thebits : TBits_1); inline;
  1264. procedure setOCM(thebits : TBits_3); inline;
  1265. procedure setOCM0(thebits : TBits_1); inline;
  1266. procedure setOCM1(thebits : TBits_1); inline;
  1267. procedure setOCM2(thebits : TBits_1); inline;
  1268. procedure setOCSIDL(thebits : TBits_1); inline;
  1269. procedure setOCTSEL(thebits : TBits_1); inline;
  1270. procedure setON(thebits : TBits_1); inline;
  1271. procedure setSIDL(thebits : TBits_1); inline;
  1272. procedure setw(thebits : TBits_32); inline;
  1273. public
  1274. procedure clearOC32; inline;
  1275. procedure clearOCFLT; inline;
  1276. procedure clearOCM0; inline;
  1277. procedure clearOCM1; inline;
  1278. procedure clearOCM2; inline;
  1279. procedure clearOCSIDL; inline;
  1280. procedure clearOCTSEL; inline;
  1281. procedure clearON; inline;
  1282. procedure clearSIDL; inline;
  1283. procedure setOC32; inline;
  1284. procedure setOCFLT; inline;
  1285. procedure setOCM0; inline;
  1286. procedure setOCM1; inline;
  1287. procedure setOCM2; inline;
  1288. procedure setOCSIDL; inline;
  1289. procedure setOCTSEL; inline;
  1290. procedure setON; inline;
  1291. procedure setSIDL; inline;
  1292. property OC32 : TBits_1 read getOC32 write setOC32;
  1293. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1294. property OCM : TBits_3 read getOCM write setOCM;
  1295. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1296. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1297. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1298. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1299. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1300. property ON : TBits_1 read getON write setON;
  1301. property SIDL : TBits_1 read getSIDL write setSIDL;
  1302. property w : TBits_32 read getw write setw;
  1303. end;
  1304. type
  1305. TOCMP3Registers = record
  1306. OC3CONbits : TOCMP3_OC3CON;
  1307. OC3CON : longWord;
  1308. OC3CONCLR : longWord;
  1309. OC3CONSET : longWord;
  1310. OC3CONINV : longWord;
  1311. OC3R : longWord;
  1312. OC3RCLR : longWord;
  1313. OC3RSET : longWord;
  1314. OC3RINV : longWord;
  1315. OC3RS : longWord;
  1316. OC3RSCLR : longWord;
  1317. OC3RSSET : longWord;
  1318. OC3RSINV : longWord;
  1319. end;
  1320. TOCMP4_OC4CON = record
  1321. private
  1322. function getOC32 : TBits_1; inline;
  1323. function getOCFLT : TBits_1; inline;
  1324. function getOCM : TBits_3; inline;
  1325. function getOCM0 : TBits_1; inline;
  1326. function getOCM1 : TBits_1; inline;
  1327. function getOCM2 : TBits_1; inline;
  1328. function getOCSIDL : TBits_1; inline;
  1329. function getOCTSEL : TBits_1; inline;
  1330. function getON : TBits_1; inline;
  1331. function getSIDL : TBits_1; inline;
  1332. function getw : TBits_32; inline;
  1333. procedure setOC32(thebits : TBits_1); inline;
  1334. procedure setOCFLT(thebits : TBits_1); inline;
  1335. procedure setOCM(thebits : TBits_3); inline;
  1336. procedure setOCM0(thebits : TBits_1); inline;
  1337. procedure setOCM1(thebits : TBits_1); inline;
  1338. procedure setOCM2(thebits : TBits_1); inline;
  1339. procedure setOCSIDL(thebits : TBits_1); inline;
  1340. procedure setOCTSEL(thebits : TBits_1); inline;
  1341. procedure setON(thebits : TBits_1); inline;
  1342. procedure setSIDL(thebits : TBits_1); inline;
  1343. procedure setw(thebits : TBits_32); inline;
  1344. public
  1345. procedure clearOC32; inline;
  1346. procedure clearOCFLT; inline;
  1347. procedure clearOCM0; inline;
  1348. procedure clearOCM1; inline;
  1349. procedure clearOCM2; inline;
  1350. procedure clearOCSIDL; inline;
  1351. procedure clearOCTSEL; inline;
  1352. procedure clearON; inline;
  1353. procedure clearSIDL; inline;
  1354. procedure setOC32; inline;
  1355. procedure setOCFLT; inline;
  1356. procedure setOCM0; inline;
  1357. procedure setOCM1; inline;
  1358. procedure setOCM2; inline;
  1359. procedure setOCSIDL; inline;
  1360. procedure setOCTSEL; inline;
  1361. procedure setON; inline;
  1362. procedure setSIDL; inline;
  1363. property OC32 : TBits_1 read getOC32 write setOC32;
  1364. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1365. property OCM : TBits_3 read getOCM write setOCM;
  1366. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1367. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1368. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1369. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1370. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1371. property ON : TBits_1 read getON write setON;
  1372. property SIDL : TBits_1 read getSIDL write setSIDL;
  1373. property w : TBits_32 read getw write setw;
  1374. end;
  1375. type
  1376. TOCMP4Registers = record
  1377. OC4CONbits : TOCMP4_OC4CON;
  1378. OC4CON : longWord;
  1379. OC4CONCLR : longWord;
  1380. OC4CONSET : longWord;
  1381. OC4CONINV : longWord;
  1382. OC4R : longWord;
  1383. OC4RCLR : longWord;
  1384. OC4RSET : longWord;
  1385. OC4RINV : longWord;
  1386. OC4RS : longWord;
  1387. OC4RSCLR : longWord;
  1388. OC4RSSET : longWord;
  1389. OC4RSINV : longWord;
  1390. end;
  1391. TOCMP5_OC5CON = record
  1392. private
  1393. function getOC32 : TBits_1; inline;
  1394. function getOCFLT : TBits_1; inline;
  1395. function getOCM : TBits_3; inline;
  1396. function getOCM0 : TBits_1; inline;
  1397. function getOCM1 : TBits_1; inline;
  1398. function getOCM2 : TBits_1; inline;
  1399. function getOCSIDL : TBits_1; inline;
  1400. function getOCTSEL : TBits_1; inline;
  1401. function getON : TBits_1; inline;
  1402. function getSIDL : TBits_1; inline;
  1403. function getw : TBits_32; inline;
  1404. procedure setOC32(thebits : TBits_1); inline;
  1405. procedure setOCFLT(thebits : TBits_1); inline;
  1406. procedure setOCM(thebits : TBits_3); inline;
  1407. procedure setOCM0(thebits : TBits_1); inline;
  1408. procedure setOCM1(thebits : TBits_1); inline;
  1409. procedure setOCM2(thebits : TBits_1); inline;
  1410. procedure setOCSIDL(thebits : TBits_1); inline;
  1411. procedure setOCTSEL(thebits : TBits_1); inline;
  1412. procedure setON(thebits : TBits_1); inline;
  1413. procedure setSIDL(thebits : TBits_1); inline;
  1414. procedure setw(thebits : TBits_32); inline;
  1415. public
  1416. procedure clearOC32; inline;
  1417. procedure clearOCFLT; inline;
  1418. procedure clearOCM0; inline;
  1419. procedure clearOCM1; inline;
  1420. procedure clearOCM2; inline;
  1421. procedure clearOCSIDL; inline;
  1422. procedure clearOCTSEL; inline;
  1423. procedure clearON; inline;
  1424. procedure clearSIDL; inline;
  1425. procedure setOC32; inline;
  1426. procedure setOCFLT; inline;
  1427. procedure setOCM0; inline;
  1428. procedure setOCM1; inline;
  1429. procedure setOCM2; inline;
  1430. procedure setOCSIDL; inline;
  1431. procedure setOCTSEL; inline;
  1432. procedure setON; inline;
  1433. procedure setSIDL; inline;
  1434. property OC32 : TBits_1 read getOC32 write setOC32;
  1435. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1436. property OCM : TBits_3 read getOCM write setOCM;
  1437. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1438. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1439. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1440. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1441. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1442. property ON : TBits_1 read getON write setON;
  1443. property SIDL : TBits_1 read getSIDL write setSIDL;
  1444. property w : TBits_32 read getw write setw;
  1445. end;
  1446. type
  1447. TOCMP5Registers = record
  1448. OC5CONbits : TOCMP5_OC5CON;
  1449. OC5CON : longWord;
  1450. OC5CONCLR : longWord;
  1451. OC5CONSET : longWord;
  1452. OC5CONINV : longWord;
  1453. OC5R : longWord;
  1454. OC5RCLR : longWord;
  1455. OC5RSET : longWord;
  1456. OC5RINV : longWord;
  1457. OC5RS : longWord;
  1458. OC5RSCLR : longWord;
  1459. OC5RSSET : longWord;
  1460. OC5RSINV : longWord;
  1461. end;
  1462. TI2C1A_I2C1ACON = record
  1463. private
  1464. function getA10M : TBits_1; inline;
  1465. function getACKDT : TBits_1; inline;
  1466. function getACKEN : TBits_1; inline;
  1467. function getDISSLW : TBits_1; inline;
  1468. function getGCEN : TBits_1; inline;
  1469. function getI2CEN : TBits_1; inline;
  1470. function getI2CSIDL : TBits_1; inline;
  1471. function getIPMIEN : TBits_1; inline;
  1472. function getON : TBits_1; inline;
  1473. function getPEN : TBits_1; inline;
  1474. function getRCEN : TBits_1; inline;
  1475. function getRSEN : TBits_1; inline;
  1476. function getSCLREL : TBits_1; inline;
  1477. function getSEN : TBits_1; inline;
  1478. function getSIDL : TBits_1; inline;
  1479. function getSMEN : TBits_1; inline;
  1480. function getSTREN : TBits_1; inline;
  1481. function getSTRICT : TBits_1; inline;
  1482. function getw : TBits_32; inline;
  1483. procedure setA10M(thebits : TBits_1); inline;
  1484. procedure setACKDT(thebits : TBits_1); inline;
  1485. procedure setACKEN(thebits : TBits_1); inline;
  1486. procedure setDISSLW(thebits : TBits_1); inline;
  1487. procedure setGCEN(thebits : TBits_1); inline;
  1488. procedure setI2CEN(thebits : TBits_1); inline;
  1489. procedure setI2CSIDL(thebits : TBits_1); inline;
  1490. procedure setIPMIEN(thebits : TBits_1); inline;
  1491. procedure setON(thebits : TBits_1); inline;
  1492. procedure setPEN(thebits : TBits_1); inline;
  1493. procedure setRCEN(thebits : TBits_1); inline;
  1494. procedure setRSEN(thebits : TBits_1); inline;
  1495. procedure setSCLREL(thebits : TBits_1); inline;
  1496. procedure setSEN(thebits : TBits_1); inline;
  1497. procedure setSIDL(thebits : TBits_1); inline;
  1498. procedure setSMEN(thebits : TBits_1); inline;
  1499. procedure setSTREN(thebits : TBits_1); inline;
  1500. procedure setSTRICT(thebits : TBits_1); inline;
  1501. procedure setw(thebits : TBits_32); inline;
  1502. public
  1503. procedure clearA10M; inline;
  1504. procedure clearACKDT; inline;
  1505. procedure clearACKEN; inline;
  1506. procedure clearDISSLW; inline;
  1507. procedure clearGCEN; inline;
  1508. procedure clearI2CEN; inline;
  1509. procedure clearI2CSIDL; inline;
  1510. procedure clearIPMIEN; inline;
  1511. procedure clearON; inline;
  1512. procedure clearPEN; inline;
  1513. procedure clearRCEN; inline;
  1514. procedure clearRSEN; inline;
  1515. procedure clearSCLREL; inline;
  1516. procedure clearSEN; inline;
  1517. procedure clearSIDL; inline;
  1518. procedure clearSMEN; inline;
  1519. procedure clearSTREN; inline;
  1520. procedure clearSTRICT; inline;
  1521. procedure setA10M; inline;
  1522. procedure setACKDT; inline;
  1523. procedure setACKEN; inline;
  1524. procedure setDISSLW; inline;
  1525. procedure setGCEN; inline;
  1526. procedure setI2CEN; inline;
  1527. procedure setI2CSIDL; inline;
  1528. procedure setIPMIEN; inline;
  1529. procedure setON; inline;
  1530. procedure setPEN; inline;
  1531. procedure setRCEN; inline;
  1532. procedure setRSEN; inline;
  1533. procedure setSCLREL; inline;
  1534. procedure setSEN; inline;
  1535. procedure setSIDL; inline;
  1536. procedure setSMEN; inline;
  1537. procedure setSTREN; inline;
  1538. procedure setSTRICT; inline;
  1539. property A10M : TBits_1 read getA10M write setA10M;
  1540. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1541. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1542. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1543. property GCEN : TBits_1 read getGCEN write setGCEN;
  1544. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1545. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1546. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1547. property ON : TBits_1 read getON write setON;
  1548. property PEN : TBits_1 read getPEN write setPEN;
  1549. property RCEN : TBits_1 read getRCEN write setRCEN;
  1550. property RSEN : TBits_1 read getRSEN write setRSEN;
  1551. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1552. property SEN : TBits_1 read getSEN write setSEN;
  1553. property SIDL : TBits_1 read getSIDL write setSIDL;
  1554. property SMEN : TBits_1 read getSMEN write setSMEN;
  1555. property STREN : TBits_1 read getSTREN write setSTREN;
  1556. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1557. property w : TBits_32 read getw write setw;
  1558. end;
  1559. TI2C1A_I2C3CON = record
  1560. private
  1561. function getA10M : TBits_1; inline;
  1562. function getACKDT : TBits_1; inline;
  1563. function getACKEN : TBits_1; inline;
  1564. function getDISSLW : TBits_1; inline;
  1565. function getGCEN : TBits_1; inline;
  1566. function getI2CEN : TBits_1; inline;
  1567. function getI2CSIDL : TBits_1; inline;
  1568. function getIPMIEN : TBits_1; inline;
  1569. function getON : TBits_1; inline;
  1570. function getPEN : TBits_1; inline;
  1571. function getRCEN : TBits_1; inline;
  1572. function getRSEN : TBits_1; inline;
  1573. function getSCLREL : TBits_1; inline;
  1574. function getSEN : TBits_1; inline;
  1575. function getSIDL : TBits_1; inline;
  1576. function getSMEN : TBits_1; inline;
  1577. function getSTREN : TBits_1; inline;
  1578. function getSTRICT : TBits_1; inline;
  1579. function getw : TBits_32; inline;
  1580. procedure setA10M(thebits : TBits_1); inline;
  1581. procedure setACKDT(thebits : TBits_1); inline;
  1582. procedure setACKEN(thebits : TBits_1); inline;
  1583. procedure setDISSLW(thebits : TBits_1); inline;
  1584. procedure setGCEN(thebits : TBits_1); inline;
  1585. procedure setI2CEN(thebits : TBits_1); inline;
  1586. procedure setI2CSIDL(thebits : TBits_1); inline;
  1587. procedure setIPMIEN(thebits : TBits_1); inline;
  1588. procedure setON(thebits : TBits_1); inline;
  1589. procedure setPEN(thebits : TBits_1); inline;
  1590. procedure setRCEN(thebits : TBits_1); inline;
  1591. procedure setRSEN(thebits : TBits_1); inline;
  1592. procedure setSCLREL(thebits : TBits_1); inline;
  1593. procedure setSEN(thebits : TBits_1); inline;
  1594. procedure setSIDL(thebits : TBits_1); inline;
  1595. procedure setSMEN(thebits : TBits_1); inline;
  1596. procedure setSTREN(thebits : TBits_1); inline;
  1597. procedure setSTRICT(thebits : TBits_1); inline;
  1598. procedure setw(thebits : TBits_32); inline;
  1599. public
  1600. procedure clearA10M; inline;
  1601. procedure clearACKDT; inline;
  1602. procedure clearACKEN; inline;
  1603. procedure clearDISSLW; inline;
  1604. procedure clearGCEN; inline;
  1605. procedure clearI2CEN; inline;
  1606. procedure clearI2CSIDL; inline;
  1607. procedure clearIPMIEN; inline;
  1608. procedure clearON; inline;
  1609. procedure clearPEN; inline;
  1610. procedure clearRCEN; inline;
  1611. procedure clearRSEN; inline;
  1612. procedure clearSCLREL; inline;
  1613. procedure clearSEN; inline;
  1614. procedure clearSIDL; inline;
  1615. procedure clearSMEN; inline;
  1616. procedure clearSTREN; inline;
  1617. procedure clearSTRICT; inline;
  1618. procedure setA10M; inline;
  1619. procedure setACKDT; inline;
  1620. procedure setACKEN; inline;
  1621. procedure setDISSLW; inline;
  1622. procedure setGCEN; inline;
  1623. procedure setI2CEN; inline;
  1624. procedure setI2CSIDL; inline;
  1625. procedure setIPMIEN; inline;
  1626. procedure setON; inline;
  1627. procedure setPEN; inline;
  1628. procedure setRCEN; inline;
  1629. procedure setRSEN; inline;
  1630. procedure setSCLREL; inline;
  1631. procedure setSEN; inline;
  1632. procedure setSIDL; inline;
  1633. procedure setSMEN; inline;
  1634. procedure setSTREN; inline;
  1635. procedure setSTRICT; inline;
  1636. property A10M : TBits_1 read getA10M write setA10M;
  1637. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1638. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1639. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1640. property GCEN : TBits_1 read getGCEN write setGCEN;
  1641. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1642. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1643. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1644. property ON : TBits_1 read getON write setON;
  1645. property PEN : TBits_1 read getPEN write setPEN;
  1646. property RCEN : TBits_1 read getRCEN write setRCEN;
  1647. property RSEN : TBits_1 read getRSEN write setRSEN;
  1648. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1649. property SEN : TBits_1 read getSEN write setSEN;
  1650. property SIDL : TBits_1 read getSIDL write setSIDL;
  1651. property SMEN : TBits_1 read getSMEN write setSMEN;
  1652. property STREN : TBits_1 read getSTREN write setSTREN;
  1653. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1654. property w : TBits_32 read getw write setw;
  1655. end;
  1656. TI2C1A_I2C1ASTAT = record
  1657. private
  1658. function getACKSTAT : TBits_1; inline;
  1659. function getADD10 : TBits_1; inline;
  1660. function getBCL : TBits_1; inline;
  1661. function getD_A : TBits_1; inline;
  1662. function getGCSTAT : TBits_1; inline;
  1663. function getI2COV : TBits_1; inline;
  1664. function getI2CPOV : TBits_1; inline;
  1665. function getIWCOL : TBits_1; inline;
  1666. function getP : TBits_1; inline;
  1667. function getRBF : TBits_1; inline;
  1668. function getR_W : TBits_1; inline;
  1669. function getS : TBits_1; inline;
  1670. function getTBF : TBits_1; inline;
  1671. function getTRSTAT : TBits_1; inline;
  1672. function getw : TBits_32; inline;
  1673. procedure setACKSTAT(thebits : TBits_1); inline;
  1674. procedure setADD10(thebits : TBits_1); inline;
  1675. procedure setBCL(thebits : TBits_1); inline;
  1676. procedure setD_A(thebits : TBits_1); inline;
  1677. procedure setGCSTAT(thebits : TBits_1); inline;
  1678. procedure setI2COV(thebits : TBits_1); inline;
  1679. procedure setI2CPOV(thebits : TBits_1); inline;
  1680. procedure setIWCOL(thebits : TBits_1); inline;
  1681. procedure setP(thebits : TBits_1); inline;
  1682. procedure setRBF(thebits : TBits_1); inline;
  1683. procedure setR_W(thebits : TBits_1); inline;
  1684. procedure setS(thebits : TBits_1); inline;
  1685. procedure setTBF(thebits : TBits_1); inline;
  1686. procedure setTRSTAT(thebits : TBits_1); inline;
  1687. procedure setw(thebits : TBits_32); inline;
  1688. public
  1689. procedure clearACKSTAT; inline;
  1690. procedure clearADD10; inline;
  1691. procedure clearBCL; inline;
  1692. procedure clearD_A; inline;
  1693. procedure clearGCSTAT; inline;
  1694. procedure clearI2COV; inline;
  1695. procedure clearI2CPOV; inline;
  1696. procedure clearIWCOL; inline;
  1697. procedure clearP; inline;
  1698. procedure clearRBF; inline;
  1699. procedure clearR_W; inline;
  1700. procedure clearS; inline;
  1701. procedure clearTBF; inline;
  1702. procedure clearTRSTAT; inline;
  1703. procedure setACKSTAT; inline;
  1704. procedure setADD10; inline;
  1705. procedure setBCL; inline;
  1706. procedure setD_A; inline;
  1707. procedure setGCSTAT; inline;
  1708. procedure setI2COV; inline;
  1709. procedure setI2CPOV; inline;
  1710. procedure setIWCOL; inline;
  1711. procedure setP; inline;
  1712. procedure setRBF; inline;
  1713. procedure setR_W; inline;
  1714. procedure setS; inline;
  1715. procedure setTBF; inline;
  1716. procedure setTRSTAT; inline;
  1717. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1718. property ADD10 : TBits_1 read getADD10 write setADD10;
  1719. property BCL : TBits_1 read getBCL write setBCL;
  1720. property D_A : TBits_1 read getD_A write setD_A;
  1721. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1722. property I2COV : TBits_1 read getI2COV write setI2COV;
  1723. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1724. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1725. property P : TBits_1 read getP write setP;
  1726. property RBF : TBits_1 read getRBF write setRBF;
  1727. property R_W : TBits_1 read getR_W write setR_W;
  1728. property S : TBits_1 read getS write setS;
  1729. property TBF : TBits_1 read getTBF write setTBF;
  1730. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1731. property w : TBits_32 read getw write setw;
  1732. end;
  1733. TI2C1A_I2C3STAT = record
  1734. private
  1735. function getACKSTAT : TBits_1; inline;
  1736. function getADD10 : TBits_1; inline;
  1737. function getBCL : TBits_1; inline;
  1738. function getD_A : TBits_1; inline;
  1739. function getGCSTAT : TBits_1; inline;
  1740. function getI2COV : TBits_1; inline;
  1741. function getI2CPOV : TBits_1; inline;
  1742. function getIWCOL : TBits_1; inline;
  1743. function getP : TBits_1; inline;
  1744. function getRBF : TBits_1; inline;
  1745. function getR_W : TBits_1; inline;
  1746. function getS : TBits_1; inline;
  1747. function getTBF : TBits_1; inline;
  1748. function getTRSTAT : TBits_1; inline;
  1749. function getw : TBits_32; inline;
  1750. procedure setACKSTAT(thebits : TBits_1); inline;
  1751. procedure setADD10(thebits : TBits_1); inline;
  1752. procedure setBCL(thebits : TBits_1); inline;
  1753. procedure setD_A(thebits : TBits_1); inline;
  1754. procedure setGCSTAT(thebits : TBits_1); inline;
  1755. procedure setI2COV(thebits : TBits_1); inline;
  1756. procedure setI2CPOV(thebits : TBits_1); inline;
  1757. procedure setIWCOL(thebits : TBits_1); inline;
  1758. procedure setP(thebits : TBits_1); inline;
  1759. procedure setRBF(thebits : TBits_1); inline;
  1760. procedure setR_W(thebits : TBits_1); inline;
  1761. procedure setS(thebits : TBits_1); inline;
  1762. procedure setTBF(thebits : TBits_1); inline;
  1763. procedure setTRSTAT(thebits : TBits_1); inline;
  1764. procedure setw(thebits : TBits_32); inline;
  1765. public
  1766. procedure clearACKSTAT; inline;
  1767. procedure clearADD10; inline;
  1768. procedure clearBCL; inline;
  1769. procedure clearD_A; inline;
  1770. procedure clearGCSTAT; inline;
  1771. procedure clearI2COV; inline;
  1772. procedure clearI2CPOV; inline;
  1773. procedure clearIWCOL; inline;
  1774. procedure clearP; inline;
  1775. procedure clearRBF; inline;
  1776. procedure clearR_W; inline;
  1777. procedure clearS; inline;
  1778. procedure clearTBF; inline;
  1779. procedure clearTRSTAT; inline;
  1780. procedure setACKSTAT; inline;
  1781. procedure setADD10; inline;
  1782. procedure setBCL; inline;
  1783. procedure setD_A; inline;
  1784. procedure setGCSTAT; inline;
  1785. procedure setI2COV; inline;
  1786. procedure setI2CPOV; inline;
  1787. procedure setIWCOL; inline;
  1788. procedure setP; inline;
  1789. procedure setRBF; inline;
  1790. procedure setR_W; inline;
  1791. procedure setS; inline;
  1792. procedure setTBF; inline;
  1793. procedure setTRSTAT; inline;
  1794. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1795. property ADD10 : TBits_1 read getADD10 write setADD10;
  1796. property BCL : TBits_1 read getBCL write setBCL;
  1797. property D_A : TBits_1 read getD_A write setD_A;
  1798. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1799. property I2COV : TBits_1 read getI2COV write setI2COV;
  1800. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1801. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1802. property P : TBits_1 read getP write setP;
  1803. property RBF : TBits_1 read getRBF write setRBF;
  1804. property R_W : TBits_1 read getR_W write setR_W;
  1805. property S : TBits_1 read getS write setS;
  1806. property TBF : TBits_1 read getTBF write setTBF;
  1807. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1808. property w : TBits_32 read getw write setw;
  1809. end;
  1810. type
  1811. TI2C1ARegisters = record
  1812. I2C1ACONbits : TI2C1A_I2C1ACON;
  1813. I2C1ACON : longWord;
  1814. I2C3CONbits : TI2C1A_I2C3CON;
  1815. I2C3CON : longWord;
  1816. I2C1ACONCLR : longWord;
  1817. I2C3CONCLR : longWord;
  1818. I2C1ACONSET : longWord;
  1819. I2C3CONSET : longWord;
  1820. I2C1ACONINV : longWord;
  1821. I2C3CONINV : longWord;
  1822. I2C1ASTATbits : TI2C1A_I2C1ASTAT;
  1823. I2C1ASTAT : longWord;
  1824. I2C3STATbits : TI2C1A_I2C3STAT;
  1825. I2C3STAT : longWord;
  1826. I2C1ASTATCLR : longWord;
  1827. I2C3STATCLR : longWord;
  1828. I2C1ASTATSET : longWord;
  1829. I2C3STATSET : longWord;
  1830. I2C1ASTATINV : longWord;
  1831. I2C3STATINV : longWord;
  1832. I2C1AADD : longWord;
  1833. I2C3ADD : longWord;
  1834. I2C1AADDCLR : longWord;
  1835. I2C3ADDCLR : longWord;
  1836. I2C1AADDSET : longWord;
  1837. I2C3ADDSET : longWord;
  1838. I2C1AADDINV : longWord;
  1839. I2C3ADDINV : longWord;
  1840. I2C1AMSK : longWord;
  1841. I2C3MSK : longWord;
  1842. I2C1AMSKCLR : longWord;
  1843. I2C3MSKCLR : longWord;
  1844. I2C1AMSKSET : longWord;
  1845. I2C3MSKSET : longWord;
  1846. I2C1AMSKINV : longWord;
  1847. I2C3MSKINV : longWord;
  1848. I2C1ABRG : longWord;
  1849. I2C3BRG : longWord;
  1850. I2C1ABRGCLR : longWord;
  1851. I2C3BRGCLR : longWord;
  1852. I2C1ABRGSET : longWord;
  1853. I2C3BRGSET : longWord;
  1854. I2C1ABRGINV : longWord;
  1855. I2C3BRGINV : longWord;
  1856. I2C1ATRN : longWord;
  1857. I2C3TRN : longWord;
  1858. I2C1ATRNCLR : longWord;
  1859. I2C3TRNCLR : longWord;
  1860. I2C1ATRNSET : longWord;
  1861. I2C3TRNSET : longWord;
  1862. I2C1ATRNINV : longWord;
  1863. I2C3TRNINV : longWord;
  1864. I2C1ARCV : longWord;
  1865. I2C3RCV : longWord;
  1866. end;
  1867. TI2C2A_I2C2ACON = record
  1868. private
  1869. function getA10M : TBits_1; inline;
  1870. function getACKDT : TBits_1; inline;
  1871. function getACKEN : TBits_1; inline;
  1872. function getDISSLW : TBits_1; inline;
  1873. function getGCEN : TBits_1; inline;
  1874. function getI2CEN : TBits_1; inline;
  1875. function getI2CSIDL : TBits_1; inline;
  1876. function getIPMIEN : TBits_1; inline;
  1877. function getON : TBits_1; inline;
  1878. function getPEN : TBits_1; inline;
  1879. function getRCEN : TBits_1; inline;
  1880. function getRSEN : TBits_1; inline;
  1881. function getSCLREL : TBits_1; inline;
  1882. function getSEN : TBits_1; inline;
  1883. function getSIDL : TBits_1; inline;
  1884. function getSMEN : TBits_1; inline;
  1885. function getSTREN : TBits_1; inline;
  1886. function getSTRICT : TBits_1; inline;
  1887. function getw : TBits_32; inline;
  1888. procedure setA10M(thebits : TBits_1); inline;
  1889. procedure setACKDT(thebits : TBits_1); inline;
  1890. procedure setACKEN(thebits : TBits_1); inline;
  1891. procedure setDISSLW(thebits : TBits_1); inline;
  1892. procedure setGCEN(thebits : TBits_1); inline;
  1893. procedure setI2CEN(thebits : TBits_1); inline;
  1894. procedure setI2CSIDL(thebits : TBits_1); inline;
  1895. procedure setIPMIEN(thebits : TBits_1); inline;
  1896. procedure setON(thebits : TBits_1); inline;
  1897. procedure setPEN(thebits : TBits_1); inline;
  1898. procedure setRCEN(thebits : TBits_1); inline;
  1899. procedure setRSEN(thebits : TBits_1); inline;
  1900. procedure setSCLREL(thebits : TBits_1); inline;
  1901. procedure setSEN(thebits : TBits_1); inline;
  1902. procedure setSIDL(thebits : TBits_1); inline;
  1903. procedure setSMEN(thebits : TBits_1); inline;
  1904. procedure setSTREN(thebits : TBits_1); inline;
  1905. procedure setSTRICT(thebits : TBits_1); inline;
  1906. procedure setw(thebits : TBits_32); inline;
  1907. public
  1908. procedure clearA10M; inline;
  1909. procedure clearACKDT; inline;
  1910. procedure clearACKEN; inline;
  1911. procedure clearDISSLW; inline;
  1912. procedure clearGCEN; inline;
  1913. procedure clearI2CEN; inline;
  1914. procedure clearI2CSIDL; inline;
  1915. procedure clearIPMIEN; inline;
  1916. procedure clearON; inline;
  1917. procedure clearPEN; inline;
  1918. procedure clearRCEN; inline;
  1919. procedure clearRSEN; inline;
  1920. procedure clearSCLREL; inline;
  1921. procedure clearSEN; inline;
  1922. procedure clearSIDL; inline;
  1923. procedure clearSMEN; inline;
  1924. procedure clearSTREN; inline;
  1925. procedure clearSTRICT; inline;
  1926. procedure setA10M; inline;
  1927. procedure setACKDT; inline;
  1928. procedure setACKEN; inline;
  1929. procedure setDISSLW; inline;
  1930. procedure setGCEN; inline;
  1931. procedure setI2CEN; inline;
  1932. procedure setI2CSIDL; inline;
  1933. procedure setIPMIEN; inline;
  1934. procedure setON; inline;
  1935. procedure setPEN; inline;
  1936. procedure setRCEN; inline;
  1937. procedure setRSEN; inline;
  1938. procedure setSCLREL; inline;
  1939. procedure setSEN; inline;
  1940. procedure setSIDL; inline;
  1941. procedure setSMEN; inline;
  1942. procedure setSTREN; inline;
  1943. procedure setSTRICT; inline;
  1944. property A10M : TBits_1 read getA10M write setA10M;
  1945. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1946. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1947. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1948. property GCEN : TBits_1 read getGCEN write setGCEN;
  1949. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1950. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1951. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1952. property ON : TBits_1 read getON write setON;
  1953. property PEN : TBits_1 read getPEN write setPEN;
  1954. property RCEN : TBits_1 read getRCEN write setRCEN;
  1955. property RSEN : TBits_1 read getRSEN write setRSEN;
  1956. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1957. property SEN : TBits_1 read getSEN write setSEN;
  1958. property SIDL : TBits_1 read getSIDL write setSIDL;
  1959. property SMEN : TBits_1 read getSMEN write setSMEN;
  1960. property STREN : TBits_1 read getSTREN write setSTREN;
  1961. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1962. property w : TBits_32 read getw write setw;
  1963. end;
  1964. TI2C2A_I2C4CON = record
  1965. private
  1966. function getA10M : TBits_1; inline;
  1967. function getACKDT : TBits_1; inline;
  1968. function getACKEN : TBits_1; inline;
  1969. function getDISSLW : TBits_1; inline;
  1970. function getGCEN : TBits_1; inline;
  1971. function getI2CEN : TBits_1; inline;
  1972. function getI2CSIDL : TBits_1; inline;
  1973. function getIPMIEN : TBits_1; inline;
  1974. function getON : TBits_1; inline;
  1975. function getPEN : TBits_1; inline;
  1976. function getRCEN : TBits_1; inline;
  1977. function getRSEN : TBits_1; inline;
  1978. function getSCLREL : TBits_1; inline;
  1979. function getSEN : TBits_1; inline;
  1980. function getSIDL : TBits_1; inline;
  1981. function getSMEN : TBits_1; inline;
  1982. function getSTREN : TBits_1; inline;
  1983. function getSTRICT : TBits_1; inline;
  1984. function getw : TBits_32; inline;
  1985. procedure setA10M(thebits : TBits_1); inline;
  1986. procedure setACKDT(thebits : TBits_1); inline;
  1987. procedure setACKEN(thebits : TBits_1); inline;
  1988. procedure setDISSLW(thebits : TBits_1); inline;
  1989. procedure setGCEN(thebits : TBits_1); inline;
  1990. procedure setI2CEN(thebits : TBits_1); inline;
  1991. procedure setI2CSIDL(thebits : TBits_1); inline;
  1992. procedure setIPMIEN(thebits : TBits_1); inline;
  1993. procedure setON(thebits : TBits_1); inline;
  1994. procedure setPEN(thebits : TBits_1); inline;
  1995. procedure setRCEN(thebits : TBits_1); inline;
  1996. procedure setRSEN(thebits : TBits_1); inline;
  1997. procedure setSCLREL(thebits : TBits_1); inline;
  1998. procedure setSEN(thebits : TBits_1); inline;
  1999. procedure setSIDL(thebits : TBits_1); inline;
  2000. procedure setSMEN(thebits : TBits_1); inline;
  2001. procedure setSTREN(thebits : TBits_1); inline;
  2002. procedure setSTRICT(thebits : TBits_1); inline;
  2003. procedure setw(thebits : TBits_32); inline;
  2004. public
  2005. procedure clearA10M; inline;
  2006. procedure clearACKDT; inline;
  2007. procedure clearACKEN; inline;
  2008. procedure clearDISSLW; inline;
  2009. procedure clearGCEN; inline;
  2010. procedure clearI2CEN; inline;
  2011. procedure clearI2CSIDL; inline;
  2012. procedure clearIPMIEN; inline;
  2013. procedure clearON; inline;
  2014. procedure clearPEN; inline;
  2015. procedure clearRCEN; inline;
  2016. procedure clearRSEN; inline;
  2017. procedure clearSCLREL; inline;
  2018. procedure clearSEN; inline;
  2019. procedure clearSIDL; inline;
  2020. procedure clearSMEN; inline;
  2021. procedure clearSTREN; inline;
  2022. procedure clearSTRICT; inline;
  2023. procedure setA10M; inline;
  2024. procedure setACKDT; inline;
  2025. procedure setACKEN; inline;
  2026. procedure setDISSLW; inline;
  2027. procedure setGCEN; inline;
  2028. procedure setI2CEN; inline;
  2029. procedure setI2CSIDL; inline;
  2030. procedure setIPMIEN; inline;
  2031. procedure setON; inline;
  2032. procedure setPEN; inline;
  2033. procedure setRCEN; inline;
  2034. procedure setRSEN; inline;
  2035. procedure setSCLREL; inline;
  2036. procedure setSEN; inline;
  2037. procedure setSIDL; inline;
  2038. procedure setSMEN; inline;
  2039. procedure setSTREN; inline;
  2040. procedure setSTRICT; inline;
  2041. property A10M : TBits_1 read getA10M write setA10M;
  2042. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2043. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2044. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2045. property GCEN : TBits_1 read getGCEN write setGCEN;
  2046. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2047. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2048. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2049. property ON : TBits_1 read getON write setON;
  2050. property PEN : TBits_1 read getPEN write setPEN;
  2051. property RCEN : TBits_1 read getRCEN write setRCEN;
  2052. property RSEN : TBits_1 read getRSEN write setRSEN;
  2053. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2054. property SEN : TBits_1 read getSEN write setSEN;
  2055. property SIDL : TBits_1 read getSIDL write setSIDL;
  2056. property SMEN : TBits_1 read getSMEN write setSMEN;
  2057. property STREN : TBits_1 read getSTREN write setSTREN;
  2058. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2059. property w : TBits_32 read getw write setw;
  2060. end;
  2061. TI2C2A_I2C2ASTAT = record
  2062. private
  2063. function getACKSTAT : TBits_1; inline;
  2064. function getADD10 : TBits_1; inline;
  2065. function getBCL : TBits_1; inline;
  2066. function getD_A : TBits_1; inline;
  2067. function getGCSTAT : TBits_1; inline;
  2068. function getI2COV : TBits_1; inline;
  2069. function getI2CPOV : TBits_1; inline;
  2070. function getIWCOL : TBits_1; inline;
  2071. function getP : TBits_1; inline;
  2072. function getRBF : TBits_1; inline;
  2073. function getR_W : TBits_1; inline;
  2074. function getS : TBits_1; inline;
  2075. function getTBF : TBits_1; inline;
  2076. function getTRSTAT : TBits_1; inline;
  2077. function getw : TBits_32; inline;
  2078. procedure setACKSTAT(thebits : TBits_1); inline;
  2079. procedure setADD10(thebits : TBits_1); inline;
  2080. procedure setBCL(thebits : TBits_1); inline;
  2081. procedure setD_A(thebits : TBits_1); inline;
  2082. procedure setGCSTAT(thebits : TBits_1); inline;
  2083. procedure setI2COV(thebits : TBits_1); inline;
  2084. procedure setI2CPOV(thebits : TBits_1); inline;
  2085. procedure setIWCOL(thebits : TBits_1); inline;
  2086. procedure setP(thebits : TBits_1); inline;
  2087. procedure setRBF(thebits : TBits_1); inline;
  2088. procedure setR_W(thebits : TBits_1); inline;
  2089. procedure setS(thebits : TBits_1); inline;
  2090. procedure setTBF(thebits : TBits_1); inline;
  2091. procedure setTRSTAT(thebits : TBits_1); inline;
  2092. procedure setw(thebits : TBits_32); inline;
  2093. public
  2094. procedure clearACKSTAT; inline;
  2095. procedure clearADD10; inline;
  2096. procedure clearBCL; inline;
  2097. procedure clearD_A; inline;
  2098. procedure clearGCSTAT; inline;
  2099. procedure clearI2COV; inline;
  2100. procedure clearI2CPOV; inline;
  2101. procedure clearIWCOL; inline;
  2102. procedure clearP; inline;
  2103. procedure clearRBF; inline;
  2104. procedure clearR_W; inline;
  2105. procedure clearS; inline;
  2106. procedure clearTBF; inline;
  2107. procedure clearTRSTAT; inline;
  2108. procedure setACKSTAT; inline;
  2109. procedure setADD10; inline;
  2110. procedure setBCL; inline;
  2111. procedure setD_A; inline;
  2112. procedure setGCSTAT; inline;
  2113. procedure setI2COV; inline;
  2114. procedure setI2CPOV; inline;
  2115. procedure setIWCOL; inline;
  2116. procedure setP; inline;
  2117. procedure setRBF; inline;
  2118. procedure setR_W; inline;
  2119. procedure setS; inline;
  2120. procedure setTBF; inline;
  2121. procedure setTRSTAT; inline;
  2122. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2123. property ADD10 : TBits_1 read getADD10 write setADD10;
  2124. property BCL : TBits_1 read getBCL write setBCL;
  2125. property D_A : TBits_1 read getD_A write setD_A;
  2126. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2127. property I2COV : TBits_1 read getI2COV write setI2COV;
  2128. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2129. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2130. property P : TBits_1 read getP write setP;
  2131. property RBF : TBits_1 read getRBF write setRBF;
  2132. property R_W : TBits_1 read getR_W write setR_W;
  2133. property S : TBits_1 read getS write setS;
  2134. property TBF : TBits_1 read getTBF write setTBF;
  2135. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2136. property w : TBits_32 read getw write setw;
  2137. end;
  2138. TI2C2A_I2C4STAT = record
  2139. private
  2140. function getACKSTAT : TBits_1; inline;
  2141. function getADD10 : TBits_1; inline;
  2142. function getBCL : TBits_1; inline;
  2143. function getD_A : TBits_1; inline;
  2144. function getGCSTAT : TBits_1; inline;
  2145. function getI2COV : TBits_1; inline;
  2146. function getI2CPOV : TBits_1; inline;
  2147. function getIWCOL : TBits_1; inline;
  2148. function getP : TBits_1; inline;
  2149. function getRBF : TBits_1; inline;
  2150. function getR_W : TBits_1; inline;
  2151. function getS : TBits_1; inline;
  2152. function getTBF : TBits_1; inline;
  2153. function getTRSTAT : TBits_1; inline;
  2154. function getw : TBits_32; inline;
  2155. procedure setACKSTAT(thebits : TBits_1); inline;
  2156. procedure setADD10(thebits : TBits_1); inline;
  2157. procedure setBCL(thebits : TBits_1); inline;
  2158. procedure setD_A(thebits : TBits_1); inline;
  2159. procedure setGCSTAT(thebits : TBits_1); inline;
  2160. procedure setI2COV(thebits : TBits_1); inline;
  2161. procedure setI2CPOV(thebits : TBits_1); inline;
  2162. procedure setIWCOL(thebits : TBits_1); inline;
  2163. procedure setP(thebits : TBits_1); inline;
  2164. procedure setRBF(thebits : TBits_1); inline;
  2165. procedure setR_W(thebits : TBits_1); inline;
  2166. procedure setS(thebits : TBits_1); inline;
  2167. procedure setTBF(thebits : TBits_1); inline;
  2168. procedure setTRSTAT(thebits : TBits_1); inline;
  2169. procedure setw(thebits : TBits_32); inline;
  2170. public
  2171. procedure clearACKSTAT; inline;
  2172. procedure clearADD10; inline;
  2173. procedure clearBCL; inline;
  2174. procedure clearD_A; inline;
  2175. procedure clearGCSTAT; inline;
  2176. procedure clearI2COV; inline;
  2177. procedure clearI2CPOV; inline;
  2178. procedure clearIWCOL; inline;
  2179. procedure clearP; inline;
  2180. procedure clearRBF; inline;
  2181. procedure clearR_W; inline;
  2182. procedure clearS; inline;
  2183. procedure clearTBF; inline;
  2184. procedure clearTRSTAT; inline;
  2185. procedure setACKSTAT; inline;
  2186. procedure setADD10; inline;
  2187. procedure setBCL; inline;
  2188. procedure setD_A; inline;
  2189. procedure setGCSTAT; inline;
  2190. procedure setI2COV; inline;
  2191. procedure setI2CPOV; inline;
  2192. procedure setIWCOL; inline;
  2193. procedure setP; inline;
  2194. procedure setRBF; inline;
  2195. procedure setR_W; inline;
  2196. procedure setS; inline;
  2197. procedure setTBF; inline;
  2198. procedure setTRSTAT; inline;
  2199. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2200. property ADD10 : TBits_1 read getADD10 write setADD10;
  2201. property BCL : TBits_1 read getBCL write setBCL;
  2202. property D_A : TBits_1 read getD_A write setD_A;
  2203. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2204. property I2COV : TBits_1 read getI2COV write setI2COV;
  2205. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2206. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2207. property P : TBits_1 read getP write setP;
  2208. property RBF : TBits_1 read getRBF write setRBF;
  2209. property R_W : TBits_1 read getR_W write setR_W;
  2210. property S : TBits_1 read getS write setS;
  2211. property TBF : TBits_1 read getTBF write setTBF;
  2212. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2213. property w : TBits_32 read getw write setw;
  2214. end;
  2215. type
  2216. TI2C2ARegisters = record
  2217. I2C2ACONbits : TI2C2A_I2C2ACON;
  2218. I2C2ACON : longWord;
  2219. I2C4CONbits : TI2C2A_I2C4CON;
  2220. I2C4CON : longWord;
  2221. I2C2ACONCLR : longWord;
  2222. I2C4CONCLR : longWord;
  2223. I2C2ACONSET : longWord;
  2224. I2C4CONSET : longWord;
  2225. I2C2ACONINV : longWord;
  2226. I2C4CONINV : longWord;
  2227. I2C2ASTATbits : TI2C2A_I2C2ASTAT;
  2228. I2C2ASTAT : longWord;
  2229. I2C4STATbits : TI2C2A_I2C4STAT;
  2230. I2C4STAT : longWord;
  2231. I2C2ASTATCLR : longWord;
  2232. I2C4STATCLR : longWord;
  2233. I2C2ASTATSET : longWord;
  2234. I2C4STATSET : longWord;
  2235. I2C2ASTATINV : longWord;
  2236. I2C4STATINV : longWord;
  2237. I2C2AADD : longWord;
  2238. I2C4ADD : longWord;
  2239. I2C2AADDCLR : longWord;
  2240. I2C4ADDCLR : longWord;
  2241. I2C2AADDSET : longWord;
  2242. I2C4ADDSET : longWord;
  2243. I2C2AADDINV : longWord;
  2244. I2C4ADDINV : longWord;
  2245. I2C2AMSK : longWord;
  2246. I2C4MSK : longWord;
  2247. I2C2AMSKCLR : longWord;
  2248. I2C4MSKCLR : longWord;
  2249. I2C2AMSKSET : longWord;
  2250. I2C4MSKSET : longWord;
  2251. I2C2AMSKINV : longWord;
  2252. I2C4MSKINV : longWord;
  2253. I2C2ABRG : longWord;
  2254. I2C4BRG : longWord;
  2255. I2C2ABRGCLR : longWord;
  2256. I2C4BRGCLR : longWord;
  2257. I2C2ABRGSET : longWord;
  2258. I2C4BRGSET : longWord;
  2259. I2C2ABRGINV : longWord;
  2260. I2C4BRGINV : longWord;
  2261. I2C2ATRN : longWord;
  2262. I2C4TRN : longWord;
  2263. I2C2ATRNCLR : longWord;
  2264. I2C4TRNCLR : longWord;
  2265. I2C2ATRNSET : longWord;
  2266. I2C4TRNSET : longWord;
  2267. I2C2ATRNINV : longWord;
  2268. I2C4TRNINV : longWord;
  2269. I2C2ARCV : longWord;
  2270. I2C4RCV : longWord;
  2271. end;
  2272. TI2C5_I2C3ACON = record
  2273. private
  2274. function getA10M : TBits_1; inline;
  2275. function getACKDT : TBits_1; inline;
  2276. function getACKEN : TBits_1; inline;
  2277. function getDISSLW : TBits_1; inline;
  2278. function getGCEN : TBits_1; inline;
  2279. function getI2CEN : TBits_1; inline;
  2280. function getI2CSIDL : TBits_1; inline;
  2281. function getIPMIEN : TBits_1; inline;
  2282. function getON : TBits_1; inline;
  2283. function getPEN : TBits_1; inline;
  2284. function getRCEN : TBits_1; inline;
  2285. function getRSEN : TBits_1; inline;
  2286. function getSCLREL : TBits_1; inline;
  2287. function getSEN : TBits_1; inline;
  2288. function getSIDL : TBits_1; inline;
  2289. function getSMEN : TBits_1; inline;
  2290. function getSTREN : TBits_1; inline;
  2291. function getSTRICT : TBits_1; inline;
  2292. function getw : TBits_32; inline;
  2293. procedure setA10M(thebits : TBits_1); inline;
  2294. procedure setACKDT(thebits : TBits_1); inline;
  2295. procedure setACKEN(thebits : TBits_1); inline;
  2296. procedure setDISSLW(thebits : TBits_1); inline;
  2297. procedure setGCEN(thebits : TBits_1); inline;
  2298. procedure setI2CEN(thebits : TBits_1); inline;
  2299. procedure setI2CSIDL(thebits : TBits_1); inline;
  2300. procedure setIPMIEN(thebits : TBits_1); inline;
  2301. procedure setON(thebits : TBits_1); inline;
  2302. procedure setPEN(thebits : TBits_1); inline;
  2303. procedure setRCEN(thebits : TBits_1); inline;
  2304. procedure setRSEN(thebits : TBits_1); inline;
  2305. procedure setSCLREL(thebits : TBits_1); inline;
  2306. procedure setSEN(thebits : TBits_1); inline;
  2307. procedure setSIDL(thebits : TBits_1); inline;
  2308. procedure setSMEN(thebits : TBits_1); inline;
  2309. procedure setSTREN(thebits : TBits_1); inline;
  2310. procedure setSTRICT(thebits : TBits_1); inline;
  2311. procedure setw(thebits : TBits_32); inline;
  2312. public
  2313. procedure clearA10M; inline;
  2314. procedure clearACKDT; inline;
  2315. procedure clearACKEN; inline;
  2316. procedure clearDISSLW; inline;
  2317. procedure clearGCEN; inline;
  2318. procedure clearI2CEN; inline;
  2319. procedure clearI2CSIDL; inline;
  2320. procedure clearIPMIEN; inline;
  2321. procedure clearON; inline;
  2322. procedure clearPEN; inline;
  2323. procedure clearRCEN; inline;
  2324. procedure clearRSEN; inline;
  2325. procedure clearSCLREL; inline;
  2326. procedure clearSEN; inline;
  2327. procedure clearSIDL; inline;
  2328. procedure clearSMEN; inline;
  2329. procedure clearSTREN; inline;
  2330. procedure clearSTRICT; inline;
  2331. procedure setA10M; inline;
  2332. procedure setACKDT; inline;
  2333. procedure setACKEN; inline;
  2334. procedure setDISSLW; inline;
  2335. procedure setGCEN; inline;
  2336. procedure setI2CEN; inline;
  2337. procedure setI2CSIDL; inline;
  2338. procedure setIPMIEN; inline;
  2339. procedure setON; inline;
  2340. procedure setPEN; inline;
  2341. procedure setRCEN; inline;
  2342. procedure setRSEN; inline;
  2343. procedure setSCLREL; inline;
  2344. procedure setSEN; inline;
  2345. procedure setSIDL; inline;
  2346. procedure setSMEN; inline;
  2347. procedure setSTREN; inline;
  2348. procedure setSTRICT; inline;
  2349. property A10M : TBits_1 read getA10M write setA10M;
  2350. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2351. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2352. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2353. property GCEN : TBits_1 read getGCEN write setGCEN;
  2354. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2355. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2356. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2357. property ON : TBits_1 read getON write setON;
  2358. property PEN : TBits_1 read getPEN write setPEN;
  2359. property RCEN : TBits_1 read getRCEN write setRCEN;
  2360. property RSEN : TBits_1 read getRSEN write setRSEN;
  2361. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2362. property SEN : TBits_1 read getSEN write setSEN;
  2363. property SIDL : TBits_1 read getSIDL write setSIDL;
  2364. property SMEN : TBits_1 read getSMEN write setSMEN;
  2365. property STREN : TBits_1 read getSTREN write setSTREN;
  2366. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2367. property w : TBits_32 read getw write setw;
  2368. end;
  2369. TI2C5_I2C5CON = record
  2370. private
  2371. function getA10M : TBits_1; inline;
  2372. function getACKDT : TBits_1; inline;
  2373. function getACKEN : TBits_1; inline;
  2374. function getDISSLW : TBits_1; inline;
  2375. function getGCEN : TBits_1; inline;
  2376. function getI2CEN : TBits_1; inline;
  2377. function getI2CSIDL : TBits_1; inline;
  2378. function getIPMIEN : TBits_1; inline;
  2379. function getON : TBits_1; inline;
  2380. function getPEN : TBits_1; inline;
  2381. function getRCEN : TBits_1; inline;
  2382. function getRSEN : TBits_1; inline;
  2383. function getSCLREL : TBits_1; inline;
  2384. function getSEN : TBits_1; inline;
  2385. function getSIDL : TBits_1; inline;
  2386. function getSMEN : TBits_1; inline;
  2387. function getSTREN : TBits_1; inline;
  2388. function getSTRICT : TBits_1; inline;
  2389. function getw : TBits_32; inline;
  2390. procedure setA10M(thebits : TBits_1); inline;
  2391. procedure setACKDT(thebits : TBits_1); inline;
  2392. procedure setACKEN(thebits : TBits_1); inline;
  2393. procedure setDISSLW(thebits : TBits_1); inline;
  2394. procedure setGCEN(thebits : TBits_1); inline;
  2395. procedure setI2CEN(thebits : TBits_1); inline;
  2396. procedure setI2CSIDL(thebits : TBits_1); inline;
  2397. procedure setIPMIEN(thebits : TBits_1); inline;
  2398. procedure setON(thebits : TBits_1); inline;
  2399. procedure setPEN(thebits : TBits_1); inline;
  2400. procedure setRCEN(thebits : TBits_1); inline;
  2401. procedure setRSEN(thebits : TBits_1); inline;
  2402. procedure setSCLREL(thebits : TBits_1); inline;
  2403. procedure setSEN(thebits : TBits_1); inline;
  2404. procedure setSIDL(thebits : TBits_1); inline;
  2405. procedure setSMEN(thebits : TBits_1); inline;
  2406. procedure setSTREN(thebits : TBits_1); inline;
  2407. procedure setSTRICT(thebits : TBits_1); inline;
  2408. procedure setw(thebits : TBits_32); inline;
  2409. public
  2410. procedure clearA10M; inline;
  2411. procedure clearACKDT; inline;
  2412. procedure clearACKEN; inline;
  2413. procedure clearDISSLW; inline;
  2414. procedure clearGCEN; inline;
  2415. procedure clearI2CEN; inline;
  2416. procedure clearI2CSIDL; inline;
  2417. procedure clearIPMIEN; inline;
  2418. procedure clearON; inline;
  2419. procedure clearPEN; inline;
  2420. procedure clearRCEN; inline;
  2421. procedure clearRSEN; inline;
  2422. procedure clearSCLREL; inline;
  2423. procedure clearSEN; inline;
  2424. procedure clearSIDL; inline;
  2425. procedure clearSMEN; inline;
  2426. procedure clearSTREN; inline;
  2427. procedure clearSTRICT; inline;
  2428. procedure setA10M; inline;
  2429. procedure setACKDT; inline;
  2430. procedure setACKEN; inline;
  2431. procedure setDISSLW; inline;
  2432. procedure setGCEN; inline;
  2433. procedure setI2CEN; inline;
  2434. procedure setI2CSIDL; inline;
  2435. procedure setIPMIEN; inline;
  2436. procedure setON; inline;
  2437. procedure setPEN; inline;
  2438. procedure setRCEN; inline;
  2439. procedure setRSEN; inline;
  2440. procedure setSCLREL; inline;
  2441. procedure setSEN; inline;
  2442. procedure setSIDL; inline;
  2443. procedure setSMEN; inline;
  2444. procedure setSTREN; inline;
  2445. procedure setSTRICT; inline;
  2446. property A10M : TBits_1 read getA10M write setA10M;
  2447. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2448. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2449. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2450. property GCEN : TBits_1 read getGCEN write setGCEN;
  2451. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2452. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2453. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2454. property ON : TBits_1 read getON write setON;
  2455. property PEN : TBits_1 read getPEN write setPEN;
  2456. property RCEN : TBits_1 read getRCEN write setRCEN;
  2457. property RSEN : TBits_1 read getRSEN write setRSEN;
  2458. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2459. property SEN : TBits_1 read getSEN write setSEN;
  2460. property SIDL : TBits_1 read getSIDL write setSIDL;
  2461. property SMEN : TBits_1 read getSMEN write setSMEN;
  2462. property STREN : TBits_1 read getSTREN write setSTREN;
  2463. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2464. property w : TBits_32 read getw write setw;
  2465. end;
  2466. TI2C5_I2C3ASTAT = record
  2467. private
  2468. function getACKSTAT : TBits_1; inline;
  2469. function getADD10 : TBits_1; inline;
  2470. function getBCL : TBits_1; inline;
  2471. function getD_A : TBits_1; inline;
  2472. function getGCSTAT : TBits_1; inline;
  2473. function getI2COV : TBits_1; inline;
  2474. function getI2CPOV : TBits_1; inline;
  2475. function getIWCOL : TBits_1; inline;
  2476. function getP : TBits_1; inline;
  2477. function getRBF : TBits_1; inline;
  2478. function getR_W : TBits_1; inline;
  2479. function getS : TBits_1; inline;
  2480. function getTBF : TBits_1; inline;
  2481. function getTRSTAT : TBits_1; inline;
  2482. function getw : TBits_32; inline;
  2483. procedure setACKSTAT(thebits : TBits_1); inline;
  2484. procedure setADD10(thebits : TBits_1); inline;
  2485. procedure setBCL(thebits : TBits_1); inline;
  2486. procedure setD_A(thebits : TBits_1); inline;
  2487. procedure setGCSTAT(thebits : TBits_1); inline;
  2488. procedure setI2COV(thebits : TBits_1); inline;
  2489. procedure setI2CPOV(thebits : TBits_1); inline;
  2490. procedure setIWCOL(thebits : TBits_1); inline;
  2491. procedure setP(thebits : TBits_1); inline;
  2492. procedure setRBF(thebits : TBits_1); inline;
  2493. procedure setR_W(thebits : TBits_1); inline;
  2494. procedure setS(thebits : TBits_1); inline;
  2495. procedure setTBF(thebits : TBits_1); inline;
  2496. procedure setTRSTAT(thebits : TBits_1); inline;
  2497. procedure setw(thebits : TBits_32); inline;
  2498. public
  2499. procedure clearACKSTAT; inline;
  2500. procedure clearADD10; inline;
  2501. procedure clearBCL; inline;
  2502. procedure clearD_A; inline;
  2503. procedure clearGCSTAT; inline;
  2504. procedure clearI2COV; inline;
  2505. procedure clearI2CPOV; inline;
  2506. procedure clearIWCOL; inline;
  2507. procedure clearP; inline;
  2508. procedure clearRBF; inline;
  2509. procedure clearR_W; inline;
  2510. procedure clearS; inline;
  2511. procedure clearTBF; inline;
  2512. procedure clearTRSTAT; inline;
  2513. procedure setACKSTAT; inline;
  2514. procedure setADD10; inline;
  2515. procedure setBCL; inline;
  2516. procedure setD_A; inline;
  2517. procedure setGCSTAT; inline;
  2518. procedure setI2COV; inline;
  2519. procedure setI2CPOV; inline;
  2520. procedure setIWCOL; inline;
  2521. procedure setP; inline;
  2522. procedure setRBF; inline;
  2523. procedure setR_W; inline;
  2524. procedure setS; inline;
  2525. procedure setTBF; inline;
  2526. procedure setTRSTAT; inline;
  2527. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2528. property ADD10 : TBits_1 read getADD10 write setADD10;
  2529. property BCL : TBits_1 read getBCL write setBCL;
  2530. property D_A : TBits_1 read getD_A write setD_A;
  2531. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2532. property I2COV : TBits_1 read getI2COV write setI2COV;
  2533. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2534. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2535. property P : TBits_1 read getP write setP;
  2536. property RBF : TBits_1 read getRBF write setRBF;
  2537. property R_W : TBits_1 read getR_W write setR_W;
  2538. property S : TBits_1 read getS write setS;
  2539. property TBF : TBits_1 read getTBF write setTBF;
  2540. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2541. property w : TBits_32 read getw write setw;
  2542. end;
  2543. TI2C5_I2C5STAT = record
  2544. private
  2545. function getACKSTAT : TBits_1; inline;
  2546. function getADD10 : TBits_1; inline;
  2547. function getBCL : TBits_1; inline;
  2548. function getD_A : TBits_1; inline;
  2549. function getGCSTAT : TBits_1; inline;
  2550. function getI2COV : TBits_1; inline;
  2551. function getI2CPOV : TBits_1; inline;
  2552. function getIWCOL : TBits_1; inline;
  2553. function getP : TBits_1; inline;
  2554. function getRBF : TBits_1; inline;
  2555. function getR_W : TBits_1; inline;
  2556. function getS : TBits_1; inline;
  2557. function getTBF : TBits_1; inline;
  2558. function getTRSTAT : TBits_1; inline;
  2559. function getw : TBits_32; inline;
  2560. procedure setACKSTAT(thebits : TBits_1); inline;
  2561. procedure setADD10(thebits : TBits_1); inline;
  2562. procedure setBCL(thebits : TBits_1); inline;
  2563. procedure setD_A(thebits : TBits_1); inline;
  2564. procedure setGCSTAT(thebits : TBits_1); inline;
  2565. procedure setI2COV(thebits : TBits_1); inline;
  2566. procedure setI2CPOV(thebits : TBits_1); inline;
  2567. procedure setIWCOL(thebits : TBits_1); inline;
  2568. procedure setP(thebits : TBits_1); inline;
  2569. procedure setRBF(thebits : TBits_1); inline;
  2570. procedure setR_W(thebits : TBits_1); inline;
  2571. procedure setS(thebits : TBits_1); inline;
  2572. procedure setTBF(thebits : TBits_1); inline;
  2573. procedure setTRSTAT(thebits : TBits_1); inline;
  2574. procedure setw(thebits : TBits_32); inline;
  2575. public
  2576. procedure clearACKSTAT; inline;
  2577. procedure clearADD10; inline;
  2578. procedure clearBCL; inline;
  2579. procedure clearD_A; inline;
  2580. procedure clearGCSTAT; inline;
  2581. procedure clearI2COV; inline;
  2582. procedure clearI2CPOV; inline;
  2583. procedure clearIWCOL; inline;
  2584. procedure clearP; inline;
  2585. procedure clearRBF; inline;
  2586. procedure clearR_W; inline;
  2587. procedure clearS; inline;
  2588. procedure clearTBF; inline;
  2589. procedure clearTRSTAT; inline;
  2590. procedure setACKSTAT; inline;
  2591. procedure setADD10; inline;
  2592. procedure setBCL; inline;
  2593. procedure setD_A; inline;
  2594. procedure setGCSTAT; inline;
  2595. procedure setI2COV; inline;
  2596. procedure setI2CPOV; inline;
  2597. procedure setIWCOL; inline;
  2598. procedure setP; inline;
  2599. procedure setRBF; inline;
  2600. procedure setR_W; inline;
  2601. procedure setS; inline;
  2602. procedure setTBF; inline;
  2603. procedure setTRSTAT; inline;
  2604. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2605. property ADD10 : TBits_1 read getADD10 write setADD10;
  2606. property BCL : TBits_1 read getBCL write setBCL;
  2607. property D_A : TBits_1 read getD_A write setD_A;
  2608. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2609. property I2COV : TBits_1 read getI2COV write setI2COV;
  2610. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2611. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2612. property P : TBits_1 read getP write setP;
  2613. property RBF : TBits_1 read getRBF write setRBF;
  2614. property R_W : TBits_1 read getR_W write setR_W;
  2615. property S : TBits_1 read getS write setS;
  2616. property TBF : TBits_1 read getTBF write setTBF;
  2617. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2618. property w : TBits_32 read getw write setw;
  2619. end;
  2620. type
  2621. TI2C5Registers = record
  2622. I2C3ACONbits : TI2C5_I2C3ACON;
  2623. I2C3ACON : longWord;
  2624. I2C5CONbits : TI2C5_I2C5CON;
  2625. I2C5CON : longWord;
  2626. I2C3ACONCLR : longWord;
  2627. I2C5CONCLR : longWord;
  2628. I2C3ACONSET : longWord;
  2629. I2C5CONSET : longWord;
  2630. I2C3ACONINV : longWord;
  2631. I2C5CONINV : longWord;
  2632. I2C3ASTATbits : TI2C5_I2C3ASTAT;
  2633. I2C3ASTAT : longWord;
  2634. I2C5STATbits : TI2C5_I2C5STAT;
  2635. I2C5STAT : longWord;
  2636. I2C3ASTATCLR : longWord;
  2637. I2C5STATCLR : longWord;
  2638. I2C3ASTATSET : longWord;
  2639. I2C5STATSET : longWord;
  2640. I2C3ASTATINV : longWord;
  2641. I2C5STATINV : longWord;
  2642. I2C3AADD : longWord;
  2643. I2C5ADD : longWord;
  2644. I2C3AADDCLR : longWord;
  2645. I2C5ADDCLR : longWord;
  2646. I2C3AADDSET : longWord;
  2647. I2C5ADDSET : longWord;
  2648. I2C3AADDINV : longWord;
  2649. I2C5ADDINV : longWord;
  2650. I2C3AMSK : longWord;
  2651. I2C5MSK : longWord;
  2652. I2C3AMSKCLR : longWord;
  2653. I2C5MSKCLR : longWord;
  2654. I2C3AMSKSET : longWord;
  2655. I2C5MSKSET : longWord;
  2656. I2C3AMSKINV : longWord;
  2657. I2C5MSKINV : longWord;
  2658. I2C3ABRG : longWord;
  2659. I2C5BRG : longWord;
  2660. I2C3ABRGCLR : longWord;
  2661. I2C5BRGCLR : longWord;
  2662. I2C3ABRGSET : longWord;
  2663. I2C5BRGSET : longWord;
  2664. I2C3ABRGINV : longWord;
  2665. I2C5BRGINV : longWord;
  2666. I2C3ATRN : longWord;
  2667. I2C5TRN : longWord;
  2668. I2C3ATRNCLR : longWord;
  2669. I2C5TRNCLR : longWord;
  2670. I2C3ATRNSET : longWord;
  2671. I2C5TRNSET : longWord;
  2672. I2C3ATRNINV : longWord;
  2673. I2C5TRNINV : longWord;
  2674. I2C3ARCV : longWord;
  2675. I2C5RCV : longWord;
  2676. end;
  2677. TI2C1_I2C1CON = record
  2678. private
  2679. function getA10M : TBits_1; inline;
  2680. function getACKDT : TBits_1; inline;
  2681. function getACKEN : TBits_1; inline;
  2682. function getDISSLW : TBits_1; inline;
  2683. function getGCEN : TBits_1; inline;
  2684. function getI2CEN : TBits_1; inline;
  2685. function getI2CSIDL : TBits_1; inline;
  2686. function getIPMIEN : TBits_1; inline;
  2687. function getON : TBits_1; inline;
  2688. function getPEN : TBits_1; inline;
  2689. function getRCEN : TBits_1; inline;
  2690. function getRSEN : TBits_1; inline;
  2691. function getSCLREL : TBits_1; inline;
  2692. function getSEN : TBits_1; inline;
  2693. function getSIDL : TBits_1; inline;
  2694. function getSMEN : TBits_1; inline;
  2695. function getSTREN : TBits_1; inline;
  2696. function getSTRICT : TBits_1; inline;
  2697. function getw : TBits_32; inline;
  2698. procedure setA10M(thebits : TBits_1); inline;
  2699. procedure setACKDT(thebits : TBits_1); inline;
  2700. procedure setACKEN(thebits : TBits_1); inline;
  2701. procedure setDISSLW(thebits : TBits_1); inline;
  2702. procedure setGCEN(thebits : TBits_1); inline;
  2703. procedure setI2CEN(thebits : TBits_1); inline;
  2704. procedure setI2CSIDL(thebits : TBits_1); inline;
  2705. procedure setIPMIEN(thebits : TBits_1); inline;
  2706. procedure setON(thebits : TBits_1); inline;
  2707. procedure setPEN(thebits : TBits_1); inline;
  2708. procedure setRCEN(thebits : TBits_1); inline;
  2709. procedure setRSEN(thebits : TBits_1); inline;
  2710. procedure setSCLREL(thebits : TBits_1); inline;
  2711. procedure setSEN(thebits : TBits_1); inline;
  2712. procedure setSIDL(thebits : TBits_1); inline;
  2713. procedure setSMEN(thebits : TBits_1); inline;
  2714. procedure setSTREN(thebits : TBits_1); inline;
  2715. procedure setSTRICT(thebits : TBits_1); inline;
  2716. procedure setw(thebits : TBits_32); inline;
  2717. public
  2718. procedure clearA10M; inline;
  2719. procedure clearACKDT; inline;
  2720. procedure clearACKEN; inline;
  2721. procedure clearDISSLW; inline;
  2722. procedure clearGCEN; inline;
  2723. procedure clearI2CEN; inline;
  2724. procedure clearI2CSIDL; inline;
  2725. procedure clearIPMIEN; inline;
  2726. procedure clearON; inline;
  2727. procedure clearPEN; inline;
  2728. procedure clearRCEN; inline;
  2729. procedure clearRSEN; inline;
  2730. procedure clearSCLREL; inline;
  2731. procedure clearSEN; inline;
  2732. procedure clearSIDL; inline;
  2733. procedure clearSMEN; inline;
  2734. procedure clearSTREN; inline;
  2735. procedure clearSTRICT; inline;
  2736. procedure setA10M; inline;
  2737. procedure setACKDT; inline;
  2738. procedure setACKEN; inline;
  2739. procedure setDISSLW; inline;
  2740. procedure setGCEN; inline;
  2741. procedure setI2CEN; inline;
  2742. procedure setI2CSIDL; inline;
  2743. procedure setIPMIEN; inline;
  2744. procedure setON; inline;
  2745. procedure setPEN; inline;
  2746. procedure setRCEN; inline;
  2747. procedure setRSEN; inline;
  2748. procedure setSCLREL; inline;
  2749. procedure setSEN; inline;
  2750. procedure setSIDL; inline;
  2751. procedure setSMEN; inline;
  2752. procedure setSTREN; inline;
  2753. procedure setSTRICT; inline;
  2754. property A10M : TBits_1 read getA10M write setA10M;
  2755. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2756. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2757. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2758. property GCEN : TBits_1 read getGCEN write setGCEN;
  2759. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2760. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2761. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2762. property ON : TBits_1 read getON write setON;
  2763. property PEN : TBits_1 read getPEN write setPEN;
  2764. property RCEN : TBits_1 read getRCEN write setRCEN;
  2765. property RSEN : TBits_1 read getRSEN write setRSEN;
  2766. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2767. property SEN : TBits_1 read getSEN write setSEN;
  2768. property SIDL : TBits_1 read getSIDL write setSIDL;
  2769. property SMEN : TBits_1 read getSMEN write setSMEN;
  2770. property STREN : TBits_1 read getSTREN write setSTREN;
  2771. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2772. property w : TBits_32 read getw write setw;
  2773. end;
  2774. TI2C1_I2C1STAT = record
  2775. private
  2776. function getACKSTAT : TBits_1; inline;
  2777. function getADD10 : TBits_1; inline;
  2778. function getBCL : TBits_1; inline;
  2779. function getD_A : TBits_1; inline;
  2780. function getGCSTAT : TBits_1; inline;
  2781. function getI2COV : TBits_1; inline;
  2782. function getI2CPOV : TBits_1; inline;
  2783. function getIWCOL : TBits_1; inline;
  2784. function getP : TBits_1; inline;
  2785. function getRBF : TBits_1; inline;
  2786. function getR_W : TBits_1; inline;
  2787. function getS : TBits_1; inline;
  2788. function getTBF : TBits_1; inline;
  2789. function getTRSTAT : TBits_1; inline;
  2790. function getw : TBits_32; inline;
  2791. procedure setACKSTAT(thebits : TBits_1); inline;
  2792. procedure setADD10(thebits : TBits_1); inline;
  2793. procedure setBCL(thebits : TBits_1); inline;
  2794. procedure setD_A(thebits : TBits_1); inline;
  2795. procedure setGCSTAT(thebits : TBits_1); inline;
  2796. procedure setI2COV(thebits : TBits_1); inline;
  2797. procedure setI2CPOV(thebits : TBits_1); inline;
  2798. procedure setIWCOL(thebits : TBits_1); inline;
  2799. procedure setP(thebits : TBits_1); inline;
  2800. procedure setRBF(thebits : TBits_1); inline;
  2801. procedure setR_W(thebits : TBits_1); inline;
  2802. procedure setS(thebits : TBits_1); inline;
  2803. procedure setTBF(thebits : TBits_1); inline;
  2804. procedure setTRSTAT(thebits : TBits_1); inline;
  2805. procedure setw(thebits : TBits_32); inline;
  2806. public
  2807. procedure clearACKSTAT; inline;
  2808. procedure clearADD10; inline;
  2809. procedure clearBCL; inline;
  2810. procedure clearD_A; inline;
  2811. procedure clearGCSTAT; inline;
  2812. procedure clearI2COV; inline;
  2813. procedure clearI2CPOV; inline;
  2814. procedure clearIWCOL; inline;
  2815. procedure clearP; inline;
  2816. procedure clearRBF; inline;
  2817. procedure clearR_W; inline;
  2818. procedure clearS; inline;
  2819. procedure clearTBF; inline;
  2820. procedure clearTRSTAT; inline;
  2821. procedure setACKSTAT; inline;
  2822. procedure setADD10; inline;
  2823. procedure setBCL; inline;
  2824. procedure setD_A; inline;
  2825. procedure setGCSTAT; inline;
  2826. procedure setI2COV; inline;
  2827. procedure setI2CPOV; inline;
  2828. procedure setIWCOL; inline;
  2829. procedure setP; inline;
  2830. procedure setRBF; inline;
  2831. procedure setR_W; inline;
  2832. procedure setS; inline;
  2833. procedure setTBF; inline;
  2834. procedure setTRSTAT; inline;
  2835. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2836. property ADD10 : TBits_1 read getADD10 write setADD10;
  2837. property BCL : TBits_1 read getBCL write setBCL;
  2838. property D_A : TBits_1 read getD_A write setD_A;
  2839. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2840. property I2COV : TBits_1 read getI2COV write setI2COV;
  2841. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2842. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2843. property P : TBits_1 read getP write setP;
  2844. property RBF : TBits_1 read getRBF write setRBF;
  2845. property R_W : TBits_1 read getR_W write setR_W;
  2846. property S : TBits_1 read getS write setS;
  2847. property TBF : TBits_1 read getTBF write setTBF;
  2848. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2849. property w : TBits_32 read getw write setw;
  2850. end;
  2851. type
  2852. TI2C1Registers = record
  2853. I2C1CONbits : TI2C1_I2C1CON;
  2854. I2C1CON : longWord;
  2855. I2C1CONCLR : longWord;
  2856. I2C1CONSET : longWord;
  2857. I2C1CONINV : longWord;
  2858. I2C1STATbits : TI2C1_I2C1STAT;
  2859. I2C1STAT : longWord;
  2860. I2C1STATCLR : longWord;
  2861. I2C1STATSET : longWord;
  2862. I2C1STATINV : longWord;
  2863. I2C1ADD : longWord;
  2864. I2C1ADDCLR : longWord;
  2865. I2C1ADDSET : longWord;
  2866. I2C1ADDINV : longWord;
  2867. I2C1MSK : longWord;
  2868. I2C1MSKCLR : longWord;
  2869. I2C1MSKSET : longWord;
  2870. I2C1MSKINV : longWord;
  2871. I2C1BRG : longWord;
  2872. I2C1BRGCLR : longWord;
  2873. I2C1BRGSET : longWord;
  2874. I2C1BRGINV : longWord;
  2875. I2C1TRN : longWord;
  2876. I2C1TRNCLR : longWord;
  2877. I2C1TRNSET : longWord;
  2878. I2C1TRNINV : longWord;
  2879. I2C1RCV : longWord;
  2880. end;
  2881. TSPI3_SPI1ACON = record
  2882. private
  2883. function getCKE : TBits_1; inline;
  2884. function getCKP : TBits_1; inline;
  2885. function getDISSDO : TBits_1; inline;
  2886. function getENHBUF : TBits_1; inline;
  2887. function getFRMCNT : TBits_3; inline;
  2888. function getFRMEN : TBits_1; inline;
  2889. function getFRMPOL : TBits_1; inline;
  2890. function getFRMSYNC : TBits_1; inline;
  2891. function getFRMSYPW : TBits_1; inline;
  2892. function getMODE16 : TBits_1; inline;
  2893. function getMODE32 : TBits_1; inline;
  2894. function getMSSEN : TBits_1; inline;
  2895. function getMSTEN : TBits_1; inline;
  2896. function getON : TBits_1; inline;
  2897. function getSIDL : TBits_1; inline;
  2898. function getSMP : TBits_1; inline;
  2899. function getSPIFE : TBits_1; inline;
  2900. function getSRXISEL : TBits_2; inline;
  2901. function getSSEN : TBits_1; inline;
  2902. function getSTXISEL : TBits_2; inline;
  2903. function getw : TBits_32; inline;
  2904. procedure setCKE(thebits : TBits_1); inline;
  2905. procedure setCKP(thebits : TBits_1); inline;
  2906. procedure setDISSDO(thebits : TBits_1); inline;
  2907. procedure setENHBUF(thebits : TBits_1); inline;
  2908. procedure setFRMCNT(thebits : TBits_3); inline;
  2909. procedure setFRMEN(thebits : TBits_1); inline;
  2910. procedure setFRMPOL(thebits : TBits_1); inline;
  2911. procedure setFRMSYNC(thebits : TBits_1); inline;
  2912. procedure setFRMSYPW(thebits : TBits_1); inline;
  2913. procedure setMODE16(thebits : TBits_1); inline;
  2914. procedure setMODE32(thebits : TBits_1); inline;
  2915. procedure setMSSEN(thebits : TBits_1); inline;
  2916. procedure setMSTEN(thebits : TBits_1); inline;
  2917. procedure setON(thebits : TBits_1); inline;
  2918. procedure setSIDL(thebits : TBits_1); inline;
  2919. procedure setSMP(thebits : TBits_1); inline;
  2920. procedure setSPIFE(thebits : TBits_1); inline;
  2921. procedure setSRXISEL(thebits : TBits_2); inline;
  2922. procedure setSSEN(thebits : TBits_1); inline;
  2923. procedure setSTXISEL(thebits : TBits_2); inline;
  2924. procedure setw(thebits : TBits_32); inline;
  2925. public
  2926. procedure clearCKE; inline;
  2927. procedure clearCKP; inline;
  2928. procedure clearDISSDO; inline;
  2929. procedure clearENHBUF; inline;
  2930. procedure clearFRMEN; inline;
  2931. procedure clearFRMPOL; inline;
  2932. procedure clearFRMSYNC; inline;
  2933. procedure clearFRMSYPW; inline;
  2934. procedure clearMODE16; inline;
  2935. procedure clearMODE32; inline;
  2936. procedure clearMSSEN; inline;
  2937. procedure clearMSTEN; inline;
  2938. procedure clearON; inline;
  2939. procedure clearSIDL; inline;
  2940. procedure clearSMP; inline;
  2941. procedure clearSPIFE; inline;
  2942. procedure clearSSEN; inline;
  2943. procedure setCKE; inline;
  2944. procedure setCKP; inline;
  2945. procedure setDISSDO; inline;
  2946. procedure setENHBUF; inline;
  2947. procedure setFRMEN; inline;
  2948. procedure setFRMPOL; inline;
  2949. procedure setFRMSYNC; inline;
  2950. procedure setFRMSYPW; inline;
  2951. procedure setMODE16; inline;
  2952. procedure setMODE32; inline;
  2953. procedure setMSSEN; inline;
  2954. procedure setMSTEN; inline;
  2955. procedure setON; inline;
  2956. procedure setSIDL; inline;
  2957. procedure setSMP; inline;
  2958. procedure setSPIFE; inline;
  2959. procedure setSSEN; inline;
  2960. property CKE : TBits_1 read getCKE write setCKE;
  2961. property CKP : TBits_1 read getCKP write setCKP;
  2962. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2963. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2964. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2965. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2966. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2967. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2968. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2969. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2970. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2971. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2972. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2973. property ON : TBits_1 read getON write setON;
  2974. property SIDL : TBits_1 read getSIDL write setSIDL;
  2975. property SMP : TBits_1 read getSMP write setSMP;
  2976. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2977. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2978. property SSEN : TBits_1 read getSSEN write setSSEN;
  2979. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2980. property w : TBits_32 read getw write setw;
  2981. end;
  2982. TSPI3_SPI3CON = record
  2983. private
  2984. function getCKE : TBits_1; inline;
  2985. function getCKP : TBits_1; inline;
  2986. function getDISSDO : TBits_1; inline;
  2987. function getENHBUF : TBits_1; inline;
  2988. function getFRMCNT : TBits_3; inline;
  2989. function getFRMEN : TBits_1; inline;
  2990. function getFRMPOL : TBits_1; inline;
  2991. function getFRMSYNC : TBits_1; inline;
  2992. function getFRMSYPW : TBits_1; inline;
  2993. function getMODE16 : TBits_1; inline;
  2994. function getMODE32 : TBits_1; inline;
  2995. function getMSSEN : TBits_1; inline;
  2996. function getMSTEN : TBits_1; inline;
  2997. function getON : TBits_1; inline;
  2998. function getSIDL : TBits_1; inline;
  2999. function getSMP : TBits_1; inline;
  3000. function getSPIFE : TBits_1; inline;
  3001. function getSRXISEL : TBits_2; inline;
  3002. function getSSEN : TBits_1; inline;
  3003. function getSTXISEL : TBits_2; inline;
  3004. function getw : TBits_32; inline;
  3005. procedure setCKE(thebits : TBits_1); inline;
  3006. procedure setCKP(thebits : TBits_1); inline;
  3007. procedure setDISSDO(thebits : TBits_1); inline;
  3008. procedure setENHBUF(thebits : TBits_1); inline;
  3009. procedure setFRMCNT(thebits : TBits_3); inline;
  3010. procedure setFRMEN(thebits : TBits_1); inline;
  3011. procedure setFRMPOL(thebits : TBits_1); inline;
  3012. procedure setFRMSYNC(thebits : TBits_1); inline;
  3013. procedure setFRMSYPW(thebits : TBits_1); inline;
  3014. procedure setMODE16(thebits : TBits_1); inline;
  3015. procedure setMODE32(thebits : TBits_1); inline;
  3016. procedure setMSSEN(thebits : TBits_1); inline;
  3017. procedure setMSTEN(thebits : TBits_1); inline;
  3018. procedure setON(thebits : TBits_1); inline;
  3019. procedure setSIDL(thebits : TBits_1); inline;
  3020. procedure setSMP(thebits : TBits_1); inline;
  3021. procedure setSPIFE(thebits : TBits_1); inline;
  3022. procedure setSRXISEL(thebits : TBits_2); inline;
  3023. procedure setSSEN(thebits : TBits_1); inline;
  3024. procedure setSTXISEL(thebits : TBits_2); inline;
  3025. procedure setw(thebits : TBits_32); inline;
  3026. public
  3027. procedure clearCKE; inline;
  3028. procedure clearCKP; inline;
  3029. procedure clearDISSDO; inline;
  3030. procedure clearENHBUF; inline;
  3031. procedure clearFRMEN; inline;
  3032. procedure clearFRMPOL; inline;
  3033. procedure clearFRMSYNC; inline;
  3034. procedure clearFRMSYPW; inline;
  3035. procedure clearMODE16; inline;
  3036. procedure clearMODE32; inline;
  3037. procedure clearMSSEN; inline;
  3038. procedure clearMSTEN; inline;
  3039. procedure clearON; inline;
  3040. procedure clearSIDL; inline;
  3041. procedure clearSMP; inline;
  3042. procedure clearSPIFE; inline;
  3043. procedure clearSSEN; inline;
  3044. procedure setCKE; inline;
  3045. procedure setCKP; inline;
  3046. procedure setDISSDO; inline;
  3047. procedure setENHBUF; inline;
  3048. procedure setFRMEN; inline;
  3049. procedure setFRMPOL; inline;
  3050. procedure setFRMSYNC; inline;
  3051. procedure setFRMSYPW; inline;
  3052. procedure setMODE16; inline;
  3053. procedure setMODE32; inline;
  3054. procedure setMSSEN; inline;
  3055. procedure setMSTEN; inline;
  3056. procedure setON; inline;
  3057. procedure setSIDL; inline;
  3058. procedure setSMP; inline;
  3059. procedure setSPIFE; inline;
  3060. procedure setSSEN; inline;
  3061. property CKE : TBits_1 read getCKE write setCKE;
  3062. property CKP : TBits_1 read getCKP write setCKP;
  3063. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3064. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3065. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3066. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3067. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3068. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3069. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3070. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3071. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3072. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3073. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3074. property ON : TBits_1 read getON write setON;
  3075. property SIDL : TBits_1 read getSIDL write setSIDL;
  3076. property SMP : TBits_1 read getSMP write setSMP;
  3077. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3078. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3079. property SSEN : TBits_1 read getSSEN write setSSEN;
  3080. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3081. property w : TBits_32 read getw write setw;
  3082. end;
  3083. TSPI3_SPI1ASTAT = record
  3084. private
  3085. function getRXBUFELM : TBits_5; inline;
  3086. function getSPIBUSY : TBits_1; inline;
  3087. function getSPIRBE : TBits_1; inline;
  3088. function getSPIRBF : TBits_1; inline;
  3089. function getSPIROV : TBits_1; inline;
  3090. function getSPITBE : TBits_1; inline;
  3091. function getSPITBF : TBits_1; inline;
  3092. function getSPITUR : TBits_1; inline;
  3093. function getSRMT : TBits_1; inline;
  3094. function getTXBUFELM : TBits_5; inline;
  3095. function getw : TBits_32; inline;
  3096. procedure setRXBUFELM(thebits : TBits_5); inline;
  3097. procedure setSPIBUSY(thebits : TBits_1); inline;
  3098. procedure setSPIRBE(thebits : TBits_1); inline;
  3099. procedure setSPIRBF(thebits : TBits_1); inline;
  3100. procedure setSPIROV(thebits : TBits_1); inline;
  3101. procedure setSPITBE(thebits : TBits_1); inline;
  3102. procedure setSPITBF(thebits : TBits_1); inline;
  3103. procedure setSPITUR(thebits : TBits_1); inline;
  3104. procedure setSRMT(thebits : TBits_1); inline;
  3105. procedure setTXBUFELM(thebits : TBits_5); inline;
  3106. procedure setw(thebits : TBits_32); inline;
  3107. public
  3108. procedure clearSPIBUSY; inline;
  3109. procedure clearSPIRBE; inline;
  3110. procedure clearSPIRBF; inline;
  3111. procedure clearSPIROV; inline;
  3112. procedure clearSPITBE; inline;
  3113. procedure clearSPITBF; inline;
  3114. procedure clearSPITUR; inline;
  3115. procedure clearSRMT; inline;
  3116. procedure setSPIBUSY; inline;
  3117. procedure setSPIRBE; inline;
  3118. procedure setSPIRBF; inline;
  3119. procedure setSPIROV; inline;
  3120. procedure setSPITBE; inline;
  3121. procedure setSPITBF; inline;
  3122. procedure setSPITUR; inline;
  3123. procedure setSRMT; inline;
  3124. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3125. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3126. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3127. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3128. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3129. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3130. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3131. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3132. property SRMT : TBits_1 read getSRMT write setSRMT;
  3133. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3134. property w : TBits_32 read getw write setw;
  3135. end;
  3136. TSPI3_SPI3STAT = record
  3137. private
  3138. function getRXBUFELM : TBits_5; inline;
  3139. function getSPIBUSY : TBits_1; inline;
  3140. function getSPIRBE : TBits_1; inline;
  3141. function getSPIRBF : TBits_1; inline;
  3142. function getSPIROV : TBits_1; inline;
  3143. function getSPITBE : TBits_1; inline;
  3144. function getSPITBF : TBits_1; inline;
  3145. function getSPITUR : TBits_1; inline;
  3146. function getSRMT : TBits_1; inline;
  3147. function getTXBUFELM : TBits_5; inline;
  3148. function getw : TBits_32; inline;
  3149. procedure setRXBUFELM(thebits : TBits_5); inline;
  3150. procedure setSPIBUSY(thebits : TBits_1); inline;
  3151. procedure setSPIRBE(thebits : TBits_1); inline;
  3152. procedure setSPIRBF(thebits : TBits_1); inline;
  3153. procedure setSPIROV(thebits : TBits_1); inline;
  3154. procedure setSPITBE(thebits : TBits_1); inline;
  3155. procedure setSPITBF(thebits : TBits_1); inline;
  3156. procedure setSPITUR(thebits : TBits_1); inline;
  3157. procedure setSRMT(thebits : TBits_1); inline;
  3158. procedure setTXBUFELM(thebits : TBits_5); inline;
  3159. procedure setw(thebits : TBits_32); inline;
  3160. public
  3161. procedure clearSPIBUSY; inline;
  3162. procedure clearSPIRBE; inline;
  3163. procedure clearSPIRBF; inline;
  3164. procedure clearSPIROV; inline;
  3165. procedure clearSPITBE; inline;
  3166. procedure clearSPITBF; inline;
  3167. procedure clearSPITUR; inline;
  3168. procedure clearSRMT; inline;
  3169. procedure setSPIBUSY; inline;
  3170. procedure setSPIRBE; inline;
  3171. procedure setSPIRBF; inline;
  3172. procedure setSPIROV; inline;
  3173. procedure setSPITBE; inline;
  3174. procedure setSPITBF; inline;
  3175. procedure setSPITUR; inline;
  3176. procedure setSRMT; inline;
  3177. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3178. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3179. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3180. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3181. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3182. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3183. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3184. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3185. property SRMT : TBits_1 read getSRMT write setSRMT;
  3186. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3187. property w : TBits_32 read getw write setw;
  3188. end;
  3189. type
  3190. TSPI3Registers = record
  3191. SPI1ACONbits : TSPI3_SPI1ACON;
  3192. SPI1ACON : longWord;
  3193. SPI3CONbits : TSPI3_SPI3CON;
  3194. SPI3CON : longWord;
  3195. SPI1ACONCLR : longWord;
  3196. SPI3CONCLR : longWord;
  3197. SPI1ACONSET : longWord;
  3198. SPI3CONSET : longWord;
  3199. SPI1ACONINV : longWord;
  3200. SPI3CONINV : longWord;
  3201. SPI1ASTATbits : TSPI3_SPI1ASTAT;
  3202. SPI1ASTAT : longWord;
  3203. SPI3STATbits : TSPI3_SPI3STAT;
  3204. SPI3STAT : longWord;
  3205. SPI1ASTATCLR : longWord;
  3206. SPI3STATCLR : longWord;
  3207. SPI1ASTATSET : longWord;
  3208. SPI3STATSET : longWord;
  3209. SPI1ASTATINV : longWord;
  3210. SPI3STATINV : longWord;
  3211. SPI1ABUF : longWord;
  3212. SPI3BUF : longWord;
  3213. SPI1ABRG : longWord;
  3214. SPI3BRG : longWord;
  3215. SPI1ABRGCLR : longWord;
  3216. SPI3BRGCLR : longWord;
  3217. SPI1ABRGSET : longWord;
  3218. SPI3BRGSET : longWord;
  3219. SPI1ABRGINV : longWord;
  3220. SPI3BRGINV : longWord;
  3221. end;
  3222. TSPI2A_SPI2ACON = record
  3223. private
  3224. function getCKE : TBits_1; inline;
  3225. function getCKP : TBits_1; inline;
  3226. function getDISSDO : TBits_1; inline;
  3227. function getENHBUF : TBits_1; inline;
  3228. function getFRMCNT : TBits_3; inline;
  3229. function getFRMEN : TBits_1; inline;
  3230. function getFRMPOL : TBits_1; inline;
  3231. function getFRMSYNC : TBits_1; inline;
  3232. function getFRMSYPW : TBits_1; inline;
  3233. function getMODE16 : TBits_1; inline;
  3234. function getMODE32 : TBits_1; inline;
  3235. function getMSSEN : TBits_1; inline;
  3236. function getMSTEN : TBits_1; inline;
  3237. function getON : TBits_1; inline;
  3238. function getSIDL : TBits_1; inline;
  3239. function getSMP : TBits_1; inline;
  3240. function getSPIFE : TBits_1; inline;
  3241. function getSRXISEL : TBits_2; inline;
  3242. function getSSEN : TBits_1; inline;
  3243. function getSTXISEL : TBits_2; inline;
  3244. function getw : TBits_32; inline;
  3245. procedure setCKE(thebits : TBits_1); inline;
  3246. procedure setCKP(thebits : TBits_1); inline;
  3247. procedure setDISSDO(thebits : TBits_1); inline;
  3248. procedure setENHBUF(thebits : TBits_1); inline;
  3249. procedure setFRMCNT(thebits : TBits_3); inline;
  3250. procedure setFRMEN(thebits : TBits_1); inline;
  3251. procedure setFRMPOL(thebits : TBits_1); inline;
  3252. procedure setFRMSYNC(thebits : TBits_1); inline;
  3253. procedure setFRMSYPW(thebits : TBits_1); inline;
  3254. procedure setMODE16(thebits : TBits_1); inline;
  3255. procedure setMODE32(thebits : TBits_1); inline;
  3256. procedure setMSSEN(thebits : TBits_1); inline;
  3257. procedure setMSTEN(thebits : TBits_1); inline;
  3258. procedure setON(thebits : TBits_1); inline;
  3259. procedure setSIDL(thebits : TBits_1); inline;
  3260. procedure setSMP(thebits : TBits_1); inline;
  3261. procedure setSPIFE(thebits : TBits_1); inline;
  3262. procedure setSRXISEL(thebits : TBits_2); inline;
  3263. procedure setSSEN(thebits : TBits_1); inline;
  3264. procedure setSTXISEL(thebits : TBits_2); inline;
  3265. procedure setw(thebits : TBits_32); inline;
  3266. public
  3267. procedure clearCKE; inline;
  3268. procedure clearCKP; inline;
  3269. procedure clearDISSDO; inline;
  3270. procedure clearENHBUF; inline;
  3271. procedure clearFRMEN; inline;
  3272. procedure clearFRMPOL; inline;
  3273. procedure clearFRMSYNC; inline;
  3274. procedure clearFRMSYPW; inline;
  3275. procedure clearMODE16; inline;
  3276. procedure clearMODE32; inline;
  3277. procedure clearMSSEN; inline;
  3278. procedure clearMSTEN; inline;
  3279. procedure clearON; inline;
  3280. procedure clearSIDL; inline;
  3281. procedure clearSMP; inline;
  3282. procedure clearSPIFE; inline;
  3283. procedure clearSSEN; inline;
  3284. procedure setCKE; inline;
  3285. procedure setCKP; inline;
  3286. procedure setDISSDO; inline;
  3287. procedure setENHBUF; inline;
  3288. procedure setFRMEN; inline;
  3289. procedure setFRMPOL; inline;
  3290. procedure setFRMSYNC; inline;
  3291. procedure setFRMSYPW; inline;
  3292. procedure setMODE16; inline;
  3293. procedure setMODE32; inline;
  3294. procedure setMSSEN; inline;
  3295. procedure setMSTEN; inline;
  3296. procedure setON; inline;
  3297. procedure setSIDL; inline;
  3298. procedure setSMP; inline;
  3299. procedure setSPIFE; inline;
  3300. procedure setSSEN; inline;
  3301. property CKE : TBits_1 read getCKE write setCKE;
  3302. property CKP : TBits_1 read getCKP write setCKP;
  3303. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3304. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3305. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3306. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3307. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3308. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3309. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3310. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3311. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3312. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3313. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3314. property ON : TBits_1 read getON write setON;
  3315. property SIDL : TBits_1 read getSIDL write setSIDL;
  3316. property SMP : TBits_1 read getSMP write setSMP;
  3317. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3318. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3319. property SSEN : TBits_1 read getSSEN write setSSEN;
  3320. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3321. property w : TBits_32 read getw write setw;
  3322. end;
  3323. TSPI2A_SPI2CON = record
  3324. private
  3325. function getCKE : TBits_1; inline;
  3326. function getCKP : TBits_1; inline;
  3327. function getDISSDO : TBits_1; inline;
  3328. function getENHBUF : TBits_1; inline;
  3329. function getFRMCNT : TBits_3; inline;
  3330. function getFRMEN : TBits_1; inline;
  3331. function getFRMPOL : TBits_1; inline;
  3332. function getFRMSYNC : TBits_1; inline;
  3333. function getFRMSYPW : TBits_1; inline;
  3334. function getMODE16 : TBits_1; inline;
  3335. function getMODE32 : TBits_1; inline;
  3336. function getMSSEN : TBits_1; inline;
  3337. function getMSTEN : TBits_1; inline;
  3338. function getON : TBits_1; inline;
  3339. function getSIDL : TBits_1; inline;
  3340. function getSMP : TBits_1; inline;
  3341. function getSPIFE : TBits_1; inline;
  3342. function getSRXISEL : TBits_2; inline;
  3343. function getSSEN : TBits_1; inline;
  3344. function getSTXISEL : TBits_2; inline;
  3345. function getw : TBits_32; inline;
  3346. procedure setCKE(thebits : TBits_1); inline;
  3347. procedure setCKP(thebits : TBits_1); inline;
  3348. procedure setDISSDO(thebits : TBits_1); inline;
  3349. procedure setENHBUF(thebits : TBits_1); inline;
  3350. procedure setFRMCNT(thebits : TBits_3); inline;
  3351. procedure setFRMEN(thebits : TBits_1); inline;
  3352. procedure setFRMPOL(thebits : TBits_1); inline;
  3353. procedure setFRMSYNC(thebits : TBits_1); inline;
  3354. procedure setFRMSYPW(thebits : TBits_1); inline;
  3355. procedure setMODE16(thebits : TBits_1); inline;
  3356. procedure setMODE32(thebits : TBits_1); inline;
  3357. procedure setMSSEN(thebits : TBits_1); inline;
  3358. procedure setMSTEN(thebits : TBits_1); inline;
  3359. procedure setON(thebits : TBits_1); inline;
  3360. procedure setSIDL(thebits : TBits_1); inline;
  3361. procedure setSMP(thebits : TBits_1); inline;
  3362. procedure setSPIFE(thebits : TBits_1); inline;
  3363. procedure setSRXISEL(thebits : TBits_2); inline;
  3364. procedure setSSEN(thebits : TBits_1); inline;
  3365. procedure setSTXISEL(thebits : TBits_2); inline;
  3366. procedure setw(thebits : TBits_32); inline;
  3367. public
  3368. procedure clearCKE; inline;
  3369. procedure clearCKP; inline;
  3370. procedure clearDISSDO; inline;
  3371. procedure clearENHBUF; inline;
  3372. procedure clearFRMEN; inline;
  3373. procedure clearFRMPOL; inline;
  3374. procedure clearFRMSYNC; inline;
  3375. procedure clearFRMSYPW; inline;
  3376. procedure clearMODE16; inline;
  3377. procedure clearMODE32; inline;
  3378. procedure clearMSSEN; inline;
  3379. procedure clearMSTEN; inline;
  3380. procedure clearON; inline;
  3381. procedure clearSIDL; inline;
  3382. procedure clearSMP; inline;
  3383. procedure clearSPIFE; inline;
  3384. procedure clearSSEN; inline;
  3385. procedure setCKE; inline;
  3386. procedure setCKP; inline;
  3387. procedure setDISSDO; inline;
  3388. procedure setENHBUF; inline;
  3389. procedure setFRMEN; inline;
  3390. procedure setFRMPOL; inline;
  3391. procedure setFRMSYNC; inline;
  3392. procedure setFRMSYPW; inline;
  3393. procedure setMODE16; inline;
  3394. procedure setMODE32; inline;
  3395. procedure setMSSEN; inline;
  3396. procedure setMSTEN; inline;
  3397. procedure setON; inline;
  3398. procedure setSIDL; inline;
  3399. procedure setSMP; inline;
  3400. procedure setSPIFE; inline;
  3401. procedure setSSEN; inline;
  3402. property CKE : TBits_1 read getCKE write setCKE;
  3403. property CKP : TBits_1 read getCKP write setCKP;
  3404. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3405. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3406. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3407. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3408. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3409. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3410. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3411. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3412. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3413. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3414. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3415. property ON : TBits_1 read getON write setON;
  3416. property SIDL : TBits_1 read getSIDL write setSIDL;
  3417. property SMP : TBits_1 read getSMP write setSMP;
  3418. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3419. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3420. property SSEN : TBits_1 read getSSEN write setSSEN;
  3421. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3422. property w : TBits_32 read getw write setw;
  3423. end;
  3424. TSPI2A_SPI2ASTAT = record
  3425. private
  3426. function getRXBUFELM : TBits_5; inline;
  3427. function getSPIBUSY : TBits_1; inline;
  3428. function getSPIRBE : TBits_1; inline;
  3429. function getSPIRBF : TBits_1; inline;
  3430. function getSPIROV : TBits_1; inline;
  3431. function getSPITBE : TBits_1; inline;
  3432. function getSPITBF : TBits_1; inline;
  3433. function getSPITUR : TBits_1; inline;
  3434. function getSRMT : TBits_1; inline;
  3435. function getTXBUFELM : TBits_5; inline;
  3436. function getw : TBits_32; inline;
  3437. procedure setRXBUFELM(thebits : TBits_5); inline;
  3438. procedure setSPIBUSY(thebits : TBits_1); inline;
  3439. procedure setSPIRBE(thebits : TBits_1); inline;
  3440. procedure setSPIRBF(thebits : TBits_1); inline;
  3441. procedure setSPIROV(thebits : TBits_1); inline;
  3442. procedure setSPITBE(thebits : TBits_1); inline;
  3443. procedure setSPITBF(thebits : TBits_1); inline;
  3444. procedure setSPITUR(thebits : TBits_1); inline;
  3445. procedure setSRMT(thebits : TBits_1); inline;
  3446. procedure setTXBUFELM(thebits : TBits_5); inline;
  3447. procedure setw(thebits : TBits_32); inline;
  3448. public
  3449. procedure clearSPIBUSY; inline;
  3450. procedure clearSPIRBE; inline;
  3451. procedure clearSPIRBF; inline;
  3452. procedure clearSPIROV; inline;
  3453. procedure clearSPITBE; inline;
  3454. procedure clearSPITBF; inline;
  3455. procedure clearSPITUR; inline;
  3456. procedure clearSRMT; inline;
  3457. procedure setSPIBUSY; inline;
  3458. procedure setSPIRBE; inline;
  3459. procedure setSPIRBF; inline;
  3460. procedure setSPIROV; inline;
  3461. procedure setSPITBE; inline;
  3462. procedure setSPITBF; inline;
  3463. procedure setSPITUR; inline;
  3464. procedure setSRMT; inline;
  3465. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3466. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3467. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3468. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3469. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3470. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3471. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3472. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3473. property SRMT : TBits_1 read getSRMT write setSRMT;
  3474. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3475. property w : TBits_32 read getw write setw;
  3476. end;
  3477. TSPI2A_SPI2STAT = record
  3478. private
  3479. function getRXBUFELM : TBits_5; inline;
  3480. function getSPIBUSY : TBits_1; inline;
  3481. function getSPIRBE : TBits_1; inline;
  3482. function getSPIRBF : TBits_1; inline;
  3483. function getSPIROV : TBits_1; inline;
  3484. function getSPITBE : TBits_1; inline;
  3485. function getSPITBF : TBits_1; inline;
  3486. function getSPITUR : TBits_1; inline;
  3487. function getSRMT : TBits_1; inline;
  3488. function getTXBUFELM : TBits_5; inline;
  3489. function getw : TBits_32; inline;
  3490. procedure setRXBUFELM(thebits : TBits_5); inline;
  3491. procedure setSPIBUSY(thebits : TBits_1); inline;
  3492. procedure setSPIRBE(thebits : TBits_1); inline;
  3493. procedure setSPIRBF(thebits : TBits_1); inline;
  3494. procedure setSPIROV(thebits : TBits_1); inline;
  3495. procedure setSPITBE(thebits : TBits_1); inline;
  3496. procedure setSPITBF(thebits : TBits_1); inline;
  3497. procedure setSPITUR(thebits : TBits_1); inline;
  3498. procedure setSRMT(thebits : TBits_1); inline;
  3499. procedure setTXBUFELM(thebits : TBits_5); inline;
  3500. procedure setw(thebits : TBits_32); inline;
  3501. public
  3502. procedure clearSPIBUSY; inline;
  3503. procedure clearSPIRBE; inline;
  3504. procedure clearSPIRBF; inline;
  3505. procedure clearSPIROV; inline;
  3506. procedure clearSPITBE; inline;
  3507. procedure clearSPITBF; inline;
  3508. procedure clearSPITUR; inline;
  3509. procedure clearSRMT; inline;
  3510. procedure setSPIBUSY; inline;
  3511. procedure setSPIRBE; inline;
  3512. procedure setSPIRBF; inline;
  3513. procedure setSPIROV; inline;
  3514. procedure setSPITBE; inline;
  3515. procedure setSPITBF; inline;
  3516. procedure setSPITUR; inline;
  3517. procedure setSRMT; inline;
  3518. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3519. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3520. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3521. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3522. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3523. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3524. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3525. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3526. property SRMT : TBits_1 read getSRMT write setSRMT;
  3527. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3528. property w : TBits_32 read getw write setw;
  3529. end;
  3530. type
  3531. TSPI2ARegisters = record
  3532. SPI2ACONbits : TSPI2A_SPI2ACON;
  3533. SPI2ACON : longWord;
  3534. SPI2CONbits : TSPI2A_SPI2CON;
  3535. SPI2CON : longWord;
  3536. SPI2ACONCLR : longWord;
  3537. SPI2CONCLR : longWord;
  3538. SPI2ACONSET : longWord;
  3539. SPI2CONSET : longWord;
  3540. SPI2ACONINV : longWord;
  3541. SPI2CONINV : longWord;
  3542. SPI2ASTATbits : TSPI2A_SPI2ASTAT;
  3543. SPI2ASTAT : longWord;
  3544. SPI2STATbits : TSPI2A_SPI2STAT;
  3545. SPI2STAT : longWord;
  3546. SPI2ASTATCLR : longWord;
  3547. SPI2STATCLR : longWord;
  3548. SPI2ASTATSET : longWord;
  3549. SPI2STATSET : longWord;
  3550. SPI2ASTATINV : longWord;
  3551. SPI2STATINV : longWord;
  3552. SPI2ABUF : longWord;
  3553. SPI2BUF : longWord;
  3554. SPI2ABRG : longWord;
  3555. SPI2BRG : longWord;
  3556. SPI2ABRGCLR : longWord;
  3557. SPI2BRGCLR : longWord;
  3558. SPI2ABRGSET : longWord;
  3559. SPI2BRGSET : longWord;
  3560. SPI2ABRGINV : longWord;
  3561. SPI2BRGINV : longWord;
  3562. end;
  3563. TSPI3A_SPI3ACON = record
  3564. private
  3565. function getCKE : TBits_1; inline;
  3566. function getCKP : TBits_1; inline;
  3567. function getDISSDO : TBits_1; inline;
  3568. function getENHBUF : TBits_1; inline;
  3569. function getFRMCNT : TBits_3; inline;
  3570. function getFRMEN : TBits_1; inline;
  3571. function getFRMPOL : TBits_1; inline;
  3572. function getFRMSYNC : TBits_1; inline;
  3573. function getFRMSYPW : TBits_1; inline;
  3574. function getMODE16 : TBits_1; inline;
  3575. function getMODE32 : TBits_1; inline;
  3576. function getMSSEN : TBits_1; inline;
  3577. function getMSTEN : TBits_1; inline;
  3578. function getON : TBits_1; inline;
  3579. function getSIDL : TBits_1; inline;
  3580. function getSMP : TBits_1; inline;
  3581. function getSPIFE : TBits_1; inline;
  3582. function getSRXISEL : TBits_2; inline;
  3583. function getSSEN : TBits_1; inline;
  3584. function getSTXISEL : TBits_2; inline;
  3585. function getw : TBits_32; inline;
  3586. procedure setCKE(thebits : TBits_1); inline;
  3587. procedure setCKP(thebits : TBits_1); inline;
  3588. procedure setDISSDO(thebits : TBits_1); inline;
  3589. procedure setENHBUF(thebits : TBits_1); inline;
  3590. procedure setFRMCNT(thebits : TBits_3); inline;
  3591. procedure setFRMEN(thebits : TBits_1); inline;
  3592. procedure setFRMPOL(thebits : TBits_1); inline;
  3593. procedure setFRMSYNC(thebits : TBits_1); inline;
  3594. procedure setFRMSYPW(thebits : TBits_1); inline;
  3595. procedure setMODE16(thebits : TBits_1); inline;
  3596. procedure setMODE32(thebits : TBits_1); inline;
  3597. procedure setMSSEN(thebits : TBits_1); inline;
  3598. procedure setMSTEN(thebits : TBits_1); inline;
  3599. procedure setON(thebits : TBits_1); inline;
  3600. procedure setSIDL(thebits : TBits_1); inline;
  3601. procedure setSMP(thebits : TBits_1); inline;
  3602. procedure setSPIFE(thebits : TBits_1); inline;
  3603. procedure setSRXISEL(thebits : TBits_2); inline;
  3604. procedure setSSEN(thebits : TBits_1); inline;
  3605. procedure setSTXISEL(thebits : TBits_2); inline;
  3606. procedure setw(thebits : TBits_32); inline;
  3607. public
  3608. procedure clearCKE; inline;
  3609. procedure clearCKP; inline;
  3610. procedure clearDISSDO; inline;
  3611. procedure clearENHBUF; inline;
  3612. procedure clearFRMEN; inline;
  3613. procedure clearFRMPOL; inline;
  3614. procedure clearFRMSYNC; inline;
  3615. procedure clearFRMSYPW; inline;
  3616. procedure clearMODE16; inline;
  3617. procedure clearMODE32; inline;
  3618. procedure clearMSSEN; inline;
  3619. procedure clearMSTEN; inline;
  3620. procedure clearON; inline;
  3621. procedure clearSIDL; inline;
  3622. procedure clearSMP; inline;
  3623. procedure clearSPIFE; inline;
  3624. procedure clearSSEN; inline;
  3625. procedure setCKE; inline;
  3626. procedure setCKP; inline;
  3627. procedure setDISSDO; inline;
  3628. procedure setENHBUF; inline;
  3629. procedure setFRMEN; inline;
  3630. procedure setFRMPOL; inline;
  3631. procedure setFRMSYNC; inline;
  3632. procedure setFRMSYPW; inline;
  3633. procedure setMODE16; inline;
  3634. procedure setMODE32; inline;
  3635. procedure setMSSEN; inline;
  3636. procedure setMSTEN; inline;
  3637. procedure setON; inline;
  3638. procedure setSIDL; inline;
  3639. procedure setSMP; inline;
  3640. procedure setSPIFE; inline;
  3641. procedure setSSEN; inline;
  3642. property CKE : TBits_1 read getCKE write setCKE;
  3643. property CKP : TBits_1 read getCKP write setCKP;
  3644. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3645. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3646. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3647. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3648. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3649. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3650. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3651. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3652. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3653. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3654. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3655. property ON : TBits_1 read getON write setON;
  3656. property SIDL : TBits_1 read getSIDL write setSIDL;
  3657. property SMP : TBits_1 read getSMP write setSMP;
  3658. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3659. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3660. property SSEN : TBits_1 read getSSEN write setSSEN;
  3661. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3662. property w : TBits_32 read getw write setw;
  3663. end;
  3664. TSPI3A_SPI4CON = record
  3665. private
  3666. function getCKE : TBits_1; inline;
  3667. function getCKP : TBits_1; inline;
  3668. function getDISSDO : TBits_1; inline;
  3669. function getENHBUF : TBits_1; inline;
  3670. function getFRMCNT : TBits_3; inline;
  3671. function getFRMEN : TBits_1; inline;
  3672. function getFRMPOL : TBits_1; inline;
  3673. function getFRMSYNC : TBits_1; inline;
  3674. function getFRMSYPW : TBits_1; inline;
  3675. function getMODE16 : TBits_1; inline;
  3676. function getMODE32 : TBits_1; inline;
  3677. function getMSSEN : TBits_1; inline;
  3678. function getMSTEN : TBits_1; inline;
  3679. function getON : TBits_1; inline;
  3680. function getSIDL : TBits_1; inline;
  3681. function getSMP : TBits_1; inline;
  3682. function getSPIFE : TBits_1; inline;
  3683. function getSRXISEL : TBits_2; inline;
  3684. function getSSEN : TBits_1; inline;
  3685. function getSTXISEL : TBits_2; inline;
  3686. function getw : TBits_32; inline;
  3687. procedure setCKE(thebits : TBits_1); inline;
  3688. procedure setCKP(thebits : TBits_1); inline;
  3689. procedure setDISSDO(thebits : TBits_1); inline;
  3690. procedure setENHBUF(thebits : TBits_1); inline;
  3691. procedure setFRMCNT(thebits : TBits_3); inline;
  3692. procedure setFRMEN(thebits : TBits_1); inline;
  3693. procedure setFRMPOL(thebits : TBits_1); inline;
  3694. procedure setFRMSYNC(thebits : TBits_1); inline;
  3695. procedure setFRMSYPW(thebits : TBits_1); inline;
  3696. procedure setMODE16(thebits : TBits_1); inline;
  3697. procedure setMODE32(thebits : TBits_1); inline;
  3698. procedure setMSSEN(thebits : TBits_1); inline;
  3699. procedure setMSTEN(thebits : TBits_1); inline;
  3700. procedure setON(thebits : TBits_1); inline;
  3701. procedure setSIDL(thebits : TBits_1); inline;
  3702. procedure setSMP(thebits : TBits_1); inline;
  3703. procedure setSPIFE(thebits : TBits_1); inline;
  3704. procedure setSRXISEL(thebits : TBits_2); inline;
  3705. procedure setSSEN(thebits : TBits_1); inline;
  3706. procedure setSTXISEL(thebits : TBits_2); inline;
  3707. procedure setw(thebits : TBits_32); inline;
  3708. public
  3709. procedure clearCKE; inline;
  3710. procedure clearCKP; inline;
  3711. procedure clearDISSDO; inline;
  3712. procedure clearENHBUF; inline;
  3713. procedure clearFRMEN; inline;
  3714. procedure clearFRMPOL; inline;
  3715. procedure clearFRMSYNC; inline;
  3716. procedure clearFRMSYPW; inline;
  3717. procedure clearMODE16; inline;
  3718. procedure clearMODE32; inline;
  3719. procedure clearMSSEN; inline;
  3720. procedure clearMSTEN; inline;
  3721. procedure clearON; inline;
  3722. procedure clearSIDL; inline;
  3723. procedure clearSMP; inline;
  3724. procedure clearSPIFE; inline;
  3725. procedure clearSSEN; inline;
  3726. procedure setCKE; inline;
  3727. procedure setCKP; inline;
  3728. procedure setDISSDO; inline;
  3729. procedure setENHBUF; inline;
  3730. procedure setFRMEN; inline;
  3731. procedure setFRMPOL; inline;
  3732. procedure setFRMSYNC; inline;
  3733. procedure setFRMSYPW; inline;
  3734. procedure setMODE16; inline;
  3735. procedure setMODE32; inline;
  3736. procedure setMSSEN; inline;
  3737. procedure setMSTEN; inline;
  3738. procedure setON; inline;
  3739. procedure setSIDL; inline;
  3740. procedure setSMP; inline;
  3741. procedure setSPIFE; inline;
  3742. procedure setSSEN; inline;
  3743. property CKE : TBits_1 read getCKE write setCKE;
  3744. property CKP : TBits_1 read getCKP write setCKP;
  3745. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  3746. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  3747. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  3748. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  3749. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  3750. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  3751. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  3752. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  3753. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  3754. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  3755. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  3756. property ON : TBits_1 read getON write setON;
  3757. property SIDL : TBits_1 read getSIDL write setSIDL;
  3758. property SMP : TBits_1 read getSMP write setSMP;
  3759. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  3760. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  3761. property SSEN : TBits_1 read getSSEN write setSSEN;
  3762. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  3763. property w : TBits_32 read getw write setw;
  3764. end;
  3765. TSPI3A_SPI3ASTAT = record
  3766. private
  3767. function getRXBUFELM : TBits_5; inline;
  3768. function getSPIBUSY : TBits_1; inline;
  3769. function getSPIRBE : TBits_1; inline;
  3770. function getSPIRBF : TBits_1; inline;
  3771. function getSPIROV : TBits_1; inline;
  3772. function getSPITBE : TBits_1; inline;
  3773. function getSPITBF : TBits_1; inline;
  3774. function getSPITUR : TBits_1; inline;
  3775. function getSRMT : TBits_1; inline;
  3776. function getTXBUFELM : TBits_5; inline;
  3777. function getw : TBits_32; inline;
  3778. procedure setRXBUFELM(thebits : TBits_5); inline;
  3779. procedure setSPIBUSY(thebits : TBits_1); inline;
  3780. procedure setSPIRBE(thebits : TBits_1); inline;
  3781. procedure setSPIRBF(thebits : TBits_1); inline;
  3782. procedure setSPIROV(thebits : TBits_1); inline;
  3783. procedure setSPITBE(thebits : TBits_1); inline;
  3784. procedure setSPITBF(thebits : TBits_1); inline;
  3785. procedure setSPITUR(thebits : TBits_1); inline;
  3786. procedure setSRMT(thebits : TBits_1); inline;
  3787. procedure setTXBUFELM(thebits : TBits_5); inline;
  3788. procedure setw(thebits : TBits_32); inline;
  3789. public
  3790. procedure clearSPIBUSY; inline;
  3791. procedure clearSPIRBE; inline;
  3792. procedure clearSPIRBF; inline;
  3793. procedure clearSPIROV; inline;
  3794. procedure clearSPITBE; inline;
  3795. procedure clearSPITBF; inline;
  3796. procedure clearSPITUR; inline;
  3797. procedure clearSRMT; inline;
  3798. procedure setSPIBUSY; inline;
  3799. procedure setSPIRBE; inline;
  3800. procedure setSPIRBF; inline;
  3801. procedure setSPIROV; inline;
  3802. procedure setSPITBE; inline;
  3803. procedure setSPITBF; inline;
  3804. procedure setSPITUR; inline;
  3805. procedure setSRMT; inline;
  3806. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3807. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3808. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3809. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3810. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3811. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3812. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3813. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3814. property SRMT : TBits_1 read getSRMT write setSRMT;
  3815. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3816. property w : TBits_32 read getw write setw;
  3817. end;
  3818. TSPI3A_SPI4STAT = record
  3819. private
  3820. function getRXBUFELM : TBits_5; inline;
  3821. function getSPIBUSY : TBits_1; inline;
  3822. function getSPIRBE : TBits_1; inline;
  3823. function getSPIRBF : TBits_1; inline;
  3824. function getSPIROV : TBits_1; inline;
  3825. function getSPITBE : TBits_1; inline;
  3826. function getSPITBF : TBits_1; inline;
  3827. function getSPITUR : TBits_1; inline;
  3828. function getSRMT : TBits_1; inline;
  3829. function getTXBUFELM : TBits_5; inline;
  3830. function getw : TBits_32; inline;
  3831. procedure setRXBUFELM(thebits : TBits_5); inline;
  3832. procedure setSPIBUSY(thebits : TBits_1); inline;
  3833. procedure setSPIRBE(thebits : TBits_1); inline;
  3834. procedure setSPIRBF(thebits : TBits_1); inline;
  3835. procedure setSPIROV(thebits : TBits_1); inline;
  3836. procedure setSPITBE(thebits : TBits_1); inline;
  3837. procedure setSPITBF(thebits : TBits_1); inline;
  3838. procedure setSPITUR(thebits : TBits_1); inline;
  3839. procedure setSRMT(thebits : TBits_1); inline;
  3840. procedure setTXBUFELM(thebits : TBits_5); inline;
  3841. procedure setw(thebits : TBits_32); inline;
  3842. public
  3843. procedure clearSPIBUSY; inline;
  3844. procedure clearSPIRBE; inline;
  3845. procedure clearSPIRBF; inline;
  3846. procedure clearSPIROV; inline;
  3847. procedure clearSPITBE; inline;
  3848. procedure clearSPITBF; inline;
  3849. procedure clearSPITUR; inline;
  3850. procedure clearSRMT; inline;
  3851. procedure setSPIBUSY; inline;
  3852. procedure setSPIRBE; inline;
  3853. procedure setSPIRBF; inline;
  3854. procedure setSPIROV; inline;
  3855. procedure setSPITBE; inline;
  3856. procedure setSPITBF; inline;
  3857. procedure setSPITUR; inline;
  3858. procedure setSRMT; inline;
  3859. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  3860. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  3861. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  3862. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  3863. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  3864. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  3865. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  3866. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  3867. property SRMT : TBits_1 read getSRMT write setSRMT;
  3868. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  3869. property w : TBits_32 read getw write setw;
  3870. end;
  3871. type
  3872. TSPI3ARegisters = record
  3873. SPI3ACONbits : TSPI3A_SPI3ACON;
  3874. SPI3ACON : longWord;
  3875. SPI4CONbits : TSPI3A_SPI4CON;
  3876. SPI4CON : longWord;
  3877. SPI3ACONCLR : longWord;
  3878. SPI4CONCLR : longWord;
  3879. SPI3ACONSET : longWord;
  3880. SPI4CONSET : longWord;
  3881. SPI3ACONINV : longWord;
  3882. SPI4CONINV : longWord;
  3883. SPI3ASTATbits : TSPI3A_SPI3ASTAT;
  3884. SPI3ASTAT : longWord;
  3885. SPI4STATbits : TSPI3A_SPI4STAT;
  3886. SPI4STAT : longWord;
  3887. SPI3ASTATCLR : longWord;
  3888. SPI4STATCLR : longWord;
  3889. SPI3ASTATSET : longWord;
  3890. SPI4STATSET : longWord;
  3891. SPI3ASTATINV : longWord;
  3892. SPI4STATINV : longWord;
  3893. SPI3ABUF : longWord;
  3894. SPI4BUF : longWord;
  3895. SPI3ABRG : longWord;
  3896. SPI4BRG : longWord;
  3897. SPI3ABRGCLR : longWord;
  3898. SPI4BRGCLR : longWord;
  3899. SPI3ABRGSET : longWord;
  3900. SPI4BRGSET : longWord;
  3901. SPI3ABRGINV : longWord;
  3902. SPI4BRGINV : longWord;
  3903. end;
  3904. TUART1A_U1AMODE = record
  3905. private
  3906. function getABAUD : TBits_1; inline;
  3907. function getBRGH : TBits_1; inline;
  3908. function getIREN : TBits_1; inline;
  3909. function getLPBACK : TBits_1; inline;
  3910. function getON : TBits_1; inline;
  3911. function getPDSEL : TBits_2; inline;
  3912. function getPDSEL0 : TBits_1; inline;
  3913. function getPDSEL1 : TBits_1; inline;
  3914. function getRTSMD : TBits_1; inline;
  3915. function getRXINV : TBits_1; inline;
  3916. function getSIDL : TBits_1; inline;
  3917. function getSTSEL : TBits_1; inline;
  3918. function getUARTEN : TBits_1; inline;
  3919. function getUEN : TBits_2; inline;
  3920. function getUEN0 : TBits_1; inline;
  3921. function getUEN1 : TBits_1; inline;
  3922. function getUSIDL : TBits_1; inline;
  3923. function getWAKE : TBits_1; inline;
  3924. function getw : TBits_32; inline;
  3925. procedure setABAUD(thebits : TBits_1); inline;
  3926. procedure setBRGH(thebits : TBits_1); inline;
  3927. procedure setIREN(thebits : TBits_1); inline;
  3928. procedure setLPBACK(thebits : TBits_1); inline;
  3929. procedure setON(thebits : TBits_1); inline;
  3930. procedure setPDSEL(thebits : TBits_2); inline;
  3931. procedure setPDSEL0(thebits : TBits_1); inline;
  3932. procedure setPDSEL1(thebits : TBits_1); inline;
  3933. procedure setRTSMD(thebits : TBits_1); inline;
  3934. procedure setRXINV(thebits : TBits_1); inline;
  3935. procedure setSIDL(thebits : TBits_1); inline;
  3936. procedure setSTSEL(thebits : TBits_1); inline;
  3937. procedure setUARTEN(thebits : TBits_1); inline;
  3938. procedure setUEN(thebits : TBits_2); inline;
  3939. procedure setUEN0(thebits : TBits_1); inline;
  3940. procedure setUEN1(thebits : TBits_1); inline;
  3941. procedure setUSIDL(thebits : TBits_1); inline;
  3942. procedure setWAKE(thebits : TBits_1); inline;
  3943. procedure setw(thebits : TBits_32); inline;
  3944. public
  3945. procedure clearABAUD; inline;
  3946. procedure clearBRGH; inline;
  3947. procedure clearIREN; inline;
  3948. procedure clearLPBACK; inline;
  3949. procedure clearON; inline;
  3950. procedure clearPDSEL0; inline;
  3951. procedure clearPDSEL1; inline;
  3952. procedure clearRTSMD; inline;
  3953. procedure clearRXINV; inline;
  3954. procedure clearSIDL; inline;
  3955. procedure clearSTSEL; inline;
  3956. procedure clearUARTEN; inline;
  3957. procedure clearUEN0; inline;
  3958. procedure clearUEN1; inline;
  3959. procedure clearUSIDL; inline;
  3960. procedure clearWAKE; inline;
  3961. procedure setABAUD; inline;
  3962. procedure setBRGH; inline;
  3963. procedure setIREN; inline;
  3964. procedure setLPBACK; inline;
  3965. procedure setON; inline;
  3966. procedure setPDSEL0; inline;
  3967. procedure setPDSEL1; inline;
  3968. procedure setRTSMD; inline;
  3969. procedure setRXINV; inline;
  3970. procedure setSIDL; inline;
  3971. procedure setSTSEL; inline;
  3972. procedure setUARTEN; inline;
  3973. procedure setUEN0; inline;
  3974. procedure setUEN1; inline;
  3975. procedure setUSIDL; inline;
  3976. procedure setWAKE; inline;
  3977. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3978. property BRGH : TBits_1 read getBRGH write setBRGH;
  3979. property IREN : TBits_1 read getIREN write setIREN;
  3980. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3981. property ON : TBits_1 read getON write setON;
  3982. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3983. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3984. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3985. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3986. property RXINV : TBits_1 read getRXINV write setRXINV;
  3987. property SIDL : TBits_1 read getSIDL write setSIDL;
  3988. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3989. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3990. property UEN : TBits_2 read getUEN write setUEN;
  3991. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3992. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3993. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3994. property WAKE : TBits_1 read getWAKE write setWAKE;
  3995. property w : TBits_32 read getw write setw;
  3996. end;
  3997. TUART1A_U1MODE = record
  3998. private
  3999. function getABAUD : TBits_1; inline;
  4000. function getBRGH : TBits_1; inline;
  4001. function getIREN : TBits_1; inline;
  4002. function getLPBACK : TBits_1; inline;
  4003. function getON : TBits_1; inline;
  4004. function getPDSEL : TBits_2; inline;
  4005. function getPDSEL0 : TBits_1; inline;
  4006. function getPDSEL1 : TBits_1; inline;
  4007. function getRTSMD : TBits_1; inline;
  4008. function getRXINV : TBits_1; inline;
  4009. function getSIDL : TBits_1; inline;
  4010. function getSTSEL : TBits_1; inline;
  4011. function getUARTEN : TBits_1; inline;
  4012. function getUEN : TBits_2; inline;
  4013. function getUEN0 : TBits_1; inline;
  4014. function getUEN1 : TBits_1; inline;
  4015. function getUSIDL : TBits_1; inline;
  4016. function getWAKE : TBits_1; inline;
  4017. function getw : TBits_32; inline;
  4018. procedure setABAUD(thebits : TBits_1); inline;
  4019. procedure setBRGH(thebits : TBits_1); inline;
  4020. procedure setIREN(thebits : TBits_1); inline;
  4021. procedure setLPBACK(thebits : TBits_1); inline;
  4022. procedure setON(thebits : TBits_1); inline;
  4023. procedure setPDSEL(thebits : TBits_2); inline;
  4024. procedure setPDSEL0(thebits : TBits_1); inline;
  4025. procedure setPDSEL1(thebits : TBits_1); inline;
  4026. procedure setRTSMD(thebits : TBits_1); inline;
  4027. procedure setRXINV(thebits : TBits_1); inline;
  4028. procedure setSIDL(thebits : TBits_1); inline;
  4029. procedure setSTSEL(thebits : TBits_1); inline;
  4030. procedure setUARTEN(thebits : TBits_1); inline;
  4031. procedure setUEN(thebits : TBits_2); inline;
  4032. procedure setUEN0(thebits : TBits_1); inline;
  4033. procedure setUEN1(thebits : TBits_1); inline;
  4034. procedure setUSIDL(thebits : TBits_1); inline;
  4035. procedure setWAKE(thebits : TBits_1); inline;
  4036. procedure setw(thebits : TBits_32); inline;
  4037. public
  4038. procedure clearABAUD; inline;
  4039. procedure clearBRGH; inline;
  4040. procedure clearIREN; inline;
  4041. procedure clearLPBACK; inline;
  4042. procedure clearON; inline;
  4043. procedure clearPDSEL0; inline;
  4044. procedure clearPDSEL1; inline;
  4045. procedure clearRTSMD; inline;
  4046. procedure clearRXINV; inline;
  4047. procedure clearSIDL; inline;
  4048. procedure clearSTSEL; inline;
  4049. procedure clearUARTEN; inline;
  4050. procedure clearUEN0; inline;
  4051. procedure clearUEN1; inline;
  4052. procedure clearUSIDL; inline;
  4053. procedure clearWAKE; inline;
  4054. procedure setABAUD; inline;
  4055. procedure setBRGH; inline;
  4056. procedure setIREN; inline;
  4057. procedure setLPBACK; inline;
  4058. procedure setON; inline;
  4059. procedure setPDSEL0; inline;
  4060. procedure setPDSEL1; inline;
  4061. procedure setRTSMD; inline;
  4062. procedure setRXINV; inline;
  4063. procedure setSIDL; inline;
  4064. procedure setSTSEL; inline;
  4065. procedure setUARTEN; inline;
  4066. procedure setUEN0; inline;
  4067. procedure setUEN1; inline;
  4068. procedure setUSIDL; inline;
  4069. procedure setWAKE; inline;
  4070. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4071. property BRGH : TBits_1 read getBRGH write setBRGH;
  4072. property IREN : TBits_1 read getIREN write setIREN;
  4073. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4074. property ON : TBits_1 read getON write setON;
  4075. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4076. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4077. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4078. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4079. property RXINV : TBits_1 read getRXINV write setRXINV;
  4080. property SIDL : TBits_1 read getSIDL write setSIDL;
  4081. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4082. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4083. property UEN : TBits_2 read getUEN write setUEN;
  4084. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4085. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4086. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4087. property WAKE : TBits_1 read getWAKE write setWAKE;
  4088. property w : TBits_32 read getw write setw;
  4089. end;
  4090. TUART1A_U1ASTA = record
  4091. private
  4092. function getADDEN : TBits_1; inline;
  4093. function getADDR : TBits_8; inline;
  4094. function getADM_EN : TBits_1; inline;
  4095. function getFERR : TBits_1; inline;
  4096. function getOERR : TBits_1; inline;
  4097. function getPERR : TBits_1; inline;
  4098. function getRIDLE : TBits_1; inline;
  4099. function getTRMT : TBits_1; inline;
  4100. function getURXDA : TBits_1; inline;
  4101. function getURXEN : TBits_1; inline;
  4102. function getURXISEL : TBits_2; inline;
  4103. function getURXISEL0 : TBits_1; inline;
  4104. function getURXISEL1 : TBits_1; inline;
  4105. function getUTXBF : TBits_1; inline;
  4106. function getUTXBRK : TBits_1; inline;
  4107. function getUTXEN : TBits_1; inline;
  4108. function getUTXINV : TBits_1; inline;
  4109. function getUTXISEL : TBits_2; inline;
  4110. function getUTXISEL0 : TBits_1; inline;
  4111. function getUTXISEL1 : TBits_1; inline;
  4112. function getUTXSEL : TBits_2; inline;
  4113. function getw : TBits_32; inline;
  4114. procedure setADDEN(thebits : TBits_1); inline;
  4115. procedure setADDR(thebits : TBits_8); inline;
  4116. procedure setADM_EN(thebits : TBits_1); inline;
  4117. procedure setFERR(thebits : TBits_1); inline;
  4118. procedure setOERR(thebits : TBits_1); inline;
  4119. procedure setPERR(thebits : TBits_1); inline;
  4120. procedure setRIDLE(thebits : TBits_1); inline;
  4121. procedure setTRMT(thebits : TBits_1); inline;
  4122. procedure setURXDA(thebits : TBits_1); inline;
  4123. procedure setURXEN(thebits : TBits_1); inline;
  4124. procedure setURXISEL(thebits : TBits_2); inline;
  4125. procedure setURXISEL0(thebits : TBits_1); inline;
  4126. procedure setURXISEL1(thebits : TBits_1); inline;
  4127. procedure setUTXBF(thebits : TBits_1); inline;
  4128. procedure setUTXBRK(thebits : TBits_1); inline;
  4129. procedure setUTXEN(thebits : TBits_1); inline;
  4130. procedure setUTXINV(thebits : TBits_1); inline;
  4131. procedure setUTXISEL(thebits : TBits_2); inline;
  4132. procedure setUTXISEL0(thebits : TBits_1); inline;
  4133. procedure setUTXISEL1(thebits : TBits_1); inline;
  4134. procedure setUTXSEL(thebits : TBits_2); inline;
  4135. procedure setw(thebits : TBits_32); inline;
  4136. public
  4137. procedure clearADDEN; inline;
  4138. procedure clearADM_EN; inline;
  4139. procedure clearFERR; inline;
  4140. procedure clearOERR; inline;
  4141. procedure clearPERR; inline;
  4142. procedure clearRIDLE; inline;
  4143. procedure clearTRMT; inline;
  4144. procedure clearURXDA; inline;
  4145. procedure clearURXEN; inline;
  4146. procedure clearURXISEL0; inline;
  4147. procedure clearURXISEL1; inline;
  4148. procedure clearUTXBF; inline;
  4149. procedure clearUTXBRK; inline;
  4150. procedure clearUTXEN; inline;
  4151. procedure clearUTXINV; inline;
  4152. procedure clearUTXISEL0; inline;
  4153. procedure clearUTXISEL1; inline;
  4154. procedure setADDEN; inline;
  4155. procedure setADM_EN; inline;
  4156. procedure setFERR; inline;
  4157. procedure setOERR; inline;
  4158. procedure setPERR; inline;
  4159. procedure setRIDLE; inline;
  4160. procedure setTRMT; inline;
  4161. procedure setURXDA; inline;
  4162. procedure setURXEN; inline;
  4163. procedure setURXISEL0; inline;
  4164. procedure setURXISEL1; inline;
  4165. procedure setUTXBF; inline;
  4166. procedure setUTXBRK; inline;
  4167. procedure setUTXEN; inline;
  4168. procedure setUTXINV; inline;
  4169. procedure setUTXISEL0; inline;
  4170. procedure setUTXISEL1; inline;
  4171. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4172. property ADDR : TBits_8 read getADDR write setADDR;
  4173. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4174. property FERR : TBits_1 read getFERR write setFERR;
  4175. property OERR : TBits_1 read getOERR write setOERR;
  4176. property PERR : TBits_1 read getPERR write setPERR;
  4177. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4178. property TRMT : TBits_1 read getTRMT write setTRMT;
  4179. property URXDA : TBits_1 read getURXDA write setURXDA;
  4180. property URXEN : TBits_1 read getURXEN write setURXEN;
  4181. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4182. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4183. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4184. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4185. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4186. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4187. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4188. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4189. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4190. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4191. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4192. property w : TBits_32 read getw write setw;
  4193. end;
  4194. TUART1A_U1STA = record
  4195. private
  4196. function getADDEN : TBits_1; inline;
  4197. function getADDR : TBits_8; inline;
  4198. function getADM_EN : TBits_1; inline;
  4199. function getFERR : TBits_1; inline;
  4200. function getOERR : TBits_1; inline;
  4201. function getPERR : TBits_1; inline;
  4202. function getRIDLE : TBits_1; inline;
  4203. function getTRMT : TBits_1; inline;
  4204. function getURXDA : TBits_1; inline;
  4205. function getURXEN : TBits_1; inline;
  4206. function getURXISEL : TBits_2; inline;
  4207. function getURXISEL0 : TBits_1; inline;
  4208. function getURXISEL1 : TBits_1; inline;
  4209. function getUTXBF : TBits_1; inline;
  4210. function getUTXBRK : TBits_1; inline;
  4211. function getUTXEN : TBits_1; inline;
  4212. function getUTXINV : TBits_1; inline;
  4213. function getUTXISEL : TBits_2; inline;
  4214. function getUTXISEL0 : TBits_1; inline;
  4215. function getUTXISEL1 : TBits_1; inline;
  4216. function getUTXSEL : TBits_2; inline;
  4217. function getw : TBits_32; inline;
  4218. procedure setADDEN(thebits : TBits_1); inline;
  4219. procedure setADDR(thebits : TBits_8); inline;
  4220. procedure setADM_EN(thebits : TBits_1); inline;
  4221. procedure setFERR(thebits : TBits_1); inline;
  4222. procedure setOERR(thebits : TBits_1); inline;
  4223. procedure setPERR(thebits : TBits_1); inline;
  4224. procedure setRIDLE(thebits : TBits_1); inline;
  4225. procedure setTRMT(thebits : TBits_1); inline;
  4226. procedure setURXDA(thebits : TBits_1); inline;
  4227. procedure setURXEN(thebits : TBits_1); inline;
  4228. procedure setURXISEL(thebits : TBits_2); inline;
  4229. procedure setURXISEL0(thebits : TBits_1); inline;
  4230. procedure setURXISEL1(thebits : TBits_1); inline;
  4231. procedure setUTXBF(thebits : TBits_1); inline;
  4232. procedure setUTXBRK(thebits : TBits_1); inline;
  4233. procedure setUTXEN(thebits : TBits_1); inline;
  4234. procedure setUTXINV(thebits : TBits_1); inline;
  4235. procedure setUTXISEL(thebits : TBits_2); inline;
  4236. procedure setUTXISEL0(thebits : TBits_1); inline;
  4237. procedure setUTXISEL1(thebits : TBits_1); inline;
  4238. procedure setUTXSEL(thebits : TBits_2); inline;
  4239. procedure setw(thebits : TBits_32); inline;
  4240. public
  4241. procedure clearADDEN; inline;
  4242. procedure clearADM_EN; inline;
  4243. procedure clearFERR; inline;
  4244. procedure clearOERR; inline;
  4245. procedure clearPERR; inline;
  4246. procedure clearRIDLE; inline;
  4247. procedure clearTRMT; inline;
  4248. procedure clearURXDA; inline;
  4249. procedure clearURXEN; inline;
  4250. procedure clearURXISEL0; inline;
  4251. procedure clearURXISEL1; inline;
  4252. procedure clearUTXBF; inline;
  4253. procedure clearUTXBRK; inline;
  4254. procedure clearUTXEN; inline;
  4255. procedure clearUTXINV; inline;
  4256. procedure clearUTXISEL0; inline;
  4257. procedure clearUTXISEL1; inline;
  4258. procedure setADDEN; inline;
  4259. procedure setADM_EN; inline;
  4260. procedure setFERR; inline;
  4261. procedure setOERR; inline;
  4262. procedure setPERR; inline;
  4263. procedure setRIDLE; inline;
  4264. procedure setTRMT; inline;
  4265. procedure setURXDA; inline;
  4266. procedure setURXEN; inline;
  4267. procedure setURXISEL0; inline;
  4268. procedure setURXISEL1; inline;
  4269. procedure setUTXBF; inline;
  4270. procedure setUTXBRK; inline;
  4271. procedure setUTXEN; inline;
  4272. procedure setUTXINV; inline;
  4273. procedure setUTXISEL0; inline;
  4274. procedure setUTXISEL1; inline;
  4275. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4276. property ADDR : TBits_8 read getADDR write setADDR;
  4277. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4278. property FERR : TBits_1 read getFERR write setFERR;
  4279. property OERR : TBits_1 read getOERR write setOERR;
  4280. property PERR : TBits_1 read getPERR write setPERR;
  4281. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4282. property TRMT : TBits_1 read getTRMT write setTRMT;
  4283. property URXDA : TBits_1 read getURXDA write setURXDA;
  4284. property URXEN : TBits_1 read getURXEN write setURXEN;
  4285. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4286. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4287. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4288. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4289. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4290. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4291. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4292. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4293. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4294. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4295. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4296. property w : TBits_32 read getw write setw;
  4297. end;
  4298. type
  4299. TUART1ARegisters = record
  4300. U1AMODEbits : TUART1A_U1AMODE;
  4301. U1AMODE : longWord;
  4302. U1MODEbits : TUART1A_U1MODE;
  4303. U1MODE : longWord;
  4304. U1AMODECLR : longWord;
  4305. U1MODECLR : longWord;
  4306. U1AMODESET : longWord;
  4307. U1MODESET : longWord;
  4308. U1AMODEINV : longWord;
  4309. U1MODEINV : longWord;
  4310. U1ASTAbits : TUART1A_U1ASTA;
  4311. U1ASTA : longWord;
  4312. U1STAbits : TUART1A_U1STA;
  4313. U1STA : longWord;
  4314. U1ASTACLR : longWord;
  4315. U1STACLR : longWord;
  4316. U1ASTASET : longWord;
  4317. U1STASET : longWord;
  4318. U1ASTAINV : longWord;
  4319. U1STAINV : longWord;
  4320. U1ATXREG : longWord;
  4321. U1TXREG : longWord;
  4322. U1ARXREG : longWord;
  4323. U1RXREG : longWord;
  4324. U1ABRG : longWord;
  4325. U1BRG : longWord;
  4326. U1ABRGCLR : longWord;
  4327. U1BRGCLR : longWord;
  4328. U1ABRGSET : longWord;
  4329. U1BRGSET : longWord;
  4330. U1ABRGINV : longWord;
  4331. U1BRGINV : longWord;
  4332. end;
  4333. TUART4_U1BMODE = record
  4334. private
  4335. function getABAUD : TBits_1; inline;
  4336. function getBRGH : TBits_1; inline;
  4337. function getIREN : TBits_1; inline;
  4338. function getLPBACK : TBits_1; inline;
  4339. function getON : TBits_1; inline;
  4340. function getPDSEL : TBits_2; inline;
  4341. function getPDSEL0 : TBits_1; inline;
  4342. function getPDSEL1 : TBits_1; inline;
  4343. function getRXINV : TBits_1; inline;
  4344. function getSIDL : TBits_1; inline;
  4345. function getSTSEL : TBits_1; inline;
  4346. function getUARTEN : TBits_1; inline;
  4347. function getUSIDL : TBits_1; inline;
  4348. function getWAKE : TBits_1; inline;
  4349. function getw : TBits_32; inline;
  4350. procedure setABAUD(thebits : TBits_1); inline;
  4351. procedure setBRGH(thebits : TBits_1); inline;
  4352. procedure setIREN(thebits : TBits_1); inline;
  4353. procedure setLPBACK(thebits : TBits_1); inline;
  4354. procedure setON(thebits : TBits_1); inline;
  4355. procedure setPDSEL(thebits : TBits_2); inline;
  4356. procedure setPDSEL0(thebits : TBits_1); inline;
  4357. procedure setPDSEL1(thebits : TBits_1); inline;
  4358. procedure setRXINV(thebits : TBits_1); inline;
  4359. procedure setSIDL(thebits : TBits_1); inline;
  4360. procedure setSTSEL(thebits : TBits_1); inline;
  4361. procedure setUARTEN(thebits : TBits_1); inline;
  4362. procedure setUSIDL(thebits : TBits_1); inline;
  4363. procedure setWAKE(thebits : TBits_1); inline;
  4364. procedure setw(thebits : TBits_32); inline;
  4365. public
  4366. procedure clearABAUD; inline;
  4367. procedure clearBRGH; inline;
  4368. procedure clearIREN; inline;
  4369. procedure clearLPBACK; inline;
  4370. procedure clearON; inline;
  4371. procedure clearPDSEL0; inline;
  4372. procedure clearPDSEL1; inline;
  4373. procedure clearRXINV; inline;
  4374. procedure clearSIDL; inline;
  4375. procedure clearSTSEL; inline;
  4376. procedure clearUARTEN; inline;
  4377. procedure clearUSIDL; inline;
  4378. procedure clearWAKE; inline;
  4379. procedure setABAUD; inline;
  4380. procedure setBRGH; inline;
  4381. procedure setIREN; inline;
  4382. procedure setLPBACK; inline;
  4383. procedure setON; inline;
  4384. procedure setPDSEL0; inline;
  4385. procedure setPDSEL1; inline;
  4386. procedure setRXINV; inline;
  4387. procedure setSIDL; inline;
  4388. procedure setSTSEL; inline;
  4389. procedure setUARTEN; inline;
  4390. procedure setUSIDL; inline;
  4391. procedure setWAKE; inline;
  4392. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4393. property BRGH : TBits_1 read getBRGH write setBRGH;
  4394. property IREN : TBits_1 read getIREN write setIREN;
  4395. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4396. property ON : TBits_1 read getON write setON;
  4397. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4398. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4399. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4400. property RXINV : TBits_1 read getRXINV write setRXINV;
  4401. property SIDL : TBits_1 read getSIDL write setSIDL;
  4402. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4403. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4404. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4405. property WAKE : TBits_1 read getWAKE write setWAKE;
  4406. property w : TBits_32 read getw write setw;
  4407. end;
  4408. TUART4_U4MODE = record
  4409. private
  4410. function getABAUD : TBits_1; inline;
  4411. function getBRGH : TBits_1; inline;
  4412. function getIREN : TBits_1; inline;
  4413. function getLPBACK : TBits_1; inline;
  4414. function getON : TBits_1; inline;
  4415. function getPDSEL : TBits_2; inline;
  4416. function getPDSEL0 : TBits_1; inline;
  4417. function getPDSEL1 : TBits_1; inline;
  4418. function getRXINV : TBits_1; inline;
  4419. function getSIDL : TBits_1; inline;
  4420. function getSTSEL : TBits_1; inline;
  4421. function getUARTEN : TBits_1; inline;
  4422. function getUSIDL : TBits_1; inline;
  4423. function getWAKE : TBits_1; inline;
  4424. function getw : TBits_32; inline;
  4425. procedure setABAUD(thebits : TBits_1); inline;
  4426. procedure setBRGH(thebits : TBits_1); inline;
  4427. procedure setIREN(thebits : TBits_1); inline;
  4428. procedure setLPBACK(thebits : TBits_1); inline;
  4429. procedure setON(thebits : TBits_1); inline;
  4430. procedure setPDSEL(thebits : TBits_2); inline;
  4431. procedure setPDSEL0(thebits : TBits_1); inline;
  4432. procedure setPDSEL1(thebits : TBits_1); inline;
  4433. procedure setRXINV(thebits : TBits_1); inline;
  4434. procedure setSIDL(thebits : TBits_1); inline;
  4435. procedure setSTSEL(thebits : TBits_1); inline;
  4436. procedure setUARTEN(thebits : TBits_1); inline;
  4437. procedure setUSIDL(thebits : TBits_1); inline;
  4438. procedure setWAKE(thebits : TBits_1); inline;
  4439. procedure setw(thebits : TBits_32); inline;
  4440. public
  4441. procedure clearABAUD; inline;
  4442. procedure clearBRGH; inline;
  4443. procedure clearIREN; inline;
  4444. procedure clearLPBACK; inline;
  4445. procedure clearON; inline;
  4446. procedure clearPDSEL0; inline;
  4447. procedure clearPDSEL1; inline;
  4448. procedure clearRXINV; inline;
  4449. procedure clearSIDL; inline;
  4450. procedure clearSTSEL; inline;
  4451. procedure clearUARTEN; inline;
  4452. procedure clearUSIDL; inline;
  4453. procedure clearWAKE; inline;
  4454. procedure setABAUD; inline;
  4455. procedure setBRGH; inline;
  4456. procedure setIREN; inline;
  4457. procedure setLPBACK; inline;
  4458. procedure setON; inline;
  4459. procedure setPDSEL0; inline;
  4460. procedure setPDSEL1; inline;
  4461. procedure setRXINV; inline;
  4462. procedure setSIDL; inline;
  4463. procedure setSTSEL; inline;
  4464. procedure setUARTEN; inline;
  4465. procedure setUSIDL; inline;
  4466. procedure setWAKE; inline;
  4467. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4468. property BRGH : TBits_1 read getBRGH write setBRGH;
  4469. property IREN : TBits_1 read getIREN write setIREN;
  4470. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4471. property ON : TBits_1 read getON write setON;
  4472. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4473. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4474. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4475. property RXINV : TBits_1 read getRXINV write setRXINV;
  4476. property SIDL : TBits_1 read getSIDL write setSIDL;
  4477. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4478. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4479. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4480. property WAKE : TBits_1 read getWAKE write setWAKE;
  4481. property w : TBits_32 read getw write setw;
  4482. end;
  4483. TUART4_U1BSTA = record
  4484. private
  4485. function getADDEN : TBits_1; inline;
  4486. function getADDR : TBits_8; inline;
  4487. function getADM_EN : TBits_1; inline;
  4488. function getFERR : TBits_1; inline;
  4489. function getOERR : TBits_1; inline;
  4490. function getPERR : TBits_1; inline;
  4491. function getRIDLE : TBits_1; inline;
  4492. function getTRMT : TBits_1; inline;
  4493. function getURXDA : TBits_1; inline;
  4494. function getURXEN : TBits_1; inline;
  4495. function getURXISEL : TBits_2; inline;
  4496. function getURXISEL0 : TBits_1; inline;
  4497. function getURXISEL1 : TBits_1; inline;
  4498. function getUTXBF : TBits_1; inline;
  4499. function getUTXBRK : TBits_1; inline;
  4500. function getUTXEN : TBits_1; inline;
  4501. function getUTXINV : TBits_1; inline;
  4502. function getUTXISEL : TBits_2; inline;
  4503. function getUTXISEL0 : TBits_1; inline;
  4504. function getUTXISEL1 : TBits_1; inline;
  4505. function getUTXSEL : TBits_2; inline;
  4506. function getw : TBits_32; inline;
  4507. procedure setADDEN(thebits : TBits_1); inline;
  4508. procedure setADDR(thebits : TBits_8); inline;
  4509. procedure setADM_EN(thebits : TBits_1); inline;
  4510. procedure setFERR(thebits : TBits_1); inline;
  4511. procedure setOERR(thebits : TBits_1); inline;
  4512. procedure setPERR(thebits : TBits_1); inline;
  4513. procedure setRIDLE(thebits : TBits_1); inline;
  4514. procedure setTRMT(thebits : TBits_1); inline;
  4515. procedure setURXDA(thebits : TBits_1); inline;
  4516. procedure setURXEN(thebits : TBits_1); inline;
  4517. procedure setURXISEL(thebits : TBits_2); inline;
  4518. procedure setURXISEL0(thebits : TBits_1); inline;
  4519. procedure setURXISEL1(thebits : TBits_1); inline;
  4520. procedure setUTXBF(thebits : TBits_1); inline;
  4521. procedure setUTXBRK(thebits : TBits_1); inline;
  4522. procedure setUTXEN(thebits : TBits_1); inline;
  4523. procedure setUTXINV(thebits : TBits_1); inline;
  4524. procedure setUTXISEL(thebits : TBits_2); inline;
  4525. procedure setUTXISEL0(thebits : TBits_1); inline;
  4526. procedure setUTXISEL1(thebits : TBits_1); inline;
  4527. procedure setUTXSEL(thebits : TBits_2); inline;
  4528. procedure setw(thebits : TBits_32); inline;
  4529. public
  4530. procedure clearADDEN; inline;
  4531. procedure clearADM_EN; inline;
  4532. procedure clearFERR; inline;
  4533. procedure clearOERR; inline;
  4534. procedure clearPERR; inline;
  4535. procedure clearRIDLE; inline;
  4536. procedure clearTRMT; inline;
  4537. procedure clearURXDA; inline;
  4538. procedure clearURXEN; inline;
  4539. procedure clearURXISEL0; inline;
  4540. procedure clearURXISEL1; inline;
  4541. procedure clearUTXBF; inline;
  4542. procedure clearUTXBRK; inline;
  4543. procedure clearUTXEN; inline;
  4544. procedure clearUTXINV; inline;
  4545. procedure clearUTXISEL0; inline;
  4546. procedure clearUTXISEL1; inline;
  4547. procedure setADDEN; inline;
  4548. procedure setADM_EN; inline;
  4549. procedure setFERR; inline;
  4550. procedure setOERR; inline;
  4551. procedure setPERR; inline;
  4552. procedure setRIDLE; inline;
  4553. procedure setTRMT; inline;
  4554. procedure setURXDA; inline;
  4555. procedure setURXEN; inline;
  4556. procedure setURXISEL0; inline;
  4557. procedure setURXISEL1; inline;
  4558. procedure setUTXBF; inline;
  4559. procedure setUTXBRK; inline;
  4560. procedure setUTXEN; inline;
  4561. procedure setUTXINV; inline;
  4562. procedure setUTXISEL0; inline;
  4563. procedure setUTXISEL1; inline;
  4564. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4565. property ADDR : TBits_8 read getADDR write setADDR;
  4566. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4567. property FERR : TBits_1 read getFERR write setFERR;
  4568. property OERR : TBits_1 read getOERR write setOERR;
  4569. property PERR : TBits_1 read getPERR write setPERR;
  4570. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4571. property TRMT : TBits_1 read getTRMT write setTRMT;
  4572. property URXDA : TBits_1 read getURXDA write setURXDA;
  4573. property URXEN : TBits_1 read getURXEN write setURXEN;
  4574. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4575. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4576. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4577. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4578. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4579. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4580. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4581. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4582. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4583. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4584. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4585. property w : TBits_32 read getw write setw;
  4586. end;
  4587. TUART4_U4STA = record
  4588. private
  4589. function getADDEN : TBits_1; inline;
  4590. function getADDR : TBits_8; inline;
  4591. function getADM_EN : TBits_1; inline;
  4592. function getFERR : TBits_1; inline;
  4593. function getOERR : TBits_1; inline;
  4594. function getPERR : TBits_1; inline;
  4595. function getRIDLE : TBits_1; inline;
  4596. function getTRMT : TBits_1; inline;
  4597. function getURXDA : TBits_1; inline;
  4598. function getURXEN : TBits_1; inline;
  4599. function getURXISEL : TBits_2; inline;
  4600. function getURXISEL0 : TBits_1; inline;
  4601. function getURXISEL1 : TBits_1; inline;
  4602. function getUTXBF : TBits_1; inline;
  4603. function getUTXBRK : TBits_1; inline;
  4604. function getUTXEN : TBits_1; inline;
  4605. function getUTXINV : TBits_1; inline;
  4606. function getUTXISEL : TBits_2; inline;
  4607. function getUTXISEL0 : TBits_1; inline;
  4608. function getUTXISEL1 : TBits_1; inline;
  4609. function getUTXSEL : TBits_2; inline;
  4610. function getw : TBits_32; inline;
  4611. procedure setADDEN(thebits : TBits_1); inline;
  4612. procedure setADDR(thebits : TBits_8); inline;
  4613. procedure setADM_EN(thebits : TBits_1); inline;
  4614. procedure setFERR(thebits : TBits_1); inline;
  4615. procedure setOERR(thebits : TBits_1); inline;
  4616. procedure setPERR(thebits : TBits_1); inline;
  4617. procedure setRIDLE(thebits : TBits_1); inline;
  4618. procedure setTRMT(thebits : TBits_1); inline;
  4619. procedure setURXDA(thebits : TBits_1); inline;
  4620. procedure setURXEN(thebits : TBits_1); inline;
  4621. procedure setURXISEL(thebits : TBits_2); inline;
  4622. procedure setURXISEL0(thebits : TBits_1); inline;
  4623. procedure setURXISEL1(thebits : TBits_1); inline;
  4624. procedure setUTXBF(thebits : TBits_1); inline;
  4625. procedure setUTXBRK(thebits : TBits_1); inline;
  4626. procedure setUTXEN(thebits : TBits_1); inline;
  4627. procedure setUTXINV(thebits : TBits_1); inline;
  4628. procedure setUTXISEL(thebits : TBits_2); inline;
  4629. procedure setUTXISEL0(thebits : TBits_1); inline;
  4630. procedure setUTXISEL1(thebits : TBits_1); inline;
  4631. procedure setUTXSEL(thebits : TBits_2); inline;
  4632. procedure setw(thebits : TBits_32); inline;
  4633. public
  4634. procedure clearADDEN; inline;
  4635. procedure clearADM_EN; inline;
  4636. procedure clearFERR; inline;
  4637. procedure clearOERR; inline;
  4638. procedure clearPERR; inline;
  4639. procedure clearRIDLE; inline;
  4640. procedure clearTRMT; inline;
  4641. procedure clearURXDA; inline;
  4642. procedure clearURXEN; inline;
  4643. procedure clearURXISEL0; inline;
  4644. procedure clearURXISEL1; inline;
  4645. procedure clearUTXBF; inline;
  4646. procedure clearUTXBRK; inline;
  4647. procedure clearUTXEN; inline;
  4648. procedure clearUTXINV; inline;
  4649. procedure clearUTXISEL0; inline;
  4650. procedure clearUTXISEL1; inline;
  4651. procedure setADDEN; inline;
  4652. procedure setADM_EN; inline;
  4653. procedure setFERR; inline;
  4654. procedure setOERR; inline;
  4655. procedure setPERR; inline;
  4656. procedure setRIDLE; inline;
  4657. procedure setTRMT; inline;
  4658. procedure setURXDA; inline;
  4659. procedure setURXEN; inline;
  4660. procedure setURXISEL0; inline;
  4661. procedure setURXISEL1; inline;
  4662. procedure setUTXBF; inline;
  4663. procedure setUTXBRK; inline;
  4664. procedure setUTXEN; inline;
  4665. procedure setUTXINV; inline;
  4666. procedure setUTXISEL0; inline;
  4667. procedure setUTXISEL1; inline;
  4668. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4669. property ADDR : TBits_8 read getADDR write setADDR;
  4670. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4671. property FERR : TBits_1 read getFERR write setFERR;
  4672. property OERR : TBits_1 read getOERR write setOERR;
  4673. property PERR : TBits_1 read getPERR write setPERR;
  4674. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  4675. property TRMT : TBits_1 read getTRMT write setTRMT;
  4676. property URXDA : TBits_1 read getURXDA write setURXDA;
  4677. property URXEN : TBits_1 read getURXEN write setURXEN;
  4678. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  4679. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  4680. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  4681. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  4682. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  4683. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  4684. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  4685. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  4686. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  4687. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  4688. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  4689. property w : TBits_32 read getw write setw;
  4690. end;
  4691. type
  4692. TUART4Registers = record
  4693. U1BMODEbits : TUART4_U1BMODE;
  4694. U1BMODE : longWord;
  4695. U4MODEbits : TUART4_U4MODE;
  4696. U4MODE : longWord;
  4697. U1BMODECLR : longWord;
  4698. U4MODECLR : longWord;
  4699. U1BMODESET : longWord;
  4700. U4MODESET : longWord;
  4701. U1BMODEINV : longWord;
  4702. U4MODEINV : longWord;
  4703. U1BSTAbits : TUART4_U1BSTA;
  4704. U1BSTA : longWord;
  4705. U4STAbits : TUART4_U4STA;
  4706. U4STA : longWord;
  4707. U1BSTACLR : longWord;
  4708. U4STACLR : longWord;
  4709. U1BSTASET : longWord;
  4710. U4STASET : longWord;
  4711. U1BSTAINV : longWord;
  4712. U4STAINV : longWord;
  4713. U1BTXREG : longWord;
  4714. U4TXREG : longWord;
  4715. U1BRXREG : longWord;
  4716. U4RXREG : longWord;
  4717. U1BBRG : longWord;
  4718. U4BRG : longWord;
  4719. U1BBRGCLR : longWord;
  4720. U4BRGCLR : longWord;
  4721. U1BBRGSET : longWord;
  4722. U4BRGSET : longWord;
  4723. U1BBRGINV : longWord;
  4724. U4BRGINV : longWord;
  4725. end;
  4726. TUART2A_U2AMODE = record
  4727. private
  4728. function getABAUD : TBits_1; inline;
  4729. function getBRGH : TBits_1; inline;
  4730. function getIREN : TBits_1; inline;
  4731. function getLPBACK : TBits_1; inline;
  4732. function getON : TBits_1; inline;
  4733. function getPDSEL : TBits_2; inline;
  4734. function getPDSEL0 : TBits_1; inline;
  4735. function getPDSEL1 : TBits_1; inline;
  4736. function getRTSMD : TBits_1; inline;
  4737. function getRXINV : TBits_1; inline;
  4738. function getSIDL : TBits_1; inline;
  4739. function getSTSEL : TBits_1; inline;
  4740. function getUARTEN : TBits_1; inline;
  4741. function getUEN : TBits_2; inline;
  4742. function getUEN0 : TBits_1; inline;
  4743. function getUEN1 : TBits_1; inline;
  4744. function getUSIDL : TBits_1; inline;
  4745. function getWAKE : TBits_1; inline;
  4746. function getw : TBits_32; inline;
  4747. procedure setABAUD(thebits : TBits_1); inline;
  4748. procedure setBRGH(thebits : TBits_1); inline;
  4749. procedure setIREN(thebits : TBits_1); inline;
  4750. procedure setLPBACK(thebits : TBits_1); inline;
  4751. procedure setON(thebits : TBits_1); inline;
  4752. procedure setPDSEL(thebits : TBits_2); inline;
  4753. procedure setPDSEL0(thebits : TBits_1); inline;
  4754. procedure setPDSEL1(thebits : TBits_1); inline;
  4755. procedure setRTSMD(thebits : TBits_1); inline;
  4756. procedure setRXINV(thebits : TBits_1); inline;
  4757. procedure setSIDL(thebits : TBits_1); inline;
  4758. procedure setSTSEL(thebits : TBits_1); inline;
  4759. procedure setUARTEN(thebits : TBits_1); inline;
  4760. procedure setUEN(thebits : TBits_2); inline;
  4761. procedure setUEN0(thebits : TBits_1); inline;
  4762. procedure setUEN1(thebits : TBits_1); inline;
  4763. procedure setUSIDL(thebits : TBits_1); inline;
  4764. procedure setWAKE(thebits : TBits_1); inline;
  4765. procedure setw(thebits : TBits_32); inline;
  4766. public
  4767. procedure clearABAUD; inline;
  4768. procedure clearBRGH; inline;
  4769. procedure clearIREN; inline;
  4770. procedure clearLPBACK; inline;
  4771. procedure clearON; inline;
  4772. procedure clearPDSEL0; inline;
  4773. procedure clearPDSEL1; inline;
  4774. procedure clearRTSMD; inline;
  4775. procedure clearRXINV; inline;
  4776. procedure clearSIDL; inline;
  4777. procedure clearSTSEL; inline;
  4778. procedure clearUARTEN; inline;
  4779. procedure clearUEN0; inline;
  4780. procedure clearUEN1; inline;
  4781. procedure clearUSIDL; inline;
  4782. procedure clearWAKE; inline;
  4783. procedure setABAUD; inline;
  4784. procedure setBRGH; inline;
  4785. procedure setIREN; inline;
  4786. procedure setLPBACK; inline;
  4787. procedure setON; inline;
  4788. procedure setPDSEL0; inline;
  4789. procedure setPDSEL1; inline;
  4790. procedure setRTSMD; inline;
  4791. procedure setRXINV; inline;
  4792. procedure setSIDL; inline;
  4793. procedure setSTSEL; inline;
  4794. procedure setUARTEN; inline;
  4795. procedure setUEN0; inline;
  4796. procedure setUEN1; inline;
  4797. procedure setUSIDL; inline;
  4798. procedure setWAKE; inline;
  4799. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4800. property BRGH : TBits_1 read getBRGH write setBRGH;
  4801. property IREN : TBits_1 read getIREN write setIREN;
  4802. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4803. property ON : TBits_1 read getON write setON;
  4804. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4805. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4806. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4807. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4808. property RXINV : TBits_1 read getRXINV write setRXINV;
  4809. property SIDL : TBits_1 read getSIDL write setSIDL;
  4810. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4811. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4812. property UEN : TBits_2 read getUEN write setUEN;
  4813. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4814. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4815. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4816. property WAKE : TBits_1 read getWAKE write setWAKE;
  4817. property w : TBits_32 read getw write setw;
  4818. end;
  4819. TUART2A_U3MODE = record
  4820. private
  4821. function getABAUD : TBits_1; inline;
  4822. function getBRGH : TBits_1; inline;
  4823. function getIREN : TBits_1; inline;
  4824. function getLPBACK : TBits_1; inline;
  4825. function getON : TBits_1; inline;
  4826. function getPDSEL : TBits_2; inline;
  4827. function getPDSEL0 : TBits_1; inline;
  4828. function getPDSEL1 : TBits_1; inline;
  4829. function getRTSMD : TBits_1; inline;
  4830. function getRXINV : TBits_1; inline;
  4831. function getSIDL : TBits_1; inline;
  4832. function getSTSEL : TBits_1; inline;
  4833. function getUARTEN : TBits_1; inline;
  4834. function getUEN : TBits_2; inline;
  4835. function getUEN0 : TBits_1; inline;
  4836. function getUEN1 : TBits_1; inline;
  4837. function getUSIDL : TBits_1; inline;
  4838. function getWAKE : TBits_1; inline;
  4839. function getw : TBits_32; inline;
  4840. procedure setABAUD(thebits : TBits_1); inline;
  4841. procedure setBRGH(thebits : TBits_1); inline;
  4842. procedure setIREN(thebits : TBits_1); inline;
  4843. procedure setLPBACK(thebits : TBits_1); inline;
  4844. procedure setON(thebits : TBits_1); inline;
  4845. procedure setPDSEL(thebits : TBits_2); inline;
  4846. procedure setPDSEL0(thebits : TBits_1); inline;
  4847. procedure setPDSEL1(thebits : TBits_1); inline;
  4848. procedure setRTSMD(thebits : TBits_1); inline;
  4849. procedure setRXINV(thebits : TBits_1); inline;
  4850. procedure setSIDL(thebits : TBits_1); inline;
  4851. procedure setSTSEL(thebits : TBits_1); inline;
  4852. procedure setUARTEN(thebits : TBits_1); inline;
  4853. procedure setUEN(thebits : TBits_2); inline;
  4854. procedure setUEN0(thebits : TBits_1); inline;
  4855. procedure setUEN1(thebits : TBits_1); inline;
  4856. procedure setUSIDL(thebits : TBits_1); inline;
  4857. procedure setWAKE(thebits : TBits_1); inline;
  4858. procedure setw(thebits : TBits_32); inline;
  4859. public
  4860. procedure clearABAUD; inline;
  4861. procedure clearBRGH; inline;
  4862. procedure clearIREN; inline;
  4863. procedure clearLPBACK; inline;
  4864. procedure clearON; inline;
  4865. procedure clearPDSEL0; inline;
  4866. procedure clearPDSEL1; inline;
  4867. procedure clearRTSMD; inline;
  4868. procedure clearRXINV; inline;
  4869. procedure clearSIDL; inline;
  4870. procedure clearSTSEL; inline;
  4871. procedure clearUARTEN; inline;
  4872. procedure clearUEN0; inline;
  4873. procedure clearUEN1; inline;
  4874. procedure clearUSIDL; inline;
  4875. procedure clearWAKE; inline;
  4876. procedure setABAUD; inline;
  4877. procedure setBRGH; inline;
  4878. procedure setIREN; inline;
  4879. procedure setLPBACK; inline;
  4880. procedure setON; inline;
  4881. procedure setPDSEL0; inline;
  4882. procedure setPDSEL1; inline;
  4883. procedure setRTSMD; inline;
  4884. procedure setRXINV; inline;
  4885. procedure setSIDL; inline;
  4886. procedure setSTSEL; inline;
  4887. procedure setUARTEN; inline;
  4888. procedure setUEN0; inline;
  4889. procedure setUEN1; inline;
  4890. procedure setUSIDL; inline;
  4891. procedure setWAKE; inline;
  4892. property ABAUD : TBits_1 read getABAUD write setABAUD;
  4893. property BRGH : TBits_1 read getBRGH write setBRGH;
  4894. property IREN : TBits_1 read getIREN write setIREN;
  4895. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  4896. property ON : TBits_1 read getON write setON;
  4897. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  4898. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  4899. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  4900. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  4901. property RXINV : TBits_1 read getRXINV write setRXINV;
  4902. property SIDL : TBits_1 read getSIDL write setSIDL;
  4903. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  4904. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  4905. property UEN : TBits_2 read getUEN write setUEN;
  4906. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  4907. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  4908. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  4909. property WAKE : TBits_1 read getWAKE write setWAKE;
  4910. property w : TBits_32 read getw write setw;
  4911. end;
  4912. TUART2A_U2ASTA = record
  4913. private
  4914. function getADDEN : TBits_1; inline;
  4915. function getADDR : TBits_8; inline;
  4916. function getADM_EN : TBits_1; inline;
  4917. function getFERR : TBits_1; inline;
  4918. function getOERR : TBits_1; inline;
  4919. function getPERR : TBits_1; inline;
  4920. function getRIDLE : TBits_1; inline;
  4921. function getTRMT : TBits_1; inline;
  4922. function getURXDA : TBits_1; inline;
  4923. function getURXEN : TBits_1; inline;
  4924. function getURXISEL : TBits_2; inline;
  4925. function getURXISEL0 : TBits_1; inline;
  4926. function getURXISEL1 : TBits_1; inline;
  4927. function getUTXBF : TBits_1; inline;
  4928. function getUTXBRK : TBits_1; inline;
  4929. function getUTXEN : TBits_1; inline;
  4930. function getUTXINV : TBits_1; inline;
  4931. function getUTXISEL : TBits_2; inline;
  4932. function getUTXISEL0 : TBits_1; inline;
  4933. function getUTXISEL1 : TBits_1; inline;
  4934. function getUTXSEL : TBits_2; inline;
  4935. function getw : TBits_32; inline;
  4936. procedure setADDEN(thebits : TBits_1); inline;
  4937. procedure setADDR(thebits : TBits_8); inline;
  4938. procedure setADM_EN(thebits : TBits_1); inline;
  4939. procedure setFERR(thebits : TBits_1); inline;
  4940. procedure setOERR(thebits : TBits_1); inline;
  4941. procedure setPERR(thebits : TBits_1); inline;
  4942. procedure setRIDLE(thebits : TBits_1); inline;
  4943. procedure setTRMT(thebits : TBits_1); inline;
  4944. procedure setURXDA(thebits : TBits_1); inline;
  4945. procedure setURXEN(thebits : TBits_1); inline;
  4946. procedure setURXISEL(thebits : TBits_2); inline;
  4947. procedure setURXISEL0(thebits : TBits_1); inline;
  4948. procedure setURXISEL1(thebits : TBits_1); inline;
  4949. procedure setUTXBF(thebits : TBits_1); inline;
  4950. procedure setUTXBRK(thebits : TBits_1); inline;
  4951. procedure setUTXEN(thebits : TBits_1); inline;
  4952. procedure setUTXINV(thebits : TBits_1); inline;
  4953. procedure setUTXISEL(thebits : TBits_2); inline;
  4954. procedure setUTXISEL0(thebits : TBits_1); inline;
  4955. procedure setUTXISEL1(thebits : TBits_1); inline;
  4956. procedure setUTXSEL(thebits : TBits_2); inline;
  4957. procedure setw(thebits : TBits_32); inline;
  4958. public
  4959. procedure clearADDEN; inline;
  4960. procedure clearADM_EN; inline;
  4961. procedure clearFERR; inline;
  4962. procedure clearOERR; inline;
  4963. procedure clearPERR; inline;
  4964. procedure clearRIDLE; inline;
  4965. procedure clearTRMT; inline;
  4966. procedure clearURXDA; inline;
  4967. procedure clearURXEN; inline;
  4968. procedure clearURXISEL0; inline;
  4969. procedure clearURXISEL1; inline;
  4970. procedure clearUTXBF; inline;
  4971. procedure clearUTXBRK; inline;
  4972. procedure clearUTXEN; inline;
  4973. procedure clearUTXINV; inline;
  4974. procedure clearUTXISEL0; inline;
  4975. procedure clearUTXISEL1; inline;
  4976. procedure setADDEN; inline;
  4977. procedure setADM_EN; inline;
  4978. procedure setFERR; inline;
  4979. procedure setOERR; inline;
  4980. procedure setPERR; inline;
  4981. procedure setRIDLE; inline;
  4982. procedure setTRMT; inline;
  4983. procedure setURXDA; inline;
  4984. procedure setURXEN; inline;
  4985. procedure setURXISEL0; inline;
  4986. procedure setURXISEL1; inline;
  4987. procedure setUTXBF; inline;
  4988. procedure setUTXBRK; inline;
  4989. procedure setUTXEN; inline;
  4990. procedure setUTXINV; inline;
  4991. procedure setUTXISEL0; inline;
  4992. procedure setUTXISEL1; inline;
  4993. property ADDEN : TBits_1 read getADDEN write setADDEN;
  4994. property ADDR : TBits_8 read getADDR write setADDR;
  4995. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  4996. property FERR : TBits_1 read getFERR write setFERR;
  4997. property OERR : TBits_1 read getOERR write setOERR;
  4998. property PERR : TBits_1 read getPERR write setPERR;
  4999. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5000. property TRMT : TBits_1 read getTRMT write setTRMT;
  5001. property URXDA : TBits_1 read getURXDA write setURXDA;
  5002. property URXEN : TBits_1 read getURXEN write setURXEN;
  5003. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5004. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5005. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5006. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5007. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5008. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5009. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5010. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5011. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5012. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5013. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5014. property w : TBits_32 read getw write setw;
  5015. end;
  5016. TUART2A_U3STA = record
  5017. private
  5018. function getADDEN : TBits_1; inline;
  5019. function getADDR : TBits_8; inline;
  5020. function getADM_EN : TBits_1; inline;
  5021. function getFERR : TBits_1; inline;
  5022. function getOERR : TBits_1; inline;
  5023. function getPERR : TBits_1; inline;
  5024. function getRIDLE : TBits_1; inline;
  5025. function getTRMT : TBits_1; inline;
  5026. function getURXDA : TBits_1; inline;
  5027. function getURXEN : TBits_1; inline;
  5028. function getURXISEL : TBits_2; inline;
  5029. function getURXISEL0 : TBits_1; inline;
  5030. function getURXISEL1 : TBits_1; inline;
  5031. function getUTXBF : TBits_1; inline;
  5032. function getUTXBRK : TBits_1; inline;
  5033. function getUTXEN : TBits_1; inline;
  5034. function getUTXINV : TBits_1; inline;
  5035. function getUTXISEL : TBits_2; inline;
  5036. function getUTXISEL0 : TBits_1; inline;
  5037. function getUTXISEL1 : TBits_1; inline;
  5038. function getUTXSEL : TBits_2; inline;
  5039. function getw : TBits_32; inline;
  5040. procedure setADDEN(thebits : TBits_1); inline;
  5041. procedure setADDR(thebits : TBits_8); inline;
  5042. procedure setADM_EN(thebits : TBits_1); inline;
  5043. procedure setFERR(thebits : TBits_1); inline;
  5044. procedure setOERR(thebits : TBits_1); inline;
  5045. procedure setPERR(thebits : TBits_1); inline;
  5046. procedure setRIDLE(thebits : TBits_1); inline;
  5047. procedure setTRMT(thebits : TBits_1); inline;
  5048. procedure setURXDA(thebits : TBits_1); inline;
  5049. procedure setURXEN(thebits : TBits_1); inline;
  5050. procedure setURXISEL(thebits : TBits_2); inline;
  5051. procedure setURXISEL0(thebits : TBits_1); inline;
  5052. procedure setURXISEL1(thebits : TBits_1); inline;
  5053. procedure setUTXBF(thebits : TBits_1); inline;
  5054. procedure setUTXBRK(thebits : TBits_1); inline;
  5055. procedure setUTXEN(thebits : TBits_1); inline;
  5056. procedure setUTXINV(thebits : TBits_1); inline;
  5057. procedure setUTXISEL(thebits : TBits_2); inline;
  5058. procedure setUTXISEL0(thebits : TBits_1); inline;
  5059. procedure setUTXISEL1(thebits : TBits_1); inline;
  5060. procedure setUTXSEL(thebits : TBits_2); inline;
  5061. procedure setw(thebits : TBits_32); inline;
  5062. public
  5063. procedure clearADDEN; inline;
  5064. procedure clearADM_EN; inline;
  5065. procedure clearFERR; inline;
  5066. procedure clearOERR; inline;
  5067. procedure clearPERR; inline;
  5068. procedure clearRIDLE; inline;
  5069. procedure clearTRMT; inline;
  5070. procedure clearURXDA; inline;
  5071. procedure clearURXEN; inline;
  5072. procedure clearURXISEL0; inline;
  5073. procedure clearURXISEL1; inline;
  5074. procedure clearUTXBF; inline;
  5075. procedure clearUTXBRK; inline;
  5076. procedure clearUTXEN; inline;
  5077. procedure clearUTXINV; inline;
  5078. procedure clearUTXISEL0; inline;
  5079. procedure clearUTXISEL1; inline;
  5080. procedure setADDEN; inline;
  5081. procedure setADM_EN; inline;
  5082. procedure setFERR; inline;
  5083. procedure setOERR; inline;
  5084. procedure setPERR; inline;
  5085. procedure setRIDLE; inline;
  5086. procedure setTRMT; inline;
  5087. procedure setURXDA; inline;
  5088. procedure setURXEN; inline;
  5089. procedure setURXISEL0; inline;
  5090. procedure setURXISEL1; inline;
  5091. procedure setUTXBF; inline;
  5092. procedure setUTXBRK; inline;
  5093. procedure setUTXEN; inline;
  5094. procedure setUTXINV; inline;
  5095. procedure setUTXISEL0; inline;
  5096. procedure setUTXISEL1; inline;
  5097. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5098. property ADDR : TBits_8 read getADDR write setADDR;
  5099. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5100. property FERR : TBits_1 read getFERR write setFERR;
  5101. property OERR : TBits_1 read getOERR write setOERR;
  5102. property PERR : TBits_1 read getPERR write setPERR;
  5103. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5104. property TRMT : TBits_1 read getTRMT write setTRMT;
  5105. property URXDA : TBits_1 read getURXDA write setURXDA;
  5106. property URXEN : TBits_1 read getURXEN write setURXEN;
  5107. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5108. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5109. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5110. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5111. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5112. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5113. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5114. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5115. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5116. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5117. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5118. property w : TBits_32 read getw write setw;
  5119. end;
  5120. type
  5121. TUART2ARegisters = record
  5122. U2AMODEbits : TUART2A_U2AMODE;
  5123. U2AMODE : longWord;
  5124. U3MODEbits : TUART2A_U3MODE;
  5125. U3MODE : longWord;
  5126. U2AMODECLR : longWord;
  5127. U3MODECLR : longWord;
  5128. U2AMODESET : longWord;
  5129. U3MODESET : longWord;
  5130. U2AMODEINV : longWord;
  5131. U3MODEINV : longWord;
  5132. U2ASTAbits : TUART2A_U2ASTA;
  5133. U2ASTA : longWord;
  5134. U3STAbits : TUART2A_U3STA;
  5135. U3STA : longWord;
  5136. U2ASTACLR : longWord;
  5137. U3STACLR : longWord;
  5138. U2ASTASET : longWord;
  5139. U3STASET : longWord;
  5140. U2ASTAINV : longWord;
  5141. U3STAINV : longWord;
  5142. U2ATXREG : longWord;
  5143. U3TXREG : longWord;
  5144. U2ARXREG : longWord;
  5145. U3RXREG : longWord;
  5146. U2ABRG : longWord;
  5147. U3BRG : longWord;
  5148. U2ABRGCLR : longWord;
  5149. U3BRGCLR : longWord;
  5150. U2ABRGSET : longWord;
  5151. U3BRGSET : longWord;
  5152. U2ABRGINV : longWord;
  5153. U3BRGINV : longWord;
  5154. end;
  5155. TUART6_U2BMODE = record
  5156. private
  5157. function getABAUD : TBits_1; inline;
  5158. function getBRGH : TBits_1; inline;
  5159. function getIREN : TBits_1; inline;
  5160. function getLPBACK : TBits_1; inline;
  5161. function getON : TBits_1; inline;
  5162. function getPDSEL : TBits_2; inline;
  5163. function getPDSEL0 : TBits_1; inline;
  5164. function getPDSEL1 : TBits_1; inline;
  5165. function getRXINV : TBits_1; inline;
  5166. function getSIDL : TBits_1; inline;
  5167. function getSTSEL : TBits_1; inline;
  5168. function getUARTEN : TBits_1; inline;
  5169. function getUSIDL : TBits_1; inline;
  5170. function getWAKE : TBits_1; inline;
  5171. function getw : TBits_32; inline;
  5172. procedure setABAUD(thebits : TBits_1); inline;
  5173. procedure setBRGH(thebits : TBits_1); inline;
  5174. procedure setIREN(thebits : TBits_1); inline;
  5175. procedure setLPBACK(thebits : TBits_1); inline;
  5176. procedure setON(thebits : TBits_1); inline;
  5177. procedure setPDSEL(thebits : TBits_2); inline;
  5178. procedure setPDSEL0(thebits : TBits_1); inline;
  5179. procedure setPDSEL1(thebits : TBits_1); inline;
  5180. procedure setRXINV(thebits : TBits_1); inline;
  5181. procedure setSIDL(thebits : TBits_1); inline;
  5182. procedure setSTSEL(thebits : TBits_1); inline;
  5183. procedure setUARTEN(thebits : TBits_1); inline;
  5184. procedure setUSIDL(thebits : TBits_1); inline;
  5185. procedure setWAKE(thebits : TBits_1); inline;
  5186. procedure setw(thebits : TBits_32); inline;
  5187. public
  5188. procedure clearABAUD; inline;
  5189. procedure clearBRGH; inline;
  5190. procedure clearIREN; inline;
  5191. procedure clearLPBACK; inline;
  5192. procedure clearON; inline;
  5193. procedure clearPDSEL0; inline;
  5194. procedure clearPDSEL1; inline;
  5195. procedure clearRXINV; inline;
  5196. procedure clearSIDL; inline;
  5197. procedure clearSTSEL; inline;
  5198. procedure clearUARTEN; inline;
  5199. procedure clearUSIDL; inline;
  5200. procedure clearWAKE; inline;
  5201. procedure setABAUD; inline;
  5202. procedure setBRGH; inline;
  5203. procedure setIREN; inline;
  5204. procedure setLPBACK; inline;
  5205. procedure setON; inline;
  5206. procedure setPDSEL0; inline;
  5207. procedure setPDSEL1; inline;
  5208. procedure setRXINV; inline;
  5209. procedure setSIDL; inline;
  5210. procedure setSTSEL; inline;
  5211. procedure setUARTEN; inline;
  5212. procedure setUSIDL; inline;
  5213. procedure setWAKE; inline;
  5214. property ABAUD : TBits_1 read getABAUD write setABAUD;
  5215. property BRGH : TBits_1 read getBRGH write setBRGH;
  5216. property IREN : TBits_1 read getIREN write setIREN;
  5217. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  5218. property ON : TBits_1 read getON write setON;
  5219. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  5220. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  5221. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  5222. property RXINV : TBits_1 read getRXINV write setRXINV;
  5223. property SIDL : TBits_1 read getSIDL write setSIDL;
  5224. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  5225. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  5226. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  5227. property WAKE : TBits_1 read getWAKE write setWAKE;
  5228. property w : TBits_32 read getw write setw;
  5229. end;
  5230. TUART6_U6MODE = record
  5231. private
  5232. function getABAUD : TBits_1; inline;
  5233. function getBRGH : TBits_1; inline;
  5234. function getIREN : TBits_1; inline;
  5235. function getLPBACK : TBits_1; inline;
  5236. function getON : TBits_1; inline;
  5237. function getPDSEL : TBits_2; inline;
  5238. function getPDSEL0 : TBits_1; inline;
  5239. function getPDSEL1 : TBits_1; inline;
  5240. function getRXINV : TBits_1; inline;
  5241. function getSIDL : TBits_1; inline;
  5242. function getSTSEL : TBits_1; inline;
  5243. function getUARTEN : TBits_1; inline;
  5244. function getUSIDL : TBits_1; inline;
  5245. function getWAKE : TBits_1; inline;
  5246. function getw : TBits_32; inline;
  5247. procedure setABAUD(thebits : TBits_1); inline;
  5248. procedure setBRGH(thebits : TBits_1); inline;
  5249. procedure setIREN(thebits : TBits_1); inline;
  5250. procedure setLPBACK(thebits : TBits_1); inline;
  5251. procedure setON(thebits : TBits_1); inline;
  5252. procedure setPDSEL(thebits : TBits_2); inline;
  5253. procedure setPDSEL0(thebits : TBits_1); inline;
  5254. procedure setPDSEL1(thebits : TBits_1); inline;
  5255. procedure setRXINV(thebits : TBits_1); inline;
  5256. procedure setSIDL(thebits : TBits_1); inline;
  5257. procedure setSTSEL(thebits : TBits_1); inline;
  5258. procedure setUARTEN(thebits : TBits_1); inline;
  5259. procedure setUSIDL(thebits : TBits_1); inline;
  5260. procedure setWAKE(thebits : TBits_1); inline;
  5261. procedure setw(thebits : TBits_32); inline;
  5262. public
  5263. procedure clearABAUD; inline;
  5264. procedure clearBRGH; inline;
  5265. procedure clearIREN; inline;
  5266. procedure clearLPBACK; inline;
  5267. procedure clearON; inline;
  5268. procedure clearPDSEL0; inline;
  5269. procedure clearPDSEL1; inline;
  5270. procedure clearRXINV; inline;
  5271. procedure clearSIDL; inline;
  5272. procedure clearSTSEL; inline;
  5273. procedure clearUARTEN; inline;
  5274. procedure clearUSIDL; inline;
  5275. procedure clearWAKE; inline;
  5276. procedure setABAUD; inline;
  5277. procedure setBRGH; inline;
  5278. procedure setIREN; inline;
  5279. procedure setLPBACK; inline;
  5280. procedure setON; inline;
  5281. procedure setPDSEL0; inline;
  5282. procedure setPDSEL1; inline;
  5283. procedure setRXINV; inline;
  5284. procedure setSIDL; inline;
  5285. procedure setSTSEL; inline;
  5286. procedure setUARTEN; inline;
  5287. procedure setUSIDL; inline;
  5288. procedure setWAKE; inline;
  5289. property ABAUD : TBits_1 read getABAUD write setABAUD;
  5290. property BRGH : TBits_1 read getBRGH write setBRGH;
  5291. property IREN : TBits_1 read getIREN write setIREN;
  5292. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  5293. property ON : TBits_1 read getON write setON;
  5294. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  5295. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  5296. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  5297. property RXINV : TBits_1 read getRXINV write setRXINV;
  5298. property SIDL : TBits_1 read getSIDL write setSIDL;
  5299. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  5300. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  5301. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  5302. property WAKE : TBits_1 read getWAKE write setWAKE;
  5303. property w : TBits_32 read getw write setw;
  5304. end;
  5305. TUART6_U2BSTA = record
  5306. private
  5307. function getADDEN : TBits_1; inline;
  5308. function getADDR : TBits_8; inline;
  5309. function getADM_EN : TBits_1; inline;
  5310. function getFERR : TBits_1; inline;
  5311. function getOERR : TBits_1; inline;
  5312. function getPERR : TBits_1; inline;
  5313. function getRIDLE : TBits_1; inline;
  5314. function getTRMT : TBits_1; inline;
  5315. function getURXDA : TBits_1; inline;
  5316. function getURXEN : TBits_1; inline;
  5317. function getURXISEL : TBits_2; inline;
  5318. function getURXISEL0 : TBits_1; inline;
  5319. function getURXISEL1 : TBits_1; inline;
  5320. function getUTXBF : TBits_1; inline;
  5321. function getUTXBRK : TBits_1; inline;
  5322. function getUTXEN : TBits_1; inline;
  5323. function getUTXINV : TBits_1; inline;
  5324. function getUTXISEL : TBits_2; inline;
  5325. function getUTXISEL0 : TBits_1; inline;
  5326. function getUTXISEL1 : TBits_1; inline;
  5327. function getUTXSEL : TBits_2; inline;
  5328. function getw : TBits_32; inline;
  5329. procedure setADDEN(thebits : TBits_1); inline;
  5330. procedure setADDR(thebits : TBits_8); inline;
  5331. procedure setADM_EN(thebits : TBits_1); inline;
  5332. procedure setFERR(thebits : TBits_1); inline;
  5333. procedure setOERR(thebits : TBits_1); inline;
  5334. procedure setPERR(thebits : TBits_1); inline;
  5335. procedure setRIDLE(thebits : TBits_1); inline;
  5336. procedure setTRMT(thebits : TBits_1); inline;
  5337. procedure setURXDA(thebits : TBits_1); inline;
  5338. procedure setURXEN(thebits : TBits_1); inline;
  5339. procedure setURXISEL(thebits : TBits_2); inline;
  5340. procedure setURXISEL0(thebits : TBits_1); inline;
  5341. procedure setURXISEL1(thebits : TBits_1); inline;
  5342. procedure setUTXBF(thebits : TBits_1); inline;
  5343. procedure setUTXBRK(thebits : TBits_1); inline;
  5344. procedure setUTXEN(thebits : TBits_1); inline;
  5345. procedure setUTXINV(thebits : TBits_1); inline;
  5346. procedure setUTXISEL(thebits : TBits_2); inline;
  5347. procedure setUTXISEL0(thebits : TBits_1); inline;
  5348. procedure setUTXISEL1(thebits : TBits_1); inline;
  5349. procedure setUTXSEL(thebits : TBits_2); inline;
  5350. procedure setw(thebits : TBits_32); inline;
  5351. public
  5352. procedure clearADDEN; inline;
  5353. procedure clearADM_EN; inline;
  5354. procedure clearFERR; inline;
  5355. procedure clearOERR; inline;
  5356. procedure clearPERR; inline;
  5357. procedure clearRIDLE; inline;
  5358. procedure clearTRMT; inline;
  5359. procedure clearURXDA; inline;
  5360. procedure clearURXEN; inline;
  5361. procedure clearURXISEL0; inline;
  5362. procedure clearURXISEL1; inline;
  5363. procedure clearUTXBF; inline;
  5364. procedure clearUTXBRK; inline;
  5365. procedure clearUTXEN; inline;
  5366. procedure clearUTXINV; inline;
  5367. procedure clearUTXISEL0; inline;
  5368. procedure clearUTXISEL1; inline;
  5369. procedure setADDEN; inline;
  5370. procedure setADM_EN; inline;
  5371. procedure setFERR; inline;
  5372. procedure setOERR; inline;
  5373. procedure setPERR; inline;
  5374. procedure setRIDLE; inline;
  5375. procedure setTRMT; inline;
  5376. procedure setURXDA; inline;
  5377. procedure setURXEN; inline;
  5378. procedure setURXISEL0; inline;
  5379. procedure setURXISEL1; inline;
  5380. procedure setUTXBF; inline;
  5381. procedure setUTXBRK; inline;
  5382. procedure setUTXEN; inline;
  5383. procedure setUTXINV; inline;
  5384. procedure setUTXISEL0; inline;
  5385. procedure setUTXISEL1; inline;
  5386. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5387. property ADDR : TBits_8 read getADDR write setADDR;
  5388. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5389. property FERR : TBits_1 read getFERR write setFERR;
  5390. property OERR : TBits_1 read getOERR write setOERR;
  5391. property PERR : TBits_1 read getPERR write setPERR;
  5392. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5393. property TRMT : TBits_1 read getTRMT write setTRMT;
  5394. property URXDA : TBits_1 read getURXDA write setURXDA;
  5395. property URXEN : TBits_1 read getURXEN write setURXEN;
  5396. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5397. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5398. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5399. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5400. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5401. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5402. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5403. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5404. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5405. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5406. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5407. property w : TBits_32 read getw write setw;
  5408. end;
  5409. TUART6_U6STA = record
  5410. private
  5411. function getADDEN : TBits_1; inline;
  5412. function getADDR : TBits_8; inline;
  5413. function getADM_EN : TBits_1; inline;
  5414. function getFERR : TBits_1; inline;
  5415. function getOERR : TBits_1; inline;
  5416. function getPERR : TBits_1; inline;
  5417. function getRIDLE : TBits_1; inline;
  5418. function getTRMT : TBits_1; inline;
  5419. function getURXDA : TBits_1; inline;
  5420. function getURXEN : TBits_1; inline;
  5421. function getURXISEL : TBits_2; inline;
  5422. function getURXISEL0 : TBits_1; inline;
  5423. function getURXISEL1 : TBits_1; inline;
  5424. function getUTXBF : TBits_1; inline;
  5425. function getUTXBRK : TBits_1; inline;
  5426. function getUTXEN : TBits_1; inline;
  5427. function getUTXINV : TBits_1; inline;
  5428. function getUTXISEL : TBits_2; inline;
  5429. function getUTXISEL0 : TBits_1; inline;
  5430. function getUTXISEL1 : TBits_1; inline;
  5431. function getUTXSEL : TBits_2; inline;
  5432. function getw : TBits_32; inline;
  5433. procedure setADDEN(thebits : TBits_1); inline;
  5434. procedure setADDR(thebits : TBits_8); inline;
  5435. procedure setADM_EN(thebits : TBits_1); inline;
  5436. procedure setFERR(thebits : TBits_1); inline;
  5437. procedure setOERR(thebits : TBits_1); inline;
  5438. procedure setPERR(thebits : TBits_1); inline;
  5439. procedure setRIDLE(thebits : TBits_1); inline;
  5440. procedure setTRMT(thebits : TBits_1); inline;
  5441. procedure setURXDA(thebits : TBits_1); inline;
  5442. procedure setURXEN(thebits : TBits_1); inline;
  5443. procedure setURXISEL(thebits : TBits_2); inline;
  5444. procedure setURXISEL0(thebits : TBits_1); inline;
  5445. procedure setURXISEL1(thebits : TBits_1); inline;
  5446. procedure setUTXBF(thebits : TBits_1); inline;
  5447. procedure setUTXBRK(thebits : TBits_1); inline;
  5448. procedure setUTXEN(thebits : TBits_1); inline;
  5449. procedure setUTXINV(thebits : TBits_1); inline;
  5450. procedure setUTXISEL(thebits : TBits_2); inline;
  5451. procedure setUTXISEL0(thebits : TBits_1); inline;
  5452. procedure setUTXISEL1(thebits : TBits_1); inline;
  5453. procedure setUTXSEL(thebits : TBits_2); inline;
  5454. procedure setw(thebits : TBits_32); inline;
  5455. public
  5456. procedure clearADDEN; inline;
  5457. procedure clearADM_EN; inline;
  5458. procedure clearFERR; inline;
  5459. procedure clearOERR; inline;
  5460. procedure clearPERR; inline;
  5461. procedure clearRIDLE; inline;
  5462. procedure clearTRMT; inline;
  5463. procedure clearURXDA; inline;
  5464. procedure clearURXEN; inline;
  5465. procedure clearURXISEL0; inline;
  5466. procedure clearURXISEL1; inline;
  5467. procedure clearUTXBF; inline;
  5468. procedure clearUTXBRK; inline;
  5469. procedure clearUTXEN; inline;
  5470. procedure clearUTXINV; inline;
  5471. procedure clearUTXISEL0; inline;
  5472. procedure clearUTXISEL1; inline;
  5473. procedure setADDEN; inline;
  5474. procedure setADM_EN; inline;
  5475. procedure setFERR; inline;
  5476. procedure setOERR; inline;
  5477. procedure setPERR; inline;
  5478. procedure setRIDLE; inline;
  5479. procedure setTRMT; inline;
  5480. procedure setURXDA; inline;
  5481. procedure setURXEN; inline;
  5482. procedure setURXISEL0; inline;
  5483. procedure setURXISEL1; inline;
  5484. procedure setUTXBF; inline;
  5485. procedure setUTXBRK; inline;
  5486. procedure setUTXEN; inline;
  5487. procedure setUTXINV; inline;
  5488. procedure setUTXISEL0; inline;
  5489. procedure setUTXISEL1; inline;
  5490. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5491. property ADDR : TBits_8 read getADDR write setADDR;
  5492. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5493. property FERR : TBits_1 read getFERR write setFERR;
  5494. property OERR : TBits_1 read getOERR write setOERR;
  5495. property PERR : TBits_1 read getPERR write setPERR;
  5496. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5497. property TRMT : TBits_1 read getTRMT write setTRMT;
  5498. property URXDA : TBits_1 read getURXDA write setURXDA;
  5499. property URXEN : TBits_1 read getURXEN write setURXEN;
  5500. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5501. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5502. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5503. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5504. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5505. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5506. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5507. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5508. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5509. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5510. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5511. property w : TBits_32 read getw write setw;
  5512. end;
  5513. type
  5514. TUART6Registers = record
  5515. U2BMODEbits : TUART6_U2BMODE;
  5516. U2BMODE : longWord;
  5517. U6MODEbits : TUART6_U6MODE;
  5518. U6MODE : longWord;
  5519. U2BMODECLR : longWord;
  5520. U6MODECLR : longWord;
  5521. U2BMODESET : longWord;
  5522. U6MODESET : longWord;
  5523. U2BMODEINV : longWord;
  5524. U6MODEINV : longWord;
  5525. U2BSTAbits : TUART6_U2BSTA;
  5526. U2BSTA : longWord;
  5527. U6STAbits : TUART6_U6STA;
  5528. U6STA : longWord;
  5529. U2BSTACLR : longWord;
  5530. U6STACLR : longWord;
  5531. U2BSTASET : longWord;
  5532. U6STASET : longWord;
  5533. U2BSTAINV : longWord;
  5534. U6STAINV : longWord;
  5535. U2BTXREG : longWord;
  5536. U6TXREG : longWord;
  5537. U2BRXREG : longWord;
  5538. U6RXREG : longWord;
  5539. U2BBRG : longWord;
  5540. U6BRG : longWord;
  5541. U2BBRGCLR : longWord;
  5542. U6BRGCLR : longWord;
  5543. U2BBRGSET : longWord;
  5544. U6BRGSET : longWord;
  5545. U2BBRGINV : longWord;
  5546. U6BRGINV : longWord;
  5547. end;
  5548. TUART2_U2MODE = record
  5549. private
  5550. function getABAUD : TBits_1; inline;
  5551. function getBRGH : TBits_1; inline;
  5552. function getIREN : TBits_1; inline;
  5553. function getLPBACK : TBits_1; inline;
  5554. function getON : TBits_1; inline;
  5555. function getPDSEL : TBits_2; inline;
  5556. function getPDSEL0 : TBits_1; inline;
  5557. function getPDSEL1 : TBits_1; inline;
  5558. function getRTSMD : TBits_1; inline;
  5559. function getRXINV : TBits_1; inline;
  5560. function getSIDL : TBits_1; inline;
  5561. function getSTSEL : TBits_1; inline;
  5562. function getUARTEN : TBits_1; inline;
  5563. function getUEN : TBits_2; inline;
  5564. function getUEN0 : TBits_1; inline;
  5565. function getUEN1 : TBits_1; inline;
  5566. function getUSIDL : TBits_1; inline;
  5567. function getWAKE : TBits_1; inline;
  5568. function getw : TBits_32; inline;
  5569. procedure setABAUD(thebits : TBits_1); inline;
  5570. procedure setBRGH(thebits : TBits_1); inline;
  5571. procedure setIREN(thebits : TBits_1); inline;
  5572. procedure setLPBACK(thebits : TBits_1); inline;
  5573. procedure setON(thebits : TBits_1); inline;
  5574. procedure setPDSEL(thebits : TBits_2); inline;
  5575. procedure setPDSEL0(thebits : TBits_1); inline;
  5576. procedure setPDSEL1(thebits : TBits_1); inline;
  5577. procedure setRTSMD(thebits : TBits_1); inline;
  5578. procedure setRXINV(thebits : TBits_1); inline;
  5579. procedure setSIDL(thebits : TBits_1); inline;
  5580. procedure setSTSEL(thebits : TBits_1); inline;
  5581. procedure setUARTEN(thebits : TBits_1); inline;
  5582. procedure setUEN(thebits : TBits_2); inline;
  5583. procedure setUEN0(thebits : TBits_1); inline;
  5584. procedure setUEN1(thebits : TBits_1); inline;
  5585. procedure setUSIDL(thebits : TBits_1); inline;
  5586. procedure setWAKE(thebits : TBits_1); inline;
  5587. procedure setw(thebits : TBits_32); inline;
  5588. public
  5589. procedure clearABAUD; inline;
  5590. procedure clearBRGH; inline;
  5591. procedure clearIREN; inline;
  5592. procedure clearLPBACK; inline;
  5593. procedure clearON; inline;
  5594. procedure clearPDSEL0; inline;
  5595. procedure clearPDSEL1; inline;
  5596. procedure clearRTSMD; inline;
  5597. procedure clearRXINV; inline;
  5598. procedure clearSIDL; inline;
  5599. procedure clearSTSEL; inline;
  5600. procedure clearUARTEN; inline;
  5601. procedure clearUEN0; inline;
  5602. procedure clearUEN1; inline;
  5603. procedure clearUSIDL; inline;
  5604. procedure clearWAKE; inline;
  5605. procedure setABAUD; inline;
  5606. procedure setBRGH; inline;
  5607. procedure setIREN; inline;
  5608. procedure setLPBACK; inline;
  5609. procedure setON; inline;
  5610. procedure setPDSEL0; inline;
  5611. procedure setPDSEL1; inline;
  5612. procedure setRTSMD; inline;
  5613. procedure setRXINV; inline;
  5614. procedure setSIDL; inline;
  5615. procedure setSTSEL; inline;
  5616. procedure setUARTEN; inline;
  5617. procedure setUEN0; inline;
  5618. procedure setUEN1; inline;
  5619. procedure setUSIDL; inline;
  5620. procedure setWAKE; inline;
  5621. property ABAUD : TBits_1 read getABAUD write setABAUD;
  5622. property BRGH : TBits_1 read getBRGH write setBRGH;
  5623. property IREN : TBits_1 read getIREN write setIREN;
  5624. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  5625. property ON : TBits_1 read getON write setON;
  5626. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  5627. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  5628. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  5629. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  5630. property RXINV : TBits_1 read getRXINV write setRXINV;
  5631. property SIDL : TBits_1 read getSIDL write setSIDL;
  5632. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  5633. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  5634. property UEN : TBits_2 read getUEN write setUEN;
  5635. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  5636. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  5637. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  5638. property WAKE : TBits_1 read getWAKE write setWAKE;
  5639. property w : TBits_32 read getw write setw;
  5640. end;
  5641. TUART2_U3AMODE = record
  5642. private
  5643. function getABAUD : TBits_1; inline;
  5644. function getBRGH : TBits_1; inline;
  5645. function getIREN : TBits_1; inline;
  5646. function getLPBACK : TBits_1; inline;
  5647. function getON : TBits_1; inline;
  5648. function getPDSEL : TBits_2; inline;
  5649. function getPDSEL0 : TBits_1; inline;
  5650. function getPDSEL1 : TBits_1; inline;
  5651. function getRTSMD : TBits_1; inline;
  5652. function getRXINV : TBits_1; inline;
  5653. function getSIDL : TBits_1; inline;
  5654. function getSTSEL : TBits_1; inline;
  5655. function getUARTEN : TBits_1; inline;
  5656. function getUEN : TBits_2; inline;
  5657. function getUEN0 : TBits_1; inline;
  5658. function getUEN1 : TBits_1; inline;
  5659. function getUSIDL : TBits_1; inline;
  5660. function getWAKE : TBits_1; inline;
  5661. function getw : TBits_32; inline;
  5662. procedure setABAUD(thebits : TBits_1); inline;
  5663. procedure setBRGH(thebits : TBits_1); inline;
  5664. procedure setIREN(thebits : TBits_1); inline;
  5665. procedure setLPBACK(thebits : TBits_1); inline;
  5666. procedure setON(thebits : TBits_1); inline;
  5667. procedure setPDSEL(thebits : TBits_2); inline;
  5668. procedure setPDSEL0(thebits : TBits_1); inline;
  5669. procedure setPDSEL1(thebits : TBits_1); inline;
  5670. procedure setRTSMD(thebits : TBits_1); inline;
  5671. procedure setRXINV(thebits : TBits_1); inline;
  5672. procedure setSIDL(thebits : TBits_1); inline;
  5673. procedure setSTSEL(thebits : TBits_1); inline;
  5674. procedure setUARTEN(thebits : TBits_1); inline;
  5675. procedure setUEN(thebits : TBits_2); inline;
  5676. procedure setUEN0(thebits : TBits_1); inline;
  5677. procedure setUEN1(thebits : TBits_1); inline;
  5678. procedure setUSIDL(thebits : TBits_1); inline;
  5679. procedure setWAKE(thebits : TBits_1); inline;
  5680. procedure setw(thebits : TBits_32); inline;
  5681. public
  5682. procedure clearABAUD; inline;
  5683. procedure clearBRGH; inline;
  5684. procedure clearIREN; inline;
  5685. procedure clearLPBACK; inline;
  5686. procedure clearON; inline;
  5687. procedure clearPDSEL0; inline;
  5688. procedure clearPDSEL1; inline;
  5689. procedure clearRTSMD; inline;
  5690. procedure clearRXINV; inline;
  5691. procedure clearSIDL; inline;
  5692. procedure clearSTSEL; inline;
  5693. procedure clearUARTEN; inline;
  5694. procedure clearUEN0; inline;
  5695. procedure clearUEN1; inline;
  5696. procedure clearUSIDL; inline;
  5697. procedure clearWAKE; inline;
  5698. procedure setABAUD; inline;
  5699. procedure setBRGH; inline;
  5700. procedure setIREN; inline;
  5701. procedure setLPBACK; inline;
  5702. procedure setON; inline;
  5703. procedure setPDSEL0; inline;
  5704. procedure setPDSEL1; inline;
  5705. procedure setRTSMD; inline;
  5706. procedure setRXINV; inline;
  5707. procedure setSIDL; inline;
  5708. procedure setSTSEL; inline;
  5709. procedure setUARTEN; inline;
  5710. procedure setUEN0; inline;
  5711. procedure setUEN1; inline;
  5712. procedure setUSIDL; inline;
  5713. procedure setWAKE; inline;
  5714. property ABAUD : TBits_1 read getABAUD write setABAUD;
  5715. property BRGH : TBits_1 read getBRGH write setBRGH;
  5716. property IREN : TBits_1 read getIREN write setIREN;
  5717. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  5718. property ON : TBits_1 read getON write setON;
  5719. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  5720. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  5721. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  5722. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  5723. property RXINV : TBits_1 read getRXINV write setRXINV;
  5724. property SIDL : TBits_1 read getSIDL write setSIDL;
  5725. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  5726. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  5727. property UEN : TBits_2 read getUEN write setUEN;
  5728. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  5729. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  5730. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  5731. property WAKE : TBits_1 read getWAKE write setWAKE;
  5732. property w : TBits_32 read getw write setw;
  5733. end;
  5734. TUART2_U2STA = record
  5735. private
  5736. function getADDEN : TBits_1; inline;
  5737. function getADDR : TBits_8; inline;
  5738. function getADM_EN : TBits_1; inline;
  5739. function getFERR : TBits_1; inline;
  5740. function getOERR : TBits_1; inline;
  5741. function getPERR : TBits_1; inline;
  5742. function getRIDLE : TBits_1; inline;
  5743. function getTRMT : TBits_1; inline;
  5744. function getURXDA : TBits_1; inline;
  5745. function getURXEN : TBits_1; inline;
  5746. function getURXISEL : TBits_2; inline;
  5747. function getURXISEL0 : TBits_1; inline;
  5748. function getURXISEL1 : TBits_1; inline;
  5749. function getUTXBF : TBits_1; inline;
  5750. function getUTXBRK : TBits_1; inline;
  5751. function getUTXEN : TBits_1; inline;
  5752. function getUTXINV : TBits_1; inline;
  5753. function getUTXISEL : TBits_2; inline;
  5754. function getUTXISEL0 : TBits_1; inline;
  5755. function getUTXISEL1 : TBits_1; inline;
  5756. function getUTXSEL : TBits_2; inline;
  5757. function getw : TBits_32; inline;
  5758. procedure setADDEN(thebits : TBits_1); inline;
  5759. procedure setADDR(thebits : TBits_8); inline;
  5760. procedure setADM_EN(thebits : TBits_1); inline;
  5761. procedure setFERR(thebits : TBits_1); inline;
  5762. procedure setOERR(thebits : TBits_1); inline;
  5763. procedure setPERR(thebits : TBits_1); inline;
  5764. procedure setRIDLE(thebits : TBits_1); inline;
  5765. procedure setTRMT(thebits : TBits_1); inline;
  5766. procedure setURXDA(thebits : TBits_1); inline;
  5767. procedure setURXEN(thebits : TBits_1); inline;
  5768. procedure setURXISEL(thebits : TBits_2); inline;
  5769. procedure setURXISEL0(thebits : TBits_1); inline;
  5770. procedure setURXISEL1(thebits : TBits_1); inline;
  5771. procedure setUTXBF(thebits : TBits_1); inline;
  5772. procedure setUTXBRK(thebits : TBits_1); inline;
  5773. procedure setUTXEN(thebits : TBits_1); inline;
  5774. procedure setUTXINV(thebits : TBits_1); inline;
  5775. procedure setUTXISEL(thebits : TBits_2); inline;
  5776. procedure setUTXISEL0(thebits : TBits_1); inline;
  5777. procedure setUTXISEL1(thebits : TBits_1); inline;
  5778. procedure setUTXSEL(thebits : TBits_2); inline;
  5779. procedure setw(thebits : TBits_32); inline;
  5780. public
  5781. procedure clearADDEN; inline;
  5782. procedure clearADM_EN; inline;
  5783. procedure clearFERR; inline;
  5784. procedure clearOERR; inline;
  5785. procedure clearPERR; inline;
  5786. procedure clearRIDLE; inline;
  5787. procedure clearTRMT; inline;
  5788. procedure clearURXDA; inline;
  5789. procedure clearURXEN; inline;
  5790. procedure clearURXISEL0; inline;
  5791. procedure clearURXISEL1; inline;
  5792. procedure clearUTXBF; inline;
  5793. procedure clearUTXBRK; inline;
  5794. procedure clearUTXEN; inline;
  5795. procedure clearUTXINV; inline;
  5796. procedure clearUTXISEL0; inline;
  5797. procedure clearUTXISEL1; inline;
  5798. procedure setADDEN; inline;
  5799. procedure setADM_EN; inline;
  5800. procedure setFERR; inline;
  5801. procedure setOERR; inline;
  5802. procedure setPERR; inline;
  5803. procedure setRIDLE; inline;
  5804. procedure setTRMT; inline;
  5805. procedure setURXDA; inline;
  5806. procedure setURXEN; inline;
  5807. procedure setURXISEL0; inline;
  5808. procedure setURXISEL1; inline;
  5809. procedure setUTXBF; inline;
  5810. procedure setUTXBRK; inline;
  5811. procedure setUTXEN; inline;
  5812. procedure setUTXINV; inline;
  5813. procedure setUTXISEL0; inline;
  5814. procedure setUTXISEL1; inline;
  5815. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5816. property ADDR : TBits_8 read getADDR write setADDR;
  5817. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5818. property FERR : TBits_1 read getFERR write setFERR;
  5819. property OERR : TBits_1 read getOERR write setOERR;
  5820. property PERR : TBits_1 read getPERR write setPERR;
  5821. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5822. property TRMT : TBits_1 read getTRMT write setTRMT;
  5823. property URXDA : TBits_1 read getURXDA write setURXDA;
  5824. property URXEN : TBits_1 read getURXEN write setURXEN;
  5825. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5826. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5827. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5828. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5829. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5830. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5831. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5832. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5833. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5834. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5835. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5836. property w : TBits_32 read getw write setw;
  5837. end;
  5838. TUART2_U3ASTA = record
  5839. private
  5840. function getADDEN : TBits_1; inline;
  5841. function getADDR : TBits_8; inline;
  5842. function getADM_EN : TBits_1; inline;
  5843. function getFERR : TBits_1; inline;
  5844. function getOERR : TBits_1; inline;
  5845. function getPERR : TBits_1; inline;
  5846. function getRIDLE : TBits_1; inline;
  5847. function getTRMT : TBits_1; inline;
  5848. function getURXDA : TBits_1; inline;
  5849. function getURXEN : TBits_1; inline;
  5850. function getURXISEL : TBits_2; inline;
  5851. function getURXISEL0 : TBits_1; inline;
  5852. function getURXISEL1 : TBits_1; inline;
  5853. function getUTXBF : TBits_1; inline;
  5854. function getUTXBRK : TBits_1; inline;
  5855. function getUTXEN : TBits_1; inline;
  5856. function getUTXINV : TBits_1; inline;
  5857. function getUTXISEL : TBits_2; inline;
  5858. function getUTXISEL0 : TBits_1; inline;
  5859. function getUTXISEL1 : TBits_1; inline;
  5860. function getUTXSEL : TBits_2; inline;
  5861. function getw : TBits_32; inline;
  5862. procedure setADDEN(thebits : TBits_1); inline;
  5863. procedure setADDR(thebits : TBits_8); inline;
  5864. procedure setADM_EN(thebits : TBits_1); inline;
  5865. procedure setFERR(thebits : TBits_1); inline;
  5866. procedure setOERR(thebits : TBits_1); inline;
  5867. procedure setPERR(thebits : TBits_1); inline;
  5868. procedure setRIDLE(thebits : TBits_1); inline;
  5869. procedure setTRMT(thebits : TBits_1); inline;
  5870. procedure setURXDA(thebits : TBits_1); inline;
  5871. procedure setURXEN(thebits : TBits_1); inline;
  5872. procedure setURXISEL(thebits : TBits_2); inline;
  5873. procedure setURXISEL0(thebits : TBits_1); inline;
  5874. procedure setURXISEL1(thebits : TBits_1); inline;
  5875. procedure setUTXBF(thebits : TBits_1); inline;
  5876. procedure setUTXBRK(thebits : TBits_1); inline;
  5877. procedure setUTXEN(thebits : TBits_1); inline;
  5878. procedure setUTXINV(thebits : TBits_1); inline;
  5879. procedure setUTXISEL(thebits : TBits_2); inline;
  5880. procedure setUTXISEL0(thebits : TBits_1); inline;
  5881. procedure setUTXISEL1(thebits : TBits_1); inline;
  5882. procedure setUTXSEL(thebits : TBits_2); inline;
  5883. procedure setw(thebits : TBits_32); inline;
  5884. public
  5885. procedure clearADDEN; inline;
  5886. procedure clearADM_EN; inline;
  5887. procedure clearFERR; inline;
  5888. procedure clearOERR; inline;
  5889. procedure clearPERR; inline;
  5890. procedure clearRIDLE; inline;
  5891. procedure clearTRMT; inline;
  5892. procedure clearURXDA; inline;
  5893. procedure clearURXEN; inline;
  5894. procedure clearURXISEL0; inline;
  5895. procedure clearURXISEL1; inline;
  5896. procedure clearUTXBF; inline;
  5897. procedure clearUTXBRK; inline;
  5898. procedure clearUTXEN; inline;
  5899. procedure clearUTXINV; inline;
  5900. procedure clearUTXISEL0; inline;
  5901. procedure clearUTXISEL1; inline;
  5902. procedure setADDEN; inline;
  5903. procedure setADM_EN; inline;
  5904. procedure setFERR; inline;
  5905. procedure setOERR; inline;
  5906. procedure setPERR; inline;
  5907. procedure setRIDLE; inline;
  5908. procedure setTRMT; inline;
  5909. procedure setURXDA; inline;
  5910. procedure setURXEN; inline;
  5911. procedure setURXISEL0; inline;
  5912. procedure setURXISEL1; inline;
  5913. procedure setUTXBF; inline;
  5914. procedure setUTXBRK; inline;
  5915. procedure setUTXEN; inline;
  5916. procedure setUTXINV; inline;
  5917. procedure setUTXISEL0; inline;
  5918. procedure setUTXISEL1; inline;
  5919. property ADDEN : TBits_1 read getADDEN write setADDEN;
  5920. property ADDR : TBits_8 read getADDR write setADDR;
  5921. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  5922. property FERR : TBits_1 read getFERR write setFERR;
  5923. property OERR : TBits_1 read getOERR write setOERR;
  5924. property PERR : TBits_1 read getPERR write setPERR;
  5925. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  5926. property TRMT : TBits_1 read getTRMT write setTRMT;
  5927. property URXDA : TBits_1 read getURXDA write setURXDA;
  5928. property URXEN : TBits_1 read getURXEN write setURXEN;
  5929. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  5930. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  5931. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  5932. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  5933. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  5934. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  5935. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  5936. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  5937. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  5938. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  5939. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  5940. property w : TBits_32 read getw write setw;
  5941. end;
  5942. type
  5943. TUART2Registers = record
  5944. U2MODEbits : TUART2_U2MODE;
  5945. U2MODE : longWord;
  5946. U3AMODEbits : TUART2_U3AMODE;
  5947. U3AMODE : longWord;
  5948. U2MODECLR : longWord;
  5949. U3AMODECLR : longWord;
  5950. U2MODESET : longWord;
  5951. U3AMODESET : longWord;
  5952. U2MODEINV : longWord;
  5953. U3AMODEINV : longWord;
  5954. U2STAbits : TUART2_U2STA;
  5955. U2STA : longWord;
  5956. U3ASTAbits : TUART2_U3ASTA;
  5957. U3ASTA : longWord;
  5958. U2STACLR : longWord;
  5959. U3ASTACLR : longWord;
  5960. U2STASET : longWord;
  5961. U3ASTASET : longWord;
  5962. U2STAINV : longWord;
  5963. U3ASTAINV : longWord;
  5964. U2TXREG : longWord;
  5965. U3ATXREG : longWord;
  5966. U2RXREG : longWord;
  5967. U3ARXREG : longWord;
  5968. U2BRG : longWord;
  5969. U3ABRG : longWord;
  5970. U2BRGCLR : longWord;
  5971. U3ABRGCLR : longWord;
  5972. U2BRGSET : longWord;
  5973. U3ABRGSET : longWord;
  5974. U2BRGINV : longWord;
  5975. U3ABRGINV : longWord;
  5976. end;
  5977. TUART5_U3BMODE = record
  5978. private
  5979. function getABAUD : TBits_1; inline;
  5980. function getBRGH : TBits_1; inline;
  5981. function getIREN : TBits_1; inline;
  5982. function getLPBACK : TBits_1; inline;
  5983. function getON : TBits_1; inline;
  5984. function getPDSEL : TBits_2; inline;
  5985. function getPDSEL0 : TBits_1; inline;
  5986. function getPDSEL1 : TBits_1; inline;
  5987. function getRXINV : TBits_1; inline;
  5988. function getSIDL : TBits_1; inline;
  5989. function getSTSEL : TBits_1; inline;
  5990. function getUARTEN : TBits_1; inline;
  5991. function getUSIDL : TBits_1; inline;
  5992. function getWAKE : TBits_1; inline;
  5993. function getw : TBits_32; inline;
  5994. procedure setABAUD(thebits : TBits_1); inline;
  5995. procedure setBRGH(thebits : TBits_1); inline;
  5996. procedure setIREN(thebits : TBits_1); inline;
  5997. procedure setLPBACK(thebits : TBits_1); inline;
  5998. procedure setON(thebits : TBits_1); inline;
  5999. procedure setPDSEL(thebits : TBits_2); inline;
  6000. procedure setPDSEL0(thebits : TBits_1); inline;
  6001. procedure setPDSEL1(thebits : TBits_1); inline;
  6002. procedure setRXINV(thebits : TBits_1); inline;
  6003. procedure setSIDL(thebits : TBits_1); inline;
  6004. procedure setSTSEL(thebits : TBits_1); inline;
  6005. procedure setUARTEN(thebits : TBits_1); inline;
  6006. procedure setUSIDL(thebits : TBits_1); inline;
  6007. procedure setWAKE(thebits : TBits_1); inline;
  6008. procedure setw(thebits : TBits_32); inline;
  6009. public
  6010. procedure clearABAUD; inline;
  6011. procedure clearBRGH; inline;
  6012. procedure clearIREN; inline;
  6013. procedure clearLPBACK; inline;
  6014. procedure clearON; inline;
  6015. procedure clearPDSEL0; inline;
  6016. procedure clearPDSEL1; inline;
  6017. procedure clearRXINV; inline;
  6018. procedure clearSIDL; inline;
  6019. procedure clearSTSEL; inline;
  6020. procedure clearUARTEN; inline;
  6021. procedure clearUSIDL; inline;
  6022. procedure clearWAKE; inline;
  6023. procedure setABAUD; inline;
  6024. procedure setBRGH; inline;
  6025. procedure setIREN; inline;
  6026. procedure setLPBACK; inline;
  6027. procedure setON; inline;
  6028. procedure setPDSEL0; inline;
  6029. procedure setPDSEL1; inline;
  6030. procedure setRXINV; inline;
  6031. procedure setSIDL; inline;
  6032. procedure setSTSEL; inline;
  6033. procedure setUARTEN; inline;
  6034. procedure setUSIDL; inline;
  6035. procedure setWAKE; inline;
  6036. property ABAUD : TBits_1 read getABAUD write setABAUD;
  6037. property BRGH : TBits_1 read getBRGH write setBRGH;
  6038. property IREN : TBits_1 read getIREN write setIREN;
  6039. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  6040. property ON : TBits_1 read getON write setON;
  6041. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  6042. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  6043. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  6044. property RXINV : TBits_1 read getRXINV write setRXINV;
  6045. property SIDL : TBits_1 read getSIDL write setSIDL;
  6046. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  6047. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  6048. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  6049. property WAKE : TBits_1 read getWAKE write setWAKE;
  6050. property w : TBits_32 read getw write setw;
  6051. end;
  6052. TUART5_U5MODE = record
  6053. private
  6054. function getABAUD : TBits_1; inline;
  6055. function getBRGH : TBits_1; inline;
  6056. function getIREN : TBits_1; inline;
  6057. function getLPBACK : TBits_1; inline;
  6058. function getON : TBits_1; inline;
  6059. function getPDSEL : TBits_2; inline;
  6060. function getPDSEL0 : TBits_1; inline;
  6061. function getPDSEL1 : TBits_1; inline;
  6062. function getRXINV : TBits_1; inline;
  6063. function getSIDL : TBits_1; inline;
  6064. function getSTSEL : TBits_1; inline;
  6065. function getUARTEN : TBits_1; inline;
  6066. function getUSIDL : TBits_1; inline;
  6067. function getWAKE : TBits_1; inline;
  6068. function getw : TBits_32; inline;
  6069. procedure setABAUD(thebits : TBits_1); inline;
  6070. procedure setBRGH(thebits : TBits_1); inline;
  6071. procedure setIREN(thebits : TBits_1); inline;
  6072. procedure setLPBACK(thebits : TBits_1); inline;
  6073. procedure setON(thebits : TBits_1); inline;
  6074. procedure setPDSEL(thebits : TBits_2); inline;
  6075. procedure setPDSEL0(thebits : TBits_1); inline;
  6076. procedure setPDSEL1(thebits : TBits_1); inline;
  6077. procedure setRXINV(thebits : TBits_1); inline;
  6078. procedure setSIDL(thebits : TBits_1); inline;
  6079. procedure setSTSEL(thebits : TBits_1); inline;
  6080. procedure setUARTEN(thebits : TBits_1); inline;
  6081. procedure setUSIDL(thebits : TBits_1); inline;
  6082. procedure setWAKE(thebits : TBits_1); inline;
  6083. procedure setw(thebits : TBits_32); inline;
  6084. public
  6085. procedure clearABAUD; inline;
  6086. procedure clearBRGH; inline;
  6087. procedure clearIREN; inline;
  6088. procedure clearLPBACK; inline;
  6089. procedure clearON; inline;
  6090. procedure clearPDSEL0; inline;
  6091. procedure clearPDSEL1; inline;
  6092. procedure clearRXINV; inline;
  6093. procedure clearSIDL; inline;
  6094. procedure clearSTSEL; inline;
  6095. procedure clearUARTEN; inline;
  6096. procedure clearUSIDL; inline;
  6097. procedure clearWAKE; inline;
  6098. procedure setABAUD; inline;
  6099. procedure setBRGH; inline;
  6100. procedure setIREN; inline;
  6101. procedure setLPBACK; inline;
  6102. procedure setON; inline;
  6103. procedure setPDSEL0; inline;
  6104. procedure setPDSEL1; inline;
  6105. procedure setRXINV; inline;
  6106. procedure setSIDL; inline;
  6107. procedure setSTSEL; inline;
  6108. procedure setUARTEN; inline;
  6109. procedure setUSIDL; inline;
  6110. procedure setWAKE; inline;
  6111. property ABAUD : TBits_1 read getABAUD write setABAUD;
  6112. property BRGH : TBits_1 read getBRGH write setBRGH;
  6113. property IREN : TBits_1 read getIREN write setIREN;
  6114. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  6115. property ON : TBits_1 read getON write setON;
  6116. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  6117. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  6118. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  6119. property RXINV : TBits_1 read getRXINV write setRXINV;
  6120. property SIDL : TBits_1 read getSIDL write setSIDL;
  6121. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  6122. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  6123. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  6124. property WAKE : TBits_1 read getWAKE write setWAKE;
  6125. property w : TBits_32 read getw write setw;
  6126. end;
  6127. TUART5_U3BSTA = record
  6128. private
  6129. function getADDEN : TBits_1; inline;
  6130. function getADDR : TBits_8; inline;
  6131. function getADM_EN : TBits_1; inline;
  6132. function getFERR : TBits_1; inline;
  6133. function getOERR : TBits_1; inline;
  6134. function getPERR : TBits_1; inline;
  6135. function getRIDLE : TBits_1; inline;
  6136. function getTRMT : TBits_1; inline;
  6137. function getURXDA : TBits_1; inline;
  6138. function getURXEN : TBits_1; inline;
  6139. function getURXISEL : TBits_2; inline;
  6140. function getURXISEL0 : TBits_1; inline;
  6141. function getURXISEL1 : TBits_1; inline;
  6142. function getUTXBF : TBits_1; inline;
  6143. function getUTXBRK : TBits_1; inline;
  6144. function getUTXEN : TBits_1; inline;
  6145. function getUTXINV : TBits_1; inline;
  6146. function getUTXISEL : TBits_2; inline;
  6147. function getUTXISEL0 : TBits_1; inline;
  6148. function getUTXISEL1 : TBits_1; inline;
  6149. function getUTXSEL : TBits_2; inline;
  6150. function getw : TBits_32; inline;
  6151. procedure setADDEN(thebits : TBits_1); inline;
  6152. procedure setADDR(thebits : TBits_8); inline;
  6153. procedure setADM_EN(thebits : TBits_1); inline;
  6154. procedure setFERR(thebits : TBits_1); inline;
  6155. procedure setOERR(thebits : TBits_1); inline;
  6156. procedure setPERR(thebits : TBits_1); inline;
  6157. procedure setRIDLE(thebits : TBits_1); inline;
  6158. procedure setTRMT(thebits : TBits_1); inline;
  6159. procedure setURXDA(thebits : TBits_1); inline;
  6160. procedure setURXEN(thebits : TBits_1); inline;
  6161. procedure setURXISEL(thebits : TBits_2); inline;
  6162. procedure setURXISEL0(thebits : TBits_1); inline;
  6163. procedure setURXISEL1(thebits : TBits_1); inline;
  6164. procedure setUTXBF(thebits : TBits_1); inline;
  6165. procedure setUTXBRK(thebits : TBits_1); inline;
  6166. procedure setUTXEN(thebits : TBits_1); inline;
  6167. procedure setUTXINV(thebits : TBits_1); inline;
  6168. procedure setUTXISEL(thebits : TBits_2); inline;
  6169. procedure setUTXISEL0(thebits : TBits_1); inline;
  6170. procedure setUTXISEL1(thebits : TBits_1); inline;
  6171. procedure setUTXSEL(thebits : TBits_2); inline;
  6172. procedure setw(thebits : TBits_32); inline;
  6173. public
  6174. procedure clearADDEN; inline;
  6175. procedure clearADM_EN; inline;
  6176. procedure clearFERR; inline;
  6177. procedure clearOERR; inline;
  6178. procedure clearPERR; inline;
  6179. procedure clearRIDLE; inline;
  6180. procedure clearTRMT; inline;
  6181. procedure clearURXDA; inline;
  6182. procedure clearURXEN; inline;
  6183. procedure clearURXISEL0; inline;
  6184. procedure clearURXISEL1; inline;
  6185. procedure clearUTXBF; inline;
  6186. procedure clearUTXBRK; inline;
  6187. procedure clearUTXEN; inline;
  6188. procedure clearUTXINV; inline;
  6189. procedure clearUTXISEL0; inline;
  6190. procedure clearUTXISEL1; inline;
  6191. procedure setADDEN; inline;
  6192. procedure setADM_EN; inline;
  6193. procedure setFERR; inline;
  6194. procedure setOERR; inline;
  6195. procedure setPERR; inline;
  6196. procedure setRIDLE; inline;
  6197. procedure setTRMT; inline;
  6198. procedure setURXDA; inline;
  6199. procedure setURXEN; inline;
  6200. procedure setURXISEL0; inline;
  6201. procedure setURXISEL1; inline;
  6202. procedure setUTXBF; inline;
  6203. procedure setUTXBRK; inline;
  6204. procedure setUTXEN; inline;
  6205. procedure setUTXINV; inline;
  6206. procedure setUTXISEL0; inline;
  6207. procedure setUTXISEL1; inline;
  6208. property ADDEN : TBits_1 read getADDEN write setADDEN;
  6209. property ADDR : TBits_8 read getADDR write setADDR;
  6210. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  6211. property FERR : TBits_1 read getFERR write setFERR;
  6212. property OERR : TBits_1 read getOERR write setOERR;
  6213. property PERR : TBits_1 read getPERR write setPERR;
  6214. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  6215. property TRMT : TBits_1 read getTRMT write setTRMT;
  6216. property URXDA : TBits_1 read getURXDA write setURXDA;
  6217. property URXEN : TBits_1 read getURXEN write setURXEN;
  6218. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  6219. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  6220. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  6221. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  6222. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  6223. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  6224. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  6225. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  6226. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  6227. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  6228. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  6229. property w : TBits_32 read getw write setw;
  6230. end;
  6231. TUART5_U5STA = record
  6232. private
  6233. function getADDEN : TBits_1; inline;
  6234. function getADDR : TBits_8; inline;
  6235. function getADM_EN : TBits_1; inline;
  6236. function getFERR : TBits_1; inline;
  6237. function getOERR : TBits_1; inline;
  6238. function getPERR : TBits_1; inline;
  6239. function getRIDLE : TBits_1; inline;
  6240. function getTRMT : TBits_1; inline;
  6241. function getURXDA : TBits_1; inline;
  6242. function getURXEN : TBits_1; inline;
  6243. function getURXISEL : TBits_2; inline;
  6244. function getURXISEL0 : TBits_1; inline;
  6245. function getURXISEL1 : TBits_1; inline;
  6246. function getUTXBF : TBits_1; inline;
  6247. function getUTXBRK : TBits_1; inline;
  6248. function getUTXEN : TBits_1; inline;
  6249. function getUTXINV : TBits_1; inline;
  6250. function getUTXISEL : TBits_2; inline;
  6251. function getUTXISEL0 : TBits_1; inline;
  6252. function getUTXISEL1 : TBits_1; inline;
  6253. function getUTXSEL : TBits_2; inline;
  6254. function getw : TBits_32; inline;
  6255. procedure setADDEN(thebits : TBits_1); inline;
  6256. procedure setADDR(thebits : TBits_8); inline;
  6257. procedure setADM_EN(thebits : TBits_1); inline;
  6258. procedure setFERR(thebits : TBits_1); inline;
  6259. procedure setOERR(thebits : TBits_1); inline;
  6260. procedure setPERR(thebits : TBits_1); inline;
  6261. procedure setRIDLE(thebits : TBits_1); inline;
  6262. procedure setTRMT(thebits : TBits_1); inline;
  6263. procedure setURXDA(thebits : TBits_1); inline;
  6264. procedure setURXEN(thebits : TBits_1); inline;
  6265. procedure setURXISEL(thebits : TBits_2); inline;
  6266. procedure setURXISEL0(thebits : TBits_1); inline;
  6267. procedure setURXISEL1(thebits : TBits_1); inline;
  6268. procedure setUTXBF(thebits : TBits_1); inline;
  6269. procedure setUTXBRK(thebits : TBits_1); inline;
  6270. procedure setUTXEN(thebits : TBits_1); inline;
  6271. procedure setUTXINV(thebits : TBits_1); inline;
  6272. procedure setUTXISEL(thebits : TBits_2); inline;
  6273. procedure setUTXISEL0(thebits : TBits_1); inline;
  6274. procedure setUTXISEL1(thebits : TBits_1); inline;
  6275. procedure setUTXSEL(thebits : TBits_2); inline;
  6276. procedure setw(thebits : TBits_32); inline;
  6277. public
  6278. procedure clearADDEN; inline;
  6279. procedure clearADM_EN; inline;
  6280. procedure clearFERR; inline;
  6281. procedure clearOERR; inline;
  6282. procedure clearPERR; inline;
  6283. procedure clearRIDLE; inline;
  6284. procedure clearTRMT; inline;
  6285. procedure clearURXDA; inline;
  6286. procedure clearURXEN; inline;
  6287. procedure clearURXISEL0; inline;
  6288. procedure clearURXISEL1; inline;
  6289. procedure clearUTXBF; inline;
  6290. procedure clearUTXBRK; inline;
  6291. procedure clearUTXEN; inline;
  6292. procedure clearUTXINV; inline;
  6293. procedure clearUTXISEL0; inline;
  6294. procedure clearUTXISEL1; inline;
  6295. procedure setADDEN; inline;
  6296. procedure setADM_EN; inline;
  6297. procedure setFERR; inline;
  6298. procedure setOERR; inline;
  6299. procedure setPERR; inline;
  6300. procedure setRIDLE; inline;
  6301. procedure setTRMT; inline;
  6302. procedure setURXDA; inline;
  6303. procedure setURXEN; inline;
  6304. procedure setURXISEL0; inline;
  6305. procedure setURXISEL1; inline;
  6306. procedure setUTXBF; inline;
  6307. procedure setUTXBRK; inline;
  6308. procedure setUTXEN; inline;
  6309. procedure setUTXINV; inline;
  6310. procedure setUTXISEL0; inline;
  6311. procedure setUTXISEL1; inline;
  6312. property ADDEN : TBits_1 read getADDEN write setADDEN;
  6313. property ADDR : TBits_8 read getADDR write setADDR;
  6314. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  6315. property FERR : TBits_1 read getFERR write setFERR;
  6316. property OERR : TBits_1 read getOERR write setOERR;
  6317. property PERR : TBits_1 read getPERR write setPERR;
  6318. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  6319. property TRMT : TBits_1 read getTRMT write setTRMT;
  6320. property URXDA : TBits_1 read getURXDA write setURXDA;
  6321. property URXEN : TBits_1 read getURXEN write setURXEN;
  6322. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  6323. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  6324. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  6325. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  6326. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  6327. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  6328. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  6329. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  6330. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  6331. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  6332. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  6333. property w : TBits_32 read getw write setw;
  6334. end;
  6335. type
  6336. TUART5Registers = record
  6337. U3BMODEbits : TUART5_U3BMODE;
  6338. U3BMODE : longWord;
  6339. U5MODEbits : TUART5_U5MODE;
  6340. U5MODE : longWord;
  6341. U3BMODECLR : longWord;
  6342. U5MODECLR : longWord;
  6343. U3BMODESET : longWord;
  6344. U5MODESET : longWord;
  6345. U3BMODEINV : longWord;
  6346. U5MODEINV : longWord;
  6347. U3BSTAbits : TUART5_U3BSTA;
  6348. U3BSTA : longWord;
  6349. U5STAbits : TUART5_U5STA;
  6350. U5STA : longWord;
  6351. U3BSTACLR : longWord;
  6352. U5STACLR : longWord;
  6353. U3BSTASET : longWord;
  6354. U5STASET : longWord;
  6355. U3BSTAINV : longWord;
  6356. U5STAINV : longWord;
  6357. U3BTXREG : longWord;
  6358. U5TXREG : longWord;
  6359. U3BRXREG : longWord;
  6360. U5RXREG : longWord;
  6361. U3BBRG : longWord;
  6362. U5BRG : longWord;
  6363. U3BBRGCLR : longWord;
  6364. U5BRGCLR : longWord;
  6365. U3BBRGSET : longWord;
  6366. U5BRGSET : longWord;
  6367. U3BBRGINV : longWord;
  6368. U5BRGINV : longWord;
  6369. end;
  6370. TPMP_PMCON = record
  6371. private
  6372. function getADRMUX : TBits_2; inline;
  6373. function getADRMUX0 : TBits_1; inline;
  6374. function getADRMUX1 : TBits_1; inline;
  6375. function getALP : TBits_1; inline;
  6376. function getCS1P : TBits_1; inline;
  6377. function getCS2P : TBits_1; inline;
  6378. function getCSF : TBits_2; inline;
  6379. function getCSF0 : TBits_1; inline;
  6380. function getCSF1 : TBits_1; inline;
  6381. function getON : TBits_1; inline;
  6382. function getPMPEN : TBits_1; inline;
  6383. function getPMPTTL : TBits_1; inline;
  6384. function getPSIDL : TBits_1; inline;
  6385. function getPTRDEN : TBits_1; inline;
  6386. function getPTWREN : TBits_1; inline;
  6387. function getRDSP : TBits_1; inline;
  6388. function getSIDL : TBits_1; inline;
  6389. function getWRSP : TBits_1; inline;
  6390. function getw : TBits_32; inline;
  6391. procedure setADRMUX(thebits : TBits_2); inline;
  6392. procedure setADRMUX0(thebits : TBits_1); inline;
  6393. procedure setADRMUX1(thebits : TBits_1); inline;
  6394. procedure setALP(thebits : TBits_1); inline;
  6395. procedure setCS1P(thebits : TBits_1); inline;
  6396. procedure setCS2P(thebits : TBits_1); inline;
  6397. procedure setCSF(thebits : TBits_2); inline;
  6398. procedure setCSF0(thebits : TBits_1); inline;
  6399. procedure setCSF1(thebits : TBits_1); inline;
  6400. procedure setON(thebits : TBits_1); inline;
  6401. procedure setPMPEN(thebits : TBits_1); inline;
  6402. procedure setPMPTTL(thebits : TBits_1); inline;
  6403. procedure setPSIDL(thebits : TBits_1); inline;
  6404. procedure setPTRDEN(thebits : TBits_1); inline;
  6405. procedure setPTWREN(thebits : TBits_1); inline;
  6406. procedure setRDSP(thebits : TBits_1); inline;
  6407. procedure setSIDL(thebits : TBits_1); inline;
  6408. procedure setWRSP(thebits : TBits_1); inline;
  6409. procedure setw(thebits : TBits_32); inline;
  6410. public
  6411. procedure clearADRMUX0; inline;
  6412. procedure clearADRMUX1; inline;
  6413. procedure clearALP; inline;
  6414. procedure clearCS1P; inline;
  6415. procedure clearCS2P; inline;
  6416. procedure clearCSF0; inline;
  6417. procedure clearCSF1; inline;
  6418. procedure clearON; inline;
  6419. procedure clearPMPEN; inline;
  6420. procedure clearPMPTTL; inline;
  6421. procedure clearPSIDL; inline;
  6422. procedure clearPTRDEN; inline;
  6423. procedure clearPTWREN; inline;
  6424. procedure clearRDSP; inline;
  6425. procedure clearSIDL; inline;
  6426. procedure clearWRSP; inline;
  6427. procedure setADRMUX0; inline;
  6428. procedure setADRMUX1; inline;
  6429. procedure setALP; inline;
  6430. procedure setCS1P; inline;
  6431. procedure setCS2P; inline;
  6432. procedure setCSF0; inline;
  6433. procedure setCSF1; inline;
  6434. procedure setON; inline;
  6435. procedure setPMPEN; inline;
  6436. procedure setPMPTTL; inline;
  6437. procedure setPSIDL; inline;
  6438. procedure setPTRDEN; inline;
  6439. procedure setPTWREN; inline;
  6440. procedure setRDSP; inline;
  6441. procedure setSIDL; inline;
  6442. procedure setWRSP; inline;
  6443. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  6444. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  6445. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  6446. property ALP : TBits_1 read getALP write setALP;
  6447. property CS1P : TBits_1 read getCS1P write setCS1P;
  6448. property CS2P : TBits_1 read getCS2P write setCS2P;
  6449. property CSF : TBits_2 read getCSF write setCSF;
  6450. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  6451. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  6452. property ON : TBits_1 read getON write setON;
  6453. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  6454. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  6455. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  6456. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  6457. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  6458. property RDSP : TBits_1 read getRDSP write setRDSP;
  6459. property SIDL : TBits_1 read getSIDL write setSIDL;
  6460. property WRSP : TBits_1 read getWRSP write setWRSP;
  6461. property w : TBits_32 read getw write setw;
  6462. end;
  6463. TPMP_PMMODE = record
  6464. private
  6465. function getBUSY : TBits_1; inline;
  6466. function getINCM : TBits_2; inline;
  6467. function getINCM0 : TBits_1; inline;
  6468. function getINCM1 : TBits_1; inline;
  6469. function getIRQM : TBits_2; inline;
  6470. function getIRQM0 : TBits_1; inline;
  6471. function getIRQM1 : TBits_1; inline;
  6472. function getMODE : TBits_2; inline;
  6473. function getMODE0 : TBits_1; inline;
  6474. function getMODE1 : TBits_1; inline;
  6475. function getMODE16 : TBits_1; inline;
  6476. function getWAITB : TBits_2; inline;
  6477. function getWAITB0 : TBits_1; inline;
  6478. function getWAITB1 : TBits_1; inline;
  6479. function getWAITE : TBits_2; inline;
  6480. function getWAITE0 : TBits_1; inline;
  6481. function getWAITE1 : TBits_1; inline;
  6482. function getWAITM : TBits_4; inline;
  6483. function getWAITM0 : TBits_1; inline;
  6484. function getWAITM1 : TBits_1; inline;
  6485. function getWAITM2 : TBits_1; inline;
  6486. function getWAITM3 : TBits_1; inline;
  6487. function getw : TBits_32; inline;
  6488. procedure setBUSY(thebits : TBits_1); inline;
  6489. procedure setINCM(thebits : TBits_2); inline;
  6490. procedure setINCM0(thebits : TBits_1); inline;
  6491. procedure setINCM1(thebits : TBits_1); inline;
  6492. procedure setIRQM(thebits : TBits_2); inline;
  6493. procedure setIRQM0(thebits : TBits_1); inline;
  6494. procedure setIRQM1(thebits : TBits_1); inline;
  6495. procedure setMODE(thebits : TBits_2); inline;
  6496. procedure setMODE0(thebits : TBits_1); inline;
  6497. procedure setMODE1(thebits : TBits_1); inline;
  6498. procedure setMODE16(thebits : TBits_1); inline;
  6499. procedure setWAITB(thebits : TBits_2); inline;
  6500. procedure setWAITB0(thebits : TBits_1); inline;
  6501. procedure setWAITB1(thebits : TBits_1); inline;
  6502. procedure setWAITE(thebits : TBits_2); inline;
  6503. procedure setWAITE0(thebits : TBits_1); inline;
  6504. procedure setWAITE1(thebits : TBits_1); inline;
  6505. procedure setWAITM(thebits : TBits_4); inline;
  6506. procedure setWAITM0(thebits : TBits_1); inline;
  6507. procedure setWAITM1(thebits : TBits_1); inline;
  6508. procedure setWAITM2(thebits : TBits_1); inline;
  6509. procedure setWAITM3(thebits : TBits_1); inline;
  6510. procedure setw(thebits : TBits_32); inline;
  6511. public
  6512. procedure clearBUSY; inline;
  6513. procedure clearINCM0; inline;
  6514. procedure clearINCM1; inline;
  6515. procedure clearIRQM0; inline;
  6516. procedure clearIRQM1; inline;
  6517. procedure clearMODE0; inline;
  6518. procedure clearMODE16; inline;
  6519. procedure clearMODE1; inline;
  6520. procedure clearWAITB0; inline;
  6521. procedure clearWAITB1; inline;
  6522. procedure clearWAITE0; inline;
  6523. procedure clearWAITE1; inline;
  6524. procedure clearWAITM0; inline;
  6525. procedure clearWAITM1; inline;
  6526. procedure clearWAITM2; inline;
  6527. procedure clearWAITM3; inline;
  6528. procedure setBUSY; inline;
  6529. procedure setINCM0; inline;
  6530. procedure setINCM1; inline;
  6531. procedure setIRQM0; inline;
  6532. procedure setIRQM1; inline;
  6533. procedure setMODE0; inline;
  6534. procedure setMODE16; inline;
  6535. procedure setMODE1; inline;
  6536. procedure setWAITB0; inline;
  6537. procedure setWAITB1; inline;
  6538. procedure setWAITE0; inline;
  6539. procedure setWAITE1; inline;
  6540. procedure setWAITM0; inline;
  6541. procedure setWAITM1; inline;
  6542. procedure setWAITM2; inline;
  6543. procedure setWAITM3; inline;
  6544. property BUSY : TBits_1 read getBUSY write setBUSY;
  6545. property INCM : TBits_2 read getINCM write setINCM;
  6546. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  6547. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  6548. property IRQM : TBits_2 read getIRQM write setIRQM;
  6549. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  6550. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  6551. property MODE : TBits_2 read getMODE write setMODE;
  6552. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  6553. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  6554. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  6555. property WAITB : TBits_2 read getWAITB write setWAITB;
  6556. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  6557. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  6558. property WAITE : TBits_2 read getWAITE write setWAITE;
  6559. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  6560. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  6561. property WAITM : TBits_4 read getWAITM write setWAITM;
  6562. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  6563. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  6564. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  6565. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  6566. property w : TBits_32 read getw write setw;
  6567. end;
  6568. TPMP_PMADDR = record
  6569. private
  6570. function getADDR : TBits_14; inline;
  6571. function getCS : TBits_2; inline;
  6572. function getCS1 : TBits_1; inline;
  6573. function getCS2 : TBits_1; inline;
  6574. function getPADDR : TBits_14; inline;
  6575. function getw : TBits_32; inline;
  6576. procedure setADDR(thebits : TBits_14); inline;
  6577. procedure setCS(thebits : TBits_2); inline;
  6578. procedure setCS1(thebits : TBits_1); inline;
  6579. procedure setCS2(thebits : TBits_1); inline;
  6580. procedure setPADDR(thebits : TBits_14); inline;
  6581. procedure setw(thebits : TBits_32); inline;
  6582. public
  6583. procedure clearCS1; inline;
  6584. procedure clearCS2; inline;
  6585. procedure setCS1; inline;
  6586. procedure setCS2; inline;
  6587. property ADDR : TBits_14 read getADDR write setADDR;
  6588. property CS : TBits_2 read getCS write setCS;
  6589. property CS1 : TBits_1 read getCS1 write setCS1;
  6590. property CS2 : TBits_1 read getCS2 write setCS2;
  6591. property PADDR : TBits_14 read getPADDR write setPADDR;
  6592. property w : TBits_32 read getw write setw;
  6593. end;
  6594. TPMP_PMDOUT = record
  6595. private
  6596. function getDATAOUT : TBits_32; inline;
  6597. function getw : TBits_32; inline;
  6598. procedure setDATAOUT(thebits : TBits_32); inline;
  6599. procedure setw(thebits : TBits_32); inline;
  6600. public
  6601. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  6602. property w : TBits_32 read getw write setw;
  6603. end;
  6604. TPMP_PMDIN = record
  6605. private
  6606. function getDATAIN : TBits_32; inline;
  6607. function getw : TBits_32; inline;
  6608. procedure setDATAIN(thebits : TBits_32); inline;
  6609. procedure setw(thebits : TBits_32); inline;
  6610. public
  6611. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  6612. property w : TBits_32 read getw write setw;
  6613. end;
  6614. TPMP_PMAEN = record
  6615. private
  6616. function getPTEN : TBits_16; inline;
  6617. function getPTEN0 : TBits_1; inline;
  6618. function getPTEN1 : TBits_1; inline;
  6619. function getPTEN10 : TBits_1; inline;
  6620. function getPTEN11 : TBits_1; inline;
  6621. function getPTEN12 : TBits_1; inline;
  6622. function getPTEN13 : TBits_1; inline;
  6623. function getPTEN14 : TBits_1; inline;
  6624. function getPTEN15 : TBits_1; inline;
  6625. function getPTEN2 : TBits_1; inline;
  6626. function getPTEN3 : TBits_1; inline;
  6627. function getPTEN4 : TBits_1; inline;
  6628. function getPTEN5 : TBits_1; inline;
  6629. function getPTEN6 : TBits_1; inline;
  6630. function getPTEN7 : TBits_1; inline;
  6631. function getPTEN8 : TBits_1; inline;
  6632. function getPTEN9 : TBits_1; inline;
  6633. function getw : TBits_32; inline;
  6634. procedure setPTEN(thebits : TBits_16); inline;
  6635. procedure setPTEN0(thebits : TBits_1); inline;
  6636. procedure setPTEN1(thebits : TBits_1); inline;
  6637. procedure setPTEN10(thebits : TBits_1); inline;
  6638. procedure setPTEN11(thebits : TBits_1); inline;
  6639. procedure setPTEN12(thebits : TBits_1); inline;
  6640. procedure setPTEN13(thebits : TBits_1); inline;
  6641. procedure setPTEN14(thebits : TBits_1); inline;
  6642. procedure setPTEN15(thebits : TBits_1); inline;
  6643. procedure setPTEN2(thebits : TBits_1); inline;
  6644. procedure setPTEN3(thebits : TBits_1); inline;
  6645. procedure setPTEN4(thebits : TBits_1); inline;
  6646. procedure setPTEN5(thebits : TBits_1); inline;
  6647. procedure setPTEN6(thebits : TBits_1); inline;
  6648. procedure setPTEN7(thebits : TBits_1); inline;
  6649. procedure setPTEN8(thebits : TBits_1); inline;
  6650. procedure setPTEN9(thebits : TBits_1); inline;
  6651. procedure setw(thebits : TBits_32); inline;
  6652. public
  6653. procedure clearPTEN0; inline;
  6654. procedure clearPTEN10; inline;
  6655. procedure clearPTEN11; inline;
  6656. procedure clearPTEN12; inline;
  6657. procedure clearPTEN13; inline;
  6658. procedure clearPTEN14; inline;
  6659. procedure clearPTEN15; inline;
  6660. procedure clearPTEN1; inline;
  6661. procedure clearPTEN2; inline;
  6662. procedure clearPTEN3; inline;
  6663. procedure clearPTEN4; inline;
  6664. procedure clearPTEN5; inline;
  6665. procedure clearPTEN6; inline;
  6666. procedure clearPTEN7; inline;
  6667. procedure clearPTEN8; inline;
  6668. procedure clearPTEN9; inline;
  6669. procedure setPTEN0; inline;
  6670. procedure setPTEN10; inline;
  6671. procedure setPTEN11; inline;
  6672. procedure setPTEN12; inline;
  6673. procedure setPTEN13; inline;
  6674. procedure setPTEN14; inline;
  6675. procedure setPTEN15; inline;
  6676. procedure setPTEN1; inline;
  6677. procedure setPTEN2; inline;
  6678. procedure setPTEN3; inline;
  6679. procedure setPTEN4; inline;
  6680. procedure setPTEN5; inline;
  6681. procedure setPTEN6; inline;
  6682. procedure setPTEN7; inline;
  6683. procedure setPTEN8; inline;
  6684. procedure setPTEN9; inline;
  6685. property PTEN : TBits_16 read getPTEN write setPTEN;
  6686. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  6687. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  6688. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  6689. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  6690. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  6691. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  6692. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  6693. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  6694. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  6695. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  6696. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  6697. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  6698. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  6699. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  6700. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  6701. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  6702. property w : TBits_32 read getw write setw;
  6703. end;
  6704. TPMP_PMSTAT = record
  6705. private
  6706. function getIB0F : TBits_1; inline;
  6707. function getIB1F : TBits_1; inline;
  6708. function getIB2F : TBits_1; inline;
  6709. function getIB3F : TBits_1; inline;
  6710. function getIBF : TBits_1; inline;
  6711. function getIBOV : TBits_1; inline;
  6712. function getOB0E : TBits_1; inline;
  6713. function getOB1E : TBits_1; inline;
  6714. function getOB2E : TBits_1; inline;
  6715. function getOB3E : TBits_1; inline;
  6716. function getOBE : TBits_1; inline;
  6717. function getOBUF : TBits_1; inline;
  6718. function getw : TBits_32; inline;
  6719. procedure setIB0F(thebits : TBits_1); inline;
  6720. procedure setIB1F(thebits : TBits_1); inline;
  6721. procedure setIB2F(thebits : TBits_1); inline;
  6722. procedure setIB3F(thebits : TBits_1); inline;
  6723. procedure setIBF(thebits : TBits_1); inline;
  6724. procedure setIBOV(thebits : TBits_1); inline;
  6725. procedure setOB0E(thebits : TBits_1); inline;
  6726. procedure setOB1E(thebits : TBits_1); inline;
  6727. procedure setOB2E(thebits : TBits_1); inline;
  6728. procedure setOB3E(thebits : TBits_1); inline;
  6729. procedure setOBE(thebits : TBits_1); inline;
  6730. procedure setOBUF(thebits : TBits_1); inline;
  6731. procedure setw(thebits : TBits_32); inline;
  6732. public
  6733. procedure clearIB0F; inline;
  6734. procedure clearIB1F; inline;
  6735. procedure clearIB2F; inline;
  6736. procedure clearIB3F; inline;
  6737. procedure clearIBF; inline;
  6738. procedure clearIBOV; inline;
  6739. procedure clearOB0E; inline;
  6740. procedure clearOB1E; inline;
  6741. procedure clearOB2E; inline;
  6742. procedure clearOB3E; inline;
  6743. procedure clearOBE; inline;
  6744. procedure clearOBUF; inline;
  6745. procedure setIB0F; inline;
  6746. procedure setIB1F; inline;
  6747. procedure setIB2F; inline;
  6748. procedure setIB3F; inline;
  6749. procedure setIBF; inline;
  6750. procedure setIBOV; inline;
  6751. procedure setOB0E; inline;
  6752. procedure setOB1E; inline;
  6753. procedure setOB2E; inline;
  6754. procedure setOB3E; inline;
  6755. procedure setOBE; inline;
  6756. procedure setOBUF; inline;
  6757. property IB0F : TBits_1 read getIB0F write setIB0F;
  6758. property IB1F : TBits_1 read getIB1F write setIB1F;
  6759. property IB2F : TBits_1 read getIB2F write setIB2F;
  6760. property IB3F : TBits_1 read getIB3F write setIB3F;
  6761. property IBF : TBits_1 read getIBF write setIBF;
  6762. property IBOV : TBits_1 read getIBOV write setIBOV;
  6763. property OB0E : TBits_1 read getOB0E write setOB0E;
  6764. property OB1E : TBits_1 read getOB1E write setOB1E;
  6765. property OB2E : TBits_1 read getOB2E write setOB2E;
  6766. property OB3E : TBits_1 read getOB3E write setOB3E;
  6767. property OBE : TBits_1 read getOBE write setOBE;
  6768. property OBUF : TBits_1 read getOBUF write setOBUF;
  6769. property w : TBits_32 read getw write setw;
  6770. end;
  6771. type
  6772. TPMPRegisters = record
  6773. PMCONbits : TPMP_PMCON;
  6774. PMCON : longWord;
  6775. PMCONCLR : longWord;
  6776. PMCONSET : longWord;
  6777. PMCONINV : longWord;
  6778. PMMODEbits : TPMP_PMMODE;
  6779. PMMODE : longWord;
  6780. PMMODECLR : longWord;
  6781. PMMODESET : longWord;
  6782. PMMODEINV : longWord;
  6783. PMADDRbits : TPMP_PMADDR;
  6784. PMADDR : longWord;
  6785. PMADDRCLR : longWord;
  6786. PMADDRSET : longWord;
  6787. PMADDRINV : longWord;
  6788. PMDOUTbits : TPMP_PMDOUT;
  6789. PMDOUT : longWord;
  6790. PMDOUTCLR : longWord;
  6791. PMDOUTSET : longWord;
  6792. PMDOUTINV : longWord;
  6793. PMDINbits : TPMP_PMDIN;
  6794. PMDIN : longWord;
  6795. PMDINCLR : longWord;
  6796. PMDINSET : longWord;
  6797. PMDININV : longWord;
  6798. PMAENbits : TPMP_PMAEN;
  6799. PMAEN : longWord;
  6800. PMAENCLR : longWord;
  6801. PMAENSET : longWord;
  6802. PMAENINV : longWord;
  6803. PMSTATbits : TPMP_PMSTAT;
  6804. PMSTAT : longWord;
  6805. PMSTATCLR : longWord;
  6806. PMSTATSET : longWord;
  6807. PMSTATINV : longWord;
  6808. end;
  6809. TADC10_AD1CON1 = record
  6810. private
  6811. function getADON : TBits_1; inline;
  6812. function getADSIDL : TBits_1; inline;
  6813. function getASAM : TBits_1; inline;
  6814. function getCLRASAM : TBits_1; inline;
  6815. function getDONE : TBits_1; inline;
  6816. function getFORM : TBits_3; inline;
  6817. function getFORM0 : TBits_1; inline;
  6818. function getFORM1 : TBits_1; inline;
  6819. function getFORM2 : TBits_1; inline;
  6820. function getON : TBits_1; inline;
  6821. function getSAMP : TBits_1; inline;
  6822. function getSIDL : TBits_1; inline;
  6823. function getSSRC : TBits_3; inline;
  6824. function getSSRC0 : TBits_1; inline;
  6825. function getSSRC1 : TBits_1; inline;
  6826. function getSSRC2 : TBits_1; inline;
  6827. function getw : TBits_32; inline;
  6828. procedure setADON(thebits : TBits_1); inline;
  6829. procedure setADSIDL(thebits : TBits_1); inline;
  6830. procedure setASAM(thebits : TBits_1); inline;
  6831. procedure setCLRASAM(thebits : TBits_1); inline;
  6832. procedure setDONE(thebits : TBits_1); inline;
  6833. procedure setFORM(thebits : TBits_3); inline;
  6834. procedure setFORM0(thebits : TBits_1); inline;
  6835. procedure setFORM1(thebits : TBits_1); inline;
  6836. procedure setFORM2(thebits : TBits_1); inline;
  6837. procedure setON(thebits : TBits_1); inline;
  6838. procedure setSAMP(thebits : TBits_1); inline;
  6839. procedure setSIDL(thebits : TBits_1); inline;
  6840. procedure setSSRC(thebits : TBits_3); inline;
  6841. procedure setSSRC0(thebits : TBits_1); inline;
  6842. procedure setSSRC1(thebits : TBits_1); inline;
  6843. procedure setSSRC2(thebits : TBits_1); inline;
  6844. procedure setw(thebits : TBits_32); inline;
  6845. public
  6846. procedure clearADON; inline;
  6847. procedure clearADSIDL; inline;
  6848. procedure clearASAM; inline;
  6849. procedure clearCLRASAM; inline;
  6850. procedure clearDONE; inline;
  6851. procedure clearFORM0; inline;
  6852. procedure clearFORM1; inline;
  6853. procedure clearFORM2; inline;
  6854. procedure clearON; inline;
  6855. procedure clearSAMP; inline;
  6856. procedure clearSIDL; inline;
  6857. procedure clearSSRC0; inline;
  6858. procedure clearSSRC1; inline;
  6859. procedure clearSSRC2; inline;
  6860. procedure setADON; inline;
  6861. procedure setADSIDL; inline;
  6862. procedure setASAM; inline;
  6863. procedure setCLRASAM; inline;
  6864. procedure setDONE; inline;
  6865. procedure setFORM0; inline;
  6866. procedure setFORM1; inline;
  6867. procedure setFORM2; inline;
  6868. procedure setON; inline;
  6869. procedure setSAMP; inline;
  6870. procedure setSIDL; inline;
  6871. procedure setSSRC0; inline;
  6872. procedure setSSRC1; inline;
  6873. procedure setSSRC2; inline;
  6874. property ADON : TBits_1 read getADON write setADON;
  6875. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  6876. property ASAM : TBits_1 read getASAM write setASAM;
  6877. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  6878. property DONE : TBits_1 read getDONE write setDONE;
  6879. property FORM : TBits_3 read getFORM write setFORM;
  6880. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  6881. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  6882. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  6883. property ON : TBits_1 read getON write setON;
  6884. property SAMP : TBits_1 read getSAMP write setSAMP;
  6885. property SIDL : TBits_1 read getSIDL write setSIDL;
  6886. property SSRC : TBits_3 read getSSRC write setSSRC;
  6887. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  6888. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  6889. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  6890. property w : TBits_32 read getw write setw;
  6891. end;
  6892. TADC10_AD1CON2 = record
  6893. private
  6894. function getALTS : TBits_1; inline;
  6895. function getBUFM : TBits_1; inline;
  6896. function getBUFS : TBits_1; inline;
  6897. function getCSCNA : TBits_1; inline;
  6898. function getOFFCAL : TBits_1; inline;
  6899. function getSMPI : TBits_4; inline;
  6900. function getSMPI0 : TBits_1; inline;
  6901. function getSMPI1 : TBits_1; inline;
  6902. function getSMPI2 : TBits_1; inline;
  6903. function getSMPI3 : TBits_1; inline;
  6904. function getVCFG : TBits_3; inline;
  6905. function getVCFG0 : TBits_1; inline;
  6906. function getVCFG1 : TBits_1; inline;
  6907. function getVCFG2 : TBits_1; inline;
  6908. function getw : TBits_32; inline;
  6909. procedure setALTS(thebits : TBits_1); inline;
  6910. procedure setBUFM(thebits : TBits_1); inline;
  6911. procedure setBUFS(thebits : TBits_1); inline;
  6912. procedure setCSCNA(thebits : TBits_1); inline;
  6913. procedure setOFFCAL(thebits : TBits_1); inline;
  6914. procedure setSMPI(thebits : TBits_4); inline;
  6915. procedure setSMPI0(thebits : TBits_1); inline;
  6916. procedure setSMPI1(thebits : TBits_1); inline;
  6917. procedure setSMPI2(thebits : TBits_1); inline;
  6918. procedure setSMPI3(thebits : TBits_1); inline;
  6919. procedure setVCFG(thebits : TBits_3); inline;
  6920. procedure setVCFG0(thebits : TBits_1); inline;
  6921. procedure setVCFG1(thebits : TBits_1); inline;
  6922. procedure setVCFG2(thebits : TBits_1); inline;
  6923. procedure setw(thebits : TBits_32); inline;
  6924. public
  6925. procedure clearALTS; inline;
  6926. procedure clearBUFM; inline;
  6927. procedure clearBUFS; inline;
  6928. procedure clearCSCNA; inline;
  6929. procedure clearOFFCAL; inline;
  6930. procedure clearSMPI0; inline;
  6931. procedure clearSMPI1; inline;
  6932. procedure clearSMPI2; inline;
  6933. procedure clearSMPI3; inline;
  6934. procedure clearVCFG0; inline;
  6935. procedure clearVCFG1; inline;
  6936. procedure clearVCFG2; inline;
  6937. procedure setALTS; inline;
  6938. procedure setBUFM; inline;
  6939. procedure setBUFS; inline;
  6940. procedure setCSCNA; inline;
  6941. procedure setOFFCAL; inline;
  6942. procedure setSMPI0; inline;
  6943. procedure setSMPI1; inline;
  6944. procedure setSMPI2; inline;
  6945. procedure setSMPI3; inline;
  6946. procedure setVCFG0; inline;
  6947. procedure setVCFG1; inline;
  6948. procedure setVCFG2; inline;
  6949. property ALTS : TBits_1 read getALTS write setALTS;
  6950. property BUFM : TBits_1 read getBUFM write setBUFM;
  6951. property BUFS : TBits_1 read getBUFS write setBUFS;
  6952. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  6953. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  6954. property SMPI : TBits_4 read getSMPI write setSMPI;
  6955. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  6956. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  6957. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  6958. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  6959. property VCFG : TBits_3 read getVCFG write setVCFG;
  6960. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  6961. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  6962. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  6963. property w : TBits_32 read getw write setw;
  6964. end;
  6965. TADC10_AD1CON3 = record
  6966. private
  6967. function getADCS : TBits_8; inline;
  6968. function getADCS0 : TBits_1; inline;
  6969. function getADCS1 : TBits_1; inline;
  6970. function getADCS2 : TBits_1; inline;
  6971. function getADCS3 : TBits_1; inline;
  6972. function getADCS4 : TBits_1; inline;
  6973. function getADCS5 : TBits_1; inline;
  6974. function getADCS6 : TBits_1; inline;
  6975. function getADCS7 : TBits_1; inline;
  6976. function getADRC : TBits_1; inline;
  6977. function getSAMC : TBits_5; inline;
  6978. function getSAMC0 : TBits_1; inline;
  6979. function getSAMC1 : TBits_1; inline;
  6980. function getSAMC2 : TBits_1; inline;
  6981. function getSAMC3 : TBits_1; inline;
  6982. function getSAMC4 : TBits_1; inline;
  6983. function getw : TBits_32; inline;
  6984. procedure setADCS(thebits : TBits_8); inline;
  6985. procedure setADCS0(thebits : TBits_1); inline;
  6986. procedure setADCS1(thebits : TBits_1); inline;
  6987. procedure setADCS2(thebits : TBits_1); inline;
  6988. procedure setADCS3(thebits : TBits_1); inline;
  6989. procedure setADCS4(thebits : TBits_1); inline;
  6990. procedure setADCS5(thebits : TBits_1); inline;
  6991. procedure setADCS6(thebits : TBits_1); inline;
  6992. procedure setADCS7(thebits : TBits_1); inline;
  6993. procedure setADRC(thebits : TBits_1); inline;
  6994. procedure setSAMC(thebits : TBits_5); inline;
  6995. procedure setSAMC0(thebits : TBits_1); inline;
  6996. procedure setSAMC1(thebits : TBits_1); inline;
  6997. procedure setSAMC2(thebits : TBits_1); inline;
  6998. procedure setSAMC3(thebits : TBits_1); inline;
  6999. procedure setSAMC4(thebits : TBits_1); inline;
  7000. procedure setw(thebits : TBits_32); inline;
  7001. public
  7002. procedure clearADCS0; inline;
  7003. procedure clearADCS1; inline;
  7004. procedure clearADCS2; inline;
  7005. procedure clearADCS3; inline;
  7006. procedure clearADCS4; inline;
  7007. procedure clearADCS5; inline;
  7008. procedure clearADCS6; inline;
  7009. procedure clearADCS7; inline;
  7010. procedure clearADRC; inline;
  7011. procedure clearSAMC0; inline;
  7012. procedure clearSAMC1; inline;
  7013. procedure clearSAMC2; inline;
  7014. procedure clearSAMC3; inline;
  7015. procedure clearSAMC4; inline;
  7016. procedure setADCS0; inline;
  7017. procedure setADCS1; inline;
  7018. procedure setADCS2; inline;
  7019. procedure setADCS3; inline;
  7020. procedure setADCS4; inline;
  7021. procedure setADCS5; inline;
  7022. procedure setADCS6; inline;
  7023. procedure setADCS7; inline;
  7024. procedure setADRC; inline;
  7025. procedure setSAMC0; inline;
  7026. procedure setSAMC1; inline;
  7027. procedure setSAMC2; inline;
  7028. procedure setSAMC3; inline;
  7029. procedure setSAMC4; inline;
  7030. property ADCS : TBits_8 read getADCS write setADCS;
  7031. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  7032. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  7033. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  7034. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  7035. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  7036. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  7037. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  7038. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  7039. property ADRC : TBits_1 read getADRC write setADRC;
  7040. property SAMC : TBits_5 read getSAMC write setSAMC;
  7041. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  7042. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  7043. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  7044. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  7045. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  7046. property w : TBits_32 read getw write setw;
  7047. end;
  7048. TADC10_AD1CHS = record
  7049. private
  7050. function getCH0NA : TBits_1; inline;
  7051. function getCH0NB : TBits_1; inline;
  7052. function getCH0SA : TBits_4; inline;
  7053. function getCH0SA0 : TBits_1; inline;
  7054. function getCH0SA1 : TBits_1; inline;
  7055. function getCH0SA2 : TBits_1; inline;
  7056. function getCH0SA3 : TBits_1; inline;
  7057. function getCH0SB : TBits_4; inline;
  7058. function getCH0SB0 : TBits_1; inline;
  7059. function getCH0SB1 : TBits_1; inline;
  7060. function getCH0SB2 : TBits_1; inline;
  7061. function getCH0SB3 : TBits_1; inline;
  7062. function getw : TBits_32; inline;
  7063. procedure setCH0NA(thebits : TBits_1); inline;
  7064. procedure setCH0NB(thebits : TBits_1); inline;
  7065. procedure setCH0SA(thebits : TBits_4); inline;
  7066. procedure setCH0SA0(thebits : TBits_1); inline;
  7067. procedure setCH0SA1(thebits : TBits_1); inline;
  7068. procedure setCH0SA2(thebits : TBits_1); inline;
  7069. procedure setCH0SA3(thebits : TBits_1); inline;
  7070. procedure setCH0SB(thebits : TBits_4); inline;
  7071. procedure setCH0SB0(thebits : TBits_1); inline;
  7072. procedure setCH0SB1(thebits : TBits_1); inline;
  7073. procedure setCH0SB2(thebits : TBits_1); inline;
  7074. procedure setCH0SB3(thebits : TBits_1); inline;
  7075. procedure setw(thebits : TBits_32); inline;
  7076. public
  7077. procedure clearCH0NA; inline;
  7078. procedure clearCH0NB; inline;
  7079. procedure clearCH0SA0; inline;
  7080. procedure clearCH0SA1; inline;
  7081. procedure clearCH0SA2; inline;
  7082. procedure clearCH0SA3; inline;
  7083. procedure clearCH0SB0; inline;
  7084. procedure clearCH0SB1; inline;
  7085. procedure clearCH0SB2; inline;
  7086. procedure clearCH0SB3; inline;
  7087. procedure setCH0NA; inline;
  7088. procedure setCH0NB; inline;
  7089. procedure setCH0SA0; inline;
  7090. procedure setCH0SA1; inline;
  7091. procedure setCH0SA2; inline;
  7092. procedure setCH0SA3; inline;
  7093. procedure setCH0SB0; inline;
  7094. procedure setCH0SB1; inline;
  7095. procedure setCH0SB2; inline;
  7096. procedure setCH0SB3; inline;
  7097. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  7098. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  7099. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  7100. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  7101. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  7102. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  7103. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  7104. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  7105. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  7106. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  7107. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  7108. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  7109. property w : TBits_32 read getw write setw;
  7110. end;
  7111. TADC10_AD1CSSL = record
  7112. private
  7113. function getCSSL : TBits_16; inline;
  7114. function getCSSL0 : TBits_1; inline;
  7115. function getCSSL1 : TBits_1; inline;
  7116. function getCSSL10 : TBits_1; inline;
  7117. function getCSSL11 : TBits_1; inline;
  7118. function getCSSL12 : TBits_1; inline;
  7119. function getCSSL13 : TBits_1; inline;
  7120. function getCSSL14 : TBits_1; inline;
  7121. function getCSSL15 : TBits_1; inline;
  7122. function getCSSL2 : TBits_1; inline;
  7123. function getCSSL3 : TBits_1; inline;
  7124. function getCSSL4 : TBits_1; inline;
  7125. function getCSSL5 : TBits_1; inline;
  7126. function getCSSL6 : TBits_1; inline;
  7127. function getCSSL7 : TBits_1; inline;
  7128. function getCSSL8 : TBits_1; inline;
  7129. function getCSSL9 : TBits_1; inline;
  7130. function getw : TBits_32; inline;
  7131. procedure setCSSL(thebits : TBits_16); inline;
  7132. procedure setCSSL0(thebits : TBits_1); inline;
  7133. procedure setCSSL1(thebits : TBits_1); inline;
  7134. procedure setCSSL10(thebits : TBits_1); inline;
  7135. procedure setCSSL11(thebits : TBits_1); inline;
  7136. procedure setCSSL12(thebits : TBits_1); inline;
  7137. procedure setCSSL13(thebits : TBits_1); inline;
  7138. procedure setCSSL14(thebits : TBits_1); inline;
  7139. procedure setCSSL15(thebits : TBits_1); inline;
  7140. procedure setCSSL2(thebits : TBits_1); inline;
  7141. procedure setCSSL3(thebits : TBits_1); inline;
  7142. procedure setCSSL4(thebits : TBits_1); inline;
  7143. procedure setCSSL5(thebits : TBits_1); inline;
  7144. procedure setCSSL6(thebits : TBits_1); inline;
  7145. procedure setCSSL7(thebits : TBits_1); inline;
  7146. procedure setCSSL8(thebits : TBits_1); inline;
  7147. procedure setCSSL9(thebits : TBits_1); inline;
  7148. procedure setw(thebits : TBits_32); inline;
  7149. public
  7150. procedure clearCSSL0; inline;
  7151. procedure clearCSSL10; inline;
  7152. procedure clearCSSL11; inline;
  7153. procedure clearCSSL12; inline;
  7154. procedure clearCSSL13; inline;
  7155. procedure clearCSSL14; inline;
  7156. procedure clearCSSL15; inline;
  7157. procedure clearCSSL1; inline;
  7158. procedure clearCSSL2; inline;
  7159. procedure clearCSSL3; inline;
  7160. procedure clearCSSL4; inline;
  7161. procedure clearCSSL5; inline;
  7162. procedure clearCSSL6; inline;
  7163. procedure clearCSSL7; inline;
  7164. procedure clearCSSL8; inline;
  7165. procedure clearCSSL9; inline;
  7166. procedure setCSSL0; inline;
  7167. procedure setCSSL10; inline;
  7168. procedure setCSSL11; inline;
  7169. procedure setCSSL12; inline;
  7170. procedure setCSSL13; inline;
  7171. procedure setCSSL14; inline;
  7172. procedure setCSSL15; inline;
  7173. procedure setCSSL1; inline;
  7174. procedure setCSSL2; inline;
  7175. procedure setCSSL3; inline;
  7176. procedure setCSSL4; inline;
  7177. procedure setCSSL5; inline;
  7178. procedure setCSSL6; inline;
  7179. procedure setCSSL7; inline;
  7180. procedure setCSSL8; inline;
  7181. procedure setCSSL9; inline;
  7182. property CSSL : TBits_16 read getCSSL write setCSSL;
  7183. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  7184. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  7185. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  7186. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  7187. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  7188. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  7189. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  7190. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  7191. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  7192. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  7193. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  7194. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  7195. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  7196. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  7197. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  7198. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  7199. property w : TBits_32 read getw write setw;
  7200. end;
  7201. TADC10_AD1PCFG = record
  7202. private
  7203. function getPCFG : TBits_16; inline;
  7204. function getPCFG0 : TBits_1; inline;
  7205. function getPCFG1 : TBits_1; inline;
  7206. function getPCFG10 : TBits_1; inline;
  7207. function getPCFG11 : TBits_1; inline;
  7208. function getPCFG12 : TBits_1; inline;
  7209. function getPCFG13 : TBits_1; inline;
  7210. function getPCFG14 : TBits_1; inline;
  7211. function getPCFG15 : TBits_1; inline;
  7212. function getPCFG2 : TBits_1; inline;
  7213. function getPCFG3 : TBits_1; inline;
  7214. function getPCFG4 : TBits_1; inline;
  7215. function getPCFG5 : TBits_1; inline;
  7216. function getPCFG6 : TBits_1; inline;
  7217. function getPCFG7 : TBits_1; inline;
  7218. function getPCFG8 : TBits_1; inline;
  7219. function getPCFG9 : TBits_1; inline;
  7220. function getw : TBits_32; inline;
  7221. procedure setPCFG(thebits : TBits_16); inline;
  7222. procedure setPCFG0(thebits : TBits_1); inline;
  7223. procedure setPCFG1(thebits : TBits_1); inline;
  7224. procedure setPCFG10(thebits : TBits_1); inline;
  7225. procedure setPCFG11(thebits : TBits_1); inline;
  7226. procedure setPCFG12(thebits : TBits_1); inline;
  7227. procedure setPCFG13(thebits : TBits_1); inline;
  7228. procedure setPCFG14(thebits : TBits_1); inline;
  7229. procedure setPCFG15(thebits : TBits_1); inline;
  7230. procedure setPCFG2(thebits : TBits_1); inline;
  7231. procedure setPCFG3(thebits : TBits_1); inline;
  7232. procedure setPCFG4(thebits : TBits_1); inline;
  7233. procedure setPCFG5(thebits : TBits_1); inline;
  7234. procedure setPCFG6(thebits : TBits_1); inline;
  7235. procedure setPCFG7(thebits : TBits_1); inline;
  7236. procedure setPCFG8(thebits : TBits_1); inline;
  7237. procedure setPCFG9(thebits : TBits_1); inline;
  7238. procedure setw(thebits : TBits_32); inline;
  7239. public
  7240. procedure clearPCFG0; inline;
  7241. procedure clearPCFG10; inline;
  7242. procedure clearPCFG11; inline;
  7243. procedure clearPCFG12; inline;
  7244. procedure clearPCFG13; inline;
  7245. procedure clearPCFG14; inline;
  7246. procedure clearPCFG15; inline;
  7247. procedure clearPCFG1; inline;
  7248. procedure clearPCFG2; inline;
  7249. procedure clearPCFG3; inline;
  7250. procedure clearPCFG4; inline;
  7251. procedure clearPCFG5; inline;
  7252. procedure clearPCFG6; inline;
  7253. procedure clearPCFG7; inline;
  7254. procedure clearPCFG8; inline;
  7255. procedure clearPCFG9; inline;
  7256. procedure setPCFG0; inline;
  7257. procedure setPCFG10; inline;
  7258. procedure setPCFG11; inline;
  7259. procedure setPCFG12; inline;
  7260. procedure setPCFG13; inline;
  7261. procedure setPCFG14; inline;
  7262. procedure setPCFG15; inline;
  7263. procedure setPCFG1; inline;
  7264. procedure setPCFG2; inline;
  7265. procedure setPCFG3; inline;
  7266. procedure setPCFG4; inline;
  7267. procedure setPCFG5; inline;
  7268. procedure setPCFG6; inline;
  7269. procedure setPCFG7; inline;
  7270. procedure setPCFG8; inline;
  7271. procedure setPCFG9; inline;
  7272. property PCFG : TBits_16 read getPCFG write setPCFG;
  7273. property PCFG0 : TBits_1 read getPCFG0 write setPCFG0;
  7274. property PCFG1 : TBits_1 read getPCFG1 write setPCFG1;
  7275. property PCFG10 : TBits_1 read getPCFG10 write setPCFG10;
  7276. property PCFG11 : TBits_1 read getPCFG11 write setPCFG11;
  7277. property PCFG12 : TBits_1 read getPCFG12 write setPCFG12;
  7278. property PCFG13 : TBits_1 read getPCFG13 write setPCFG13;
  7279. property PCFG14 : TBits_1 read getPCFG14 write setPCFG14;
  7280. property PCFG15 : TBits_1 read getPCFG15 write setPCFG15;
  7281. property PCFG2 : TBits_1 read getPCFG2 write setPCFG2;
  7282. property PCFG3 : TBits_1 read getPCFG3 write setPCFG3;
  7283. property PCFG4 : TBits_1 read getPCFG4 write setPCFG4;
  7284. property PCFG5 : TBits_1 read getPCFG5 write setPCFG5;
  7285. property PCFG6 : TBits_1 read getPCFG6 write setPCFG6;
  7286. property PCFG7 : TBits_1 read getPCFG7 write setPCFG7;
  7287. property PCFG8 : TBits_1 read getPCFG8 write setPCFG8;
  7288. property PCFG9 : TBits_1 read getPCFG9 write setPCFG9;
  7289. property w : TBits_32 read getw write setw;
  7290. end;
  7291. type
  7292. TADC10Registers = record
  7293. AD1CON1bits : TADC10_AD1CON1;
  7294. AD1CON1 : longWord;
  7295. AD1CON1CLR : longWord;
  7296. AD1CON1SET : longWord;
  7297. AD1CON1INV : longWord;
  7298. AD1CON2bits : TADC10_AD1CON2;
  7299. AD1CON2 : longWord;
  7300. AD1CON2CLR : longWord;
  7301. AD1CON2SET : longWord;
  7302. AD1CON2INV : longWord;
  7303. AD1CON3bits : TADC10_AD1CON3;
  7304. AD1CON3 : longWord;
  7305. AD1CON3CLR : longWord;
  7306. AD1CON3SET : longWord;
  7307. AD1CON3INV : longWord;
  7308. AD1CHSbits : TADC10_AD1CHS;
  7309. AD1CHS : longWord;
  7310. AD1CHSCLR : longWord;
  7311. AD1CHSSET : longWord;
  7312. AD1CHSINV : longWord;
  7313. AD1CSSLbits : TADC10_AD1CSSL;
  7314. AD1CSSL : longWord;
  7315. AD1CSSLCLR : longWord;
  7316. AD1CSSLSET : longWord;
  7317. AD1CSSLINV : longWord;
  7318. AD1PCFGbits : TADC10_AD1PCFG;
  7319. AD1PCFG : longWord;
  7320. AD1PCFGCLR : longWord;
  7321. AD1PCFGSET : longWord;
  7322. AD1PCFGINV : longWord;
  7323. ADC1BUF0 : longWord;
  7324. ADC1BUF1 : longWord;
  7325. ADC1BUF2 : longWord;
  7326. ADC1BUF3 : longWord;
  7327. ADC1BUF4 : longWord;
  7328. ADC1BUF5 : longWord;
  7329. ADC1BUF6 : longWord;
  7330. ADC1BUF7 : longWord;
  7331. ADC1BUF8 : longWord;
  7332. ADC1BUF9 : longWord;
  7333. ADC1BUFA : longWord;
  7334. ADC1BUFB : longWord;
  7335. ADC1BUFC : longWord;
  7336. ADC1BUFD : longWord;
  7337. ADC1BUFE : longWord;
  7338. ADC1BUFF : longWord;
  7339. end;
  7340. TCVR_CVRCON = record
  7341. private
  7342. function getBGSEL : TBits_2; inline;
  7343. function getBGSEL0 : TBits_1; inline;
  7344. function getBGSEL1 : TBits_1; inline;
  7345. function getCVR : TBits_4; inline;
  7346. function getCVR0 : TBits_1; inline;
  7347. function getCVR1 : TBits_1; inline;
  7348. function getCVR2 : TBits_1; inline;
  7349. function getCVR3 : TBits_1; inline;
  7350. function getCVROE : TBits_1; inline;
  7351. function getCVRR : TBits_1; inline;
  7352. function getCVRSS : TBits_1; inline;
  7353. function getON : TBits_1; inline;
  7354. function getVREFSEL : TBits_1; inline;
  7355. function getw : TBits_32; inline;
  7356. procedure setBGSEL(thebits : TBits_2); inline;
  7357. procedure setBGSEL0(thebits : TBits_1); inline;
  7358. procedure setBGSEL1(thebits : TBits_1); inline;
  7359. procedure setCVR(thebits : TBits_4); inline;
  7360. procedure setCVR0(thebits : TBits_1); inline;
  7361. procedure setCVR1(thebits : TBits_1); inline;
  7362. procedure setCVR2(thebits : TBits_1); inline;
  7363. procedure setCVR3(thebits : TBits_1); inline;
  7364. procedure setCVROE(thebits : TBits_1); inline;
  7365. procedure setCVRR(thebits : TBits_1); inline;
  7366. procedure setCVRSS(thebits : TBits_1); inline;
  7367. procedure setON(thebits : TBits_1); inline;
  7368. procedure setVREFSEL(thebits : TBits_1); inline;
  7369. procedure setw(thebits : TBits_32); inline;
  7370. public
  7371. procedure clearBGSEL0; inline;
  7372. procedure clearBGSEL1; inline;
  7373. procedure clearCVR0; inline;
  7374. procedure clearCVR1; inline;
  7375. procedure clearCVR2; inline;
  7376. procedure clearCVR3; inline;
  7377. procedure clearCVROE; inline;
  7378. procedure clearCVRR; inline;
  7379. procedure clearCVRSS; inline;
  7380. procedure clearON; inline;
  7381. procedure clearVREFSEL; inline;
  7382. procedure setBGSEL0; inline;
  7383. procedure setBGSEL1; inline;
  7384. procedure setCVR0; inline;
  7385. procedure setCVR1; inline;
  7386. procedure setCVR2; inline;
  7387. procedure setCVR3; inline;
  7388. procedure setCVROE; inline;
  7389. procedure setCVRR; inline;
  7390. procedure setCVRSS; inline;
  7391. procedure setON; inline;
  7392. procedure setVREFSEL; inline;
  7393. property BGSEL : TBits_2 read getBGSEL write setBGSEL;
  7394. property BGSEL0 : TBits_1 read getBGSEL0 write setBGSEL0;
  7395. property BGSEL1 : TBits_1 read getBGSEL1 write setBGSEL1;
  7396. property CVR : TBits_4 read getCVR write setCVR;
  7397. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  7398. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  7399. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  7400. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  7401. property CVROE : TBits_1 read getCVROE write setCVROE;
  7402. property CVRR : TBits_1 read getCVRR write setCVRR;
  7403. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  7404. property ON : TBits_1 read getON write setON;
  7405. property VREFSEL : TBits_1 read getVREFSEL write setVREFSEL;
  7406. property w : TBits_32 read getw write setw;
  7407. end;
  7408. type
  7409. TCVRRegisters = record
  7410. CVRCONbits : TCVR_CVRCON;
  7411. CVRCON : longWord;
  7412. CVRCONCLR : longWord;
  7413. CVRCONSET : longWord;
  7414. CVRCONINV : longWord;
  7415. end;
  7416. TCMP_CM1CON = record
  7417. private
  7418. function getCCH : TBits_2; inline;
  7419. function getCCH0 : TBits_1; inline;
  7420. function getCCH1 : TBits_1; inline;
  7421. function getCOE : TBits_1; inline;
  7422. function getCOUT : TBits_1; inline;
  7423. function getCPOL : TBits_1; inline;
  7424. function getCREF : TBits_1; inline;
  7425. function getEVPOL : TBits_2; inline;
  7426. function getEVPOL0 : TBits_1; inline;
  7427. function getEVPOL1 : TBits_1; inline;
  7428. function getON : TBits_1; inline;
  7429. function getw : TBits_32; inline;
  7430. procedure setCCH(thebits : TBits_2); inline;
  7431. procedure setCCH0(thebits : TBits_1); inline;
  7432. procedure setCCH1(thebits : TBits_1); inline;
  7433. procedure setCOE(thebits : TBits_1); inline;
  7434. procedure setCOUT(thebits : TBits_1); inline;
  7435. procedure setCPOL(thebits : TBits_1); inline;
  7436. procedure setCREF(thebits : TBits_1); inline;
  7437. procedure setEVPOL(thebits : TBits_2); inline;
  7438. procedure setEVPOL0(thebits : TBits_1); inline;
  7439. procedure setEVPOL1(thebits : TBits_1); inline;
  7440. procedure setON(thebits : TBits_1); inline;
  7441. procedure setw(thebits : TBits_32); inline;
  7442. public
  7443. procedure clearCCH0; inline;
  7444. procedure clearCCH1; inline;
  7445. procedure clearCOE; inline;
  7446. procedure clearCOUT; inline;
  7447. procedure clearCPOL; inline;
  7448. procedure clearCREF; inline;
  7449. procedure clearEVPOL0; inline;
  7450. procedure clearEVPOL1; inline;
  7451. procedure clearON; inline;
  7452. procedure setCCH0; inline;
  7453. procedure setCCH1; inline;
  7454. procedure setCOE; inline;
  7455. procedure setCOUT; inline;
  7456. procedure setCPOL; inline;
  7457. procedure setCREF; inline;
  7458. procedure setEVPOL0; inline;
  7459. procedure setEVPOL1; inline;
  7460. procedure setON; inline;
  7461. property CCH : TBits_2 read getCCH write setCCH;
  7462. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  7463. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  7464. property COE : TBits_1 read getCOE write setCOE;
  7465. property COUT : TBits_1 read getCOUT write setCOUT;
  7466. property CPOL : TBits_1 read getCPOL write setCPOL;
  7467. property CREF : TBits_1 read getCREF write setCREF;
  7468. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  7469. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  7470. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  7471. property ON : TBits_1 read getON write setON;
  7472. property w : TBits_32 read getw write setw;
  7473. end;
  7474. TCMP_CM2CON = record
  7475. private
  7476. function getCCH : TBits_2; inline;
  7477. function getCCH0 : TBits_1; inline;
  7478. function getCCH1 : TBits_1; inline;
  7479. function getCOE : TBits_1; inline;
  7480. function getCOUT : TBits_1; inline;
  7481. function getCPOL : TBits_1; inline;
  7482. function getCREF : TBits_1; inline;
  7483. function getEVPOL : TBits_2; inline;
  7484. function getEVPOL0 : TBits_1; inline;
  7485. function getEVPOL1 : TBits_1; inline;
  7486. function getON : TBits_1; inline;
  7487. function getw : TBits_32; inline;
  7488. procedure setCCH(thebits : TBits_2); inline;
  7489. procedure setCCH0(thebits : TBits_1); inline;
  7490. procedure setCCH1(thebits : TBits_1); inline;
  7491. procedure setCOE(thebits : TBits_1); inline;
  7492. procedure setCOUT(thebits : TBits_1); inline;
  7493. procedure setCPOL(thebits : TBits_1); inline;
  7494. procedure setCREF(thebits : TBits_1); inline;
  7495. procedure setEVPOL(thebits : TBits_2); inline;
  7496. procedure setEVPOL0(thebits : TBits_1); inline;
  7497. procedure setEVPOL1(thebits : TBits_1); inline;
  7498. procedure setON(thebits : TBits_1); inline;
  7499. procedure setw(thebits : TBits_32); inline;
  7500. public
  7501. procedure clearCCH0; inline;
  7502. procedure clearCCH1; inline;
  7503. procedure clearCOE; inline;
  7504. procedure clearCOUT; inline;
  7505. procedure clearCPOL; inline;
  7506. procedure clearCREF; inline;
  7507. procedure clearEVPOL0; inline;
  7508. procedure clearEVPOL1; inline;
  7509. procedure clearON; inline;
  7510. procedure setCCH0; inline;
  7511. procedure setCCH1; inline;
  7512. procedure setCOE; inline;
  7513. procedure setCOUT; inline;
  7514. procedure setCPOL; inline;
  7515. procedure setCREF; inline;
  7516. procedure setEVPOL0; inline;
  7517. procedure setEVPOL1; inline;
  7518. procedure setON; inline;
  7519. property CCH : TBits_2 read getCCH write setCCH;
  7520. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  7521. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  7522. property COE : TBits_1 read getCOE write setCOE;
  7523. property COUT : TBits_1 read getCOUT write setCOUT;
  7524. property CPOL : TBits_1 read getCPOL write setCPOL;
  7525. property CREF : TBits_1 read getCREF write setCREF;
  7526. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  7527. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  7528. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  7529. property ON : TBits_1 read getON write setON;
  7530. property w : TBits_32 read getw write setw;
  7531. end;
  7532. TCMP_CMSTAT = record
  7533. private
  7534. function getC1OUT : TBits_1; inline;
  7535. function getC2OUT : TBits_1; inline;
  7536. function getSIDL : TBits_1; inline;
  7537. function getw : TBits_32; inline;
  7538. procedure setC1OUT(thebits : TBits_1); inline;
  7539. procedure setC2OUT(thebits : TBits_1); inline;
  7540. procedure setSIDL(thebits : TBits_1); inline;
  7541. procedure setw(thebits : TBits_32); inline;
  7542. public
  7543. procedure clearC1OUT; inline;
  7544. procedure clearC2OUT; inline;
  7545. procedure clearSIDL; inline;
  7546. procedure setC1OUT; inline;
  7547. procedure setC2OUT; inline;
  7548. procedure setSIDL; inline;
  7549. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  7550. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  7551. property SIDL : TBits_1 read getSIDL write setSIDL;
  7552. property w : TBits_32 read getw write setw;
  7553. end;
  7554. type
  7555. TCMPRegisters = record
  7556. CM1CONbits : TCMP_CM1CON;
  7557. CM1CON : longWord;
  7558. CM1CONCLR : longWord;
  7559. CM1CONSET : longWord;
  7560. CM1CONINV : longWord;
  7561. CM2CONbits : TCMP_CM2CON;
  7562. CM2CON : longWord;
  7563. CM2CONCLR : longWord;
  7564. CM2CONSET : longWord;
  7565. CM2CONINV : longWord;
  7566. CMSTATbits : TCMP_CMSTAT;
  7567. CMSTAT : longWord;
  7568. CMSTATCLR : longWord;
  7569. CMSTATSET : longWord;
  7570. CMSTATINV : longWord;
  7571. end;
  7572. TOSC_OSCCON = record
  7573. private
  7574. function getCF : TBits_1; inline;
  7575. function getCLKLOCK : TBits_1; inline;
  7576. function getCOSC : TBits_3; inline;
  7577. function getCOSC0 : TBits_1; inline;
  7578. function getCOSC1 : TBits_1; inline;
  7579. function getCOSC2 : TBits_1; inline;
  7580. function getFRCDIV : TBits_3; inline;
  7581. function getFRCDIV0 : TBits_1; inline;
  7582. function getFRCDIV1 : TBits_1; inline;
  7583. function getFRCDIV2 : TBits_1; inline;
  7584. function getNOSC : TBits_3; inline;
  7585. function getNOSC0 : TBits_1; inline;
  7586. function getNOSC1 : TBits_1; inline;
  7587. function getNOSC2 : TBits_1; inline;
  7588. function getOSWEN : TBits_1; inline;
  7589. function getPBDIV : TBits_2; inline;
  7590. function getPBDIV0 : TBits_1; inline;
  7591. function getPBDIV1 : TBits_1; inline;
  7592. function getPLLMULT : TBits_3; inline;
  7593. function getPLLMULT0 : TBits_1; inline;
  7594. function getPLLMULT1 : TBits_1; inline;
  7595. function getPLLMULT2 : TBits_1; inline;
  7596. function getPLLODIV : TBits_3; inline;
  7597. function getPLLODIV0 : TBits_1; inline;
  7598. function getPLLODIV1 : TBits_1; inline;
  7599. function getPLLODIV2 : TBits_1; inline;
  7600. function getSLOCK : TBits_1; inline;
  7601. function getSLPEN : TBits_1; inline;
  7602. function getSOSCEN : TBits_1; inline;
  7603. function getSOSCRDY : TBits_1; inline;
  7604. function getUFRCEN : TBits_1; inline;
  7605. function getULOCK : TBits_1; inline;
  7606. function getw : TBits_32; inline;
  7607. procedure setCF(thebits : TBits_1); inline;
  7608. procedure setCLKLOCK(thebits : TBits_1); inline;
  7609. procedure setCOSC(thebits : TBits_3); inline;
  7610. procedure setCOSC0(thebits : TBits_1); inline;
  7611. procedure setCOSC1(thebits : TBits_1); inline;
  7612. procedure setCOSC2(thebits : TBits_1); inline;
  7613. procedure setFRCDIV(thebits : TBits_3); inline;
  7614. procedure setFRCDIV0(thebits : TBits_1); inline;
  7615. procedure setFRCDIV1(thebits : TBits_1); inline;
  7616. procedure setFRCDIV2(thebits : TBits_1); inline;
  7617. procedure setNOSC(thebits : TBits_3); inline;
  7618. procedure setNOSC0(thebits : TBits_1); inline;
  7619. procedure setNOSC1(thebits : TBits_1); inline;
  7620. procedure setNOSC2(thebits : TBits_1); inline;
  7621. procedure setOSWEN(thebits : TBits_1); inline;
  7622. procedure setPBDIV(thebits : TBits_2); inline;
  7623. procedure setPBDIV0(thebits : TBits_1); inline;
  7624. procedure setPBDIV1(thebits : TBits_1); inline;
  7625. procedure setPLLMULT(thebits : TBits_3); inline;
  7626. procedure setPLLMULT0(thebits : TBits_1); inline;
  7627. procedure setPLLMULT1(thebits : TBits_1); inline;
  7628. procedure setPLLMULT2(thebits : TBits_1); inline;
  7629. procedure setPLLODIV(thebits : TBits_3); inline;
  7630. procedure setPLLODIV0(thebits : TBits_1); inline;
  7631. procedure setPLLODIV1(thebits : TBits_1); inline;
  7632. procedure setPLLODIV2(thebits : TBits_1); inline;
  7633. procedure setSLOCK(thebits : TBits_1); inline;
  7634. procedure setSLPEN(thebits : TBits_1); inline;
  7635. procedure setSOSCEN(thebits : TBits_1); inline;
  7636. procedure setSOSCRDY(thebits : TBits_1); inline;
  7637. procedure setUFRCEN(thebits : TBits_1); inline;
  7638. procedure setULOCK(thebits : TBits_1); inline;
  7639. procedure setw(thebits : TBits_32); inline;
  7640. public
  7641. procedure clearCF; inline;
  7642. procedure clearCLKLOCK; inline;
  7643. procedure clearCOSC0; inline;
  7644. procedure clearCOSC1; inline;
  7645. procedure clearCOSC2; inline;
  7646. procedure clearFRCDIV0; inline;
  7647. procedure clearFRCDIV1; inline;
  7648. procedure clearFRCDIV2; inline;
  7649. procedure clearNOSC0; inline;
  7650. procedure clearNOSC1; inline;
  7651. procedure clearNOSC2; inline;
  7652. procedure clearOSWEN; inline;
  7653. procedure clearPBDIV0; inline;
  7654. procedure clearPBDIV1; inline;
  7655. procedure clearPLLMULT0; inline;
  7656. procedure clearPLLMULT1; inline;
  7657. procedure clearPLLMULT2; inline;
  7658. procedure clearPLLODIV0; inline;
  7659. procedure clearPLLODIV1; inline;
  7660. procedure clearPLLODIV2; inline;
  7661. procedure clearSLOCK; inline;
  7662. procedure clearSLPEN; inline;
  7663. procedure clearSOSCEN; inline;
  7664. procedure clearSOSCRDY; inline;
  7665. procedure clearUFRCEN; inline;
  7666. procedure clearULOCK; inline;
  7667. procedure setCF; inline;
  7668. procedure setCLKLOCK; inline;
  7669. procedure setCOSC0; inline;
  7670. procedure setCOSC1; inline;
  7671. procedure setCOSC2; inline;
  7672. procedure setFRCDIV0; inline;
  7673. procedure setFRCDIV1; inline;
  7674. procedure setFRCDIV2; inline;
  7675. procedure setNOSC0; inline;
  7676. procedure setNOSC1; inline;
  7677. procedure setNOSC2; inline;
  7678. procedure setOSWEN; inline;
  7679. procedure setPBDIV0; inline;
  7680. procedure setPBDIV1; inline;
  7681. procedure setPLLMULT0; inline;
  7682. procedure setPLLMULT1; inline;
  7683. procedure setPLLMULT2; inline;
  7684. procedure setPLLODIV0; inline;
  7685. procedure setPLLODIV1; inline;
  7686. procedure setPLLODIV2; inline;
  7687. procedure setSLOCK; inline;
  7688. procedure setSLPEN; inline;
  7689. procedure setSOSCEN; inline;
  7690. procedure setSOSCRDY; inline;
  7691. procedure setUFRCEN; inline;
  7692. procedure setULOCK; inline;
  7693. property CF : TBits_1 read getCF write setCF;
  7694. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  7695. property COSC : TBits_3 read getCOSC write setCOSC;
  7696. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  7697. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  7698. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  7699. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  7700. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  7701. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  7702. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  7703. property NOSC : TBits_3 read getNOSC write setNOSC;
  7704. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  7705. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  7706. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  7707. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  7708. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  7709. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  7710. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  7711. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  7712. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  7713. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  7714. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  7715. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  7716. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  7717. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  7718. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  7719. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  7720. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  7721. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  7722. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  7723. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  7724. property ULOCK : TBits_1 read getULOCK write setULOCK;
  7725. property w : TBits_32 read getw write setw;
  7726. end;
  7727. TOSC_OSCTUN = record
  7728. private
  7729. function getTUN : TBits_6; inline;
  7730. function getTUN0 : TBits_1; inline;
  7731. function getTUN1 : TBits_1; inline;
  7732. function getTUN2 : TBits_1; inline;
  7733. function getTUN3 : TBits_1; inline;
  7734. function getTUN4 : TBits_1; inline;
  7735. function getTUN5 : TBits_1; inline;
  7736. function getw : TBits_32; inline;
  7737. procedure setTUN(thebits : TBits_6); inline;
  7738. procedure setTUN0(thebits : TBits_1); inline;
  7739. procedure setTUN1(thebits : TBits_1); inline;
  7740. procedure setTUN2(thebits : TBits_1); inline;
  7741. procedure setTUN3(thebits : TBits_1); inline;
  7742. procedure setTUN4(thebits : TBits_1); inline;
  7743. procedure setTUN5(thebits : TBits_1); inline;
  7744. procedure setw(thebits : TBits_32); inline;
  7745. public
  7746. procedure clearTUN0; inline;
  7747. procedure clearTUN1; inline;
  7748. procedure clearTUN2; inline;
  7749. procedure clearTUN3; inline;
  7750. procedure clearTUN4; inline;
  7751. procedure clearTUN5; inline;
  7752. procedure setTUN0; inline;
  7753. procedure setTUN1; inline;
  7754. procedure setTUN2; inline;
  7755. procedure setTUN3; inline;
  7756. procedure setTUN4; inline;
  7757. procedure setTUN5; inline;
  7758. property TUN : TBits_6 read getTUN write setTUN;
  7759. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  7760. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  7761. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  7762. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  7763. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  7764. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  7765. property w : TBits_32 read getw write setw;
  7766. end;
  7767. type
  7768. TOSCRegisters = record
  7769. OSCCONbits : TOSC_OSCCON;
  7770. OSCCON : longWord;
  7771. OSCCONCLR : longWord;
  7772. OSCCONSET : longWord;
  7773. OSCCONINV : longWord;
  7774. OSCTUNbits : TOSC_OSCTUN;
  7775. OSCTUN : longWord;
  7776. OSCTUNCLR : longWord;
  7777. OSCTUNSET : longWord;
  7778. OSCTUNINV : longWord;
  7779. end;
  7780. type
  7781. TCFGRegisters = record
  7782. DDPCON : longWord;
  7783. DEVID : longWord;
  7784. SYSKEY : longWord;
  7785. SYSKEYCLR : longWord;
  7786. SYSKEYSET : longWord;
  7787. SYSKEYINV : longWord;
  7788. end;
  7789. TNVM_NVMCON = record
  7790. private
  7791. function getLVDERR : TBits_1; inline;
  7792. function getLVDSTAT : TBits_1; inline;
  7793. function getNVMOP : TBits_4; inline;
  7794. function getNVMOP0 : TBits_1; inline;
  7795. function getNVMOP1 : TBits_1; inline;
  7796. function getNVMOP2 : TBits_1; inline;
  7797. function getNVMOP3 : TBits_1; inline;
  7798. function getPROGOP : TBits_4; inline;
  7799. function getPROGOP0 : TBits_1; inline;
  7800. function getPROGOP1 : TBits_1; inline;
  7801. function getPROGOP2 : TBits_1; inline;
  7802. function getPROGOP3 : TBits_1; inline;
  7803. function getWR : TBits_1; inline;
  7804. function getWREN : TBits_1; inline;
  7805. function getWRERR : TBits_1; inline;
  7806. function getw : TBits_32; inline;
  7807. procedure setLVDERR(thebits : TBits_1); inline;
  7808. procedure setLVDSTAT(thebits : TBits_1); inline;
  7809. procedure setNVMOP(thebits : TBits_4); inline;
  7810. procedure setNVMOP0(thebits : TBits_1); inline;
  7811. procedure setNVMOP1(thebits : TBits_1); inline;
  7812. procedure setNVMOP2(thebits : TBits_1); inline;
  7813. procedure setNVMOP3(thebits : TBits_1); inline;
  7814. procedure setPROGOP(thebits : TBits_4); inline;
  7815. procedure setPROGOP0(thebits : TBits_1); inline;
  7816. procedure setPROGOP1(thebits : TBits_1); inline;
  7817. procedure setPROGOP2(thebits : TBits_1); inline;
  7818. procedure setPROGOP3(thebits : TBits_1); inline;
  7819. procedure setWR(thebits : TBits_1); inline;
  7820. procedure setWREN(thebits : TBits_1); inline;
  7821. procedure setWRERR(thebits : TBits_1); inline;
  7822. procedure setw(thebits : TBits_32); inline;
  7823. public
  7824. procedure clearLVDERR; inline;
  7825. procedure clearLVDSTAT; inline;
  7826. procedure clearNVMOP0; inline;
  7827. procedure clearNVMOP1; inline;
  7828. procedure clearNVMOP2; inline;
  7829. procedure clearNVMOP3; inline;
  7830. procedure clearPROGOP0; inline;
  7831. procedure clearPROGOP1; inline;
  7832. procedure clearPROGOP2; inline;
  7833. procedure clearPROGOP3; inline;
  7834. procedure clearWR; inline;
  7835. procedure clearWREN; inline;
  7836. procedure clearWRERR; inline;
  7837. procedure setLVDERR; inline;
  7838. procedure setLVDSTAT; inline;
  7839. procedure setNVMOP0; inline;
  7840. procedure setNVMOP1; inline;
  7841. procedure setNVMOP2; inline;
  7842. procedure setNVMOP3; inline;
  7843. procedure setPROGOP0; inline;
  7844. procedure setPROGOP1; inline;
  7845. procedure setPROGOP2; inline;
  7846. procedure setPROGOP3; inline;
  7847. procedure setWR; inline;
  7848. procedure setWREN; inline;
  7849. procedure setWRERR; inline;
  7850. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  7851. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  7852. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  7853. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  7854. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  7855. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  7856. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  7857. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  7858. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  7859. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  7860. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  7861. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  7862. property WR : TBits_1 read getWR write setWR;
  7863. property WREN : TBits_1 read getWREN write setWREN;
  7864. property WRERR : TBits_1 read getWRERR write setWRERR;
  7865. property w : TBits_32 read getw write setw;
  7866. end;
  7867. type
  7868. TNVMRegisters = record
  7869. NVMCONbits : TNVM_NVMCON;
  7870. NVMCON : longWord;
  7871. NVMCONCLR : longWord;
  7872. NVMCONSET : longWord;
  7873. NVMCONINV : longWord;
  7874. NVMKEY : longWord;
  7875. NVMADDR : longWord;
  7876. NVMADDRCLR : longWord;
  7877. NVMADDRSET : longWord;
  7878. NVMADDRINV : longWord;
  7879. NVMDATA : longWord;
  7880. NVMSRCADDR : longWord;
  7881. end;
  7882. TRCON_RCON = record
  7883. private
  7884. function getBOR : TBits_1; inline;
  7885. function getCMR : TBits_1; inline;
  7886. function getEXTR : TBits_1; inline;
  7887. function getIDLE : TBits_1; inline;
  7888. function getPOR : TBits_1; inline;
  7889. function getSLEEP : TBits_1; inline;
  7890. function getSWR : TBits_1; inline;
  7891. function getVREGS : TBits_1; inline;
  7892. function getWDTO : TBits_1; inline;
  7893. function getw : TBits_32; inline;
  7894. procedure setBOR(thebits : TBits_1); inline;
  7895. procedure setCMR(thebits : TBits_1); inline;
  7896. procedure setEXTR(thebits : TBits_1); inline;
  7897. procedure setIDLE(thebits : TBits_1); inline;
  7898. procedure setPOR(thebits : TBits_1); inline;
  7899. procedure setSLEEP(thebits : TBits_1); inline;
  7900. procedure setSWR(thebits : TBits_1); inline;
  7901. procedure setVREGS(thebits : TBits_1); inline;
  7902. procedure setWDTO(thebits : TBits_1); inline;
  7903. procedure setw(thebits : TBits_32); inline;
  7904. public
  7905. procedure clearBOR; inline;
  7906. procedure clearCMR; inline;
  7907. procedure clearEXTR; inline;
  7908. procedure clearIDLE; inline;
  7909. procedure clearPOR; inline;
  7910. procedure clearSLEEP; inline;
  7911. procedure clearSWR; inline;
  7912. procedure clearVREGS; inline;
  7913. procedure clearWDTO; inline;
  7914. procedure setBOR; inline;
  7915. procedure setCMR; inline;
  7916. procedure setEXTR; inline;
  7917. procedure setIDLE; inline;
  7918. procedure setPOR; inline;
  7919. procedure setSLEEP; inline;
  7920. procedure setSWR; inline;
  7921. procedure setVREGS; inline;
  7922. procedure setWDTO; inline;
  7923. property BOR : TBits_1 read getBOR write setBOR;
  7924. property CMR : TBits_1 read getCMR write setCMR;
  7925. property EXTR : TBits_1 read getEXTR write setEXTR;
  7926. property IDLE : TBits_1 read getIDLE write setIDLE;
  7927. property POR : TBits_1 read getPOR write setPOR;
  7928. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  7929. property SWR : TBits_1 read getSWR write setSWR;
  7930. property VREGS : TBits_1 read getVREGS write setVREGS;
  7931. property WDTO : TBits_1 read getWDTO write setWDTO;
  7932. property w : TBits_32 read getw write setw;
  7933. end;
  7934. TRCON_RSWRST = record
  7935. private
  7936. function getSWRST : TBits_1; inline;
  7937. function getw : TBits_32; inline;
  7938. procedure setSWRST(thebits : TBits_1); inline;
  7939. procedure setw(thebits : TBits_32); inline;
  7940. public
  7941. procedure clearSWRST; inline;
  7942. procedure setSWRST; inline;
  7943. property SWRST : TBits_1 read getSWRST write setSWRST;
  7944. property w : TBits_32 read getw write setw;
  7945. end;
  7946. type
  7947. TRCONRegisters = record
  7948. RCONbits : TRCON_RCON;
  7949. RCON : longWord;
  7950. RCONCLR : longWord;
  7951. RCONSET : longWord;
  7952. RCONINV : longWord;
  7953. RSWRSTbits : TRCON_RSWRST;
  7954. RSWRST : longWord;
  7955. RSWRSTCLR : longWord;
  7956. RSWRSTSET : longWord;
  7957. RSWRSTINV : longWord;
  7958. end;
  7959. type
  7960. T_DDPSTATRegisters = record
  7961. _DDPSTAT : longWord;
  7962. end;
  7963. type
  7964. T_STRORegisters = record
  7965. _STRO : longWord;
  7966. _STROCLR : longWord;
  7967. _STROSET : longWord;
  7968. _STROINV : longWord;
  7969. end;
  7970. type
  7971. T_APPORegisters = record
  7972. _APPO : longWord;
  7973. _APPOCLR : longWord;
  7974. _APPOSET : longWord;
  7975. _APPOINV : longWord;
  7976. end;
  7977. type
  7978. T_APPIRegisters = record
  7979. _APPI : longWord;
  7980. end;
  7981. TINT_INTCON = record
  7982. private
  7983. function getFRZ : TBits_1; inline;
  7984. function getINT0EP : TBits_1; inline;
  7985. function getINT1EP : TBits_1; inline;
  7986. function getINT2EP : TBits_1; inline;
  7987. function getINT3EP : TBits_1; inline;
  7988. function getINT4EP : TBits_1; inline;
  7989. function getMVEC : TBits_1; inline;
  7990. function getSS0 : TBits_1; inline;
  7991. function getTPC : TBits_3; inline;
  7992. function getw : TBits_32; inline;
  7993. procedure setFRZ(thebits : TBits_1); inline;
  7994. procedure setINT0EP(thebits : TBits_1); inline;
  7995. procedure setINT1EP(thebits : TBits_1); inline;
  7996. procedure setINT2EP(thebits : TBits_1); inline;
  7997. procedure setINT3EP(thebits : TBits_1); inline;
  7998. procedure setINT4EP(thebits : TBits_1); inline;
  7999. procedure setMVEC(thebits : TBits_1); inline;
  8000. procedure setSS0(thebits : TBits_1); inline;
  8001. procedure setTPC(thebits : TBits_3); inline;
  8002. procedure setw(thebits : TBits_32); inline;
  8003. public
  8004. procedure clearFRZ; inline;
  8005. procedure clearINT0EP; inline;
  8006. procedure clearINT1EP; inline;
  8007. procedure clearINT2EP; inline;
  8008. procedure clearINT3EP; inline;
  8009. procedure clearINT4EP; inline;
  8010. procedure clearMVEC; inline;
  8011. procedure clearSS0; inline;
  8012. procedure setFRZ; inline;
  8013. procedure setINT0EP; inline;
  8014. procedure setINT1EP; inline;
  8015. procedure setINT2EP; inline;
  8016. procedure setINT3EP; inline;
  8017. procedure setINT4EP; inline;
  8018. procedure setMVEC; inline;
  8019. procedure setSS0; inline;
  8020. property FRZ : TBits_1 read getFRZ write setFRZ;
  8021. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  8022. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  8023. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  8024. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  8025. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  8026. property MVEC : TBits_1 read getMVEC write setMVEC;
  8027. property SS0 : TBits_1 read getSS0 write setSS0;
  8028. property TPC : TBits_3 read getTPC write setTPC;
  8029. property w : TBits_32 read getw write setw;
  8030. end;
  8031. TINT_IFS0 = record
  8032. private
  8033. function getCS0IF : TBits_1; inline;
  8034. function getCS1IF : TBits_1; inline;
  8035. function getCTIF : TBits_1; inline;
  8036. function getI2C1ABIF : TBits_1; inline;
  8037. function getI2C1AMIF : TBits_1; inline;
  8038. function getI2C1ASIF : TBits_1; inline;
  8039. function getI2C1BIF : TBits_1; inline;
  8040. function getI2C1MIF : TBits_1; inline;
  8041. function getI2C1SIF : TBits_1; inline;
  8042. function getI2C3BIF : TBits_1; inline;
  8043. function getI2C3MIF : TBits_1; inline;
  8044. function getI2C3SIF : TBits_1; inline;
  8045. function getIC1IF : TBits_1; inline;
  8046. function getIC2IF : TBits_1; inline;
  8047. function getIC3IF : TBits_1; inline;
  8048. function getIC4IF : TBits_1; inline;
  8049. function getIC5IF : TBits_1; inline;
  8050. function getINT0IF : TBits_1; inline;
  8051. function getINT1IF : TBits_1; inline;
  8052. function getINT2IF : TBits_1; inline;
  8053. function getINT3IF : TBits_1; inline;
  8054. function getINT4IF : TBits_1; inline;
  8055. function getOC1IF : TBits_1; inline;
  8056. function getOC2IF : TBits_1; inline;
  8057. function getOC3IF : TBits_1; inline;
  8058. function getOC4IF : TBits_1; inline;
  8059. function getOC5IF : TBits_1; inline;
  8060. function getSPI1AEIF : TBits_1; inline;
  8061. function getSPI1ARXIF : TBits_1; inline;
  8062. function getSPI1ATXIF : TBits_1; inline;
  8063. function getSPI3EIF : TBits_1; inline;
  8064. function getSPI3RXIF : TBits_1; inline;
  8065. function getSPI3TXIF : TBits_1; inline;
  8066. function getT1IF : TBits_1; inline;
  8067. function getT2IF : TBits_1; inline;
  8068. function getT3IF : TBits_1; inline;
  8069. function getT4IF : TBits_1; inline;
  8070. function getT5IF : TBits_1; inline;
  8071. function getU1AEIF : TBits_1; inline;
  8072. function getU1ARXIF : TBits_1; inline;
  8073. function getU1ATXIF : TBits_1; inline;
  8074. function getU1EIF : TBits_1; inline;
  8075. function getU1RXIF : TBits_1; inline;
  8076. function getU1TXIF : TBits_1; inline;
  8077. function getw : TBits_32; inline;
  8078. procedure setCS0IF(thebits : TBits_1); inline;
  8079. procedure setCS1IF(thebits : TBits_1); inline;
  8080. procedure setCTIF(thebits : TBits_1); inline;
  8081. procedure setI2C1ABIF(thebits : TBits_1); inline;
  8082. procedure setI2C1AMIF(thebits : TBits_1); inline;
  8083. procedure setI2C1ASIF(thebits : TBits_1); inline;
  8084. procedure setI2C1BIF(thebits : TBits_1); inline;
  8085. procedure setI2C1MIF(thebits : TBits_1); inline;
  8086. procedure setI2C1SIF(thebits : TBits_1); inline;
  8087. procedure setI2C3BIF(thebits : TBits_1); inline;
  8088. procedure setI2C3MIF(thebits : TBits_1); inline;
  8089. procedure setI2C3SIF(thebits : TBits_1); inline;
  8090. procedure setIC1IF(thebits : TBits_1); inline;
  8091. procedure setIC2IF(thebits : TBits_1); inline;
  8092. procedure setIC3IF(thebits : TBits_1); inline;
  8093. procedure setIC4IF(thebits : TBits_1); inline;
  8094. procedure setIC5IF(thebits : TBits_1); inline;
  8095. procedure setINT0IF(thebits : TBits_1); inline;
  8096. procedure setINT1IF(thebits : TBits_1); inline;
  8097. procedure setINT2IF(thebits : TBits_1); inline;
  8098. procedure setINT3IF(thebits : TBits_1); inline;
  8099. procedure setINT4IF(thebits : TBits_1); inline;
  8100. procedure setOC1IF(thebits : TBits_1); inline;
  8101. procedure setOC2IF(thebits : TBits_1); inline;
  8102. procedure setOC3IF(thebits : TBits_1); inline;
  8103. procedure setOC4IF(thebits : TBits_1); inline;
  8104. procedure setOC5IF(thebits : TBits_1); inline;
  8105. procedure setSPI1AEIF(thebits : TBits_1); inline;
  8106. procedure setSPI1ARXIF(thebits : TBits_1); inline;
  8107. procedure setSPI1ATXIF(thebits : TBits_1); inline;
  8108. procedure setSPI3EIF(thebits : TBits_1); inline;
  8109. procedure setSPI3RXIF(thebits : TBits_1); inline;
  8110. procedure setSPI3TXIF(thebits : TBits_1); inline;
  8111. procedure setT1IF(thebits : TBits_1); inline;
  8112. procedure setT2IF(thebits : TBits_1); inline;
  8113. procedure setT3IF(thebits : TBits_1); inline;
  8114. procedure setT4IF(thebits : TBits_1); inline;
  8115. procedure setT5IF(thebits : TBits_1); inline;
  8116. procedure setU1AEIF(thebits : TBits_1); inline;
  8117. procedure setU1ARXIF(thebits : TBits_1); inline;
  8118. procedure setU1ATXIF(thebits : TBits_1); inline;
  8119. procedure setU1EIF(thebits : TBits_1); inline;
  8120. procedure setU1RXIF(thebits : TBits_1); inline;
  8121. procedure setU1TXIF(thebits : TBits_1); inline;
  8122. procedure setw(thebits : TBits_32); inline;
  8123. public
  8124. procedure clearCS0IF; inline;
  8125. procedure clearCS1IF; inline;
  8126. procedure clearCTIF; inline;
  8127. procedure clearI2C1ABIF; inline;
  8128. procedure clearI2C1AMIF; inline;
  8129. procedure clearI2C1ASIF; inline;
  8130. procedure clearI2C1BIF; inline;
  8131. procedure clearI2C1MIF; inline;
  8132. procedure clearI2C1SIF; inline;
  8133. procedure clearI2C3BIF; inline;
  8134. procedure clearI2C3MIF; inline;
  8135. procedure clearI2C3SIF; inline;
  8136. procedure clearIC1IF; inline;
  8137. procedure clearIC2IF; inline;
  8138. procedure clearIC3IF; inline;
  8139. procedure clearIC4IF; inline;
  8140. procedure clearIC5IF; inline;
  8141. procedure clearINT0IF; inline;
  8142. procedure clearINT1IF; inline;
  8143. procedure clearINT2IF; inline;
  8144. procedure clearINT3IF; inline;
  8145. procedure clearINT4IF; inline;
  8146. procedure clearOC1IF; inline;
  8147. procedure clearOC2IF; inline;
  8148. procedure clearOC3IF; inline;
  8149. procedure clearOC4IF; inline;
  8150. procedure clearOC5IF; inline;
  8151. procedure clearSPI1AEIF; inline;
  8152. procedure clearSPI1ARXIF; inline;
  8153. procedure clearSPI1ATXIF; inline;
  8154. procedure clearSPI3EIF; inline;
  8155. procedure clearSPI3RXIF; inline;
  8156. procedure clearSPI3TXIF; inline;
  8157. procedure clearT1IF; inline;
  8158. procedure clearT2IF; inline;
  8159. procedure clearT3IF; inline;
  8160. procedure clearT4IF; inline;
  8161. procedure clearT5IF; inline;
  8162. procedure clearU1AEIF; inline;
  8163. procedure clearU1ARXIF; inline;
  8164. procedure clearU1ATXIF; inline;
  8165. procedure clearU1EIF; inline;
  8166. procedure clearU1RXIF; inline;
  8167. procedure clearU1TXIF; inline;
  8168. procedure setCS0IF; inline;
  8169. procedure setCS1IF; inline;
  8170. procedure setCTIF; inline;
  8171. procedure setI2C1ABIF; inline;
  8172. procedure setI2C1AMIF; inline;
  8173. procedure setI2C1ASIF; inline;
  8174. procedure setI2C1BIF; inline;
  8175. procedure setI2C1MIF; inline;
  8176. procedure setI2C1SIF; inline;
  8177. procedure setI2C3BIF; inline;
  8178. procedure setI2C3MIF; inline;
  8179. procedure setI2C3SIF; inline;
  8180. procedure setIC1IF; inline;
  8181. procedure setIC2IF; inline;
  8182. procedure setIC3IF; inline;
  8183. procedure setIC4IF; inline;
  8184. procedure setIC5IF; inline;
  8185. procedure setINT0IF; inline;
  8186. procedure setINT1IF; inline;
  8187. procedure setINT2IF; inline;
  8188. procedure setINT3IF; inline;
  8189. procedure setINT4IF; inline;
  8190. procedure setOC1IF; inline;
  8191. procedure setOC2IF; inline;
  8192. procedure setOC3IF; inline;
  8193. procedure setOC4IF; inline;
  8194. procedure setOC5IF; inline;
  8195. procedure setSPI1AEIF; inline;
  8196. procedure setSPI1ARXIF; inline;
  8197. procedure setSPI1ATXIF; inline;
  8198. procedure setSPI3EIF; inline;
  8199. procedure setSPI3RXIF; inline;
  8200. procedure setSPI3TXIF; inline;
  8201. procedure setT1IF; inline;
  8202. procedure setT2IF; inline;
  8203. procedure setT3IF; inline;
  8204. procedure setT4IF; inline;
  8205. procedure setT5IF; inline;
  8206. procedure setU1AEIF; inline;
  8207. procedure setU1ARXIF; inline;
  8208. procedure setU1ATXIF; inline;
  8209. procedure setU1EIF; inline;
  8210. procedure setU1RXIF; inline;
  8211. procedure setU1TXIF; inline;
  8212. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  8213. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  8214. property CTIF : TBits_1 read getCTIF write setCTIF;
  8215. property I2C1ABIF : TBits_1 read getI2C1ABIF write setI2C1ABIF;
  8216. property I2C1AMIF : TBits_1 read getI2C1AMIF write setI2C1AMIF;
  8217. property I2C1ASIF : TBits_1 read getI2C1ASIF write setI2C1ASIF;
  8218. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  8219. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  8220. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  8221. property I2C3BIF : TBits_1 read getI2C3BIF write setI2C3BIF;
  8222. property I2C3MIF : TBits_1 read getI2C3MIF write setI2C3MIF;
  8223. property I2C3SIF : TBits_1 read getI2C3SIF write setI2C3SIF;
  8224. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  8225. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  8226. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  8227. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  8228. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  8229. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  8230. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  8231. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  8232. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  8233. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  8234. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  8235. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  8236. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  8237. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  8238. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  8239. property SPI1AEIF : TBits_1 read getSPI1AEIF write setSPI1AEIF;
  8240. property SPI1ARXIF : TBits_1 read getSPI1ARXIF write setSPI1ARXIF;
  8241. property SPI1ATXIF : TBits_1 read getSPI1ATXIF write setSPI1ATXIF;
  8242. property SPI3EIF : TBits_1 read getSPI3EIF write setSPI3EIF;
  8243. property SPI3RXIF : TBits_1 read getSPI3RXIF write setSPI3RXIF;
  8244. property SPI3TXIF : TBits_1 read getSPI3TXIF write setSPI3TXIF;
  8245. property T1IF : TBits_1 read getT1IF write setT1IF;
  8246. property T2IF : TBits_1 read getT2IF write setT2IF;
  8247. property T3IF : TBits_1 read getT3IF write setT3IF;
  8248. property T4IF : TBits_1 read getT4IF write setT4IF;
  8249. property T5IF : TBits_1 read getT5IF write setT5IF;
  8250. property U1AEIF : TBits_1 read getU1AEIF write setU1AEIF;
  8251. property U1ARXIF : TBits_1 read getU1ARXIF write setU1ARXIF;
  8252. property U1ATXIF : TBits_1 read getU1ATXIF write setU1ATXIF;
  8253. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  8254. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  8255. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  8256. property w : TBits_32 read getw write setw;
  8257. end;
  8258. TINT_IFS1 = record
  8259. private
  8260. function getAD1IF : TBits_1; inline;
  8261. function getCMP1IF : TBits_1; inline;
  8262. function getCMP2IF : TBits_1; inline;
  8263. function getCNIF : TBits_1; inline;
  8264. function getDMA0IF : TBits_1; inline;
  8265. function getDMA1IF : TBits_1; inline;
  8266. function getDMA2IF : TBits_1; inline;
  8267. function getDMA3IF : TBits_1; inline;
  8268. function getETHIF : TBits_1; inline;
  8269. function getFCEIF : TBits_1; inline;
  8270. function getFSCMIF : TBits_1; inline;
  8271. function getI2C2ABIF : TBits_1; inline;
  8272. function getI2C2AMIF : TBits_1; inline;
  8273. function getI2C2ASIF : TBits_1; inline;
  8274. function getI2C3ABIF : TBits_1; inline;
  8275. function getI2C3AMIF : TBits_1; inline;
  8276. function getI2C3ASIF : TBits_1; inline;
  8277. function getI2C4BIF : TBits_1; inline;
  8278. function getI2C4MIF : TBits_1; inline;
  8279. function getI2C4SIF : TBits_1; inline;
  8280. function getI2C5BIF : TBits_1; inline;
  8281. function getI2C5MIF : TBits_1; inline;
  8282. function getI2C5SIF : TBits_1; inline;
  8283. function getIC1EIF : TBits_1; inline;
  8284. function getIC2EIF : TBits_1; inline;
  8285. function getIC3EIF : TBits_1; inline;
  8286. function getPMPIF : TBits_1; inline;
  8287. function getRTCCIF : TBits_1; inline;
  8288. function getSPI2AEIF : TBits_1; inline;
  8289. function getSPI2ARXIF : TBits_1; inline;
  8290. function getSPI2ATXIF : TBits_1; inline;
  8291. function getSPI2EIF : TBits_1; inline;
  8292. function getSPI2RXIF : TBits_1; inline;
  8293. function getSPI2TXIF : TBits_1; inline;
  8294. function getSPI3AEIF : TBits_1; inline;
  8295. function getSPI3ARXIF : TBits_1; inline;
  8296. function getSPI3ATXIF : TBits_1; inline;
  8297. function getSPI4EIF : TBits_1; inline;
  8298. function getSPI4RXIF : TBits_1; inline;
  8299. function getSPI4TXIF : TBits_1; inline;
  8300. function getU2AEIF : TBits_1; inline;
  8301. function getU2ARXIF : TBits_1; inline;
  8302. function getU2ATXIF : TBits_1; inline;
  8303. function getU2EIF : TBits_1; inline;
  8304. function getU2RXIF : TBits_1; inline;
  8305. function getU2TXIF : TBits_1; inline;
  8306. function getU3AEIF : TBits_1; inline;
  8307. function getU3ARXIF : TBits_1; inline;
  8308. function getU3ATXIF : TBits_1; inline;
  8309. function getU3EIF : TBits_1; inline;
  8310. function getU3RXIF : TBits_1; inline;
  8311. function getU3TXIF : TBits_1; inline;
  8312. function getUSBIF : TBits_1; inline;
  8313. function getw : TBits_32; inline;
  8314. procedure setAD1IF(thebits : TBits_1); inline;
  8315. procedure setCMP1IF(thebits : TBits_1); inline;
  8316. procedure setCMP2IF(thebits : TBits_1); inline;
  8317. procedure setCNIF(thebits : TBits_1); inline;
  8318. procedure setDMA0IF(thebits : TBits_1); inline;
  8319. procedure setDMA1IF(thebits : TBits_1); inline;
  8320. procedure setDMA2IF(thebits : TBits_1); inline;
  8321. procedure setDMA3IF(thebits : TBits_1); inline;
  8322. procedure setETHIF(thebits : TBits_1); inline;
  8323. procedure setFCEIF(thebits : TBits_1); inline;
  8324. procedure setFSCMIF(thebits : TBits_1); inline;
  8325. procedure setI2C2ABIF(thebits : TBits_1); inline;
  8326. procedure setI2C2AMIF(thebits : TBits_1); inline;
  8327. procedure setI2C2ASIF(thebits : TBits_1); inline;
  8328. procedure setI2C3ABIF(thebits : TBits_1); inline;
  8329. procedure setI2C3AMIF(thebits : TBits_1); inline;
  8330. procedure setI2C3ASIF(thebits : TBits_1); inline;
  8331. procedure setI2C4BIF(thebits : TBits_1); inline;
  8332. procedure setI2C4MIF(thebits : TBits_1); inline;
  8333. procedure setI2C4SIF(thebits : TBits_1); inline;
  8334. procedure setI2C5BIF(thebits : TBits_1); inline;
  8335. procedure setI2C5MIF(thebits : TBits_1); inline;
  8336. procedure setI2C5SIF(thebits : TBits_1); inline;
  8337. procedure setIC1EIF(thebits : TBits_1); inline;
  8338. procedure setIC2EIF(thebits : TBits_1); inline;
  8339. procedure setIC3EIF(thebits : TBits_1); inline;
  8340. procedure setPMPIF(thebits : TBits_1); inline;
  8341. procedure setRTCCIF(thebits : TBits_1); inline;
  8342. procedure setSPI2AEIF(thebits : TBits_1); inline;
  8343. procedure setSPI2ARXIF(thebits : TBits_1); inline;
  8344. procedure setSPI2ATXIF(thebits : TBits_1); inline;
  8345. procedure setSPI2EIF(thebits : TBits_1); inline;
  8346. procedure setSPI2RXIF(thebits : TBits_1); inline;
  8347. procedure setSPI2TXIF(thebits : TBits_1); inline;
  8348. procedure setSPI3AEIF(thebits : TBits_1); inline;
  8349. procedure setSPI3ARXIF(thebits : TBits_1); inline;
  8350. procedure setSPI3ATXIF(thebits : TBits_1); inline;
  8351. procedure setSPI4EIF(thebits : TBits_1); inline;
  8352. procedure setSPI4RXIF(thebits : TBits_1); inline;
  8353. procedure setSPI4TXIF(thebits : TBits_1); inline;
  8354. procedure setU2AEIF(thebits : TBits_1); inline;
  8355. procedure setU2ARXIF(thebits : TBits_1); inline;
  8356. procedure setU2ATXIF(thebits : TBits_1); inline;
  8357. procedure setU2EIF(thebits : TBits_1); inline;
  8358. procedure setU2RXIF(thebits : TBits_1); inline;
  8359. procedure setU2TXIF(thebits : TBits_1); inline;
  8360. procedure setU3AEIF(thebits : TBits_1); inline;
  8361. procedure setU3ARXIF(thebits : TBits_1); inline;
  8362. procedure setU3ATXIF(thebits : TBits_1); inline;
  8363. procedure setU3EIF(thebits : TBits_1); inline;
  8364. procedure setU3RXIF(thebits : TBits_1); inline;
  8365. procedure setU3TXIF(thebits : TBits_1); inline;
  8366. procedure setUSBIF(thebits : TBits_1); inline;
  8367. procedure setw(thebits : TBits_32); inline;
  8368. public
  8369. procedure clearAD1IF; inline;
  8370. procedure clearCMP1IF; inline;
  8371. procedure clearCMP2IF; inline;
  8372. procedure clearCNIF; inline;
  8373. procedure clearDMA0IF; inline;
  8374. procedure clearDMA1IF; inline;
  8375. procedure clearDMA2IF; inline;
  8376. procedure clearDMA3IF; inline;
  8377. procedure clearETHIF; inline;
  8378. procedure clearFCEIF; inline;
  8379. procedure clearFSCMIF; inline;
  8380. procedure clearI2C2ABIF; inline;
  8381. procedure clearI2C2AMIF; inline;
  8382. procedure clearI2C2ASIF; inline;
  8383. procedure clearI2C3ABIF; inline;
  8384. procedure clearI2C3AMIF; inline;
  8385. procedure clearI2C3ASIF; inline;
  8386. procedure clearI2C4BIF; inline;
  8387. procedure clearI2C4MIF; inline;
  8388. procedure clearI2C4SIF; inline;
  8389. procedure clearI2C5BIF; inline;
  8390. procedure clearI2C5MIF; inline;
  8391. procedure clearI2C5SIF; inline;
  8392. procedure clearIC1EIF; inline;
  8393. procedure clearIC2EIF; inline;
  8394. procedure clearIC3EIF; inline;
  8395. procedure clearPMPIF; inline;
  8396. procedure clearRTCCIF; inline;
  8397. procedure clearSPI2AEIF; inline;
  8398. procedure clearSPI2ARXIF; inline;
  8399. procedure clearSPI2ATXIF; inline;
  8400. procedure clearSPI2EIF; inline;
  8401. procedure clearSPI2RXIF; inline;
  8402. procedure clearSPI2TXIF; inline;
  8403. procedure clearSPI3AEIF; inline;
  8404. procedure clearSPI3ARXIF; inline;
  8405. procedure clearSPI3ATXIF; inline;
  8406. procedure clearSPI4EIF; inline;
  8407. procedure clearSPI4RXIF; inline;
  8408. procedure clearSPI4TXIF; inline;
  8409. procedure clearU2AEIF; inline;
  8410. procedure clearU2ARXIF; inline;
  8411. procedure clearU2ATXIF; inline;
  8412. procedure clearU2EIF; inline;
  8413. procedure clearU2RXIF; inline;
  8414. procedure clearU2TXIF; inline;
  8415. procedure clearU3AEIF; inline;
  8416. procedure clearU3ARXIF; inline;
  8417. procedure clearU3ATXIF; inline;
  8418. procedure clearU3EIF; inline;
  8419. procedure clearU3RXIF; inline;
  8420. procedure clearU3TXIF; inline;
  8421. procedure clearUSBIF; inline;
  8422. procedure setAD1IF; inline;
  8423. procedure setCMP1IF; inline;
  8424. procedure setCMP2IF; inline;
  8425. procedure setCNIF; inline;
  8426. procedure setDMA0IF; inline;
  8427. procedure setDMA1IF; inline;
  8428. procedure setDMA2IF; inline;
  8429. procedure setDMA3IF; inline;
  8430. procedure setETHIF; inline;
  8431. procedure setFCEIF; inline;
  8432. procedure setFSCMIF; inline;
  8433. procedure setI2C2ABIF; inline;
  8434. procedure setI2C2AMIF; inline;
  8435. procedure setI2C2ASIF; inline;
  8436. procedure setI2C3ABIF; inline;
  8437. procedure setI2C3AMIF; inline;
  8438. procedure setI2C3ASIF; inline;
  8439. procedure setI2C4BIF; inline;
  8440. procedure setI2C4MIF; inline;
  8441. procedure setI2C4SIF; inline;
  8442. procedure setI2C5BIF; inline;
  8443. procedure setI2C5MIF; inline;
  8444. procedure setI2C5SIF; inline;
  8445. procedure setIC1EIF; inline;
  8446. procedure setIC2EIF; inline;
  8447. procedure setIC3EIF; inline;
  8448. procedure setPMPIF; inline;
  8449. procedure setRTCCIF; inline;
  8450. procedure setSPI2AEIF; inline;
  8451. procedure setSPI2ARXIF; inline;
  8452. procedure setSPI2ATXIF; inline;
  8453. procedure setSPI2EIF; inline;
  8454. procedure setSPI2RXIF; inline;
  8455. procedure setSPI2TXIF; inline;
  8456. procedure setSPI3AEIF; inline;
  8457. procedure setSPI3ARXIF; inline;
  8458. procedure setSPI3ATXIF; inline;
  8459. procedure setSPI4EIF; inline;
  8460. procedure setSPI4RXIF; inline;
  8461. procedure setSPI4TXIF; inline;
  8462. procedure setU2AEIF; inline;
  8463. procedure setU2ARXIF; inline;
  8464. procedure setU2ATXIF; inline;
  8465. procedure setU2EIF; inline;
  8466. procedure setU2RXIF; inline;
  8467. procedure setU2TXIF; inline;
  8468. procedure setU3AEIF; inline;
  8469. procedure setU3ARXIF; inline;
  8470. procedure setU3ATXIF; inline;
  8471. procedure setU3EIF; inline;
  8472. procedure setU3RXIF; inline;
  8473. procedure setU3TXIF; inline;
  8474. procedure setUSBIF; inline;
  8475. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  8476. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  8477. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  8478. property CNIF : TBits_1 read getCNIF write setCNIF;
  8479. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  8480. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  8481. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  8482. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  8483. property ETHIF : TBits_1 read getETHIF write setETHIF;
  8484. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  8485. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  8486. property I2C2ABIF : TBits_1 read getI2C2ABIF write setI2C2ABIF;
  8487. property I2C2AMIF : TBits_1 read getI2C2AMIF write setI2C2AMIF;
  8488. property I2C2ASIF : TBits_1 read getI2C2ASIF write setI2C2ASIF;
  8489. property I2C3ABIF : TBits_1 read getI2C3ABIF write setI2C3ABIF;
  8490. property I2C3AMIF : TBits_1 read getI2C3AMIF write setI2C3AMIF;
  8491. property I2C3ASIF : TBits_1 read getI2C3ASIF write setI2C3ASIF;
  8492. property I2C4BIF : TBits_1 read getI2C4BIF write setI2C4BIF;
  8493. property I2C4MIF : TBits_1 read getI2C4MIF write setI2C4MIF;
  8494. property I2C4SIF : TBits_1 read getI2C4SIF write setI2C4SIF;
  8495. property I2C5BIF : TBits_1 read getI2C5BIF write setI2C5BIF;
  8496. property I2C5MIF : TBits_1 read getI2C5MIF write setI2C5MIF;
  8497. property I2C5SIF : TBits_1 read getI2C5SIF write setI2C5SIF;
  8498. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  8499. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  8500. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  8501. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  8502. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  8503. property SPI2AEIF : TBits_1 read getSPI2AEIF write setSPI2AEIF;
  8504. property SPI2ARXIF : TBits_1 read getSPI2ARXIF write setSPI2ARXIF;
  8505. property SPI2ATXIF : TBits_1 read getSPI2ATXIF write setSPI2ATXIF;
  8506. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  8507. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  8508. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  8509. property SPI3AEIF : TBits_1 read getSPI3AEIF write setSPI3AEIF;
  8510. property SPI3ARXIF : TBits_1 read getSPI3ARXIF write setSPI3ARXIF;
  8511. property SPI3ATXIF : TBits_1 read getSPI3ATXIF write setSPI3ATXIF;
  8512. property SPI4EIF : TBits_1 read getSPI4EIF write setSPI4EIF;
  8513. property SPI4RXIF : TBits_1 read getSPI4RXIF write setSPI4RXIF;
  8514. property SPI4TXIF : TBits_1 read getSPI4TXIF write setSPI4TXIF;
  8515. property U2AEIF : TBits_1 read getU2AEIF write setU2AEIF;
  8516. property U2ARXIF : TBits_1 read getU2ARXIF write setU2ARXIF;
  8517. property U2ATXIF : TBits_1 read getU2ATXIF write setU2ATXIF;
  8518. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  8519. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  8520. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  8521. property U3AEIF : TBits_1 read getU3AEIF write setU3AEIF;
  8522. property U3ARXIF : TBits_1 read getU3ARXIF write setU3ARXIF;
  8523. property U3ATXIF : TBits_1 read getU3ATXIF write setU3ATXIF;
  8524. property U3EIF : TBits_1 read getU3EIF write setU3EIF;
  8525. property U3RXIF : TBits_1 read getU3RXIF write setU3RXIF;
  8526. property U3TXIF : TBits_1 read getU3TXIF write setU3TXIF;
  8527. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  8528. property w : TBits_32 read getw write setw;
  8529. end;
  8530. TINT_IFS2 = record
  8531. private
  8532. function getIC4EIF : TBits_1; inline;
  8533. function getIC5EIF : TBits_1; inline;
  8534. function getPMPEIF : TBits_1; inline;
  8535. function getU1BEIF : TBits_1; inline;
  8536. function getU1BRXIF : TBits_1; inline;
  8537. function getU1BTXIF : TBits_1; inline;
  8538. function getU2BEIF : TBits_1; inline;
  8539. function getU2BRXIF : TBits_1; inline;
  8540. function getU2BTXIF : TBits_1; inline;
  8541. function getU3BEIF : TBits_1; inline;
  8542. function getU3BRXIF : TBits_1; inline;
  8543. function getU3BTXIF : TBits_1; inline;
  8544. function getU4EIF : TBits_1; inline;
  8545. function getU4RXIF : TBits_1; inline;
  8546. function getU4TXIF : TBits_1; inline;
  8547. function getU5EIF : TBits_1; inline;
  8548. function getU5RXIF : TBits_1; inline;
  8549. function getU5TXIF : TBits_1; inline;
  8550. function getU6EIF : TBits_1; inline;
  8551. function getU6RXIF : TBits_1; inline;
  8552. function getU6TXIF : TBits_1; inline;
  8553. function getw : TBits_32; inline;
  8554. procedure setIC4EIF(thebits : TBits_1); inline;
  8555. procedure setIC5EIF(thebits : TBits_1); inline;
  8556. procedure setPMPEIF(thebits : TBits_1); inline;
  8557. procedure setU1BEIF(thebits : TBits_1); inline;
  8558. procedure setU1BRXIF(thebits : TBits_1); inline;
  8559. procedure setU1BTXIF(thebits : TBits_1); inline;
  8560. procedure setU2BEIF(thebits : TBits_1); inline;
  8561. procedure setU2BRXIF(thebits : TBits_1); inline;
  8562. procedure setU2BTXIF(thebits : TBits_1); inline;
  8563. procedure setU3BEIF(thebits : TBits_1); inline;
  8564. procedure setU3BRXIF(thebits : TBits_1); inline;
  8565. procedure setU3BTXIF(thebits : TBits_1); inline;
  8566. procedure setU4EIF(thebits : TBits_1); inline;
  8567. procedure setU4RXIF(thebits : TBits_1); inline;
  8568. procedure setU4TXIF(thebits : TBits_1); inline;
  8569. procedure setU5EIF(thebits : TBits_1); inline;
  8570. procedure setU5RXIF(thebits : TBits_1); inline;
  8571. procedure setU5TXIF(thebits : TBits_1); inline;
  8572. procedure setU6EIF(thebits : TBits_1); inline;
  8573. procedure setU6RXIF(thebits : TBits_1); inline;
  8574. procedure setU6TXIF(thebits : TBits_1); inline;
  8575. procedure setw(thebits : TBits_32); inline;
  8576. public
  8577. procedure clearIC4EIF; inline;
  8578. procedure clearIC5EIF; inline;
  8579. procedure clearPMPEIF; inline;
  8580. procedure clearU1BEIF; inline;
  8581. procedure clearU1BRXIF; inline;
  8582. procedure clearU1BTXIF; inline;
  8583. procedure clearU2BEIF; inline;
  8584. procedure clearU2BRXIF; inline;
  8585. procedure clearU2BTXIF; inline;
  8586. procedure clearU3BEIF; inline;
  8587. procedure clearU3BRXIF; inline;
  8588. procedure clearU3BTXIF; inline;
  8589. procedure clearU4EIF; inline;
  8590. procedure clearU4RXIF; inline;
  8591. procedure clearU4TXIF; inline;
  8592. procedure clearU5EIF; inline;
  8593. procedure clearU5RXIF; inline;
  8594. procedure clearU5TXIF; inline;
  8595. procedure clearU6EIF; inline;
  8596. procedure clearU6RXIF; inline;
  8597. procedure clearU6TXIF; inline;
  8598. procedure setIC4EIF; inline;
  8599. procedure setIC5EIF; inline;
  8600. procedure setPMPEIF; inline;
  8601. procedure setU1BEIF; inline;
  8602. procedure setU1BRXIF; inline;
  8603. procedure setU1BTXIF; inline;
  8604. procedure setU2BEIF; inline;
  8605. procedure setU2BRXIF; inline;
  8606. procedure setU2BTXIF; inline;
  8607. procedure setU3BEIF; inline;
  8608. procedure setU3BRXIF; inline;
  8609. procedure setU3BTXIF; inline;
  8610. procedure setU4EIF; inline;
  8611. procedure setU4RXIF; inline;
  8612. procedure setU4TXIF; inline;
  8613. procedure setU5EIF; inline;
  8614. procedure setU5RXIF; inline;
  8615. procedure setU5TXIF; inline;
  8616. procedure setU6EIF; inline;
  8617. procedure setU6RXIF; inline;
  8618. procedure setU6TXIF; inline;
  8619. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  8620. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  8621. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  8622. property U1BEIF : TBits_1 read getU1BEIF write setU1BEIF;
  8623. property U1BRXIF : TBits_1 read getU1BRXIF write setU1BRXIF;
  8624. property U1BTXIF : TBits_1 read getU1BTXIF write setU1BTXIF;
  8625. property U2BEIF : TBits_1 read getU2BEIF write setU2BEIF;
  8626. property U2BRXIF : TBits_1 read getU2BRXIF write setU2BRXIF;
  8627. property U2BTXIF : TBits_1 read getU2BTXIF write setU2BTXIF;
  8628. property U3BEIF : TBits_1 read getU3BEIF write setU3BEIF;
  8629. property U3BRXIF : TBits_1 read getU3BRXIF write setU3BRXIF;
  8630. property U3BTXIF : TBits_1 read getU3BTXIF write setU3BTXIF;
  8631. property U4EIF : TBits_1 read getU4EIF write setU4EIF;
  8632. property U4RXIF : TBits_1 read getU4RXIF write setU4RXIF;
  8633. property U4TXIF : TBits_1 read getU4TXIF write setU4TXIF;
  8634. property U5EIF : TBits_1 read getU5EIF write setU5EIF;
  8635. property U5RXIF : TBits_1 read getU5RXIF write setU5RXIF;
  8636. property U5TXIF : TBits_1 read getU5TXIF write setU5TXIF;
  8637. property U6EIF : TBits_1 read getU6EIF write setU6EIF;
  8638. property U6RXIF : TBits_1 read getU6RXIF write setU6RXIF;
  8639. property U6TXIF : TBits_1 read getU6TXIF write setU6TXIF;
  8640. property w : TBits_32 read getw write setw;
  8641. end;
  8642. TINT_IEC0 = record
  8643. private
  8644. function getCS0IE : TBits_1; inline;
  8645. function getCS1IE : TBits_1; inline;
  8646. function getCTIE : TBits_1; inline;
  8647. function getI2C1ABIE : TBits_1; inline;
  8648. function getI2C1AMIE : TBits_1; inline;
  8649. function getI2C1ASIE : TBits_1; inline;
  8650. function getI2C1BIE : TBits_1; inline;
  8651. function getI2C1MIE : TBits_1; inline;
  8652. function getI2C1SIE : TBits_1; inline;
  8653. function getI2C3BIE : TBits_1; inline;
  8654. function getI2C3MIE : TBits_1; inline;
  8655. function getI2C3SIE : TBits_1; inline;
  8656. function getIC1IE : TBits_1; inline;
  8657. function getIC2IE : TBits_1; inline;
  8658. function getIC3IE : TBits_1; inline;
  8659. function getIC4IE : TBits_1; inline;
  8660. function getIC5IE : TBits_1; inline;
  8661. function getINT0IE : TBits_1; inline;
  8662. function getINT1IE : TBits_1; inline;
  8663. function getINT2IE : TBits_1; inline;
  8664. function getINT3IE : TBits_1; inline;
  8665. function getINT4IE : TBits_1; inline;
  8666. function getOC1IE : TBits_1; inline;
  8667. function getOC2IE : TBits_1; inline;
  8668. function getOC3IE : TBits_1; inline;
  8669. function getOC4IE : TBits_1; inline;
  8670. function getOC5IE : TBits_1; inline;
  8671. function getSPI1AEIE : TBits_1; inline;
  8672. function getSPI1ARXIE : TBits_1; inline;
  8673. function getSPI1ATXIE : TBits_1; inline;
  8674. function getSPI3EIE : TBits_1; inline;
  8675. function getSPI3RXIE : TBits_1; inline;
  8676. function getSPI3TXIE : TBits_1; inline;
  8677. function getT1IE : TBits_1; inline;
  8678. function getT2IE : TBits_1; inline;
  8679. function getT3IE : TBits_1; inline;
  8680. function getT4IE : TBits_1; inline;
  8681. function getT5IE : TBits_1; inline;
  8682. function getU1AEIE : TBits_1; inline;
  8683. function getU1ARXIE : TBits_1; inline;
  8684. function getU1ATXIE : TBits_1; inline;
  8685. function getU1EIE : TBits_1; inline;
  8686. function getU1RXIE : TBits_1; inline;
  8687. function getU1TXIE : TBits_1; inline;
  8688. function getw : TBits_32; inline;
  8689. procedure setCS0IE(thebits : TBits_1); inline;
  8690. procedure setCS1IE(thebits : TBits_1); inline;
  8691. procedure setCTIE(thebits : TBits_1); inline;
  8692. procedure setI2C1ABIE(thebits : TBits_1); inline;
  8693. procedure setI2C1AMIE(thebits : TBits_1); inline;
  8694. procedure setI2C1ASIE(thebits : TBits_1); inline;
  8695. procedure setI2C1BIE(thebits : TBits_1); inline;
  8696. procedure setI2C1MIE(thebits : TBits_1); inline;
  8697. procedure setI2C1SIE(thebits : TBits_1); inline;
  8698. procedure setI2C3BIE(thebits : TBits_1); inline;
  8699. procedure setI2C3MIE(thebits : TBits_1); inline;
  8700. procedure setI2C3SIE(thebits : TBits_1); inline;
  8701. procedure setIC1IE(thebits : TBits_1); inline;
  8702. procedure setIC2IE(thebits : TBits_1); inline;
  8703. procedure setIC3IE(thebits : TBits_1); inline;
  8704. procedure setIC4IE(thebits : TBits_1); inline;
  8705. procedure setIC5IE(thebits : TBits_1); inline;
  8706. procedure setINT0IE(thebits : TBits_1); inline;
  8707. procedure setINT1IE(thebits : TBits_1); inline;
  8708. procedure setINT2IE(thebits : TBits_1); inline;
  8709. procedure setINT3IE(thebits : TBits_1); inline;
  8710. procedure setINT4IE(thebits : TBits_1); inline;
  8711. procedure setOC1IE(thebits : TBits_1); inline;
  8712. procedure setOC2IE(thebits : TBits_1); inline;
  8713. procedure setOC3IE(thebits : TBits_1); inline;
  8714. procedure setOC4IE(thebits : TBits_1); inline;
  8715. procedure setOC5IE(thebits : TBits_1); inline;
  8716. procedure setSPI1AEIE(thebits : TBits_1); inline;
  8717. procedure setSPI1ARXIE(thebits : TBits_1); inline;
  8718. procedure setSPI1ATXIE(thebits : TBits_1); inline;
  8719. procedure setSPI3EIE(thebits : TBits_1); inline;
  8720. procedure setSPI3RXIE(thebits : TBits_1); inline;
  8721. procedure setSPI3TXIE(thebits : TBits_1); inline;
  8722. procedure setT1IE(thebits : TBits_1); inline;
  8723. procedure setT2IE(thebits : TBits_1); inline;
  8724. procedure setT3IE(thebits : TBits_1); inline;
  8725. procedure setT4IE(thebits : TBits_1); inline;
  8726. procedure setT5IE(thebits : TBits_1); inline;
  8727. procedure setU1AEIE(thebits : TBits_1); inline;
  8728. procedure setU1ARXIE(thebits : TBits_1); inline;
  8729. procedure setU1ATXIE(thebits : TBits_1); inline;
  8730. procedure setU1EIE(thebits : TBits_1); inline;
  8731. procedure setU1RXIE(thebits : TBits_1); inline;
  8732. procedure setU1TXIE(thebits : TBits_1); inline;
  8733. procedure setw(thebits : TBits_32); inline;
  8734. public
  8735. procedure clearCS0IE; inline;
  8736. procedure clearCS1IE; inline;
  8737. procedure clearCTIE; inline;
  8738. procedure clearI2C1ABIE; inline;
  8739. procedure clearI2C1AMIE; inline;
  8740. procedure clearI2C1ASIE; inline;
  8741. procedure clearI2C1BIE; inline;
  8742. procedure clearI2C1MIE; inline;
  8743. procedure clearI2C1SIE; inline;
  8744. procedure clearI2C3BIE; inline;
  8745. procedure clearI2C3MIE; inline;
  8746. procedure clearI2C3SIE; inline;
  8747. procedure clearIC1IE; inline;
  8748. procedure clearIC2IE; inline;
  8749. procedure clearIC3IE; inline;
  8750. procedure clearIC4IE; inline;
  8751. procedure clearIC5IE; inline;
  8752. procedure clearINT0IE; inline;
  8753. procedure clearINT1IE; inline;
  8754. procedure clearINT2IE; inline;
  8755. procedure clearINT3IE; inline;
  8756. procedure clearINT4IE; inline;
  8757. procedure clearOC1IE; inline;
  8758. procedure clearOC2IE; inline;
  8759. procedure clearOC3IE; inline;
  8760. procedure clearOC4IE; inline;
  8761. procedure clearOC5IE; inline;
  8762. procedure clearSPI1AEIE; inline;
  8763. procedure clearSPI1ARXIE; inline;
  8764. procedure clearSPI1ATXIE; inline;
  8765. procedure clearSPI3EIE; inline;
  8766. procedure clearSPI3RXIE; inline;
  8767. procedure clearSPI3TXIE; inline;
  8768. procedure clearT1IE; inline;
  8769. procedure clearT2IE; inline;
  8770. procedure clearT3IE; inline;
  8771. procedure clearT4IE; inline;
  8772. procedure clearT5IE; inline;
  8773. procedure clearU1AEIE; inline;
  8774. procedure clearU1ARXIE; inline;
  8775. procedure clearU1ATXIE; inline;
  8776. procedure clearU1EIE; inline;
  8777. procedure clearU1RXIE; inline;
  8778. procedure clearU1TXIE; inline;
  8779. procedure setCS0IE; inline;
  8780. procedure setCS1IE; inline;
  8781. procedure setCTIE; inline;
  8782. procedure setI2C1ABIE; inline;
  8783. procedure setI2C1AMIE; inline;
  8784. procedure setI2C1ASIE; inline;
  8785. procedure setI2C1BIE; inline;
  8786. procedure setI2C1MIE; inline;
  8787. procedure setI2C1SIE; inline;
  8788. procedure setI2C3BIE; inline;
  8789. procedure setI2C3MIE; inline;
  8790. procedure setI2C3SIE; inline;
  8791. procedure setIC1IE; inline;
  8792. procedure setIC2IE; inline;
  8793. procedure setIC3IE; inline;
  8794. procedure setIC4IE; inline;
  8795. procedure setIC5IE; inline;
  8796. procedure setINT0IE; inline;
  8797. procedure setINT1IE; inline;
  8798. procedure setINT2IE; inline;
  8799. procedure setINT3IE; inline;
  8800. procedure setINT4IE; inline;
  8801. procedure setOC1IE; inline;
  8802. procedure setOC2IE; inline;
  8803. procedure setOC3IE; inline;
  8804. procedure setOC4IE; inline;
  8805. procedure setOC5IE; inline;
  8806. procedure setSPI1AEIE; inline;
  8807. procedure setSPI1ARXIE; inline;
  8808. procedure setSPI1ATXIE; inline;
  8809. procedure setSPI3EIE; inline;
  8810. procedure setSPI3RXIE; inline;
  8811. procedure setSPI3TXIE; inline;
  8812. procedure setT1IE; inline;
  8813. procedure setT2IE; inline;
  8814. procedure setT3IE; inline;
  8815. procedure setT4IE; inline;
  8816. procedure setT5IE; inline;
  8817. procedure setU1AEIE; inline;
  8818. procedure setU1ARXIE; inline;
  8819. procedure setU1ATXIE; inline;
  8820. procedure setU1EIE; inline;
  8821. procedure setU1RXIE; inline;
  8822. procedure setU1TXIE; inline;
  8823. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  8824. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  8825. property CTIE : TBits_1 read getCTIE write setCTIE;
  8826. property I2C1ABIE : TBits_1 read getI2C1ABIE write setI2C1ABIE;
  8827. property I2C1AMIE : TBits_1 read getI2C1AMIE write setI2C1AMIE;
  8828. property I2C1ASIE : TBits_1 read getI2C1ASIE write setI2C1ASIE;
  8829. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  8830. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  8831. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  8832. property I2C3BIE : TBits_1 read getI2C3BIE write setI2C3BIE;
  8833. property I2C3MIE : TBits_1 read getI2C3MIE write setI2C3MIE;
  8834. property I2C3SIE : TBits_1 read getI2C3SIE write setI2C3SIE;
  8835. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  8836. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  8837. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  8838. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  8839. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  8840. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  8841. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  8842. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  8843. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  8844. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  8845. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  8846. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  8847. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  8848. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  8849. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  8850. property SPI1AEIE : TBits_1 read getSPI1AEIE write setSPI1AEIE;
  8851. property SPI1ARXIE : TBits_1 read getSPI1ARXIE write setSPI1ARXIE;
  8852. property SPI1ATXIE : TBits_1 read getSPI1ATXIE write setSPI1ATXIE;
  8853. property SPI3EIE : TBits_1 read getSPI3EIE write setSPI3EIE;
  8854. property SPI3RXIE : TBits_1 read getSPI3RXIE write setSPI3RXIE;
  8855. property SPI3TXIE : TBits_1 read getSPI3TXIE write setSPI3TXIE;
  8856. property T1IE : TBits_1 read getT1IE write setT1IE;
  8857. property T2IE : TBits_1 read getT2IE write setT2IE;
  8858. property T3IE : TBits_1 read getT3IE write setT3IE;
  8859. property T4IE : TBits_1 read getT4IE write setT4IE;
  8860. property T5IE : TBits_1 read getT5IE write setT5IE;
  8861. property U1AEIE : TBits_1 read getU1AEIE write setU1AEIE;
  8862. property U1ARXIE : TBits_1 read getU1ARXIE write setU1ARXIE;
  8863. property U1ATXIE : TBits_1 read getU1ATXIE write setU1ATXIE;
  8864. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  8865. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  8866. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  8867. property w : TBits_32 read getw write setw;
  8868. end;
  8869. TINT_IEC1 = record
  8870. private
  8871. function getAD1IE : TBits_1; inline;
  8872. function getCMP1IE : TBits_1; inline;
  8873. function getCMP2IE : TBits_1; inline;
  8874. function getCNIE : TBits_1; inline;
  8875. function getDMA0IE : TBits_1; inline;
  8876. function getDMA1IE : TBits_1; inline;
  8877. function getDMA2IE : TBits_1; inline;
  8878. function getDMA3IE : TBits_1; inline;
  8879. function getETHIE : TBits_1; inline;
  8880. function getFCEIE : TBits_1; inline;
  8881. function getFSCMIE : TBits_1; inline;
  8882. function getI2C2ABIE : TBits_1; inline;
  8883. function getI2C2AMIE : TBits_1; inline;
  8884. function getI2C2ASIE : TBits_1; inline;
  8885. function getI2C3ABIE : TBits_1; inline;
  8886. function getI2C3AMIE : TBits_1; inline;
  8887. function getI2C3ASIE : TBits_1; inline;
  8888. function getI2C4BIE : TBits_1; inline;
  8889. function getI2C4MIE : TBits_1; inline;
  8890. function getI2C4SIE : TBits_1; inline;
  8891. function getI2C5BIE : TBits_1; inline;
  8892. function getI2C5MIE : TBits_1; inline;
  8893. function getI2C5SIE : TBits_1; inline;
  8894. function getIC1EIE : TBits_1; inline;
  8895. function getIC2EIE : TBits_1; inline;
  8896. function getIC3EIE : TBits_1; inline;
  8897. function getPMPIE : TBits_1; inline;
  8898. function getRTCCIE : TBits_1; inline;
  8899. function getSPI2AEIE : TBits_1; inline;
  8900. function getSPI2ARXIE : TBits_1; inline;
  8901. function getSPI2ATXIE : TBits_1; inline;
  8902. function getSPI2EIE : TBits_1; inline;
  8903. function getSPI2RXIE : TBits_1; inline;
  8904. function getSPI2TXIE : TBits_1; inline;
  8905. function getSPI3AEIE : TBits_1; inline;
  8906. function getSPI3ARXIE : TBits_1; inline;
  8907. function getSPI3ATXIE : TBits_1; inline;
  8908. function getSPI4EIE : TBits_1; inline;
  8909. function getSPI4RXIE : TBits_1; inline;
  8910. function getSPI4TXIE : TBits_1; inline;
  8911. function getU2AEIE : TBits_1; inline;
  8912. function getU2ARXIE : TBits_1; inline;
  8913. function getU2ATXIE : TBits_1; inline;
  8914. function getU2EIE : TBits_1; inline;
  8915. function getU2RXIE : TBits_1; inline;
  8916. function getU2TXIE : TBits_1; inline;
  8917. function getU3AEIE : TBits_1; inline;
  8918. function getU3ARXIE : TBits_1; inline;
  8919. function getU3ATXIE : TBits_1; inline;
  8920. function getU3EIE : TBits_1; inline;
  8921. function getU3RXIE : TBits_1; inline;
  8922. function getU3TXIE : TBits_1; inline;
  8923. function getUSBIE : TBits_1; inline;
  8924. function getw : TBits_32; inline;
  8925. procedure setAD1IE(thebits : TBits_1); inline;
  8926. procedure setCMP1IE(thebits : TBits_1); inline;
  8927. procedure setCMP2IE(thebits : TBits_1); inline;
  8928. procedure setCNIE(thebits : TBits_1); inline;
  8929. procedure setDMA0IE(thebits : TBits_1); inline;
  8930. procedure setDMA1IE(thebits : TBits_1); inline;
  8931. procedure setDMA2IE(thebits : TBits_1); inline;
  8932. procedure setDMA3IE(thebits : TBits_1); inline;
  8933. procedure setETHIE(thebits : TBits_1); inline;
  8934. procedure setFCEIE(thebits : TBits_1); inline;
  8935. procedure setFSCMIE(thebits : TBits_1); inline;
  8936. procedure setI2C2ABIE(thebits : TBits_1); inline;
  8937. procedure setI2C2AMIE(thebits : TBits_1); inline;
  8938. procedure setI2C2ASIE(thebits : TBits_1); inline;
  8939. procedure setI2C3ABIE(thebits : TBits_1); inline;
  8940. procedure setI2C3AMIE(thebits : TBits_1); inline;
  8941. procedure setI2C3ASIE(thebits : TBits_1); inline;
  8942. procedure setI2C4BIE(thebits : TBits_1); inline;
  8943. procedure setI2C4MIE(thebits : TBits_1); inline;
  8944. procedure setI2C4SIE(thebits : TBits_1); inline;
  8945. procedure setI2C5BIE(thebits : TBits_1); inline;
  8946. procedure setI2C5MIE(thebits : TBits_1); inline;
  8947. procedure setI2C5SIE(thebits : TBits_1); inline;
  8948. procedure setIC1EIE(thebits : TBits_1); inline;
  8949. procedure setIC2EIE(thebits : TBits_1); inline;
  8950. procedure setIC3EIE(thebits : TBits_1); inline;
  8951. procedure setPMPIE(thebits : TBits_1); inline;
  8952. procedure setRTCCIE(thebits : TBits_1); inline;
  8953. procedure setSPI2AEIE(thebits : TBits_1); inline;
  8954. procedure setSPI2ARXIE(thebits : TBits_1); inline;
  8955. procedure setSPI2ATXIE(thebits : TBits_1); inline;
  8956. procedure setSPI2EIE(thebits : TBits_1); inline;
  8957. procedure setSPI2RXIE(thebits : TBits_1); inline;
  8958. procedure setSPI2TXIE(thebits : TBits_1); inline;
  8959. procedure setSPI3AEIE(thebits : TBits_1); inline;
  8960. procedure setSPI3ARXIE(thebits : TBits_1); inline;
  8961. procedure setSPI3ATXIE(thebits : TBits_1); inline;
  8962. procedure setSPI4EIE(thebits : TBits_1); inline;
  8963. procedure setSPI4RXIE(thebits : TBits_1); inline;
  8964. procedure setSPI4TXIE(thebits : TBits_1); inline;
  8965. procedure setU2AEIE(thebits : TBits_1); inline;
  8966. procedure setU2ARXIE(thebits : TBits_1); inline;
  8967. procedure setU2ATXIE(thebits : TBits_1); inline;
  8968. procedure setU2EIE(thebits : TBits_1); inline;
  8969. procedure setU2RXIE(thebits : TBits_1); inline;
  8970. procedure setU2TXIE(thebits : TBits_1); inline;
  8971. procedure setU3AEIE(thebits : TBits_1); inline;
  8972. procedure setU3ARXIE(thebits : TBits_1); inline;
  8973. procedure setU3ATXIE(thebits : TBits_1); inline;
  8974. procedure setU3EIE(thebits : TBits_1); inline;
  8975. procedure setU3RXIE(thebits : TBits_1); inline;
  8976. procedure setU3TXIE(thebits : TBits_1); inline;
  8977. procedure setUSBIE(thebits : TBits_1); inline;
  8978. procedure setw(thebits : TBits_32); inline;
  8979. public
  8980. procedure clearAD1IE; inline;
  8981. procedure clearCMP1IE; inline;
  8982. procedure clearCMP2IE; inline;
  8983. procedure clearCNIE; inline;
  8984. procedure clearDMA0IE; inline;
  8985. procedure clearDMA1IE; inline;
  8986. procedure clearDMA2IE; inline;
  8987. procedure clearDMA3IE; inline;
  8988. procedure clearETHIE; inline;
  8989. procedure clearFCEIE; inline;
  8990. procedure clearFSCMIE; inline;
  8991. procedure clearI2C2ABIE; inline;
  8992. procedure clearI2C2AMIE; inline;
  8993. procedure clearI2C2ASIE; inline;
  8994. procedure clearI2C3ABIE; inline;
  8995. procedure clearI2C3AMIE; inline;
  8996. procedure clearI2C3ASIE; inline;
  8997. procedure clearI2C4BIE; inline;
  8998. procedure clearI2C4MIE; inline;
  8999. procedure clearI2C4SIE; inline;
  9000. procedure clearI2C5BIE; inline;
  9001. procedure clearI2C5MIE; inline;
  9002. procedure clearI2C5SIE; inline;
  9003. procedure clearIC1EIE; inline;
  9004. procedure clearIC2EIE; inline;
  9005. procedure clearIC3EIE; inline;
  9006. procedure clearPMPIE; inline;
  9007. procedure clearRTCCIE; inline;
  9008. procedure clearSPI2AEIE; inline;
  9009. procedure clearSPI2ARXIE; inline;
  9010. procedure clearSPI2ATXIE; inline;
  9011. procedure clearSPI2EIE; inline;
  9012. procedure clearSPI2RXIE; inline;
  9013. procedure clearSPI2TXIE; inline;
  9014. procedure clearSPI3AEIE; inline;
  9015. procedure clearSPI3ARXIE; inline;
  9016. procedure clearSPI3ATXIE; inline;
  9017. procedure clearSPI4EIE; inline;
  9018. procedure clearSPI4RXIE; inline;
  9019. procedure clearSPI4TXIE; inline;
  9020. procedure clearU2AEIE; inline;
  9021. procedure clearU2ARXIE; inline;
  9022. procedure clearU2ATXIE; inline;
  9023. procedure clearU2EIE; inline;
  9024. procedure clearU2RXIE; inline;
  9025. procedure clearU2TXIE; inline;
  9026. procedure clearU3AEIE; inline;
  9027. procedure clearU3ARXIE; inline;
  9028. procedure clearU3ATXIE; inline;
  9029. procedure clearU3EIE; inline;
  9030. procedure clearU3RXIE; inline;
  9031. procedure clearU3TXIE; inline;
  9032. procedure clearUSBIE; inline;
  9033. procedure setAD1IE; inline;
  9034. procedure setCMP1IE; inline;
  9035. procedure setCMP2IE; inline;
  9036. procedure setCNIE; inline;
  9037. procedure setDMA0IE; inline;
  9038. procedure setDMA1IE; inline;
  9039. procedure setDMA2IE; inline;
  9040. procedure setDMA3IE; inline;
  9041. procedure setETHIE; inline;
  9042. procedure setFCEIE; inline;
  9043. procedure setFSCMIE; inline;
  9044. procedure setI2C2ABIE; inline;
  9045. procedure setI2C2AMIE; inline;
  9046. procedure setI2C2ASIE; inline;
  9047. procedure setI2C3ABIE; inline;
  9048. procedure setI2C3AMIE; inline;
  9049. procedure setI2C3ASIE; inline;
  9050. procedure setI2C4BIE; inline;
  9051. procedure setI2C4MIE; inline;
  9052. procedure setI2C4SIE; inline;
  9053. procedure setI2C5BIE; inline;
  9054. procedure setI2C5MIE; inline;
  9055. procedure setI2C5SIE; inline;
  9056. procedure setIC1EIE; inline;
  9057. procedure setIC2EIE; inline;
  9058. procedure setIC3EIE; inline;
  9059. procedure setPMPIE; inline;
  9060. procedure setRTCCIE; inline;
  9061. procedure setSPI2AEIE; inline;
  9062. procedure setSPI2ARXIE; inline;
  9063. procedure setSPI2ATXIE; inline;
  9064. procedure setSPI2EIE; inline;
  9065. procedure setSPI2RXIE; inline;
  9066. procedure setSPI2TXIE; inline;
  9067. procedure setSPI3AEIE; inline;
  9068. procedure setSPI3ARXIE; inline;
  9069. procedure setSPI3ATXIE; inline;
  9070. procedure setSPI4EIE; inline;
  9071. procedure setSPI4RXIE; inline;
  9072. procedure setSPI4TXIE; inline;
  9073. procedure setU2AEIE; inline;
  9074. procedure setU2ARXIE; inline;
  9075. procedure setU2ATXIE; inline;
  9076. procedure setU2EIE; inline;
  9077. procedure setU2RXIE; inline;
  9078. procedure setU2TXIE; inline;
  9079. procedure setU3AEIE; inline;
  9080. procedure setU3ARXIE; inline;
  9081. procedure setU3ATXIE; inline;
  9082. procedure setU3EIE; inline;
  9083. procedure setU3RXIE; inline;
  9084. procedure setU3TXIE; inline;
  9085. procedure setUSBIE; inline;
  9086. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  9087. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  9088. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  9089. property CNIE : TBits_1 read getCNIE write setCNIE;
  9090. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  9091. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  9092. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  9093. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  9094. property ETHIE : TBits_1 read getETHIE write setETHIE;
  9095. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  9096. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  9097. property I2C2ABIE : TBits_1 read getI2C2ABIE write setI2C2ABIE;
  9098. property I2C2AMIE : TBits_1 read getI2C2AMIE write setI2C2AMIE;
  9099. property I2C2ASIE : TBits_1 read getI2C2ASIE write setI2C2ASIE;
  9100. property I2C3ABIE : TBits_1 read getI2C3ABIE write setI2C3ABIE;
  9101. property I2C3AMIE : TBits_1 read getI2C3AMIE write setI2C3AMIE;
  9102. property I2C3ASIE : TBits_1 read getI2C3ASIE write setI2C3ASIE;
  9103. property I2C4BIE : TBits_1 read getI2C4BIE write setI2C4BIE;
  9104. property I2C4MIE : TBits_1 read getI2C4MIE write setI2C4MIE;
  9105. property I2C4SIE : TBits_1 read getI2C4SIE write setI2C4SIE;
  9106. property I2C5BIE : TBits_1 read getI2C5BIE write setI2C5BIE;
  9107. property I2C5MIE : TBits_1 read getI2C5MIE write setI2C5MIE;
  9108. property I2C5SIE : TBits_1 read getI2C5SIE write setI2C5SIE;
  9109. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  9110. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  9111. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  9112. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  9113. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  9114. property SPI2AEIE : TBits_1 read getSPI2AEIE write setSPI2AEIE;
  9115. property SPI2ARXIE : TBits_1 read getSPI2ARXIE write setSPI2ARXIE;
  9116. property SPI2ATXIE : TBits_1 read getSPI2ATXIE write setSPI2ATXIE;
  9117. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  9118. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  9119. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  9120. property SPI3AEIE : TBits_1 read getSPI3AEIE write setSPI3AEIE;
  9121. property SPI3ARXIE : TBits_1 read getSPI3ARXIE write setSPI3ARXIE;
  9122. property SPI3ATXIE : TBits_1 read getSPI3ATXIE write setSPI3ATXIE;
  9123. property SPI4EIE : TBits_1 read getSPI4EIE write setSPI4EIE;
  9124. property SPI4RXIE : TBits_1 read getSPI4RXIE write setSPI4RXIE;
  9125. property SPI4TXIE : TBits_1 read getSPI4TXIE write setSPI4TXIE;
  9126. property U2AEIE : TBits_1 read getU2AEIE write setU2AEIE;
  9127. property U2ARXIE : TBits_1 read getU2ARXIE write setU2ARXIE;
  9128. property U2ATXIE : TBits_1 read getU2ATXIE write setU2ATXIE;
  9129. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  9130. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  9131. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  9132. property U3AEIE : TBits_1 read getU3AEIE write setU3AEIE;
  9133. property U3ARXIE : TBits_1 read getU3ARXIE write setU3ARXIE;
  9134. property U3ATXIE : TBits_1 read getU3ATXIE write setU3ATXIE;
  9135. property U3EIE : TBits_1 read getU3EIE write setU3EIE;
  9136. property U3RXIE : TBits_1 read getU3RXIE write setU3RXIE;
  9137. property U3TXIE : TBits_1 read getU3TXIE write setU3TXIE;
  9138. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  9139. property w : TBits_32 read getw write setw;
  9140. end;
  9141. TINT_IEC2 = record
  9142. private
  9143. function getIC4EIE : TBits_1; inline;
  9144. function getIC5EIE : TBits_1; inline;
  9145. function getPMPEIE : TBits_1; inline;
  9146. function getU1BEIE : TBits_1; inline;
  9147. function getU1BRXIE : TBits_1; inline;
  9148. function getU1BTXIE : TBits_1; inline;
  9149. function getU2BEIE : TBits_1; inline;
  9150. function getU2BRXIE : TBits_1; inline;
  9151. function getU2BTXIE : TBits_1; inline;
  9152. function getU3BEIE : TBits_1; inline;
  9153. function getU3BRXIE : TBits_1; inline;
  9154. function getU3BTXIE : TBits_1; inline;
  9155. function getU4EIE : TBits_1; inline;
  9156. function getU4RXIE : TBits_1; inline;
  9157. function getU4TXIE : TBits_1; inline;
  9158. function getU5EIE : TBits_1; inline;
  9159. function getU5RXIE : TBits_1; inline;
  9160. function getU5TXIE : TBits_1; inline;
  9161. function getU6EIE : TBits_1; inline;
  9162. function getU6RXIE : TBits_1; inline;
  9163. function getU6TXIE : TBits_1; inline;
  9164. function getw : TBits_32; inline;
  9165. procedure setIC4EIE(thebits : TBits_1); inline;
  9166. procedure setIC5EIE(thebits : TBits_1); inline;
  9167. procedure setPMPEIE(thebits : TBits_1); inline;
  9168. procedure setU1BEIE(thebits : TBits_1); inline;
  9169. procedure setU1BRXIE(thebits : TBits_1); inline;
  9170. procedure setU1BTXIE(thebits : TBits_1); inline;
  9171. procedure setU2BEIE(thebits : TBits_1); inline;
  9172. procedure setU2BRXIE(thebits : TBits_1); inline;
  9173. procedure setU2BTXIE(thebits : TBits_1); inline;
  9174. procedure setU3BEIE(thebits : TBits_1); inline;
  9175. procedure setU3BRXIE(thebits : TBits_1); inline;
  9176. procedure setU3BTXIE(thebits : TBits_1); inline;
  9177. procedure setU4EIE(thebits : TBits_1); inline;
  9178. procedure setU4RXIE(thebits : TBits_1); inline;
  9179. procedure setU4TXIE(thebits : TBits_1); inline;
  9180. procedure setU5EIE(thebits : TBits_1); inline;
  9181. procedure setU5RXIE(thebits : TBits_1); inline;
  9182. procedure setU5TXIE(thebits : TBits_1); inline;
  9183. procedure setU6EIE(thebits : TBits_1); inline;
  9184. procedure setU6RXIE(thebits : TBits_1); inline;
  9185. procedure setU6TXIE(thebits : TBits_1); inline;
  9186. procedure setw(thebits : TBits_32); inline;
  9187. public
  9188. procedure clearIC4EIE; inline;
  9189. procedure clearIC5EIE; inline;
  9190. procedure clearPMPEIE; inline;
  9191. procedure clearU1BEIE; inline;
  9192. procedure clearU1BRXIE; inline;
  9193. procedure clearU1BTXIE; inline;
  9194. procedure clearU2BEIE; inline;
  9195. procedure clearU2BRXIE; inline;
  9196. procedure clearU2BTXIE; inline;
  9197. procedure clearU3BEIE; inline;
  9198. procedure clearU3BRXIE; inline;
  9199. procedure clearU3BTXIE; inline;
  9200. procedure clearU4EIE; inline;
  9201. procedure clearU4RXIE; inline;
  9202. procedure clearU4TXIE; inline;
  9203. procedure clearU5EIE; inline;
  9204. procedure clearU5RXIE; inline;
  9205. procedure clearU5TXIE; inline;
  9206. procedure clearU6EIE; inline;
  9207. procedure clearU6RXIE; inline;
  9208. procedure clearU6TXIE; inline;
  9209. procedure setIC4EIE; inline;
  9210. procedure setIC5EIE; inline;
  9211. procedure setPMPEIE; inline;
  9212. procedure setU1BEIE; inline;
  9213. procedure setU1BRXIE; inline;
  9214. procedure setU1BTXIE; inline;
  9215. procedure setU2BEIE; inline;
  9216. procedure setU2BRXIE; inline;
  9217. procedure setU2BTXIE; inline;
  9218. procedure setU3BEIE; inline;
  9219. procedure setU3BRXIE; inline;
  9220. procedure setU3BTXIE; inline;
  9221. procedure setU4EIE; inline;
  9222. procedure setU4RXIE; inline;
  9223. procedure setU4TXIE; inline;
  9224. procedure setU5EIE; inline;
  9225. procedure setU5RXIE; inline;
  9226. procedure setU5TXIE; inline;
  9227. procedure setU6EIE; inline;
  9228. procedure setU6RXIE; inline;
  9229. procedure setU6TXIE; inline;
  9230. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  9231. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  9232. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  9233. property U1BEIE : TBits_1 read getU1BEIE write setU1BEIE;
  9234. property U1BRXIE : TBits_1 read getU1BRXIE write setU1BRXIE;
  9235. property U1BTXIE : TBits_1 read getU1BTXIE write setU1BTXIE;
  9236. property U2BEIE : TBits_1 read getU2BEIE write setU2BEIE;
  9237. property U2BRXIE : TBits_1 read getU2BRXIE write setU2BRXIE;
  9238. property U2BTXIE : TBits_1 read getU2BTXIE write setU2BTXIE;
  9239. property U3BEIE : TBits_1 read getU3BEIE write setU3BEIE;
  9240. property U3BRXIE : TBits_1 read getU3BRXIE write setU3BRXIE;
  9241. property U3BTXIE : TBits_1 read getU3BTXIE write setU3BTXIE;
  9242. property U4EIE : TBits_1 read getU4EIE write setU4EIE;
  9243. property U4RXIE : TBits_1 read getU4RXIE write setU4RXIE;
  9244. property U4TXIE : TBits_1 read getU4TXIE write setU4TXIE;
  9245. property U5EIE : TBits_1 read getU5EIE write setU5EIE;
  9246. property U5RXIE : TBits_1 read getU5RXIE write setU5RXIE;
  9247. property U5TXIE : TBits_1 read getU5TXIE write setU5TXIE;
  9248. property U6EIE : TBits_1 read getU6EIE write setU6EIE;
  9249. property U6RXIE : TBits_1 read getU6RXIE write setU6RXIE;
  9250. property U6TXIE : TBits_1 read getU6TXIE write setU6TXIE;
  9251. property w : TBits_32 read getw write setw;
  9252. end;
  9253. TINT_IPC0 = record
  9254. private
  9255. function getCS0IP : TBits_3; inline;
  9256. function getCS0IS : TBits_2; inline;
  9257. function getCS1IP : TBits_3; inline;
  9258. function getCS1IS : TBits_2; inline;
  9259. function getCTIP : TBits_3; inline;
  9260. function getCTIS : TBits_2; inline;
  9261. function getINT0IP : TBits_3; inline;
  9262. function getINT0IS : TBits_2; inline;
  9263. function getw : TBits_32; inline;
  9264. procedure setCS0IP(thebits : TBits_3); inline;
  9265. procedure setCS0IS(thebits : TBits_2); inline;
  9266. procedure setCS1IP(thebits : TBits_3); inline;
  9267. procedure setCS1IS(thebits : TBits_2); inline;
  9268. procedure setCTIP(thebits : TBits_3); inline;
  9269. procedure setCTIS(thebits : TBits_2); inline;
  9270. procedure setINT0IP(thebits : TBits_3); inline;
  9271. procedure setINT0IS(thebits : TBits_2); inline;
  9272. procedure setw(thebits : TBits_32); inline;
  9273. public
  9274. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  9275. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  9276. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  9277. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  9278. property CTIP : TBits_3 read getCTIP write setCTIP;
  9279. property CTIS : TBits_2 read getCTIS write setCTIS;
  9280. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  9281. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  9282. property w : TBits_32 read getw write setw;
  9283. end;
  9284. TINT_IPC1 = record
  9285. private
  9286. function getIC1IP : TBits_3; inline;
  9287. function getIC1IS : TBits_2; inline;
  9288. function getINT1IP : TBits_3; inline;
  9289. function getINT1IS : TBits_2; inline;
  9290. function getOC1IP : TBits_3; inline;
  9291. function getOC1IS : TBits_2; inline;
  9292. function getT1IP : TBits_3; inline;
  9293. function getT1IS : TBits_2; inline;
  9294. function getw : TBits_32; inline;
  9295. procedure setIC1IP(thebits : TBits_3); inline;
  9296. procedure setIC1IS(thebits : TBits_2); inline;
  9297. procedure setINT1IP(thebits : TBits_3); inline;
  9298. procedure setINT1IS(thebits : TBits_2); inline;
  9299. procedure setOC1IP(thebits : TBits_3); inline;
  9300. procedure setOC1IS(thebits : TBits_2); inline;
  9301. procedure setT1IP(thebits : TBits_3); inline;
  9302. procedure setT1IS(thebits : TBits_2); inline;
  9303. procedure setw(thebits : TBits_32); inline;
  9304. public
  9305. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  9306. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  9307. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  9308. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  9309. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  9310. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  9311. property T1IP : TBits_3 read getT1IP write setT1IP;
  9312. property T1IS : TBits_2 read getT1IS write setT1IS;
  9313. property w : TBits_32 read getw write setw;
  9314. end;
  9315. TINT_IPC2 = record
  9316. private
  9317. function getIC2IP : TBits_3; inline;
  9318. function getIC2IS : TBits_2; inline;
  9319. function getINT2IP : TBits_3; inline;
  9320. function getINT2IS : TBits_2; inline;
  9321. function getOC2IP : TBits_3; inline;
  9322. function getOC2IS : TBits_2; inline;
  9323. function getT2IP : TBits_3; inline;
  9324. function getT2IS : TBits_2; inline;
  9325. function getw : TBits_32; inline;
  9326. procedure setIC2IP(thebits : TBits_3); inline;
  9327. procedure setIC2IS(thebits : TBits_2); inline;
  9328. procedure setINT2IP(thebits : TBits_3); inline;
  9329. procedure setINT2IS(thebits : TBits_2); inline;
  9330. procedure setOC2IP(thebits : TBits_3); inline;
  9331. procedure setOC2IS(thebits : TBits_2); inline;
  9332. procedure setT2IP(thebits : TBits_3); inline;
  9333. procedure setT2IS(thebits : TBits_2); inline;
  9334. procedure setw(thebits : TBits_32); inline;
  9335. public
  9336. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  9337. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  9338. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  9339. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  9340. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  9341. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  9342. property T2IP : TBits_3 read getT2IP write setT2IP;
  9343. property T2IS : TBits_2 read getT2IS write setT2IS;
  9344. property w : TBits_32 read getw write setw;
  9345. end;
  9346. TINT_IPC3 = record
  9347. private
  9348. function getIC3IP : TBits_3; inline;
  9349. function getIC3IS : TBits_2; inline;
  9350. function getINT3IP : TBits_3; inline;
  9351. function getINT3IS : TBits_2; inline;
  9352. function getOC3IP : TBits_3; inline;
  9353. function getOC3IS : TBits_2; inline;
  9354. function getT3IP : TBits_3; inline;
  9355. function getT3IS : TBits_2; inline;
  9356. function getw : TBits_32; inline;
  9357. procedure setIC3IP(thebits : TBits_3); inline;
  9358. procedure setIC3IS(thebits : TBits_2); inline;
  9359. procedure setINT3IP(thebits : TBits_3); inline;
  9360. procedure setINT3IS(thebits : TBits_2); inline;
  9361. procedure setOC3IP(thebits : TBits_3); inline;
  9362. procedure setOC3IS(thebits : TBits_2); inline;
  9363. procedure setT3IP(thebits : TBits_3); inline;
  9364. procedure setT3IS(thebits : TBits_2); inline;
  9365. procedure setw(thebits : TBits_32); inline;
  9366. public
  9367. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  9368. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  9369. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  9370. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  9371. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  9372. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  9373. property T3IP : TBits_3 read getT3IP write setT3IP;
  9374. property T3IS : TBits_2 read getT3IS write setT3IS;
  9375. property w : TBits_32 read getw write setw;
  9376. end;
  9377. TINT_IPC4 = record
  9378. private
  9379. function getIC4IP : TBits_3; inline;
  9380. function getIC4IS : TBits_2; inline;
  9381. function getINT4IP : TBits_3; inline;
  9382. function getINT4IS : TBits_2; inline;
  9383. function getOC4IP : TBits_3; inline;
  9384. function getOC4IS : TBits_2; inline;
  9385. function getT4IP : TBits_3; inline;
  9386. function getT4IS : TBits_2; inline;
  9387. function getw : TBits_32; inline;
  9388. procedure setIC4IP(thebits : TBits_3); inline;
  9389. procedure setIC4IS(thebits : TBits_2); inline;
  9390. procedure setINT4IP(thebits : TBits_3); inline;
  9391. procedure setINT4IS(thebits : TBits_2); inline;
  9392. procedure setOC4IP(thebits : TBits_3); inline;
  9393. procedure setOC4IS(thebits : TBits_2); inline;
  9394. procedure setT4IP(thebits : TBits_3); inline;
  9395. procedure setT4IS(thebits : TBits_2); inline;
  9396. procedure setw(thebits : TBits_32); inline;
  9397. public
  9398. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  9399. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  9400. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  9401. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  9402. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  9403. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  9404. property T4IP : TBits_3 read getT4IP write setT4IP;
  9405. property T4IS : TBits_2 read getT4IS write setT4IS;
  9406. property w : TBits_32 read getw write setw;
  9407. end;
  9408. TINT_IPC5 = record
  9409. private
  9410. function getIC5IP : TBits_3; inline;
  9411. function getIC5IS : TBits_2; inline;
  9412. function getOC5IP : TBits_3; inline;
  9413. function getOC5IS : TBits_2; inline;
  9414. function getT5IP : TBits_3; inline;
  9415. function getT5IS : TBits_2; inline;
  9416. function getw : TBits_32; inline;
  9417. procedure setIC5IP(thebits : TBits_3); inline;
  9418. procedure setIC5IS(thebits : TBits_2); inline;
  9419. procedure setOC5IP(thebits : TBits_3); inline;
  9420. procedure setOC5IS(thebits : TBits_2); inline;
  9421. procedure setT5IP(thebits : TBits_3); inline;
  9422. procedure setT5IS(thebits : TBits_2); inline;
  9423. procedure setw(thebits : TBits_32); inline;
  9424. public
  9425. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  9426. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  9427. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  9428. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  9429. property T5IP : TBits_3 read getT5IP write setT5IP;
  9430. property T5IS : TBits_2 read getT5IS write setT5IS;
  9431. property w : TBits_32 read getw write setw;
  9432. end;
  9433. TINT_IPC6 = record
  9434. private
  9435. function getAD1IP : TBits_3; inline;
  9436. function getAD1IS : TBits_2; inline;
  9437. function getCNIP : TBits_3; inline;
  9438. function getCNIS : TBits_2; inline;
  9439. function getI2C1AIP : TBits_3; inline;
  9440. function getI2C1AIS : TBits_2; inline;
  9441. function getI2C1IP : TBits_3; inline;
  9442. function getI2C1IS : TBits_2; inline;
  9443. function getI2C3IP : TBits_3; inline;
  9444. function getI2C3IS : TBits_2; inline;
  9445. function getSPI1AIP : TBits_3; inline;
  9446. function getSPI1AIS : TBits_2; inline;
  9447. function getSPI3IP : TBits_3; inline;
  9448. function getSPI3IS : TBits_2; inline;
  9449. function getU1AIP : TBits_3; inline;
  9450. function getU1AIS : TBits_2; inline;
  9451. function getU1IP : TBits_3; inline;
  9452. function getU1IS : TBits_2; inline;
  9453. function getw : TBits_32; inline;
  9454. procedure setAD1IP(thebits : TBits_3); inline;
  9455. procedure setAD1IS(thebits : TBits_2); inline;
  9456. procedure setCNIP(thebits : TBits_3); inline;
  9457. procedure setCNIS(thebits : TBits_2); inline;
  9458. procedure setI2C1AIP(thebits : TBits_3); inline;
  9459. procedure setI2C1AIS(thebits : TBits_2); inline;
  9460. procedure setI2C1IP(thebits : TBits_3); inline;
  9461. procedure setI2C1IS(thebits : TBits_2); inline;
  9462. procedure setI2C3IP(thebits : TBits_3); inline;
  9463. procedure setI2C3IS(thebits : TBits_2); inline;
  9464. procedure setSPI1AIP(thebits : TBits_3); inline;
  9465. procedure setSPI1AIS(thebits : TBits_2); inline;
  9466. procedure setSPI3IP(thebits : TBits_3); inline;
  9467. procedure setSPI3IS(thebits : TBits_2); inline;
  9468. procedure setU1AIP(thebits : TBits_3); inline;
  9469. procedure setU1AIS(thebits : TBits_2); inline;
  9470. procedure setU1IP(thebits : TBits_3); inline;
  9471. procedure setU1IS(thebits : TBits_2); inline;
  9472. procedure setw(thebits : TBits_32); inline;
  9473. public
  9474. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  9475. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  9476. property CNIP : TBits_3 read getCNIP write setCNIP;
  9477. property CNIS : TBits_2 read getCNIS write setCNIS;
  9478. property I2C1AIP : TBits_3 read getI2C1AIP write setI2C1AIP;
  9479. property I2C1AIS : TBits_2 read getI2C1AIS write setI2C1AIS;
  9480. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  9481. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  9482. property I2C3IP : TBits_3 read getI2C3IP write setI2C3IP;
  9483. property I2C3IS : TBits_2 read getI2C3IS write setI2C3IS;
  9484. property SPI1AIP : TBits_3 read getSPI1AIP write setSPI1AIP;
  9485. property SPI1AIS : TBits_2 read getSPI1AIS write setSPI1AIS;
  9486. property SPI3IP : TBits_3 read getSPI3IP write setSPI3IP;
  9487. property SPI3IS : TBits_2 read getSPI3IS write setSPI3IS;
  9488. property U1AIP : TBits_3 read getU1AIP write setU1AIP;
  9489. property U1AIS : TBits_2 read getU1AIS write setU1AIS;
  9490. property U1IP : TBits_3 read getU1IP write setU1IP;
  9491. property U1IS : TBits_2 read getU1IS write setU1IS;
  9492. property w : TBits_32 read getw write setw;
  9493. end;
  9494. TINT_IPC7 = record
  9495. private
  9496. function getCMP1IP : TBits_3; inline;
  9497. function getCMP1IS : TBits_2; inline;
  9498. function getCMP2IP : TBits_3; inline;
  9499. function getCMP2IS : TBits_2; inline;
  9500. function getI2C2AIP : TBits_3; inline;
  9501. function getI2C2AIS : TBits_2; inline;
  9502. function getI2C4IP : TBits_3; inline;
  9503. function getI2C4IS : TBits_2; inline;
  9504. function getPMPIP : TBits_3; inline;
  9505. function getPMPIS : TBits_2; inline;
  9506. function getSPI2AIP : TBits_3; inline;
  9507. function getSPI2AIS : TBits_2; inline;
  9508. function getSPI2IP : TBits_3; inline;
  9509. function getSPI2IS : TBits_2; inline;
  9510. function getU2AIP : TBits_3; inline;
  9511. function getU2AIS : TBits_2; inline;
  9512. function getU3IP : TBits_3; inline;
  9513. function getU3IS : TBits_2; inline;
  9514. function getw : TBits_32; inline;
  9515. procedure setCMP1IP(thebits : TBits_3); inline;
  9516. procedure setCMP1IS(thebits : TBits_2); inline;
  9517. procedure setCMP2IP(thebits : TBits_3); inline;
  9518. procedure setCMP2IS(thebits : TBits_2); inline;
  9519. procedure setI2C2AIP(thebits : TBits_3); inline;
  9520. procedure setI2C2AIS(thebits : TBits_2); inline;
  9521. procedure setI2C4IP(thebits : TBits_3); inline;
  9522. procedure setI2C4IS(thebits : TBits_2); inline;
  9523. procedure setPMPIP(thebits : TBits_3); inline;
  9524. procedure setPMPIS(thebits : TBits_2); inline;
  9525. procedure setSPI2AIP(thebits : TBits_3); inline;
  9526. procedure setSPI2AIS(thebits : TBits_2); inline;
  9527. procedure setSPI2IP(thebits : TBits_3); inline;
  9528. procedure setSPI2IS(thebits : TBits_2); inline;
  9529. procedure setU2AIP(thebits : TBits_3); inline;
  9530. procedure setU2AIS(thebits : TBits_2); inline;
  9531. procedure setU3IP(thebits : TBits_3); inline;
  9532. procedure setU3IS(thebits : TBits_2); inline;
  9533. procedure setw(thebits : TBits_32); inline;
  9534. public
  9535. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  9536. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  9537. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  9538. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  9539. property I2C2AIP : TBits_3 read getI2C2AIP write setI2C2AIP;
  9540. property I2C2AIS : TBits_2 read getI2C2AIS write setI2C2AIS;
  9541. property I2C4IP : TBits_3 read getI2C4IP write setI2C4IP;
  9542. property I2C4IS : TBits_2 read getI2C4IS write setI2C4IS;
  9543. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  9544. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  9545. property SPI2AIP : TBits_3 read getSPI2AIP write setSPI2AIP;
  9546. property SPI2AIS : TBits_2 read getSPI2AIS write setSPI2AIS;
  9547. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  9548. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  9549. property U2AIP : TBits_3 read getU2AIP write setU2AIP;
  9550. property U2AIS : TBits_2 read getU2AIS write setU2AIS;
  9551. property U3IP : TBits_3 read getU3IP write setU3IP;
  9552. property U3IS : TBits_2 read getU3IS write setU3IS;
  9553. property w : TBits_32 read getw write setw;
  9554. end;
  9555. TINT_IPC8 = record
  9556. private
  9557. function getFSCMIP : TBits_3; inline;
  9558. function getFSCMIS : TBits_2; inline;
  9559. function getI2C3AIP : TBits_3; inline;
  9560. function getI2C3AIS : TBits_2; inline;
  9561. function getI2C5IP : TBits_3; inline;
  9562. function getI2C5IS : TBits_2; inline;
  9563. function getRTCCIP : TBits_3; inline;
  9564. function getRTCCIS : TBits_2; inline;
  9565. function getSPI3AIP : TBits_3; inline;
  9566. function getSPI3AIS : TBits_2; inline;
  9567. function getSPI4IP : TBits_3; inline;
  9568. function getSPI4IS : TBits_2; inline;
  9569. function getU2IP : TBits_3; inline;
  9570. function getU2IS : TBits_2; inline;
  9571. function getU3AIP : TBits_3; inline;
  9572. function getU3AIS : TBits_2; inline;
  9573. function getw : TBits_32; inline;
  9574. procedure setFSCMIP(thebits : TBits_3); inline;
  9575. procedure setFSCMIS(thebits : TBits_2); inline;
  9576. procedure setI2C3AIP(thebits : TBits_3); inline;
  9577. procedure setI2C3AIS(thebits : TBits_2); inline;
  9578. procedure setI2C5IP(thebits : TBits_3); inline;
  9579. procedure setI2C5IS(thebits : TBits_2); inline;
  9580. procedure setRTCCIP(thebits : TBits_3); inline;
  9581. procedure setRTCCIS(thebits : TBits_2); inline;
  9582. procedure setSPI3AIP(thebits : TBits_3); inline;
  9583. procedure setSPI3AIS(thebits : TBits_2); inline;
  9584. procedure setSPI4IP(thebits : TBits_3); inline;
  9585. procedure setSPI4IS(thebits : TBits_2); inline;
  9586. procedure setU2IP(thebits : TBits_3); inline;
  9587. procedure setU2IS(thebits : TBits_2); inline;
  9588. procedure setU3AIP(thebits : TBits_3); inline;
  9589. procedure setU3AIS(thebits : TBits_2); inline;
  9590. procedure setw(thebits : TBits_32); inline;
  9591. public
  9592. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  9593. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  9594. property I2C3AIP : TBits_3 read getI2C3AIP write setI2C3AIP;
  9595. property I2C3AIS : TBits_2 read getI2C3AIS write setI2C3AIS;
  9596. property I2C5IP : TBits_3 read getI2C5IP write setI2C5IP;
  9597. property I2C5IS : TBits_2 read getI2C5IS write setI2C5IS;
  9598. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  9599. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  9600. property SPI3AIP : TBits_3 read getSPI3AIP write setSPI3AIP;
  9601. property SPI3AIS : TBits_2 read getSPI3AIS write setSPI3AIS;
  9602. property SPI4IP : TBits_3 read getSPI4IP write setSPI4IP;
  9603. property SPI4IS : TBits_2 read getSPI4IS write setSPI4IS;
  9604. property U2IP : TBits_3 read getU2IP write setU2IP;
  9605. property U2IS : TBits_2 read getU2IS write setU2IS;
  9606. property U3AIP : TBits_3 read getU3AIP write setU3AIP;
  9607. property U3AIS : TBits_2 read getU3AIS write setU3AIS;
  9608. property w : TBits_32 read getw write setw;
  9609. end;
  9610. TINT_IPC9 = record
  9611. private
  9612. function getDMA0IP : TBits_3; inline;
  9613. function getDMA0IS : TBits_2; inline;
  9614. function getDMA1IP : TBits_3; inline;
  9615. function getDMA1IS : TBits_2; inline;
  9616. function getDMA2IP : TBits_3; inline;
  9617. function getDMA2IS : TBits_2; inline;
  9618. function getDMA3IP : TBits_3; inline;
  9619. function getDMA3IS : TBits_2; inline;
  9620. function getw : TBits_32; inline;
  9621. procedure setDMA0IP(thebits : TBits_3); inline;
  9622. procedure setDMA0IS(thebits : TBits_2); inline;
  9623. procedure setDMA1IP(thebits : TBits_3); inline;
  9624. procedure setDMA1IS(thebits : TBits_2); inline;
  9625. procedure setDMA2IP(thebits : TBits_3); inline;
  9626. procedure setDMA2IS(thebits : TBits_2); inline;
  9627. procedure setDMA3IP(thebits : TBits_3); inline;
  9628. procedure setDMA3IS(thebits : TBits_2); inline;
  9629. procedure setw(thebits : TBits_32); inline;
  9630. public
  9631. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  9632. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  9633. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  9634. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  9635. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  9636. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  9637. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  9638. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  9639. property w : TBits_32 read getw write setw;
  9640. end;
  9641. TINT_IPC11 = record
  9642. private
  9643. function getFCEIP : TBits_3; inline;
  9644. function getFCEIS : TBits_2; inline;
  9645. function getUSBIP : TBits_3; inline;
  9646. function getUSBIS : TBits_2; inline;
  9647. function getw : TBits_32; inline;
  9648. procedure setFCEIP(thebits : TBits_3); inline;
  9649. procedure setFCEIS(thebits : TBits_2); inline;
  9650. procedure setUSBIP(thebits : TBits_3); inline;
  9651. procedure setUSBIS(thebits : TBits_2); inline;
  9652. procedure setw(thebits : TBits_32); inline;
  9653. public
  9654. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  9655. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  9656. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  9657. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  9658. property w : TBits_32 read getw write setw;
  9659. end;
  9660. TINT_IPC12 = record
  9661. private
  9662. function getETHIP : TBits_3; inline;
  9663. function getETHIS : TBits_2; inline;
  9664. function getU1BIP : TBits_3; inline;
  9665. function getU1BIS : TBits_2; inline;
  9666. function getU2BIP : TBits_3; inline;
  9667. function getU2BIS : TBits_2; inline;
  9668. function getU3BIP : TBits_3; inline;
  9669. function getU3BIS : TBits_2; inline;
  9670. function getU4IP : TBits_3; inline;
  9671. function getU4IS : TBits_2; inline;
  9672. function getU5IP : TBits_3; inline;
  9673. function getU5IS : TBits_2; inline;
  9674. function getU6IP : TBits_3; inline;
  9675. function getU6IS : TBits_2; inline;
  9676. function getw : TBits_32; inline;
  9677. procedure setETHIP(thebits : TBits_3); inline;
  9678. procedure setETHIS(thebits : TBits_2); inline;
  9679. procedure setU1BIP(thebits : TBits_3); inline;
  9680. procedure setU1BIS(thebits : TBits_2); inline;
  9681. procedure setU2BIP(thebits : TBits_3); inline;
  9682. procedure setU2BIS(thebits : TBits_2); inline;
  9683. procedure setU3BIP(thebits : TBits_3); inline;
  9684. procedure setU3BIS(thebits : TBits_2); inline;
  9685. procedure setU4IP(thebits : TBits_3); inline;
  9686. procedure setU4IS(thebits : TBits_2); inline;
  9687. procedure setU5IP(thebits : TBits_3); inline;
  9688. procedure setU5IS(thebits : TBits_2); inline;
  9689. procedure setU6IP(thebits : TBits_3); inline;
  9690. procedure setU6IS(thebits : TBits_2); inline;
  9691. procedure setw(thebits : TBits_32); inline;
  9692. public
  9693. property ETHIP : TBits_3 read getETHIP write setETHIP;
  9694. property ETHIS : TBits_2 read getETHIS write setETHIS;
  9695. property U1BIP : TBits_3 read getU1BIP write setU1BIP;
  9696. property U1BIS : TBits_2 read getU1BIS write setU1BIS;
  9697. property U2BIP : TBits_3 read getU2BIP write setU2BIP;
  9698. property U2BIS : TBits_2 read getU2BIS write setU2BIS;
  9699. property U3BIP : TBits_3 read getU3BIP write setU3BIP;
  9700. property U3BIS : TBits_2 read getU3BIS write setU3BIS;
  9701. property U4IP : TBits_3 read getU4IP write setU4IP;
  9702. property U4IS : TBits_2 read getU4IS write setU4IS;
  9703. property U5IP : TBits_3 read getU5IP write setU5IP;
  9704. property U5IS : TBits_2 read getU5IS write setU5IS;
  9705. property U6IP : TBits_3 read getU6IP write setU6IP;
  9706. property U6IS : TBits_2 read getU6IS write setU6IS;
  9707. property w : TBits_32 read getw write setw;
  9708. end;
  9709. type
  9710. TINTRegisters = record
  9711. INTCONbits : TINT_INTCON;
  9712. INTCON : longWord;
  9713. INTCONCLR : longWord;
  9714. INTCONSET : longWord;
  9715. INTCONINV : longWord;
  9716. INTSTAT : longWord;
  9717. IPTMR : longWord;
  9718. IPTMRCLR : longWord;
  9719. IPTMRSET : longWord;
  9720. IPTMRINV : longWord;
  9721. IFS0bits : TINT_IFS0;
  9722. IFS0 : longWord;
  9723. IFS0CLR : longWord;
  9724. IFS0SET : longWord;
  9725. IFS0INV : longWord;
  9726. IFS1bits : TINT_IFS1;
  9727. IFS1 : longWord;
  9728. IFS1CLR : longWord;
  9729. IFS1SET : longWord;
  9730. IFS1INV : longWord;
  9731. IFS2bits : TINT_IFS2;
  9732. IFS2 : longWord;
  9733. IFS2CLR : longWord;
  9734. IFS2SET : longWord;
  9735. IFS2INV : longWord;
  9736. IEC0bits : TINT_IEC0;
  9737. IEC0 : longWord;
  9738. IEC0CLR : longWord;
  9739. IEC0SET : longWord;
  9740. IEC0INV : longWord;
  9741. IEC1bits : TINT_IEC1;
  9742. IEC1 : longWord;
  9743. IEC1CLR : longWord;
  9744. IEC1SET : longWord;
  9745. IEC1INV : longWord;
  9746. IEC2bits : TINT_IEC2;
  9747. IEC2 : longWord;
  9748. IEC2CLR : longWord;
  9749. IEC2SET : longWord;
  9750. IEC2INV : longWord;
  9751. IPC0bits : TINT_IPC0;
  9752. IPC0 : longWord;
  9753. IPC0CLR : longWord;
  9754. IPC0SET : longWord;
  9755. IPC0INV : longWord;
  9756. IPC1bits : TINT_IPC1;
  9757. IPC1 : longWord;
  9758. IPC1CLR : longWord;
  9759. IPC1SET : longWord;
  9760. IPC1INV : longWord;
  9761. IPC2bits : TINT_IPC2;
  9762. IPC2 : longWord;
  9763. IPC2CLR : longWord;
  9764. IPC2SET : longWord;
  9765. IPC2INV : longWord;
  9766. IPC3bits : TINT_IPC3;
  9767. IPC3 : longWord;
  9768. IPC3CLR : longWord;
  9769. IPC3SET : longWord;
  9770. IPC3INV : longWord;
  9771. IPC4bits : TINT_IPC4;
  9772. IPC4 : longWord;
  9773. IPC4CLR : longWord;
  9774. IPC4SET : longWord;
  9775. IPC4INV : longWord;
  9776. IPC5bits : TINT_IPC5;
  9777. IPC5 : longWord;
  9778. IPC5CLR : longWord;
  9779. IPC5SET : longWord;
  9780. IPC5INV : longWord;
  9781. IPC6bits : TINT_IPC6;
  9782. IPC6 : longWord;
  9783. IPC6CLR : longWord;
  9784. IPC6SET : longWord;
  9785. IPC6INV : longWord;
  9786. IPC7bits : TINT_IPC7;
  9787. IPC7 : longWord;
  9788. IPC7CLR : longWord;
  9789. IPC7SET : longWord;
  9790. IPC7INV : longWord;
  9791. IPC8bits : TINT_IPC8;
  9792. IPC8 : longWord;
  9793. IPC8CLR : longWord;
  9794. IPC8SET : longWord;
  9795. IPC8INV : longWord;
  9796. IPC9bits : TINT_IPC9;
  9797. IPC9 : longWord;
  9798. IPC9CLR : longWord;
  9799. IPC9SET : longWord;
  9800. IPC9INV : longWord;
  9801. IPC10 : longWord;
  9802. IPC10CLR : longWord;
  9803. IPC10SET : longWord;
  9804. IPC10INV : longWord;
  9805. IPC11bits : TINT_IPC11;
  9806. IPC11 : longWord;
  9807. IPC11CLR : longWord;
  9808. IPC11SET : longWord;
  9809. IPC11INV : longWord;
  9810. IPC12bits : TINT_IPC12;
  9811. IPC12 : longWord;
  9812. IPC12CLR : longWord;
  9813. IPC12SET : longWord;
  9814. IPC12INV : longWord;
  9815. end;
  9816. TBMX_BMXCON = record
  9817. private
  9818. function getBMXARB : TBits_3; inline;
  9819. function getBMXCHEDMA : TBits_1; inline;
  9820. function getBMXERRDMA : TBits_1; inline;
  9821. function getBMXERRDS : TBits_1; inline;
  9822. function getBMXERRICD : TBits_1; inline;
  9823. function getBMXERRIS : TBits_1; inline;
  9824. function getBMXERRIXI : TBits_1; inline;
  9825. function getBMXWSDRM : TBits_1; inline;
  9826. function getw : TBits_32; inline;
  9827. procedure setBMXARB(thebits : TBits_3); inline;
  9828. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  9829. procedure setBMXERRDMA(thebits : TBits_1); inline;
  9830. procedure setBMXERRDS(thebits : TBits_1); inline;
  9831. procedure setBMXERRICD(thebits : TBits_1); inline;
  9832. procedure setBMXERRIS(thebits : TBits_1); inline;
  9833. procedure setBMXERRIXI(thebits : TBits_1); inline;
  9834. procedure setBMXWSDRM(thebits : TBits_1); inline;
  9835. procedure setw(thebits : TBits_32); inline;
  9836. public
  9837. procedure clearBMXCHEDMA; inline;
  9838. procedure clearBMXERRDMA; inline;
  9839. procedure clearBMXERRDS; inline;
  9840. procedure clearBMXERRICD; inline;
  9841. procedure clearBMXERRIS; inline;
  9842. procedure clearBMXERRIXI; inline;
  9843. procedure clearBMXWSDRM; inline;
  9844. procedure setBMXCHEDMA; inline;
  9845. procedure setBMXERRDMA; inline;
  9846. procedure setBMXERRDS; inline;
  9847. procedure setBMXERRICD; inline;
  9848. procedure setBMXERRIS; inline;
  9849. procedure setBMXERRIXI; inline;
  9850. procedure setBMXWSDRM; inline;
  9851. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  9852. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  9853. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  9854. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  9855. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  9856. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  9857. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  9858. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  9859. property w : TBits_32 read getw write setw;
  9860. end;
  9861. type
  9862. TBMXRegisters = record
  9863. BMXCONbits : TBMX_BMXCON;
  9864. BMXCON : longWord;
  9865. BMXCONCLR : longWord;
  9866. BMXCONSET : longWord;
  9867. BMXCONINV : longWord;
  9868. BMXDKPBA : longWord;
  9869. BMXDKPBACLR : longWord;
  9870. BMXDKPBASET : longWord;
  9871. BMXDKPBAINV : longWord;
  9872. BMXDUDBA : longWord;
  9873. BMXDUDBACLR : longWord;
  9874. BMXDUDBASET : longWord;
  9875. BMXDUDBAINV : longWord;
  9876. BMXDUPBA : longWord;
  9877. BMXDUPBACLR : longWord;
  9878. BMXDUPBASET : longWord;
  9879. BMXDUPBAINV : longWord;
  9880. BMXDRMSZ : longWord;
  9881. BMXPUPBA : longWord;
  9882. BMXPUPBACLR : longWord;
  9883. BMXPUPBASET : longWord;
  9884. BMXPUPBAINV : longWord;
  9885. BMXPFMSZ : longWord;
  9886. BMXBOOTSZ : longWord;
  9887. end;
  9888. TDMAC_DMACON = record
  9889. private
  9890. function getDMABUSY : TBits_1; inline;
  9891. function getON : TBits_1; inline;
  9892. function getSUSPEND : TBits_1; inline;
  9893. function getw : TBits_32; inline;
  9894. procedure setDMABUSY(thebits : TBits_1); inline;
  9895. procedure setON(thebits : TBits_1); inline;
  9896. procedure setSUSPEND(thebits : TBits_1); inline;
  9897. procedure setw(thebits : TBits_32); inline;
  9898. public
  9899. procedure clearDMABUSY; inline;
  9900. procedure clearON; inline;
  9901. procedure clearSUSPEND; inline;
  9902. procedure setDMABUSY; inline;
  9903. procedure setON; inline;
  9904. procedure setSUSPEND; inline;
  9905. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  9906. property ON : TBits_1 read getON write setON;
  9907. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  9908. property w : TBits_32 read getw write setw;
  9909. end;
  9910. TDMAC_DMASTAT = record
  9911. private
  9912. function getDMACH : TBits_3; inline;
  9913. function getRDWR : TBits_1; inline;
  9914. function getw : TBits_32; inline;
  9915. procedure setDMACH(thebits : TBits_3); inline;
  9916. procedure setRDWR(thebits : TBits_1); inline;
  9917. procedure setw(thebits : TBits_32); inline;
  9918. public
  9919. procedure clearRDWR; inline;
  9920. procedure setRDWR; inline;
  9921. property DMACH : TBits_3 read getDMACH write setDMACH;
  9922. property RDWR : TBits_1 read getRDWR write setRDWR;
  9923. property w : TBits_32 read getw write setw;
  9924. end;
  9925. TDMAC_DCRCCON = record
  9926. private
  9927. function getBITO : TBits_1; inline;
  9928. function getBYTO : TBits_2; inline;
  9929. function getCRCAPP : TBits_1; inline;
  9930. function getCRCCH : TBits_3; inline;
  9931. function getCRCEN : TBits_1; inline;
  9932. function getCRCTYP : TBits_1; inline;
  9933. function getPLEN : TBits_5; inline;
  9934. function getWBO : TBits_1; inline;
  9935. function getw : TBits_32; inline;
  9936. procedure setBITO(thebits : TBits_1); inline;
  9937. procedure setBYTO(thebits : TBits_2); inline;
  9938. procedure setCRCAPP(thebits : TBits_1); inline;
  9939. procedure setCRCCH(thebits : TBits_3); inline;
  9940. procedure setCRCEN(thebits : TBits_1); inline;
  9941. procedure setCRCTYP(thebits : TBits_1); inline;
  9942. procedure setPLEN(thebits : TBits_5); inline;
  9943. procedure setWBO(thebits : TBits_1); inline;
  9944. procedure setw(thebits : TBits_32); inline;
  9945. public
  9946. procedure clearBITO; inline;
  9947. procedure clearCRCAPP; inline;
  9948. procedure clearCRCEN; inline;
  9949. procedure clearCRCTYP; inline;
  9950. procedure clearWBO; inline;
  9951. procedure setBITO; inline;
  9952. procedure setCRCAPP; inline;
  9953. procedure setCRCEN; inline;
  9954. procedure setCRCTYP; inline;
  9955. procedure setWBO; inline;
  9956. property BITO : TBits_1 read getBITO write setBITO;
  9957. property BYTO : TBits_2 read getBYTO write setBYTO;
  9958. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  9959. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  9960. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  9961. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  9962. property PLEN : TBits_5 read getPLEN write setPLEN;
  9963. property WBO : TBits_1 read getWBO write setWBO;
  9964. property w : TBits_32 read getw write setw;
  9965. end;
  9966. type
  9967. TDMACRegisters = record
  9968. DMACONbits : TDMAC_DMACON;
  9969. DMACON : longWord;
  9970. DMACONCLR : longWord;
  9971. DMACONSET : longWord;
  9972. DMACONINV : longWord;
  9973. DMASTATbits : TDMAC_DMASTAT;
  9974. DMASTAT : longWord;
  9975. DMASTATCLR : longWord;
  9976. DMASTATSET : longWord;
  9977. DMASTATINV : longWord;
  9978. DMAADDR : longWord;
  9979. DMAADDRCLR : longWord;
  9980. DMAADDRSET : longWord;
  9981. DMAADDRINV : longWord;
  9982. DCRCCONbits : TDMAC_DCRCCON;
  9983. DCRCCON : longWord;
  9984. DCRCCONCLR : longWord;
  9985. DCRCCONSET : longWord;
  9986. DCRCCONINV : longWord;
  9987. DCRCDATA : longWord;
  9988. DCRCDATACLR : longWord;
  9989. DCRCDATASET : longWord;
  9990. DCRCDATAINV : longWord;
  9991. DCRCXOR : longWord;
  9992. DCRCXORCLR : longWord;
  9993. DCRCXORSET : longWord;
  9994. DCRCXORINV : longWord;
  9995. end;
  9996. TDMAC0_DCH0CON = record
  9997. private
  9998. function getCHAED : TBits_1; inline;
  9999. function getCHAEN : TBits_1; inline;
  10000. function getCHBUSY : TBits_1; inline;
  10001. function getCHCHN : TBits_1; inline;
  10002. function getCHCHNS : TBits_1; inline;
  10003. function getCHEDET : TBits_1; inline;
  10004. function getCHEN : TBits_1; inline;
  10005. function getCHPRI : TBits_2; inline;
  10006. function getw : TBits_32; inline;
  10007. procedure setCHAED(thebits : TBits_1); inline;
  10008. procedure setCHAEN(thebits : TBits_1); inline;
  10009. procedure setCHBUSY(thebits : TBits_1); inline;
  10010. procedure setCHCHN(thebits : TBits_1); inline;
  10011. procedure setCHCHNS(thebits : TBits_1); inline;
  10012. procedure setCHEDET(thebits : TBits_1); inline;
  10013. procedure setCHEN(thebits : TBits_1); inline;
  10014. procedure setCHPRI(thebits : TBits_2); inline;
  10015. procedure setw(thebits : TBits_32); inline;
  10016. public
  10017. procedure clearCHAED; inline;
  10018. procedure clearCHAEN; inline;
  10019. procedure clearCHBUSY; inline;
  10020. procedure clearCHCHN; inline;
  10021. procedure clearCHCHNS; inline;
  10022. procedure clearCHEDET; inline;
  10023. procedure clearCHEN; inline;
  10024. procedure setCHAED; inline;
  10025. procedure setCHAEN; inline;
  10026. procedure setCHBUSY; inline;
  10027. procedure setCHCHN; inline;
  10028. procedure setCHCHNS; inline;
  10029. procedure setCHEDET; inline;
  10030. procedure setCHEN; inline;
  10031. property CHAED : TBits_1 read getCHAED write setCHAED;
  10032. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10033. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10034. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10035. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10036. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10037. property CHEN : TBits_1 read getCHEN write setCHEN;
  10038. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10039. property w : TBits_32 read getw write setw;
  10040. end;
  10041. TDMAC0_DCH0ECON = record
  10042. private
  10043. function getAIRQEN : TBits_1; inline;
  10044. function getCABORT : TBits_1; inline;
  10045. function getCFORCE : TBits_1; inline;
  10046. function getCHAIRQ : TBits_8; inline;
  10047. function getCHSIRQ : TBits_8; inline;
  10048. function getPATEN : TBits_1; inline;
  10049. function getSIRQEN : TBits_1; inline;
  10050. function getw : TBits_32; inline;
  10051. procedure setAIRQEN(thebits : TBits_1); inline;
  10052. procedure setCABORT(thebits : TBits_1); inline;
  10053. procedure setCFORCE(thebits : TBits_1); inline;
  10054. procedure setCHAIRQ(thebits : TBits_8); inline;
  10055. procedure setCHSIRQ(thebits : TBits_8); inline;
  10056. procedure setPATEN(thebits : TBits_1); inline;
  10057. procedure setSIRQEN(thebits : TBits_1); inline;
  10058. procedure setw(thebits : TBits_32); inline;
  10059. public
  10060. procedure clearAIRQEN; inline;
  10061. procedure clearCABORT; inline;
  10062. procedure clearCFORCE; inline;
  10063. procedure clearPATEN; inline;
  10064. procedure clearSIRQEN; inline;
  10065. procedure setAIRQEN; inline;
  10066. procedure setCABORT; inline;
  10067. procedure setCFORCE; inline;
  10068. procedure setPATEN; inline;
  10069. procedure setSIRQEN; inline;
  10070. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10071. property CABORT : TBits_1 read getCABORT write setCABORT;
  10072. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10073. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10074. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10075. property PATEN : TBits_1 read getPATEN write setPATEN;
  10076. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10077. property w : TBits_32 read getw write setw;
  10078. end;
  10079. TDMAC0_DCH0INT = record
  10080. private
  10081. function getCHBCIE : TBits_1; inline;
  10082. function getCHBCIF : TBits_1; inline;
  10083. function getCHCCIE : TBits_1; inline;
  10084. function getCHCCIF : TBits_1; inline;
  10085. function getCHDDIE : TBits_1; inline;
  10086. function getCHDDIF : TBits_1; inline;
  10087. function getCHDHIE : TBits_1; inline;
  10088. function getCHDHIF : TBits_1; inline;
  10089. function getCHERIE : TBits_1; inline;
  10090. function getCHERIF : TBits_1; inline;
  10091. function getCHSDIE : TBits_1; inline;
  10092. function getCHSDIF : TBits_1; inline;
  10093. function getCHSHIE : TBits_1; inline;
  10094. function getCHSHIF : TBits_1; inline;
  10095. function getCHTAIE : TBits_1; inline;
  10096. function getCHTAIF : TBits_1; inline;
  10097. function getw : TBits_32; inline;
  10098. procedure setCHBCIE(thebits : TBits_1); inline;
  10099. procedure setCHBCIF(thebits : TBits_1); inline;
  10100. procedure setCHCCIE(thebits : TBits_1); inline;
  10101. procedure setCHCCIF(thebits : TBits_1); inline;
  10102. procedure setCHDDIE(thebits : TBits_1); inline;
  10103. procedure setCHDDIF(thebits : TBits_1); inline;
  10104. procedure setCHDHIE(thebits : TBits_1); inline;
  10105. procedure setCHDHIF(thebits : TBits_1); inline;
  10106. procedure setCHERIE(thebits : TBits_1); inline;
  10107. procedure setCHERIF(thebits : TBits_1); inline;
  10108. procedure setCHSDIE(thebits : TBits_1); inline;
  10109. procedure setCHSDIF(thebits : TBits_1); inline;
  10110. procedure setCHSHIE(thebits : TBits_1); inline;
  10111. procedure setCHSHIF(thebits : TBits_1); inline;
  10112. procedure setCHTAIE(thebits : TBits_1); inline;
  10113. procedure setCHTAIF(thebits : TBits_1); inline;
  10114. procedure setw(thebits : TBits_32); inline;
  10115. public
  10116. procedure clearCHBCIE; inline;
  10117. procedure clearCHBCIF; inline;
  10118. procedure clearCHCCIE; inline;
  10119. procedure clearCHCCIF; inline;
  10120. procedure clearCHDDIE; inline;
  10121. procedure clearCHDDIF; inline;
  10122. procedure clearCHDHIE; inline;
  10123. procedure clearCHDHIF; inline;
  10124. procedure clearCHERIE; inline;
  10125. procedure clearCHERIF; inline;
  10126. procedure clearCHSDIE; inline;
  10127. procedure clearCHSDIF; inline;
  10128. procedure clearCHSHIE; inline;
  10129. procedure clearCHSHIF; inline;
  10130. procedure clearCHTAIE; inline;
  10131. procedure clearCHTAIF; inline;
  10132. procedure setCHBCIE; inline;
  10133. procedure setCHBCIF; inline;
  10134. procedure setCHCCIE; inline;
  10135. procedure setCHCCIF; inline;
  10136. procedure setCHDDIE; inline;
  10137. procedure setCHDDIF; inline;
  10138. procedure setCHDHIE; inline;
  10139. procedure setCHDHIF; inline;
  10140. procedure setCHERIE; inline;
  10141. procedure setCHERIF; inline;
  10142. procedure setCHSDIE; inline;
  10143. procedure setCHSDIF; inline;
  10144. procedure setCHSHIE; inline;
  10145. procedure setCHSHIF; inline;
  10146. procedure setCHTAIE; inline;
  10147. procedure setCHTAIF; inline;
  10148. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10149. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10150. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10151. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10152. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10153. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10154. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10155. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10156. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10157. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10158. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10159. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10160. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10161. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10162. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10163. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10164. property w : TBits_32 read getw write setw;
  10165. end;
  10166. type
  10167. TDMAC0Registers = record
  10168. DCH0CONbits : TDMAC0_DCH0CON;
  10169. DCH0CON : longWord;
  10170. DCH0CONCLR : longWord;
  10171. DCH0CONSET : longWord;
  10172. DCH0CONINV : longWord;
  10173. DCH0ECONbits : TDMAC0_DCH0ECON;
  10174. DCH0ECON : longWord;
  10175. DCH0ECONCLR : longWord;
  10176. DCH0ECONSET : longWord;
  10177. DCH0ECONINV : longWord;
  10178. DCH0INTbits : TDMAC0_DCH0INT;
  10179. DCH0INT : longWord;
  10180. DCH0INTCLR : longWord;
  10181. DCH0INTSET : longWord;
  10182. DCH0INTINV : longWord;
  10183. DCH0SSA : longWord;
  10184. DCH0SSACLR : longWord;
  10185. DCH0SSASET : longWord;
  10186. DCH0SSAINV : longWord;
  10187. DCH0DSA : longWord;
  10188. DCH0DSACLR : longWord;
  10189. DCH0DSASET : longWord;
  10190. DCH0DSAINV : longWord;
  10191. DCH0SSIZ : longWord;
  10192. DCH0SSIZCLR : longWord;
  10193. DCH0SSIZSET : longWord;
  10194. DCH0SSIZINV : longWord;
  10195. DCH0DSIZ : longWord;
  10196. DCH0DSIZCLR : longWord;
  10197. DCH0DSIZSET : longWord;
  10198. DCH0DSIZINV : longWord;
  10199. DCH0SPTR : longWord;
  10200. DCH0SPTRCLR : longWord;
  10201. DCH0SPTRSET : longWord;
  10202. DCH0SPTRINV : longWord;
  10203. DCH0DPTR : longWord;
  10204. DCH0DPTRCLR : longWord;
  10205. DCH0DPTRSET : longWord;
  10206. DCH0DPTRINV : longWord;
  10207. DCH0CSIZ : longWord;
  10208. DCH0CSIZCLR : longWord;
  10209. DCH0CSIZSET : longWord;
  10210. DCH0CSIZINV : longWord;
  10211. DCH0CPTR : longWord;
  10212. DCH0CPTRCLR : longWord;
  10213. DCH0CPTRSET : longWord;
  10214. DCH0CPTRINV : longWord;
  10215. DCH0DAT : longWord;
  10216. DCH0DATCLR : longWord;
  10217. DCH0DATSET : longWord;
  10218. DCH0DATINV : longWord;
  10219. end;
  10220. TDMAC1_DCH1CON = record
  10221. private
  10222. function getCHAED : TBits_1; inline;
  10223. function getCHAEN : TBits_1; inline;
  10224. function getCHBUSY : TBits_1; inline;
  10225. function getCHCHN : TBits_1; inline;
  10226. function getCHCHNS : TBits_1; inline;
  10227. function getCHEDET : TBits_1; inline;
  10228. function getCHEN : TBits_1; inline;
  10229. function getCHPRI : TBits_2; inline;
  10230. function getw : TBits_32; inline;
  10231. procedure setCHAED(thebits : TBits_1); inline;
  10232. procedure setCHAEN(thebits : TBits_1); inline;
  10233. procedure setCHBUSY(thebits : TBits_1); inline;
  10234. procedure setCHCHN(thebits : TBits_1); inline;
  10235. procedure setCHCHNS(thebits : TBits_1); inline;
  10236. procedure setCHEDET(thebits : TBits_1); inline;
  10237. procedure setCHEN(thebits : TBits_1); inline;
  10238. procedure setCHPRI(thebits : TBits_2); inline;
  10239. procedure setw(thebits : TBits_32); inline;
  10240. public
  10241. procedure clearCHAED; inline;
  10242. procedure clearCHAEN; inline;
  10243. procedure clearCHBUSY; inline;
  10244. procedure clearCHCHN; inline;
  10245. procedure clearCHCHNS; inline;
  10246. procedure clearCHEDET; inline;
  10247. procedure clearCHEN; inline;
  10248. procedure setCHAED; inline;
  10249. procedure setCHAEN; inline;
  10250. procedure setCHBUSY; inline;
  10251. procedure setCHCHN; inline;
  10252. procedure setCHCHNS; inline;
  10253. procedure setCHEDET; inline;
  10254. procedure setCHEN; inline;
  10255. property CHAED : TBits_1 read getCHAED write setCHAED;
  10256. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10257. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10258. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10259. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10260. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10261. property CHEN : TBits_1 read getCHEN write setCHEN;
  10262. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10263. property w : TBits_32 read getw write setw;
  10264. end;
  10265. TDMAC1_DCH1ECON = record
  10266. private
  10267. function getAIRQEN : TBits_1; inline;
  10268. function getCABORT : TBits_1; inline;
  10269. function getCFORCE : TBits_1; inline;
  10270. function getCHAIRQ : TBits_8; inline;
  10271. function getCHSIRQ : TBits_8; inline;
  10272. function getPATEN : TBits_1; inline;
  10273. function getSIRQEN : TBits_1; inline;
  10274. function getw : TBits_32; inline;
  10275. procedure setAIRQEN(thebits : TBits_1); inline;
  10276. procedure setCABORT(thebits : TBits_1); inline;
  10277. procedure setCFORCE(thebits : TBits_1); inline;
  10278. procedure setCHAIRQ(thebits : TBits_8); inline;
  10279. procedure setCHSIRQ(thebits : TBits_8); inline;
  10280. procedure setPATEN(thebits : TBits_1); inline;
  10281. procedure setSIRQEN(thebits : TBits_1); inline;
  10282. procedure setw(thebits : TBits_32); inline;
  10283. public
  10284. procedure clearAIRQEN; inline;
  10285. procedure clearCABORT; inline;
  10286. procedure clearCFORCE; inline;
  10287. procedure clearPATEN; inline;
  10288. procedure clearSIRQEN; inline;
  10289. procedure setAIRQEN; inline;
  10290. procedure setCABORT; inline;
  10291. procedure setCFORCE; inline;
  10292. procedure setPATEN; inline;
  10293. procedure setSIRQEN; inline;
  10294. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10295. property CABORT : TBits_1 read getCABORT write setCABORT;
  10296. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10297. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10298. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10299. property PATEN : TBits_1 read getPATEN write setPATEN;
  10300. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10301. property w : TBits_32 read getw write setw;
  10302. end;
  10303. TDMAC1_DCH1INT = record
  10304. private
  10305. function getCHBCIE : TBits_1; inline;
  10306. function getCHBCIF : TBits_1; inline;
  10307. function getCHCCIE : TBits_1; inline;
  10308. function getCHCCIF : TBits_1; inline;
  10309. function getCHDDIE : TBits_1; inline;
  10310. function getCHDDIF : TBits_1; inline;
  10311. function getCHDHIE : TBits_1; inline;
  10312. function getCHDHIF : TBits_1; inline;
  10313. function getCHERIE : TBits_1; inline;
  10314. function getCHERIF : TBits_1; inline;
  10315. function getCHSDIE : TBits_1; inline;
  10316. function getCHSDIF : TBits_1; inline;
  10317. function getCHSHIE : TBits_1; inline;
  10318. function getCHSHIF : TBits_1; inline;
  10319. function getCHTAIE : TBits_1; inline;
  10320. function getCHTAIF : TBits_1; inline;
  10321. function getw : TBits_32; inline;
  10322. procedure setCHBCIE(thebits : TBits_1); inline;
  10323. procedure setCHBCIF(thebits : TBits_1); inline;
  10324. procedure setCHCCIE(thebits : TBits_1); inline;
  10325. procedure setCHCCIF(thebits : TBits_1); inline;
  10326. procedure setCHDDIE(thebits : TBits_1); inline;
  10327. procedure setCHDDIF(thebits : TBits_1); inline;
  10328. procedure setCHDHIE(thebits : TBits_1); inline;
  10329. procedure setCHDHIF(thebits : TBits_1); inline;
  10330. procedure setCHERIE(thebits : TBits_1); inline;
  10331. procedure setCHERIF(thebits : TBits_1); inline;
  10332. procedure setCHSDIE(thebits : TBits_1); inline;
  10333. procedure setCHSDIF(thebits : TBits_1); inline;
  10334. procedure setCHSHIE(thebits : TBits_1); inline;
  10335. procedure setCHSHIF(thebits : TBits_1); inline;
  10336. procedure setCHTAIE(thebits : TBits_1); inline;
  10337. procedure setCHTAIF(thebits : TBits_1); inline;
  10338. procedure setw(thebits : TBits_32); inline;
  10339. public
  10340. procedure clearCHBCIE; inline;
  10341. procedure clearCHBCIF; inline;
  10342. procedure clearCHCCIE; inline;
  10343. procedure clearCHCCIF; inline;
  10344. procedure clearCHDDIE; inline;
  10345. procedure clearCHDDIF; inline;
  10346. procedure clearCHDHIE; inline;
  10347. procedure clearCHDHIF; inline;
  10348. procedure clearCHERIE; inline;
  10349. procedure clearCHERIF; inline;
  10350. procedure clearCHSDIE; inline;
  10351. procedure clearCHSDIF; inline;
  10352. procedure clearCHSHIE; inline;
  10353. procedure clearCHSHIF; inline;
  10354. procedure clearCHTAIE; inline;
  10355. procedure clearCHTAIF; inline;
  10356. procedure setCHBCIE; inline;
  10357. procedure setCHBCIF; inline;
  10358. procedure setCHCCIE; inline;
  10359. procedure setCHCCIF; inline;
  10360. procedure setCHDDIE; inline;
  10361. procedure setCHDDIF; inline;
  10362. procedure setCHDHIE; inline;
  10363. procedure setCHDHIF; inline;
  10364. procedure setCHERIE; inline;
  10365. procedure setCHERIF; inline;
  10366. procedure setCHSDIE; inline;
  10367. procedure setCHSDIF; inline;
  10368. procedure setCHSHIE; inline;
  10369. procedure setCHSHIF; inline;
  10370. procedure setCHTAIE; inline;
  10371. procedure setCHTAIF; inline;
  10372. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10373. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10374. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10375. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10376. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10377. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10378. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10379. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10380. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10381. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10382. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10383. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10384. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10385. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10386. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10387. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10388. property w : TBits_32 read getw write setw;
  10389. end;
  10390. type
  10391. TDMAC1Registers = record
  10392. DCH1CONbits : TDMAC1_DCH1CON;
  10393. DCH1CON : longWord;
  10394. DCH1CONCLR : longWord;
  10395. DCH1CONSET : longWord;
  10396. DCH1CONINV : longWord;
  10397. DCH1ECONbits : TDMAC1_DCH1ECON;
  10398. DCH1ECON : longWord;
  10399. DCH1ECONCLR : longWord;
  10400. DCH1ECONSET : longWord;
  10401. DCH1ECONINV : longWord;
  10402. DCH1INTbits : TDMAC1_DCH1INT;
  10403. DCH1INT : longWord;
  10404. DCH1INTCLR : longWord;
  10405. DCH1INTSET : longWord;
  10406. DCH1INTINV : longWord;
  10407. DCH1SSA : longWord;
  10408. DCH1SSACLR : longWord;
  10409. DCH1SSASET : longWord;
  10410. DCH1SSAINV : longWord;
  10411. DCH1DSA : longWord;
  10412. DCH1DSACLR : longWord;
  10413. DCH1DSASET : longWord;
  10414. DCH1DSAINV : longWord;
  10415. DCH1SSIZ : longWord;
  10416. DCH1SSIZCLR : longWord;
  10417. DCH1SSIZSET : longWord;
  10418. DCH1SSIZINV : longWord;
  10419. DCH1DSIZ : longWord;
  10420. DCH1DSIZCLR : longWord;
  10421. DCH1DSIZSET : longWord;
  10422. DCH1DSIZINV : longWord;
  10423. DCH1SPTR : longWord;
  10424. DCH1SPTRCLR : longWord;
  10425. DCH1SPTRSET : longWord;
  10426. DCH1SPTRINV : longWord;
  10427. DCH1DPTR : longWord;
  10428. DCH1DPTRCLR : longWord;
  10429. DCH1DPTRSET : longWord;
  10430. DCH1DPTRINV : longWord;
  10431. DCH1CSIZ : longWord;
  10432. DCH1CSIZCLR : longWord;
  10433. DCH1CSIZSET : longWord;
  10434. DCH1CSIZINV : longWord;
  10435. DCH1CPTR : longWord;
  10436. DCH1CPTRCLR : longWord;
  10437. DCH1CPTRSET : longWord;
  10438. DCH1CPTRINV : longWord;
  10439. DCH1DAT : longWord;
  10440. DCH1DATCLR : longWord;
  10441. DCH1DATSET : longWord;
  10442. DCH1DATINV : longWord;
  10443. end;
  10444. TDMAC2_DCH2CON = record
  10445. private
  10446. function getCHAED : TBits_1; inline;
  10447. function getCHAEN : TBits_1; inline;
  10448. function getCHBUSY : TBits_1; inline;
  10449. function getCHCHN : TBits_1; inline;
  10450. function getCHCHNS : TBits_1; inline;
  10451. function getCHEDET : TBits_1; inline;
  10452. function getCHEN : TBits_1; inline;
  10453. function getCHPRI : TBits_2; inline;
  10454. function getw : TBits_32; inline;
  10455. procedure setCHAED(thebits : TBits_1); inline;
  10456. procedure setCHAEN(thebits : TBits_1); inline;
  10457. procedure setCHBUSY(thebits : TBits_1); inline;
  10458. procedure setCHCHN(thebits : TBits_1); inline;
  10459. procedure setCHCHNS(thebits : TBits_1); inline;
  10460. procedure setCHEDET(thebits : TBits_1); inline;
  10461. procedure setCHEN(thebits : TBits_1); inline;
  10462. procedure setCHPRI(thebits : TBits_2); inline;
  10463. procedure setw(thebits : TBits_32); inline;
  10464. public
  10465. procedure clearCHAED; inline;
  10466. procedure clearCHAEN; inline;
  10467. procedure clearCHBUSY; inline;
  10468. procedure clearCHCHN; inline;
  10469. procedure clearCHCHNS; inline;
  10470. procedure clearCHEDET; inline;
  10471. procedure clearCHEN; inline;
  10472. procedure setCHAED; inline;
  10473. procedure setCHAEN; inline;
  10474. procedure setCHBUSY; inline;
  10475. procedure setCHCHN; inline;
  10476. procedure setCHCHNS; inline;
  10477. procedure setCHEDET; inline;
  10478. procedure setCHEN; inline;
  10479. property CHAED : TBits_1 read getCHAED write setCHAED;
  10480. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10481. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10482. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10483. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10484. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10485. property CHEN : TBits_1 read getCHEN write setCHEN;
  10486. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10487. property w : TBits_32 read getw write setw;
  10488. end;
  10489. TDMAC2_DCH2ECON = record
  10490. private
  10491. function getAIRQEN : TBits_1; inline;
  10492. function getCABORT : TBits_1; inline;
  10493. function getCFORCE : TBits_1; inline;
  10494. function getCHAIRQ : TBits_8; inline;
  10495. function getCHSIRQ : TBits_8; inline;
  10496. function getPATEN : TBits_1; inline;
  10497. function getSIRQEN : TBits_1; inline;
  10498. function getw : TBits_32; inline;
  10499. procedure setAIRQEN(thebits : TBits_1); inline;
  10500. procedure setCABORT(thebits : TBits_1); inline;
  10501. procedure setCFORCE(thebits : TBits_1); inline;
  10502. procedure setCHAIRQ(thebits : TBits_8); inline;
  10503. procedure setCHSIRQ(thebits : TBits_8); inline;
  10504. procedure setPATEN(thebits : TBits_1); inline;
  10505. procedure setSIRQEN(thebits : TBits_1); inline;
  10506. procedure setw(thebits : TBits_32); inline;
  10507. public
  10508. procedure clearAIRQEN; inline;
  10509. procedure clearCABORT; inline;
  10510. procedure clearCFORCE; inline;
  10511. procedure clearPATEN; inline;
  10512. procedure clearSIRQEN; inline;
  10513. procedure setAIRQEN; inline;
  10514. procedure setCABORT; inline;
  10515. procedure setCFORCE; inline;
  10516. procedure setPATEN; inline;
  10517. procedure setSIRQEN; inline;
  10518. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10519. property CABORT : TBits_1 read getCABORT write setCABORT;
  10520. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10521. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10522. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10523. property PATEN : TBits_1 read getPATEN write setPATEN;
  10524. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10525. property w : TBits_32 read getw write setw;
  10526. end;
  10527. TDMAC2_DCH2INT = record
  10528. private
  10529. function getCHBCIE : TBits_1; inline;
  10530. function getCHBCIF : TBits_1; inline;
  10531. function getCHCCIE : TBits_1; inline;
  10532. function getCHCCIF : TBits_1; inline;
  10533. function getCHDDIE : TBits_1; inline;
  10534. function getCHDDIF : TBits_1; inline;
  10535. function getCHDHIE : TBits_1; inline;
  10536. function getCHDHIF : TBits_1; inline;
  10537. function getCHERIE : TBits_1; inline;
  10538. function getCHERIF : TBits_1; inline;
  10539. function getCHSDIE : TBits_1; inline;
  10540. function getCHSDIF : TBits_1; inline;
  10541. function getCHSHIE : TBits_1; inline;
  10542. function getCHSHIF : TBits_1; inline;
  10543. function getCHTAIE : TBits_1; inline;
  10544. function getCHTAIF : TBits_1; inline;
  10545. function getw : TBits_32; inline;
  10546. procedure setCHBCIE(thebits : TBits_1); inline;
  10547. procedure setCHBCIF(thebits : TBits_1); inline;
  10548. procedure setCHCCIE(thebits : TBits_1); inline;
  10549. procedure setCHCCIF(thebits : TBits_1); inline;
  10550. procedure setCHDDIE(thebits : TBits_1); inline;
  10551. procedure setCHDDIF(thebits : TBits_1); inline;
  10552. procedure setCHDHIE(thebits : TBits_1); inline;
  10553. procedure setCHDHIF(thebits : TBits_1); inline;
  10554. procedure setCHERIE(thebits : TBits_1); inline;
  10555. procedure setCHERIF(thebits : TBits_1); inline;
  10556. procedure setCHSDIE(thebits : TBits_1); inline;
  10557. procedure setCHSDIF(thebits : TBits_1); inline;
  10558. procedure setCHSHIE(thebits : TBits_1); inline;
  10559. procedure setCHSHIF(thebits : TBits_1); inline;
  10560. procedure setCHTAIE(thebits : TBits_1); inline;
  10561. procedure setCHTAIF(thebits : TBits_1); inline;
  10562. procedure setw(thebits : TBits_32); inline;
  10563. public
  10564. procedure clearCHBCIE; inline;
  10565. procedure clearCHBCIF; inline;
  10566. procedure clearCHCCIE; inline;
  10567. procedure clearCHCCIF; inline;
  10568. procedure clearCHDDIE; inline;
  10569. procedure clearCHDDIF; inline;
  10570. procedure clearCHDHIE; inline;
  10571. procedure clearCHDHIF; inline;
  10572. procedure clearCHERIE; inline;
  10573. procedure clearCHERIF; inline;
  10574. procedure clearCHSDIE; inline;
  10575. procedure clearCHSDIF; inline;
  10576. procedure clearCHSHIE; inline;
  10577. procedure clearCHSHIF; inline;
  10578. procedure clearCHTAIE; inline;
  10579. procedure clearCHTAIF; inline;
  10580. procedure setCHBCIE; inline;
  10581. procedure setCHBCIF; inline;
  10582. procedure setCHCCIE; inline;
  10583. procedure setCHCCIF; inline;
  10584. procedure setCHDDIE; inline;
  10585. procedure setCHDDIF; inline;
  10586. procedure setCHDHIE; inline;
  10587. procedure setCHDHIF; inline;
  10588. procedure setCHERIE; inline;
  10589. procedure setCHERIF; inline;
  10590. procedure setCHSDIE; inline;
  10591. procedure setCHSDIF; inline;
  10592. procedure setCHSHIE; inline;
  10593. procedure setCHSHIF; inline;
  10594. procedure setCHTAIE; inline;
  10595. procedure setCHTAIF; inline;
  10596. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10597. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10598. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10599. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10600. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10601. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10602. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10603. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10604. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10605. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10606. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10607. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10608. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10609. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10610. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10611. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10612. property w : TBits_32 read getw write setw;
  10613. end;
  10614. type
  10615. TDMAC2Registers = record
  10616. DCH2CONbits : TDMAC2_DCH2CON;
  10617. DCH2CON : longWord;
  10618. DCH2CONCLR : longWord;
  10619. DCH2CONSET : longWord;
  10620. DCH2CONINV : longWord;
  10621. DCH2ECONbits : TDMAC2_DCH2ECON;
  10622. DCH2ECON : longWord;
  10623. DCH2ECONCLR : longWord;
  10624. DCH2ECONSET : longWord;
  10625. DCH2ECONINV : longWord;
  10626. DCH2INTbits : TDMAC2_DCH2INT;
  10627. DCH2INT : longWord;
  10628. DCH2INTCLR : longWord;
  10629. DCH2INTSET : longWord;
  10630. DCH2INTINV : longWord;
  10631. DCH2SSA : longWord;
  10632. DCH2SSACLR : longWord;
  10633. DCH2SSASET : longWord;
  10634. DCH2SSAINV : longWord;
  10635. DCH2DSA : longWord;
  10636. DCH2DSACLR : longWord;
  10637. DCH2DSASET : longWord;
  10638. DCH2DSAINV : longWord;
  10639. DCH2SSIZ : longWord;
  10640. DCH2SSIZCLR : longWord;
  10641. DCH2SSIZSET : longWord;
  10642. DCH2SSIZINV : longWord;
  10643. DCH2DSIZ : longWord;
  10644. DCH2DSIZCLR : longWord;
  10645. DCH2DSIZSET : longWord;
  10646. DCH2DSIZINV : longWord;
  10647. DCH2SPTR : longWord;
  10648. DCH2SPTRCLR : longWord;
  10649. DCH2SPTRSET : longWord;
  10650. DCH2SPTRINV : longWord;
  10651. DCH2DPTR : longWord;
  10652. DCH2DPTRCLR : longWord;
  10653. DCH2DPTRSET : longWord;
  10654. DCH2DPTRINV : longWord;
  10655. DCH2CSIZ : longWord;
  10656. DCH2CSIZCLR : longWord;
  10657. DCH2CSIZSET : longWord;
  10658. DCH2CSIZINV : longWord;
  10659. DCH2CPTR : longWord;
  10660. DCH2CPTRCLR : longWord;
  10661. DCH2CPTRSET : longWord;
  10662. DCH2CPTRINV : longWord;
  10663. DCH2DAT : longWord;
  10664. DCH2DATCLR : longWord;
  10665. DCH2DATSET : longWord;
  10666. DCH2DATINV : longWord;
  10667. end;
  10668. TDMAC3_DCH3CON = record
  10669. private
  10670. function getCHAED : TBits_1; inline;
  10671. function getCHAEN : TBits_1; inline;
  10672. function getCHBUSY : TBits_1; inline;
  10673. function getCHCHN : TBits_1; inline;
  10674. function getCHCHNS : TBits_1; inline;
  10675. function getCHEDET : TBits_1; inline;
  10676. function getCHEN : TBits_1; inline;
  10677. function getCHPRI : TBits_2; inline;
  10678. function getw : TBits_32; inline;
  10679. procedure setCHAED(thebits : TBits_1); inline;
  10680. procedure setCHAEN(thebits : TBits_1); inline;
  10681. procedure setCHBUSY(thebits : TBits_1); inline;
  10682. procedure setCHCHN(thebits : TBits_1); inline;
  10683. procedure setCHCHNS(thebits : TBits_1); inline;
  10684. procedure setCHEDET(thebits : TBits_1); inline;
  10685. procedure setCHEN(thebits : TBits_1); inline;
  10686. procedure setCHPRI(thebits : TBits_2); inline;
  10687. procedure setw(thebits : TBits_32); inline;
  10688. public
  10689. procedure clearCHAED; inline;
  10690. procedure clearCHAEN; inline;
  10691. procedure clearCHBUSY; inline;
  10692. procedure clearCHCHN; inline;
  10693. procedure clearCHCHNS; inline;
  10694. procedure clearCHEDET; inline;
  10695. procedure clearCHEN; inline;
  10696. procedure setCHAED; inline;
  10697. procedure setCHAEN; inline;
  10698. procedure setCHBUSY; inline;
  10699. procedure setCHCHN; inline;
  10700. procedure setCHCHNS; inline;
  10701. procedure setCHEDET; inline;
  10702. procedure setCHEN; inline;
  10703. property CHAED : TBits_1 read getCHAED write setCHAED;
  10704. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  10705. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  10706. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  10707. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  10708. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  10709. property CHEN : TBits_1 read getCHEN write setCHEN;
  10710. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  10711. property w : TBits_32 read getw write setw;
  10712. end;
  10713. TDMAC3_DCH3ECON = record
  10714. private
  10715. function getAIRQEN : TBits_1; inline;
  10716. function getCABORT : TBits_1; inline;
  10717. function getCFORCE : TBits_1; inline;
  10718. function getCHAIRQ : TBits_8; inline;
  10719. function getCHSIRQ : TBits_8; inline;
  10720. function getPATEN : TBits_1; inline;
  10721. function getSIRQEN : TBits_1; inline;
  10722. function getw : TBits_32; inline;
  10723. procedure setAIRQEN(thebits : TBits_1); inline;
  10724. procedure setCABORT(thebits : TBits_1); inline;
  10725. procedure setCFORCE(thebits : TBits_1); inline;
  10726. procedure setCHAIRQ(thebits : TBits_8); inline;
  10727. procedure setCHSIRQ(thebits : TBits_8); inline;
  10728. procedure setPATEN(thebits : TBits_1); inline;
  10729. procedure setSIRQEN(thebits : TBits_1); inline;
  10730. procedure setw(thebits : TBits_32); inline;
  10731. public
  10732. procedure clearAIRQEN; inline;
  10733. procedure clearCABORT; inline;
  10734. procedure clearCFORCE; inline;
  10735. procedure clearPATEN; inline;
  10736. procedure clearSIRQEN; inline;
  10737. procedure setAIRQEN; inline;
  10738. procedure setCABORT; inline;
  10739. procedure setCFORCE; inline;
  10740. procedure setPATEN; inline;
  10741. procedure setSIRQEN; inline;
  10742. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  10743. property CABORT : TBits_1 read getCABORT write setCABORT;
  10744. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  10745. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  10746. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  10747. property PATEN : TBits_1 read getPATEN write setPATEN;
  10748. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  10749. property w : TBits_32 read getw write setw;
  10750. end;
  10751. TDMAC3_DCH3INT = record
  10752. private
  10753. function getCHBCIE : TBits_1; inline;
  10754. function getCHBCIF : TBits_1; inline;
  10755. function getCHCCIE : TBits_1; inline;
  10756. function getCHCCIF : TBits_1; inline;
  10757. function getCHDDIE : TBits_1; inline;
  10758. function getCHDDIF : TBits_1; inline;
  10759. function getCHDHIE : TBits_1; inline;
  10760. function getCHDHIF : TBits_1; inline;
  10761. function getCHERIE : TBits_1; inline;
  10762. function getCHERIF : TBits_1; inline;
  10763. function getCHSDIE : TBits_1; inline;
  10764. function getCHSDIF : TBits_1; inline;
  10765. function getCHSHIE : TBits_1; inline;
  10766. function getCHSHIF : TBits_1; inline;
  10767. function getCHTAIE : TBits_1; inline;
  10768. function getCHTAIF : TBits_1; inline;
  10769. function getw : TBits_32; inline;
  10770. procedure setCHBCIE(thebits : TBits_1); inline;
  10771. procedure setCHBCIF(thebits : TBits_1); inline;
  10772. procedure setCHCCIE(thebits : TBits_1); inline;
  10773. procedure setCHCCIF(thebits : TBits_1); inline;
  10774. procedure setCHDDIE(thebits : TBits_1); inline;
  10775. procedure setCHDDIF(thebits : TBits_1); inline;
  10776. procedure setCHDHIE(thebits : TBits_1); inline;
  10777. procedure setCHDHIF(thebits : TBits_1); inline;
  10778. procedure setCHERIE(thebits : TBits_1); inline;
  10779. procedure setCHERIF(thebits : TBits_1); inline;
  10780. procedure setCHSDIE(thebits : TBits_1); inline;
  10781. procedure setCHSDIF(thebits : TBits_1); inline;
  10782. procedure setCHSHIE(thebits : TBits_1); inline;
  10783. procedure setCHSHIF(thebits : TBits_1); inline;
  10784. procedure setCHTAIE(thebits : TBits_1); inline;
  10785. procedure setCHTAIF(thebits : TBits_1); inline;
  10786. procedure setw(thebits : TBits_32); inline;
  10787. public
  10788. procedure clearCHBCIE; inline;
  10789. procedure clearCHBCIF; inline;
  10790. procedure clearCHCCIE; inline;
  10791. procedure clearCHCCIF; inline;
  10792. procedure clearCHDDIE; inline;
  10793. procedure clearCHDDIF; inline;
  10794. procedure clearCHDHIE; inline;
  10795. procedure clearCHDHIF; inline;
  10796. procedure clearCHERIE; inline;
  10797. procedure clearCHERIF; inline;
  10798. procedure clearCHSDIE; inline;
  10799. procedure clearCHSDIF; inline;
  10800. procedure clearCHSHIE; inline;
  10801. procedure clearCHSHIF; inline;
  10802. procedure clearCHTAIE; inline;
  10803. procedure clearCHTAIF; inline;
  10804. procedure setCHBCIE; inline;
  10805. procedure setCHBCIF; inline;
  10806. procedure setCHCCIE; inline;
  10807. procedure setCHCCIF; inline;
  10808. procedure setCHDDIE; inline;
  10809. procedure setCHDDIF; inline;
  10810. procedure setCHDHIE; inline;
  10811. procedure setCHDHIF; inline;
  10812. procedure setCHERIE; inline;
  10813. procedure setCHERIF; inline;
  10814. procedure setCHSDIE; inline;
  10815. procedure setCHSDIF; inline;
  10816. procedure setCHSHIE; inline;
  10817. procedure setCHSHIF; inline;
  10818. procedure setCHTAIE; inline;
  10819. procedure setCHTAIF; inline;
  10820. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  10821. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  10822. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  10823. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  10824. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  10825. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  10826. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  10827. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  10828. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  10829. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  10830. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  10831. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  10832. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  10833. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  10834. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  10835. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  10836. property w : TBits_32 read getw write setw;
  10837. end;
  10838. type
  10839. TDMAC3Registers = record
  10840. DCH3CONbits : TDMAC3_DCH3CON;
  10841. DCH3CON : longWord;
  10842. DCH3CONCLR : longWord;
  10843. DCH3CONSET : longWord;
  10844. DCH3CONINV : longWord;
  10845. DCH3ECONbits : TDMAC3_DCH3ECON;
  10846. DCH3ECON : longWord;
  10847. DCH3ECONCLR : longWord;
  10848. DCH3ECONSET : longWord;
  10849. DCH3ECONINV : longWord;
  10850. DCH3INTbits : TDMAC3_DCH3INT;
  10851. DCH3INT : longWord;
  10852. DCH3INTCLR : longWord;
  10853. DCH3INTSET : longWord;
  10854. DCH3INTINV : longWord;
  10855. DCH3SSA : longWord;
  10856. DCH3SSACLR : longWord;
  10857. DCH3SSASET : longWord;
  10858. DCH3SSAINV : longWord;
  10859. DCH3DSA : longWord;
  10860. DCH3DSACLR : longWord;
  10861. DCH3DSASET : longWord;
  10862. DCH3DSAINV : longWord;
  10863. DCH3SSIZ : longWord;
  10864. DCH3SSIZCLR : longWord;
  10865. DCH3SSIZSET : longWord;
  10866. DCH3SSIZINV : longWord;
  10867. DCH3DSIZ : longWord;
  10868. DCH3DSIZCLR : longWord;
  10869. DCH3DSIZSET : longWord;
  10870. DCH3DSIZINV : longWord;
  10871. DCH3SPTR : longWord;
  10872. DCH3SPTRCLR : longWord;
  10873. DCH3SPTRSET : longWord;
  10874. DCH3SPTRINV : longWord;
  10875. DCH3DPTR : longWord;
  10876. DCH3DPTRCLR : longWord;
  10877. DCH3DPTRSET : longWord;
  10878. DCH3DPTRINV : longWord;
  10879. DCH3CSIZ : longWord;
  10880. DCH3CSIZCLR : longWord;
  10881. DCH3CSIZSET : longWord;
  10882. DCH3CSIZINV : longWord;
  10883. DCH3CPTR : longWord;
  10884. DCH3CPTRCLR : longWord;
  10885. DCH3CPTRSET : longWord;
  10886. DCH3CPTRINV : longWord;
  10887. DCH3DAT : longWord;
  10888. DCH3DATCLR : longWord;
  10889. DCH3DATSET : longWord;
  10890. DCH3DATINV : longWord;
  10891. end;
  10892. TPCACHE_CHECON = record
  10893. private
  10894. function getCHECOH : TBits_1; inline;
  10895. function getDCSZ : TBits_2; inline;
  10896. function getPFMWS : TBits_3; inline;
  10897. function getPREFEN : TBits_2; inline;
  10898. function getw : TBits_32; inline;
  10899. procedure setCHECOH(thebits : TBits_1); inline;
  10900. procedure setDCSZ(thebits : TBits_2); inline;
  10901. procedure setPFMWS(thebits : TBits_3); inline;
  10902. procedure setPREFEN(thebits : TBits_2); inline;
  10903. procedure setw(thebits : TBits_32); inline;
  10904. public
  10905. procedure clearCHECOH; inline;
  10906. procedure setCHECOH; inline;
  10907. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  10908. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  10909. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  10910. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  10911. property w : TBits_32 read getw write setw;
  10912. end;
  10913. TPCACHE_CHETAG = record
  10914. private
  10915. function getLLOCK : TBits_1; inline;
  10916. function getLTAG : TBits_20; inline;
  10917. function getLTAGBOOT : TBits_1; inline;
  10918. function getLTYPE : TBits_1; inline;
  10919. function getLVALID : TBits_1; inline;
  10920. function getw : TBits_32; inline;
  10921. procedure setLLOCK(thebits : TBits_1); inline;
  10922. procedure setLTAG(thebits : TBits_20); inline;
  10923. procedure setLTAGBOOT(thebits : TBits_1); inline;
  10924. procedure setLTYPE(thebits : TBits_1); inline;
  10925. procedure setLVALID(thebits : TBits_1); inline;
  10926. procedure setw(thebits : TBits_32); inline;
  10927. public
  10928. procedure clearLLOCK; inline;
  10929. procedure clearLTAGBOOT; inline;
  10930. procedure clearLTYPE; inline;
  10931. procedure clearLVALID; inline;
  10932. procedure setLLOCK; inline;
  10933. procedure setLTAGBOOT; inline;
  10934. procedure setLTYPE; inline;
  10935. procedure setLVALID; inline;
  10936. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  10937. property LTAG : TBits_20 read getLTAG write setLTAG;
  10938. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  10939. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  10940. property LVALID : TBits_1 read getLVALID write setLVALID;
  10941. property w : TBits_32 read getw write setw;
  10942. end;
  10943. type
  10944. TPCACHERegisters = record
  10945. CHECONbits : TPCACHE_CHECON;
  10946. CHECON : longWord;
  10947. CHECONCLR : longWord;
  10948. CHECONSET : longWord;
  10949. CHECONINV : longWord;
  10950. CHEACC : longWord;
  10951. CHEACCCLR : longWord;
  10952. CHEACCSET : longWord;
  10953. CHEACCINV : longWord;
  10954. CHETAGbits : TPCACHE_CHETAG;
  10955. CHETAG : longWord;
  10956. CHETAGCLR : longWord;
  10957. CHETAGSET : longWord;
  10958. CHETAGINV : longWord;
  10959. CHEMSK : longWord;
  10960. CHEMSKCLR : longWord;
  10961. CHEMSKSET : longWord;
  10962. CHEMSKINV : longWord;
  10963. CHEW0 : longWord;
  10964. CHEW1 : longWord;
  10965. CHEW2 : longWord;
  10966. CHEW3 : longWord;
  10967. CHELRU : longWord;
  10968. CHEHIT : longWord;
  10969. CHEMIS : longWord;
  10970. CHEPFABT : longWord;
  10971. end;
  10972. TUSB_U1IR = record
  10973. private
  10974. function getATTACHIF : TBits_1; inline;
  10975. function getDETACHIF : TBits_1; inline;
  10976. function getIDLEIF : TBits_1; inline;
  10977. function getRESUMEIF : TBits_1; inline;
  10978. function getSOFIF : TBits_1; inline;
  10979. function getSTALLIF : TBits_1; inline;
  10980. function getTRNIF : TBits_1; inline;
  10981. function getUERRIF : TBits_1; inline;
  10982. function getURSTIF : TBits_1; inline;
  10983. function getURSTIF_DETACHIF : TBits_1; inline;
  10984. procedure setATTACHIF(thebits : TBits_1); inline;
  10985. procedure setDETACHIF(thebits : TBits_1); inline;
  10986. procedure setIDLEIF(thebits : TBits_1); inline;
  10987. procedure setRESUMEIF(thebits : TBits_1); inline;
  10988. procedure setSOFIF(thebits : TBits_1); inline;
  10989. procedure setSTALLIF(thebits : TBits_1); inline;
  10990. procedure setTRNIF(thebits : TBits_1); inline;
  10991. procedure setUERRIF(thebits : TBits_1); inline;
  10992. procedure setURSTIF(thebits : TBits_1); inline;
  10993. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  10994. public
  10995. procedure clearATTACHIF; inline;
  10996. procedure clearDETACHIF; inline;
  10997. procedure clearIDLEIF; inline;
  10998. procedure clearRESUMEIF; inline;
  10999. procedure clearSOFIF; inline;
  11000. procedure clearSTALLIF; inline;
  11001. procedure clearTRNIF; inline;
  11002. procedure clearUERRIF; inline;
  11003. procedure clearURSTIF; inline;
  11004. procedure clearURSTIF_DETACHIF; inline;
  11005. procedure setATTACHIF; inline;
  11006. procedure setDETACHIF; inline;
  11007. procedure setIDLEIF; inline;
  11008. procedure setRESUMEIF; inline;
  11009. procedure setSOFIF; inline;
  11010. procedure setSTALLIF; inline;
  11011. procedure setTRNIF; inline;
  11012. procedure setUERRIF; inline;
  11013. procedure setURSTIF; inline;
  11014. procedure setURSTIF_DETACHIF; inline;
  11015. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  11016. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  11017. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  11018. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  11019. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  11020. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  11021. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  11022. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  11023. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  11024. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  11025. end;
  11026. TUSB_U1IE = record
  11027. private
  11028. function getATTACHIE : TBits_1; inline;
  11029. function getDETACHIE : TBits_1; inline;
  11030. function getIDLEIE : TBits_1; inline;
  11031. function getRESUMEIE : TBits_1; inline;
  11032. function getSOFIE : TBits_1; inline;
  11033. function getSTALLIE : TBits_1; inline;
  11034. function getTRNIE : TBits_1; inline;
  11035. function getUERRIE : TBits_1; inline;
  11036. function getURSTIE : TBits_1; inline;
  11037. function getURSTIE_DETACHIE : TBits_1; inline;
  11038. procedure setATTACHIE(thebits : TBits_1); inline;
  11039. procedure setDETACHIE(thebits : TBits_1); inline;
  11040. procedure setIDLEIE(thebits : TBits_1); inline;
  11041. procedure setRESUMEIE(thebits : TBits_1); inline;
  11042. procedure setSOFIE(thebits : TBits_1); inline;
  11043. procedure setSTALLIE(thebits : TBits_1); inline;
  11044. procedure setTRNIE(thebits : TBits_1); inline;
  11045. procedure setUERRIE(thebits : TBits_1); inline;
  11046. procedure setURSTIE(thebits : TBits_1); inline;
  11047. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  11048. public
  11049. procedure clearATTACHIE; inline;
  11050. procedure clearDETACHIE; inline;
  11051. procedure clearIDLEIE; inline;
  11052. procedure clearRESUMEIE; inline;
  11053. procedure clearSOFIE; inline;
  11054. procedure clearSTALLIE; inline;
  11055. procedure clearTRNIE; inline;
  11056. procedure clearUERRIE; inline;
  11057. procedure clearURSTIE; inline;
  11058. procedure clearURSTIE_DETACHIE; inline;
  11059. procedure setATTACHIE; inline;
  11060. procedure setDETACHIE; inline;
  11061. procedure setIDLEIE; inline;
  11062. procedure setRESUMEIE; inline;
  11063. procedure setSOFIE; inline;
  11064. procedure setSTALLIE; inline;
  11065. procedure setTRNIE; inline;
  11066. procedure setUERRIE; inline;
  11067. procedure setURSTIE; inline;
  11068. procedure setURSTIE_DETACHIE; inline;
  11069. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  11070. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  11071. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  11072. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  11073. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  11074. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  11075. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  11076. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  11077. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  11078. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  11079. end;
  11080. TUSB_U1EIR = record
  11081. private
  11082. function getBMXEF : TBits_1; inline;
  11083. function getBTOEF : TBits_1; inline;
  11084. function getBTSEF : TBits_1; inline;
  11085. function getCRC16EF : TBits_1; inline;
  11086. function getCRC5EF : TBits_1; inline;
  11087. function getCRC5EF_EOFEF : TBits_1; inline;
  11088. function getDFN8EF : TBits_1; inline;
  11089. function getDMAEF : TBits_1; inline;
  11090. function getEOFEF : TBits_1; inline;
  11091. function getPIDEF : TBits_1; inline;
  11092. procedure setBMXEF(thebits : TBits_1); inline;
  11093. procedure setBTOEF(thebits : TBits_1); inline;
  11094. procedure setBTSEF(thebits : TBits_1); inline;
  11095. procedure setCRC16EF(thebits : TBits_1); inline;
  11096. procedure setCRC5EF(thebits : TBits_1); inline;
  11097. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  11098. procedure setDFN8EF(thebits : TBits_1); inline;
  11099. procedure setDMAEF(thebits : TBits_1); inline;
  11100. procedure setEOFEF(thebits : TBits_1); inline;
  11101. procedure setPIDEF(thebits : TBits_1); inline;
  11102. public
  11103. procedure clearBMXEF; inline;
  11104. procedure clearBTOEF; inline;
  11105. procedure clearBTSEF; inline;
  11106. procedure clearCRC16EF; inline;
  11107. procedure clearCRC5EF; inline;
  11108. procedure clearCRC5EF_EOFEF; inline;
  11109. procedure clearDFN8EF; inline;
  11110. procedure clearDMAEF; inline;
  11111. procedure clearEOFEF; inline;
  11112. procedure clearPIDEF; inline;
  11113. procedure setBMXEF; inline;
  11114. procedure setBTOEF; inline;
  11115. procedure setBTSEF; inline;
  11116. procedure setCRC16EF; inline;
  11117. procedure setCRC5EF; inline;
  11118. procedure setCRC5EF_EOFEF; inline;
  11119. procedure setDFN8EF; inline;
  11120. procedure setDMAEF; inline;
  11121. procedure setEOFEF; inline;
  11122. procedure setPIDEF; inline;
  11123. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  11124. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  11125. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  11126. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  11127. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  11128. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  11129. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  11130. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  11131. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  11132. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  11133. end;
  11134. TUSB_U1EIE = record
  11135. private
  11136. function getBMXEE : TBits_1; inline;
  11137. function getBTOEE : TBits_1; inline;
  11138. function getBTSEE : TBits_1; inline;
  11139. function getCRC16EE : TBits_1; inline;
  11140. function getCRC5EE : TBits_1; inline;
  11141. function getCRC5EE_EOFEE : TBits_1; inline;
  11142. function getDFN8EE : TBits_1; inline;
  11143. function getDMAEE : TBits_1; inline;
  11144. function getEOFEE : TBits_1; inline;
  11145. function getPIDEE : TBits_1; inline;
  11146. procedure setBMXEE(thebits : TBits_1); inline;
  11147. procedure setBTOEE(thebits : TBits_1); inline;
  11148. procedure setBTSEE(thebits : TBits_1); inline;
  11149. procedure setCRC16EE(thebits : TBits_1); inline;
  11150. procedure setCRC5EE(thebits : TBits_1); inline;
  11151. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  11152. procedure setDFN8EE(thebits : TBits_1); inline;
  11153. procedure setDMAEE(thebits : TBits_1); inline;
  11154. procedure setEOFEE(thebits : TBits_1); inline;
  11155. procedure setPIDEE(thebits : TBits_1); inline;
  11156. public
  11157. procedure clearBMXEE; inline;
  11158. procedure clearBTOEE; inline;
  11159. procedure clearBTSEE; inline;
  11160. procedure clearCRC16EE; inline;
  11161. procedure clearCRC5EE; inline;
  11162. procedure clearCRC5EE_EOFEE; inline;
  11163. procedure clearDFN8EE; inline;
  11164. procedure clearDMAEE; inline;
  11165. procedure clearEOFEE; inline;
  11166. procedure clearPIDEE; inline;
  11167. procedure setBMXEE; inline;
  11168. procedure setBTOEE; inline;
  11169. procedure setBTSEE; inline;
  11170. procedure setCRC16EE; inline;
  11171. procedure setCRC5EE; inline;
  11172. procedure setCRC5EE_EOFEE; inline;
  11173. procedure setDFN8EE; inline;
  11174. procedure setDMAEE; inline;
  11175. procedure setEOFEE; inline;
  11176. procedure setPIDEE; inline;
  11177. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  11178. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  11179. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  11180. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  11181. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  11182. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  11183. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  11184. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  11185. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  11186. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  11187. end;
  11188. TUSB_U1STAT = record
  11189. private
  11190. function getDIR : TBits_1; inline;
  11191. function getENDPT : TBits_4; inline;
  11192. function getENDPT0 : TBits_1; inline;
  11193. function getENDPT1 : TBits_1; inline;
  11194. function getENDPT2 : TBits_1; inline;
  11195. function getENDPT3 : TBits_1; inline;
  11196. function getPPBI : TBits_1; inline;
  11197. procedure setDIR(thebits : TBits_1); inline;
  11198. procedure setENDPT(thebits : TBits_4); inline;
  11199. procedure setENDPT0(thebits : TBits_1); inline;
  11200. procedure setENDPT1(thebits : TBits_1); inline;
  11201. procedure setENDPT2(thebits : TBits_1); inline;
  11202. procedure setENDPT3(thebits : TBits_1); inline;
  11203. procedure setPPBI(thebits : TBits_1); inline;
  11204. public
  11205. procedure clearDIR; inline;
  11206. procedure clearENDPT0; inline;
  11207. procedure clearENDPT1; inline;
  11208. procedure clearENDPT2; inline;
  11209. procedure clearENDPT3; inline;
  11210. procedure clearPPBI; inline;
  11211. procedure setDIR; inline;
  11212. procedure setENDPT0; inline;
  11213. procedure setENDPT1; inline;
  11214. procedure setENDPT2; inline;
  11215. procedure setENDPT3; inline;
  11216. procedure setPPBI; inline;
  11217. property DIR : TBits_1 read getDIR write setDIR;
  11218. property ENDPT : TBits_4 read getENDPT write setENDPT;
  11219. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  11220. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  11221. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  11222. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  11223. property PPBI : TBits_1 read getPPBI write setPPBI;
  11224. end;
  11225. TUSB_U1CON = record
  11226. private
  11227. function getHOSTEN : TBits_1; inline;
  11228. function getJSTATE : TBits_1; inline;
  11229. function getPKTDIS : TBits_1; inline;
  11230. function getPKTDIS_TOKBUSY : TBits_1; inline;
  11231. function getPPBRST : TBits_1; inline;
  11232. function getRESUME : TBits_1; inline;
  11233. function getSE0 : TBits_1; inline;
  11234. function getSOFEN : TBits_1; inline;
  11235. function getTOKBUSY : TBits_1; inline;
  11236. function getUSBEN : TBits_1; inline;
  11237. function getUSBEN_SOFEN : TBits_1; inline;
  11238. function getUSBRST : TBits_1; inline;
  11239. procedure setHOSTEN(thebits : TBits_1); inline;
  11240. procedure setJSTATE(thebits : TBits_1); inline;
  11241. procedure setPKTDIS(thebits : TBits_1); inline;
  11242. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  11243. procedure setPPBRST(thebits : TBits_1); inline;
  11244. procedure setRESUME(thebits : TBits_1); inline;
  11245. procedure setSE0(thebits : TBits_1); inline;
  11246. procedure setSOFEN(thebits : TBits_1); inline;
  11247. procedure setTOKBUSY(thebits : TBits_1); inline;
  11248. procedure setUSBEN(thebits : TBits_1); inline;
  11249. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  11250. procedure setUSBRST(thebits : TBits_1); inline;
  11251. public
  11252. procedure clearHOSTEN; inline;
  11253. procedure clearJSTATE; inline;
  11254. procedure clearPKTDIS; inline;
  11255. procedure clearPKTDIS_TOKBUSY; inline;
  11256. procedure clearPPBRST; inline;
  11257. procedure clearRESUME; inline;
  11258. procedure clearSE0; inline;
  11259. procedure clearSOFEN; inline;
  11260. procedure clearTOKBUSY; inline;
  11261. procedure clearUSBEN; inline;
  11262. procedure clearUSBEN_SOFEN; inline;
  11263. procedure clearUSBRST; inline;
  11264. procedure setHOSTEN; inline;
  11265. procedure setJSTATE; inline;
  11266. procedure setPKTDIS; inline;
  11267. procedure setPKTDIS_TOKBUSY; inline;
  11268. procedure setPPBRST; inline;
  11269. procedure setRESUME; inline;
  11270. procedure setSE0; inline;
  11271. procedure setSOFEN; inline;
  11272. procedure setTOKBUSY; inline;
  11273. procedure setUSBEN; inline;
  11274. procedure setUSBEN_SOFEN; inline;
  11275. procedure setUSBRST; inline;
  11276. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  11277. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  11278. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  11279. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  11280. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  11281. property RESUME : TBits_1 read getRESUME write setRESUME;
  11282. property SE0 : TBits_1 read getSE0 write setSE0;
  11283. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  11284. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  11285. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  11286. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  11287. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  11288. end;
  11289. TUSB_U1ADDR = record
  11290. private
  11291. function getDEVADDR : TBits_7; inline;
  11292. function getDEVADDR0 : TBits_1; inline;
  11293. function getDEVADDR1 : TBits_1; inline;
  11294. function getDEVADDR2 : TBits_1; inline;
  11295. function getDEVADDR3 : TBits_1; inline;
  11296. function getDEVADDR4 : TBits_1; inline;
  11297. function getDEVADDR5 : TBits_1; inline;
  11298. function getDEVADDR6 : TBits_1; inline;
  11299. function getLSPDEN : TBits_1; inline;
  11300. procedure setDEVADDR(thebits : TBits_7); inline;
  11301. procedure setDEVADDR0(thebits : TBits_1); inline;
  11302. procedure setDEVADDR1(thebits : TBits_1); inline;
  11303. procedure setDEVADDR2(thebits : TBits_1); inline;
  11304. procedure setDEVADDR3(thebits : TBits_1); inline;
  11305. procedure setDEVADDR4(thebits : TBits_1); inline;
  11306. procedure setDEVADDR5(thebits : TBits_1); inline;
  11307. procedure setDEVADDR6(thebits : TBits_1); inline;
  11308. procedure setLSPDEN(thebits : TBits_1); inline;
  11309. public
  11310. procedure clearDEVADDR0; inline;
  11311. procedure clearDEVADDR1; inline;
  11312. procedure clearDEVADDR2; inline;
  11313. procedure clearDEVADDR3; inline;
  11314. procedure clearDEVADDR4; inline;
  11315. procedure clearDEVADDR5; inline;
  11316. procedure clearDEVADDR6; inline;
  11317. procedure clearLSPDEN; inline;
  11318. procedure setDEVADDR0; inline;
  11319. procedure setDEVADDR1; inline;
  11320. procedure setDEVADDR2; inline;
  11321. procedure setDEVADDR3; inline;
  11322. procedure setDEVADDR4; inline;
  11323. procedure setDEVADDR5; inline;
  11324. procedure setDEVADDR6; inline;
  11325. procedure setLSPDEN; inline;
  11326. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  11327. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  11328. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  11329. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  11330. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  11331. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  11332. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  11333. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  11334. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  11335. end;
  11336. TUSB_U1FRML = record
  11337. private
  11338. function getFRM0 : TBits_1; inline;
  11339. function getFRM1 : TBits_1; inline;
  11340. function getFRM2 : TBits_1; inline;
  11341. function getFRM3 : TBits_1; inline;
  11342. function getFRM4 : TBits_1; inline;
  11343. function getFRM5 : TBits_1; inline;
  11344. function getFRM6 : TBits_1; inline;
  11345. function getFRM7 : TBits_1; inline;
  11346. function getFRML : TBits_8; inline;
  11347. procedure setFRM0(thebits : TBits_1); inline;
  11348. procedure setFRM1(thebits : TBits_1); inline;
  11349. procedure setFRM2(thebits : TBits_1); inline;
  11350. procedure setFRM3(thebits : TBits_1); inline;
  11351. procedure setFRM4(thebits : TBits_1); inline;
  11352. procedure setFRM5(thebits : TBits_1); inline;
  11353. procedure setFRM6(thebits : TBits_1); inline;
  11354. procedure setFRM7(thebits : TBits_1); inline;
  11355. procedure setFRML(thebits : TBits_8); inline;
  11356. public
  11357. procedure clearFRM0; inline;
  11358. procedure clearFRM1; inline;
  11359. procedure clearFRM2; inline;
  11360. procedure clearFRM3; inline;
  11361. procedure clearFRM4; inline;
  11362. procedure clearFRM5; inline;
  11363. procedure clearFRM6; inline;
  11364. procedure clearFRM7; inline;
  11365. procedure setFRM0; inline;
  11366. procedure setFRM1; inline;
  11367. procedure setFRM2; inline;
  11368. procedure setFRM3; inline;
  11369. procedure setFRM4; inline;
  11370. procedure setFRM5; inline;
  11371. procedure setFRM6; inline;
  11372. procedure setFRM7; inline;
  11373. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  11374. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  11375. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  11376. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  11377. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  11378. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  11379. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  11380. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  11381. property FRML : TBits_8 read getFRML write setFRML;
  11382. end;
  11383. TUSB_U1FRMH = record
  11384. private
  11385. function getFRM10 : TBits_1; inline;
  11386. function getFRM8 : TBits_1; inline;
  11387. function getFRM9 : TBits_1; inline;
  11388. function getFRMH : TBits_3; inline;
  11389. procedure setFRM10(thebits : TBits_1); inline;
  11390. procedure setFRM8(thebits : TBits_1); inline;
  11391. procedure setFRM9(thebits : TBits_1); inline;
  11392. procedure setFRMH(thebits : TBits_3); inline;
  11393. public
  11394. procedure clearFRM10; inline;
  11395. procedure clearFRM8; inline;
  11396. procedure clearFRM9; inline;
  11397. procedure setFRM10; inline;
  11398. procedure setFRM8; inline;
  11399. procedure setFRM9; inline;
  11400. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  11401. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  11402. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  11403. property FRMH : TBits_3 read getFRMH write setFRMH;
  11404. end;
  11405. TUSB_U1TOK = record
  11406. private
  11407. function getEP : TBits_4; inline;
  11408. function getEP0 : TBits_1; inline;
  11409. function getEP1 : TBits_1; inline;
  11410. function getEP2 : TBits_1; inline;
  11411. function getEP3 : TBits_1; inline;
  11412. function getPID : TBits_4; inline;
  11413. function getPID0 : TBits_1; inline;
  11414. function getPID1 : TBits_1; inline;
  11415. function getPID2 : TBits_1; inline;
  11416. function getPID3 : TBits_1; inline;
  11417. procedure setEP(thebits : TBits_4); inline;
  11418. procedure setEP0(thebits : TBits_1); inline;
  11419. procedure setEP1(thebits : TBits_1); inline;
  11420. procedure setEP2(thebits : TBits_1); inline;
  11421. procedure setEP3(thebits : TBits_1); inline;
  11422. procedure setPID(thebits : TBits_4); inline;
  11423. procedure setPID0(thebits : TBits_1); inline;
  11424. procedure setPID1(thebits : TBits_1); inline;
  11425. procedure setPID2(thebits : TBits_1); inline;
  11426. procedure setPID3(thebits : TBits_1); inline;
  11427. public
  11428. procedure clearEP0; inline;
  11429. procedure clearEP1; inline;
  11430. procedure clearEP2; inline;
  11431. procedure clearEP3; inline;
  11432. procedure clearPID0; inline;
  11433. procedure clearPID1; inline;
  11434. procedure clearPID2; inline;
  11435. procedure clearPID3; inline;
  11436. procedure setEP0; inline;
  11437. procedure setEP1; inline;
  11438. procedure setEP2; inline;
  11439. procedure setEP3; inline;
  11440. procedure setPID0; inline;
  11441. procedure setPID1; inline;
  11442. procedure setPID2; inline;
  11443. procedure setPID3; inline;
  11444. property EP : TBits_4 read getEP write setEP;
  11445. property EP0 : TBits_1 read getEP0 write setEP0;
  11446. property EP1 : TBits_1 read getEP1 write setEP1;
  11447. property EP2 : TBits_1 read getEP2 write setEP2;
  11448. property EP3 : TBits_1 read getEP3 write setEP3;
  11449. property PID : TBits_4 read getPID write setPID;
  11450. property PID0 : TBits_1 read getPID0 write setPID0;
  11451. property PID1 : TBits_1 read getPID1 write setPID1;
  11452. property PID2 : TBits_1 read getPID2 write setPID2;
  11453. property PID3 : TBits_1 read getPID3 write setPID3;
  11454. end;
  11455. type
  11456. TUSBRegisters = record
  11457. U1OTGIR : longWord;
  11458. U1OTGIRCLR : longWord;
  11459. U1OTGIE : longWord;
  11460. U1OTGIECLR : longWord;
  11461. U1OTGIESET : longWord;
  11462. U1OTGIEINV : longWord;
  11463. U1OTGSTAT : longWord;
  11464. U1OTGCON : longWord;
  11465. U1OTGCONCLR : longWord;
  11466. U1OTGCONSET : longWord;
  11467. U1OTGCONINV : longWord;
  11468. U1PWRC : longWord;
  11469. U1PWRCCLR : longWord;
  11470. U1PWRCSET : longWord;
  11471. U1PWRCINV : longWord;
  11472. U1IRbits : TUSB_U1IR;
  11473. U1IR : longWord;
  11474. U1IRCLR : longWord;
  11475. U1IEbits : TUSB_U1IE;
  11476. U1IE : longWord;
  11477. U1IECLR : longWord;
  11478. U1IESET : longWord;
  11479. U1IEINV : longWord;
  11480. U1EIRbits : TUSB_U1EIR;
  11481. U1EIR : longWord;
  11482. U1EIRCLR : longWord;
  11483. U1EIEbits : TUSB_U1EIE;
  11484. U1EIE : longWord;
  11485. U1EIECLR : longWord;
  11486. U1EIESET : longWord;
  11487. U1EIEINV : longWord;
  11488. U1STATbits : TUSB_U1STAT;
  11489. U1STAT : longWord;
  11490. U1CONbits : TUSB_U1CON;
  11491. U1CON : longWord;
  11492. U1CONCLR : longWord;
  11493. U1CONSET : longWord;
  11494. U1CONINV : longWord;
  11495. U1ADDRbits : TUSB_U1ADDR;
  11496. U1ADDR : longWord;
  11497. U1ADDRCLR : longWord;
  11498. U1ADDRSET : longWord;
  11499. U1ADDRINV : longWord;
  11500. U1BDTP1 : longWord;
  11501. U1BDTP1CLR : longWord;
  11502. U1BDTP1SET : longWord;
  11503. U1BDTP1INV : longWord;
  11504. U1FRMLbits : TUSB_U1FRML;
  11505. U1FRML : longWord;
  11506. U1FRMHbits : TUSB_U1FRMH;
  11507. U1FRMH : longWord;
  11508. U1TOKbits : TUSB_U1TOK;
  11509. U1TOK : longWord;
  11510. U1TOKCLR : longWord;
  11511. U1TOKSET : longWord;
  11512. U1TOKINV : longWord;
  11513. U1SOF : longWord;
  11514. U1SOFCLR : longWord;
  11515. U1SOFSET : longWord;
  11516. U1SOFINV : longWord;
  11517. U1BDTP2 : longWord;
  11518. U1BDTP2CLR : longWord;
  11519. U1BDTP2SET : longWord;
  11520. U1BDTP2INV : longWord;
  11521. U1BDTP3 : longWord;
  11522. U1BDTP3CLR : longWord;
  11523. U1BDTP3SET : longWord;
  11524. U1BDTP3INV : longWord;
  11525. U1CNFG1 : longWord;
  11526. U1CNFG1CLR : longWord;
  11527. U1CNFG1SET : longWord;
  11528. U1CNFG1INV : longWord;
  11529. U1EP0 : longWord;
  11530. U1EP0CLR : longWord;
  11531. U1EP0SET : longWord;
  11532. U1EP0INV : longWord;
  11533. U1EP1 : longWord;
  11534. U1EP1CLR : longWord;
  11535. U1EP1SET : longWord;
  11536. U1EP1INV : longWord;
  11537. U1EP2 : longWord;
  11538. U1EP2CLR : longWord;
  11539. U1EP2SET : longWord;
  11540. U1EP2INV : longWord;
  11541. U1EP3 : longWord;
  11542. U1EP3CLR : longWord;
  11543. U1EP3SET : longWord;
  11544. U1EP3INV : longWord;
  11545. U1EP4 : longWord;
  11546. U1EP4CLR : longWord;
  11547. U1EP4SET : longWord;
  11548. U1EP4INV : longWord;
  11549. U1EP5 : longWord;
  11550. U1EP5CLR : longWord;
  11551. U1EP5SET : longWord;
  11552. U1EP5INV : longWord;
  11553. U1EP6 : longWord;
  11554. U1EP6CLR : longWord;
  11555. U1EP6SET : longWord;
  11556. U1EP6INV : longWord;
  11557. U1EP7 : longWord;
  11558. U1EP7CLR : longWord;
  11559. U1EP7SET : longWord;
  11560. U1EP7INV : longWord;
  11561. U1EP8 : longWord;
  11562. U1EP8CLR : longWord;
  11563. U1EP8SET : longWord;
  11564. U1EP8INV : longWord;
  11565. U1EP9 : longWord;
  11566. U1EP9CLR : longWord;
  11567. U1EP9SET : longWord;
  11568. U1EP9INV : longWord;
  11569. U1EP10 : longWord;
  11570. U1EP10CLR : longWord;
  11571. U1EP10SET : longWord;
  11572. U1EP10INV : longWord;
  11573. U1EP11 : longWord;
  11574. U1EP11CLR : longWord;
  11575. U1EP11SET : longWord;
  11576. U1EP11INV : longWord;
  11577. U1EP12 : longWord;
  11578. U1EP12CLR : longWord;
  11579. U1EP12SET : longWord;
  11580. U1EP12INV : longWord;
  11581. U1EP13 : longWord;
  11582. U1EP13CLR : longWord;
  11583. U1EP13SET : longWord;
  11584. U1EP13INV : longWord;
  11585. U1EP14 : longWord;
  11586. U1EP14CLR : longWord;
  11587. U1EP14SET : longWord;
  11588. U1EP14INV : longWord;
  11589. U1EP15 : longWord;
  11590. U1EP15CLR : longWord;
  11591. U1EP15SET : longWord;
  11592. U1EP15INV : longWord;
  11593. end;
  11594. TPORTB_TRISB = record
  11595. private
  11596. function getTRISB0 : TBits_1; inline;
  11597. function getTRISB1 : TBits_1; inline;
  11598. function getTRISB10 : TBits_1; inline;
  11599. function getTRISB11 : TBits_1; inline;
  11600. function getTRISB12 : TBits_1; inline;
  11601. function getTRISB13 : TBits_1; inline;
  11602. function getTRISB14 : TBits_1; inline;
  11603. function getTRISB15 : TBits_1; inline;
  11604. function getTRISB2 : TBits_1; inline;
  11605. function getTRISB3 : TBits_1; inline;
  11606. function getTRISB4 : TBits_1; inline;
  11607. function getTRISB5 : TBits_1; inline;
  11608. function getTRISB6 : TBits_1; inline;
  11609. function getTRISB7 : TBits_1; inline;
  11610. function getTRISB8 : TBits_1; inline;
  11611. function getTRISB9 : TBits_1; inline;
  11612. function getw : TBits_32; inline;
  11613. procedure setTRISB0(thebits : TBits_1); inline;
  11614. procedure setTRISB1(thebits : TBits_1); inline;
  11615. procedure setTRISB10(thebits : TBits_1); inline;
  11616. procedure setTRISB11(thebits : TBits_1); inline;
  11617. procedure setTRISB12(thebits : TBits_1); inline;
  11618. procedure setTRISB13(thebits : TBits_1); inline;
  11619. procedure setTRISB14(thebits : TBits_1); inline;
  11620. procedure setTRISB15(thebits : TBits_1); inline;
  11621. procedure setTRISB2(thebits : TBits_1); inline;
  11622. procedure setTRISB3(thebits : TBits_1); inline;
  11623. procedure setTRISB4(thebits : TBits_1); inline;
  11624. procedure setTRISB5(thebits : TBits_1); inline;
  11625. procedure setTRISB6(thebits : TBits_1); inline;
  11626. procedure setTRISB7(thebits : TBits_1); inline;
  11627. procedure setTRISB8(thebits : TBits_1); inline;
  11628. procedure setTRISB9(thebits : TBits_1); inline;
  11629. procedure setw(thebits : TBits_32); inline;
  11630. public
  11631. procedure clearTRISB0; inline;
  11632. procedure clearTRISB10; inline;
  11633. procedure clearTRISB11; inline;
  11634. procedure clearTRISB12; inline;
  11635. procedure clearTRISB13; inline;
  11636. procedure clearTRISB14; inline;
  11637. procedure clearTRISB15; inline;
  11638. procedure clearTRISB1; inline;
  11639. procedure clearTRISB2; inline;
  11640. procedure clearTRISB3; inline;
  11641. procedure clearTRISB4; inline;
  11642. procedure clearTRISB5; inline;
  11643. procedure clearTRISB6; inline;
  11644. procedure clearTRISB7; inline;
  11645. procedure clearTRISB8; inline;
  11646. procedure clearTRISB9; inline;
  11647. procedure setTRISB0; inline;
  11648. procedure setTRISB10; inline;
  11649. procedure setTRISB11; inline;
  11650. procedure setTRISB12; inline;
  11651. procedure setTRISB13; inline;
  11652. procedure setTRISB14; inline;
  11653. procedure setTRISB15; inline;
  11654. procedure setTRISB1; inline;
  11655. procedure setTRISB2; inline;
  11656. procedure setTRISB3; inline;
  11657. procedure setTRISB4; inline;
  11658. procedure setTRISB5; inline;
  11659. procedure setTRISB6; inline;
  11660. procedure setTRISB7; inline;
  11661. procedure setTRISB8; inline;
  11662. procedure setTRISB9; inline;
  11663. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  11664. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  11665. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  11666. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  11667. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  11668. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  11669. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  11670. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  11671. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  11672. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  11673. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  11674. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  11675. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  11676. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  11677. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  11678. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  11679. property w : TBits_32 read getw write setw;
  11680. end;
  11681. TPORTB_PORTB = record
  11682. private
  11683. function getRB0 : TBits_1; inline;
  11684. function getRB1 : TBits_1; inline;
  11685. function getRB10 : TBits_1; inline;
  11686. function getRB11 : TBits_1; inline;
  11687. function getRB12 : TBits_1; inline;
  11688. function getRB13 : TBits_1; inline;
  11689. function getRB14 : TBits_1; inline;
  11690. function getRB15 : TBits_1; inline;
  11691. function getRB2 : TBits_1; inline;
  11692. function getRB3 : TBits_1; inline;
  11693. function getRB4 : TBits_1; inline;
  11694. function getRB5 : TBits_1; inline;
  11695. function getRB6 : TBits_1; inline;
  11696. function getRB7 : TBits_1; inline;
  11697. function getRB8 : TBits_1; inline;
  11698. function getRB9 : TBits_1; inline;
  11699. function getw : TBits_32; inline;
  11700. procedure setRB0(thebits : TBits_1); inline;
  11701. procedure setRB1(thebits : TBits_1); inline;
  11702. procedure setRB10(thebits : TBits_1); inline;
  11703. procedure setRB11(thebits : TBits_1); inline;
  11704. procedure setRB12(thebits : TBits_1); inline;
  11705. procedure setRB13(thebits : TBits_1); inline;
  11706. procedure setRB14(thebits : TBits_1); inline;
  11707. procedure setRB15(thebits : TBits_1); inline;
  11708. procedure setRB2(thebits : TBits_1); inline;
  11709. procedure setRB3(thebits : TBits_1); inline;
  11710. procedure setRB4(thebits : TBits_1); inline;
  11711. procedure setRB5(thebits : TBits_1); inline;
  11712. procedure setRB6(thebits : TBits_1); inline;
  11713. procedure setRB7(thebits : TBits_1); inline;
  11714. procedure setRB8(thebits : TBits_1); inline;
  11715. procedure setRB9(thebits : TBits_1); inline;
  11716. procedure setw(thebits : TBits_32); inline;
  11717. public
  11718. procedure clearRB0; inline;
  11719. procedure clearRB10; inline;
  11720. procedure clearRB11; inline;
  11721. procedure clearRB12; inline;
  11722. procedure clearRB13; inline;
  11723. procedure clearRB14; inline;
  11724. procedure clearRB15; inline;
  11725. procedure clearRB1; inline;
  11726. procedure clearRB2; inline;
  11727. procedure clearRB3; inline;
  11728. procedure clearRB4; inline;
  11729. procedure clearRB5; inline;
  11730. procedure clearRB6; inline;
  11731. procedure clearRB7; inline;
  11732. procedure clearRB8; inline;
  11733. procedure clearRB9; inline;
  11734. procedure setRB0; inline;
  11735. procedure setRB10; inline;
  11736. procedure setRB11; inline;
  11737. procedure setRB12; inline;
  11738. procedure setRB13; inline;
  11739. procedure setRB14; inline;
  11740. procedure setRB15; inline;
  11741. procedure setRB1; inline;
  11742. procedure setRB2; inline;
  11743. procedure setRB3; inline;
  11744. procedure setRB4; inline;
  11745. procedure setRB5; inline;
  11746. procedure setRB6; inline;
  11747. procedure setRB7; inline;
  11748. procedure setRB8; inline;
  11749. procedure setRB9; inline;
  11750. property RB0 : TBits_1 read getRB0 write setRB0;
  11751. property RB1 : TBits_1 read getRB1 write setRB1;
  11752. property RB10 : TBits_1 read getRB10 write setRB10;
  11753. property RB11 : TBits_1 read getRB11 write setRB11;
  11754. property RB12 : TBits_1 read getRB12 write setRB12;
  11755. property RB13 : TBits_1 read getRB13 write setRB13;
  11756. property RB14 : TBits_1 read getRB14 write setRB14;
  11757. property RB15 : TBits_1 read getRB15 write setRB15;
  11758. property RB2 : TBits_1 read getRB2 write setRB2;
  11759. property RB3 : TBits_1 read getRB3 write setRB3;
  11760. property RB4 : TBits_1 read getRB4 write setRB4;
  11761. property RB5 : TBits_1 read getRB5 write setRB5;
  11762. property RB6 : TBits_1 read getRB6 write setRB6;
  11763. property RB7 : TBits_1 read getRB7 write setRB7;
  11764. property RB8 : TBits_1 read getRB8 write setRB8;
  11765. property RB9 : TBits_1 read getRB9 write setRB9;
  11766. property w : TBits_32 read getw write setw;
  11767. end;
  11768. 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);
  11769. TPortB_bitset = set of TPortB_bits;
  11770. TPORTB_LATB = record
  11771. private
  11772. function getLATB0 : TBits_1; inline;
  11773. function getLATB1 : TBits_1; inline;
  11774. function getLATB10 : TBits_1; inline;
  11775. function getLATB11 : TBits_1; inline;
  11776. function getLATB12 : TBits_1; inline;
  11777. function getLATB13 : TBits_1; inline;
  11778. function getLATB14 : TBits_1; inline;
  11779. function getLATB15 : TBits_1; inline;
  11780. function getLATB2 : TBits_1; inline;
  11781. function getLATB3 : TBits_1; inline;
  11782. function getLATB4 : TBits_1; inline;
  11783. function getLATB5 : TBits_1; inline;
  11784. function getLATB6 : TBits_1; inline;
  11785. function getLATB7 : TBits_1; inline;
  11786. function getLATB8 : TBits_1; inline;
  11787. function getLATB9 : TBits_1; inline;
  11788. function getw : TBits_32; inline;
  11789. procedure setLATB0(thebits : TBits_1); inline;
  11790. procedure setLATB1(thebits : TBits_1); inline;
  11791. procedure setLATB10(thebits : TBits_1); inline;
  11792. procedure setLATB11(thebits : TBits_1); inline;
  11793. procedure setLATB12(thebits : TBits_1); inline;
  11794. procedure setLATB13(thebits : TBits_1); inline;
  11795. procedure setLATB14(thebits : TBits_1); inline;
  11796. procedure setLATB15(thebits : TBits_1); inline;
  11797. procedure setLATB2(thebits : TBits_1); inline;
  11798. procedure setLATB3(thebits : TBits_1); inline;
  11799. procedure setLATB4(thebits : TBits_1); inline;
  11800. procedure setLATB5(thebits : TBits_1); inline;
  11801. procedure setLATB6(thebits : TBits_1); inline;
  11802. procedure setLATB7(thebits : TBits_1); inline;
  11803. procedure setLATB8(thebits : TBits_1); inline;
  11804. procedure setLATB9(thebits : TBits_1); inline;
  11805. procedure setw(thebits : TBits_32); inline;
  11806. public
  11807. procedure clearLATB0; inline;
  11808. procedure clearLATB10; inline;
  11809. procedure clearLATB11; inline;
  11810. procedure clearLATB12; inline;
  11811. procedure clearLATB13; inline;
  11812. procedure clearLATB14; inline;
  11813. procedure clearLATB15; inline;
  11814. procedure clearLATB1; inline;
  11815. procedure clearLATB2; inline;
  11816. procedure clearLATB3; inline;
  11817. procedure clearLATB4; inline;
  11818. procedure clearLATB5; inline;
  11819. procedure clearLATB6; inline;
  11820. procedure clearLATB7; inline;
  11821. procedure clearLATB8; inline;
  11822. procedure clearLATB9; inline;
  11823. procedure setLATB0; inline;
  11824. procedure setLATB10; inline;
  11825. procedure setLATB11; inline;
  11826. procedure setLATB12; inline;
  11827. procedure setLATB13; inline;
  11828. procedure setLATB14; inline;
  11829. procedure setLATB15; inline;
  11830. procedure setLATB1; inline;
  11831. procedure setLATB2; inline;
  11832. procedure setLATB3; inline;
  11833. procedure setLATB4; inline;
  11834. procedure setLATB5; inline;
  11835. procedure setLATB6; inline;
  11836. procedure setLATB7; inline;
  11837. procedure setLATB8; inline;
  11838. procedure setLATB9; inline;
  11839. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  11840. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  11841. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  11842. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  11843. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  11844. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  11845. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  11846. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  11847. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  11848. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  11849. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  11850. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  11851. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  11852. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  11853. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  11854. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  11855. property w : TBits_32 read getw write setw;
  11856. end;
  11857. TPORTB_ODCB = record
  11858. private
  11859. function getODCB0 : TBits_1; inline;
  11860. function getODCB1 : TBits_1; inline;
  11861. function getODCB10 : TBits_1; inline;
  11862. function getODCB11 : TBits_1; inline;
  11863. function getODCB12 : TBits_1; inline;
  11864. function getODCB13 : TBits_1; inline;
  11865. function getODCB14 : TBits_1; inline;
  11866. function getODCB15 : TBits_1; inline;
  11867. function getODCB2 : TBits_1; inline;
  11868. function getODCB3 : TBits_1; inline;
  11869. function getODCB4 : TBits_1; inline;
  11870. function getODCB5 : TBits_1; inline;
  11871. function getODCB6 : TBits_1; inline;
  11872. function getODCB7 : TBits_1; inline;
  11873. function getODCB8 : TBits_1; inline;
  11874. function getODCB9 : TBits_1; inline;
  11875. function getw : TBits_32; inline;
  11876. procedure setODCB0(thebits : TBits_1); inline;
  11877. procedure setODCB1(thebits : TBits_1); inline;
  11878. procedure setODCB10(thebits : TBits_1); inline;
  11879. procedure setODCB11(thebits : TBits_1); inline;
  11880. procedure setODCB12(thebits : TBits_1); inline;
  11881. procedure setODCB13(thebits : TBits_1); inline;
  11882. procedure setODCB14(thebits : TBits_1); inline;
  11883. procedure setODCB15(thebits : TBits_1); inline;
  11884. procedure setODCB2(thebits : TBits_1); inline;
  11885. procedure setODCB3(thebits : TBits_1); inline;
  11886. procedure setODCB4(thebits : TBits_1); inline;
  11887. procedure setODCB5(thebits : TBits_1); inline;
  11888. procedure setODCB6(thebits : TBits_1); inline;
  11889. procedure setODCB7(thebits : TBits_1); inline;
  11890. procedure setODCB8(thebits : TBits_1); inline;
  11891. procedure setODCB9(thebits : TBits_1); inline;
  11892. procedure setw(thebits : TBits_32); inline;
  11893. public
  11894. procedure clearODCB0; inline;
  11895. procedure clearODCB10; inline;
  11896. procedure clearODCB11; inline;
  11897. procedure clearODCB12; inline;
  11898. procedure clearODCB13; inline;
  11899. procedure clearODCB14; inline;
  11900. procedure clearODCB15; inline;
  11901. procedure clearODCB1; inline;
  11902. procedure clearODCB2; inline;
  11903. procedure clearODCB3; inline;
  11904. procedure clearODCB4; inline;
  11905. procedure clearODCB5; inline;
  11906. procedure clearODCB6; inline;
  11907. procedure clearODCB7; inline;
  11908. procedure clearODCB8; inline;
  11909. procedure clearODCB9; inline;
  11910. procedure setODCB0; inline;
  11911. procedure setODCB10; inline;
  11912. procedure setODCB11; inline;
  11913. procedure setODCB12; inline;
  11914. procedure setODCB13; inline;
  11915. procedure setODCB14; inline;
  11916. procedure setODCB15; inline;
  11917. procedure setODCB1; inline;
  11918. procedure setODCB2; inline;
  11919. procedure setODCB3; inline;
  11920. procedure setODCB4; inline;
  11921. procedure setODCB5; inline;
  11922. procedure setODCB6; inline;
  11923. procedure setODCB7; inline;
  11924. procedure setODCB8; inline;
  11925. procedure setODCB9; inline;
  11926. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  11927. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  11928. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  11929. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  11930. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  11931. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  11932. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  11933. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  11934. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  11935. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  11936. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  11937. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  11938. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  11939. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  11940. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  11941. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  11942. property w : TBits_32 read getw write setw;
  11943. end;
  11944. type
  11945. TPORTBRegisters = record
  11946. TRISBbits : TPORTB_TRISB;
  11947. TRISB : longWord;
  11948. TRISBCLR : longWord;
  11949. TRISBSET : longWord;
  11950. TRISBINV : longWord;
  11951. PORTBbits : TPORTB_PORTB;
  11952. PORTB : longWord;
  11953. PORTBCLR : longWord;
  11954. PORTBSET : longWord;
  11955. PORTBINV : longWord;
  11956. LATBbits : TPORTB_LATB;
  11957. LATB : longWord;
  11958. LATBCLR : longWord;
  11959. LATBSET : longWord;
  11960. LATBINV : longWord;
  11961. ODCBbits : TPORTB_ODCB;
  11962. ODCB : longWord;
  11963. ODCBCLR : longWord;
  11964. ODCBSET : longWord;
  11965. ODCBINV : longWord;
  11966. end;
  11967. TPORTC_TRISC = record
  11968. private
  11969. function getTRISC12 : TBits_1; inline;
  11970. function getTRISC13 : TBits_1; inline;
  11971. function getTRISC14 : TBits_1; inline;
  11972. function getTRISC15 : TBits_1; inline;
  11973. function getw : TBits_32; inline;
  11974. procedure setTRISC12(thebits : TBits_1); inline;
  11975. procedure setTRISC13(thebits : TBits_1); inline;
  11976. procedure setTRISC14(thebits : TBits_1); inline;
  11977. procedure setTRISC15(thebits : TBits_1); inline;
  11978. procedure setw(thebits : TBits_32); inline;
  11979. public
  11980. procedure clearTRISC12; inline;
  11981. procedure clearTRISC13; inline;
  11982. procedure clearTRISC14; inline;
  11983. procedure clearTRISC15; inline;
  11984. procedure setTRISC12; inline;
  11985. procedure setTRISC13; inline;
  11986. procedure setTRISC14; inline;
  11987. procedure setTRISC15; inline;
  11988. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  11989. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  11990. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  11991. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  11992. property w : TBits_32 read getw write setw;
  11993. end;
  11994. TPORTC_PORTC = record
  11995. private
  11996. function getRC12 : TBits_1; inline;
  11997. function getRC13 : TBits_1; inline;
  11998. function getRC14 : TBits_1; inline;
  11999. function getRC15 : TBits_1; inline;
  12000. function getw : TBits_32; inline;
  12001. procedure setRC12(thebits : TBits_1); inline;
  12002. procedure setRC13(thebits : TBits_1); inline;
  12003. procedure setRC14(thebits : TBits_1); inline;
  12004. procedure setRC15(thebits : TBits_1); inline;
  12005. procedure setw(thebits : TBits_32); inline;
  12006. public
  12007. procedure clearRC12; inline;
  12008. procedure clearRC13; inline;
  12009. procedure clearRC14; inline;
  12010. procedure clearRC15; inline;
  12011. procedure setRC12; inline;
  12012. procedure setRC13; inline;
  12013. procedure setRC14; inline;
  12014. procedure setRC15; inline;
  12015. property RC12 : TBits_1 read getRC12 write setRC12;
  12016. property RC13 : TBits_1 read getRC13 write setRC13;
  12017. property RC14 : TBits_1 read getRC14 write setRC14;
  12018. property RC15 : TBits_1 read getRC15 write setRC15;
  12019. property w : TBits_32 read getw write setw;
  12020. end;
  12021. TPortC_bits=(RC12=12,RC13=13,RC14=14,RC15=15);
  12022. TPortC_bitset = set of TPortC_bits;
  12023. TPORTC_LATC = record
  12024. private
  12025. function getLATC12 : TBits_1; inline;
  12026. function getLATC13 : TBits_1; inline;
  12027. function getLATC14 : TBits_1; inline;
  12028. function getLATC15 : TBits_1; inline;
  12029. function getw : TBits_32; inline;
  12030. procedure setLATC12(thebits : TBits_1); inline;
  12031. procedure setLATC13(thebits : TBits_1); inline;
  12032. procedure setLATC14(thebits : TBits_1); inline;
  12033. procedure setLATC15(thebits : TBits_1); inline;
  12034. procedure setw(thebits : TBits_32); inline;
  12035. public
  12036. procedure clearLATC12; inline;
  12037. procedure clearLATC13; inline;
  12038. procedure clearLATC14; inline;
  12039. procedure clearLATC15; inline;
  12040. procedure setLATC12; inline;
  12041. procedure setLATC13; inline;
  12042. procedure setLATC14; inline;
  12043. procedure setLATC15; inline;
  12044. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  12045. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  12046. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  12047. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  12048. property w : TBits_32 read getw write setw;
  12049. end;
  12050. TPORTC_ODCC = record
  12051. private
  12052. function getODCC12 : TBits_1; inline;
  12053. function getODCC13 : TBits_1; inline;
  12054. function getODCC14 : TBits_1; inline;
  12055. function getODCC15 : TBits_1; inline;
  12056. function getw : TBits_32; inline;
  12057. procedure setODCC12(thebits : TBits_1); inline;
  12058. procedure setODCC13(thebits : TBits_1); inline;
  12059. procedure setODCC14(thebits : TBits_1); inline;
  12060. procedure setODCC15(thebits : TBits_1); inline;
  12061. procedure setw(thebits : TBits_32); inline;
  12062. public
  12063. procedure clearODCC12; inline;
  12064. procedure clearODCC13; inline;
  12065. procedure clearODCC14; inline;
  12066. procedure clearODCC15; inline;
  12067. procedure setODCC12; inline;
  12068. procedure setODCC13; inline;
  12069. procedure setODCC14; inline;
  12070. procedure setODCC15; inline;
  12071. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  12072. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  12073. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  12074. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  12075. property w : TBits_32 read getw write setw;
  12076. end;
  12077. type
  12078. TPORTCRegisters = record
  12079. TRISCbits : TPORTC_TRISC;
  12080. TRISC : longWord;
  12081. TRISCCLR : longWord;
  12082. TRISCSET : longWord;
  12083. TRISCINV : longWord;
  12084. PORTCbits : TPORTC_PORTC;
  12085. PORTC : longWord;
  12086. PORTCCLR : longWord;
  12087. PORTCSET : longWord;
  12088. PORTCINV : longWord;
  12089. LATCbits : TPORTC_LATC;
  12090. LATC : longWord;
  12091. LATCCLR : longWord;
  12092. LATCSET : longWord;
  12093. LATCINV : longWord;
  12094. ODCCbits : TPORTC_ODCC;
  12095. ODCC : longWord;
  12096. ODCCCLR : longWord;
  12097. ODCCSET : longWord;
  12098. ODCCINV : longWord;
  12099. end;
  12100. TPORTD_TRISD = record
  12101. private
  12102. function getTRISD0 : TBits_1; inline;
  12103. function getTRISD1 : TBits_1; inline;
  12104. function getTRISD10 : TBits_1; inline;
  12105. function getTRISD11 : TBits_1; inline;
  12106. function getTRISD2 : TBits_1; inline;
  12107. function getTRISD3 : TBits_1; inline;
  12108. function getTRISD4 : TBits_1; inline;
  12109. function getTRISD5 : TBits_1; inline;
  12110. function getTRISD6 : TBits_1; inline;
  12111. function getTRISD7 : TBits_1; inline;
  12112. function getTRISD8 : TBits_1; inline;
  12113. function getTRISD9 : TBits_1; inline;
  12114. function getw : TBits_32; inline;
  12115. procedure setTRISD0(thebits : TBits_1); inline;
  12116. procedure setTRISD1(thebits : TBits_1); inline;
  12117. procedure setTRISD10(thebits : TBits_1); inline;
  12118. procedure setTRISD11(thebits : TBits_1); inline;
  12119. procedure setTRISD2(thebits : TBits_1); inline;
  12120. procedure setTRISD3(thebits : TBits_1); inline;
  12121. procedure setTRISD4(thebits : TBits_1); inline;
  12122. procedure setTRISD5(thebits : TBits_1); inline;
  12123. procedure setTRISD6(thebits : TBits_1); inline;
  12124. procedure setTRISD7(thebits : TBits_1); inline;
  12125. procedure setTRISD8(thebits : TBits_1); inline;
  12126. procedure setTRISD9(thebits : TBits_1); inline;
  12127. procedure setw(thebits : TBits_32); inline;
  12128. public
  12129. procedure clearTRISD0; inline;
  12130. procedure clearTRISD10; inline;
  12131. procedure clearTRISD11; inline;
  12132. procedure clearTRISD1; inline;
  12133. procedure clearTRISD2; inline;
  12134. procedure clearTRISD3; inline;
  12135. procedure clearTRISD4; inline;
  12136. procedure clearTRISD5; inline;
  12137. procedure clearTRISD6; inline;
  12138. procedure clearTRISD7; inline;
  12139. procedure clearTRISD8; inline;
  12140. procedure clearTRISD9; inline;
  12141. procedure setTRISD0; inline;
  12142. procedure setTRISD10; inline;
  12143. procedure setTRISD11; inline;
  12144. procedure setTRISD1; inline;
  12145. procedure setTRISD2; inline;
  12146. procedure setTRISD3; inline;
  12147. procedure setTRISD4; inline;
  12148. procedure setTRISD5; inline;
  12149. procedure setTRISD6; inline;
  12150. procedure setTRISD7; inline;
  12151. procedure setTRISD8; inline;
  12152. procedure setTRISD9; inline;
  12153. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  12154. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  12155. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  12156. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  12157. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  12158. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  12159. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  12160. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  12161. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  12162. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  12163. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  12164. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  12165. property w : TBits_32 read getw write setw;
  12166. end;
  12167. TPORTD_PORTD = record
  12168. private
  12169. function getRD0 : TBits_1; inline;
  12170. function getRD1 : TBits_1; inline;
  12171. function getRD10 : TBits_1; inline;
  12172. function getRD11 : TBits_1; inline;
  12173. function getRD2 : TBits_1; inline;
  12174. function getRD3 : TBits_1; inline;
  12175. function getRD4 : TBits_1; inline;
  12176. function getRD5 : TBits_1; inline;
  12177. function getRD6 : TBits_1; inline;
  12178. function getRD7 : TBits_1; inline;
  12179. function getRD8 : TBits_1; inline;
  12180. function getRD9 : TBits_1; inline;
  12181. function getw : TBits_32; inline;
  12182. procedure setRD0(thebits : TBits_1); inline;
  12183. procedure setRD1(thebits : TBits_1); inline;
  12184. procedure setRD10(thebits : TBits_1); inline;
  12185. procedure setRD11(thebits : TBits_1); inline;
  12186. procedure setRD2(thebits : TBits_1); inline;
  12187. procedure setRD3(thebits : TBits_1); inline;
  12188. procedure setRD4(thebits : TBits_1); inline;
  12189. procedure setRD5(thebits : TBits_1); inline;
  12190. procedure setRD6(thebits : TBits_1); inline;
  12191. procedure setRD7(thebits : TBits_1); inline;
  12192. procedure setRD8(thebits : TBits_1); inline;
  12193. procedure setRD9(thebits : TBits_1); inline;
  12194. procedure setw(thebits : TBits_32); inline;
  12195. public
  12196. procedure clearRD0; inline;
  12197. procedure clearRD10; inline;
  12198. procedure clearRD11; inline;
  12199. procedure clearRD1; inline;
  12200. procedure clearRD2; inline;
  12201. procedure clearRD3; inline;
  12202. procedure clearRD4; inline;
  12203. procedure clearRD5; inline;
  12204. procedure clearRD6; inline;
  12205. procedure clearRD7; inline;
  12206. procedure clearRD8; inline;
  12207. procedure clearRD9; inline;
  12208. procedure setRD0; inline;
  12209. procedure setRD10; inline;
  12210. procedure setRD11; inline;
  12211. procedure setRD1; inline;
  12212. procedure setRD2; inline;
  12213. procedure setRD3; inline;
  12214. procedure setRD4; inline;
  12215. procedure setRD5; inline;
  12216. procedure setRD6; inline;
  12217. procedure setRD7; inline;
  12218. procedure setRD8; inline;
  12219. procedure setRD9; inline;
  12220. property RD0 : TBits_1 read getRD0 write setRD0;
  12221. property RD1 : TBits_1 read getRD1 write setRD1;
  12222. property RD10 : TBits_1 read getRD10 write setRD10;
  12223. property RD11 : TBits_1 read getRD11 write setRD11;
  12224. property RD2 : TBits_1 read getRD2 write setRD2;
  12225. property RD3 : TBits_1 read getRD3 write setRD3;
  12226. property RD4 : TBits_1 read getRD4 write setRD4;
  12227. property RD5 : TBits_1 read getRD5 write setRD5;
  12228. property RD6 : TBits_1 read getRD6 write setRD6;
  12229. property RD7 : TBits_1 read getRD7 write setRD7;
  12230. property RD8 : TBits_1 read getRD8 write setRD8;
  12231. property RD9 : TBits_1 read getRD9 write setRD9;
  12232. property w : TBits_32 read getw write setw;
  12233. end;
  12234. 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);
  12235. TPortD_bitset = set of TPortD_bits;
  12236. TPORTD_LATD = record
  12237. private
  12238. function getLATD0 : TBits_1; inline;
  12239. function getLATD1 : TBits_1; inline;
  12240. function getLATD10 : TBits_1; inline;
  12241. function getLATD11 : TBits_1; inline;
  12242. function getLATD2 : TBits_1; inline;
  12243. function getLATD3 : TBits_1; inline;
  12244. function getLATD4 : TBits_1; inline;
  12245. function getLATD5 : TBits_1; inline;
  12246. function getLATD6 : TBits_1; inline;
  12247. function getLATD7 : TBits_1; inline;
  12248. function getLATD8 : TBits_1; inline;
  12249. function getLATD9 : TBits_1; inline;
  12250. function getw : TBits_32; inline;
  12251. procedure setLATD0(thebits : TBits_1); inline;
  12252. procedure setLATD1(thebits : TBits_1); inline;
  12253. procedure setLATD10(thebits : TBits_1); inline;
  12254. procedure setLATD11(thebits : TBits_1); inline;
  12255. procedure setLATD2(thebits : TBits_1); inline;
  12256. procedure setLATD3(thebits : TBits_1); inline;
  12257. procedure setLATD4(thebits : TBits_1); inline;
  12258. procedure setLATD5(thebits : TBits_1); inline;
  12259. procedure setLATD6(thebits : TBits_1); inline;
  12260. procedure setLATD7(thebits : TBits_1); inline;
  12261. procedure setLATD8(thebits : TBits_1); inline;
  12262. procedure setLATD9(thebits : TBits_1); inline;
  12263. procedure setw(thebits : TBits_32); inline;
  12264. public
  12265. procedure clearLATD0; inline;
  12266. procedure clearLATD10; inline;
  12267. procedure clearLATD11; inline;
  12268. procedure clearLATD1; inline;
  12269. procedure clearLATD2; inline;
  12270. procedure clearLATD3; inline;
  12271. procedure clearLATD4; inline;
  12272. procedure clearLATD5; inline;
  12273. procedure clearLATD6; inline;
  12274. procedure clearLATD7; inline;
  12275. procedure clearLATD8; inline;
  12276. procedure clearLATD9; inline;
  12277. procedure setLATD0; inline;
  12278. procedure setLATD10; inline;
  12279. procedure setLATD11; inline;
  12280. procedure setLATD1; inline;
  12281. procedure setLATD2; inline;
  12282. procedure setLATD3; inline;
  12283. procedure setLATD4; inline;
  12284. procedure setLATD5; inline;
  12285. procedure setLATD6; inline;
  12286. procedure setLATD7; inline;
  12287. procedure setLATD8; inline;
  12288. procedure setLATD9; inline;
  12289. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  12290. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  12291. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  12292. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  12293. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  12294. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  12295. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  12296. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  12297. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  12298. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  12299. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  12300. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  12301. property w : TBits_32 read getw write setw;
  12302. end;
  12303. TPORTD_ODCD = record
  12304. private
  12305. function getODCD0 : TBits_1; inline;
  12306. function getODCD1 : TBits_1; inline;
  12307. function getODCD10 : TBits_1; inline;
  12308. function getODCD11 : TBits_1; inline;
  12309. function getODCD2 : TBits_1; inline;
  12310. function getODCD3 : TBits_1; inline;
  12311. function getODCD4 : TBits_1; inline;
  12312. function getODCD5 : TBits_1; inline;
  12313. function getODCD6 : TBits_1; inline;
  12314. function getODCD7 : TBits_1; inline;
  12315. function getODCD8 : TBits_1; inline;
  12316. function getODCD9 : TBits_1; inline;
  12317. function getw : TBits_32; inline;
  12318. procedure setODCD0(thebits : TBits_1); inline;
  12319. procedure setODCD1(thebits : TBits_1); inline;
  12320. procedure setODCD10(thebits : TBits_1); inline;
  12321. procedure setODCD11(thebits : TBits_1); inline;
  12322. procedure setODCD2(thebits : TBits_1); inline;
  12323. procedure setODCD3(thebits : TBits_1); inline;
  12324. procedure setODCD4(thebits : TBits_1); inline;
  12325. procedure setODCD5(thebits : TBits_1); inline;
  12326. procedure setODCD6(thebits : TBits_1); inline;
  12327. procedure setODCD7(thebits : TBits_1); inline;
  12328. procedure setODCD8(thebits : TBits_1); inline;
  12329. procedure setODCD9(thebits : TBits_1); inline;
  12330. procedure setw(thebits : TBits_32); inline;
  12331. public
  12332. procedure clearODCD0; inline;
  12333. procedure clearODCD10; inline;
  12334. procedure clearODCD11; inline;
  12335. procedure clearODCD1; inline;
  12336. procedure clearODCD2; inline;
  12337. procedure clearODCD3; inline;
  12338. procedure clearODCD4; inline;
  12339. procedure clearODCD5; inline;
  12340. procedure clearODCD6; inline;
  12341. procedure clearODCD7; inline;
  12342. procedure clearODCD8; inline;
  12343. procedure clearODCD9; inline;
  12344. procedure setODCD0; inline;
  12345. procedure setODCD10; inline;
  12346. procedure setODCD11; inline;
  12347. procedure setODCD1; inline;
  12348. procedure setODCD2; inline;
  12349. procedure setODCD3; inline;
  12350. procedure setODCD4; inline;
  12351. procedure setODCD5; inline;
  12352. procedure setODCD6; inline;
  12353. procedure setODCD7; inline;
  12354. procedure setODCD8; inline;
  12355. procedure setODCD9; inline;
  12356. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  12357. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  12358. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  12359. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  12360. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  12361. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  12362. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  12363. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  12364. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  12365. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  12366. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  12367. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  12368. property w : TBits_32 read getw write setw;
  12369. end;
  12370. type
  12371. TPORTDRegisters = record
  12372. TRISDbits : TPORTD_TRISD;
  12373. TRISD : longWord;
  12374. TRISDCLR : longWord;
  12375. TRISDSET : longWord;
  12376. TRISDINV : longWord;
  12377. PORTDbits : TPORTD_PORTD;
  12378. PORTD : longWord;
  12379. PORTDCLR : longWord;
  12380. PORTDSET : longWord;
  12381. PORTDINV : longWord;
  12382. LATDbits : TPORTD_LATD;
  12383. LATD : longWord;
  12384. LATDCLR : longWord;
  12385. LATDSET : longWord;
  12386. LATDINV : longWord;
  12387. ODCDbits : TPORTD_ODCD;
  12388. ODCD : longWord;
  12389. ODCDCLR : longWord;
  12390. ODCDSET : longWord;
  12391. ODCDINV : longWord;
  12392. end;
  12393. TPORTE_TRISE = record
  12394. private
  12395. function getTRISE0 : TBits_1; inline;
  12396. function getTRISE1 : TBits_1; inline;
  12397. function getTRISE2 : TBits_1; inline;
  12398. function getTRISE3 : TBits_1; inline;
  12399. function getTRISE4 : TBits_1; inline;
  12400. function getTRISE5 : TBits_1; inline;
  12401. function getTRISE6 : TBits_1; inline;
  12402. function getTRISE7 : TBits_1; inline;
  12403. function getw : TBits_32; inline;
  12404. procedure setTRISE0(thebits : TBits_1); inline;
  12405. procedure setTRISE1(thebits : TBits_1); inline;
  12406. procedure setTRISE2(thebits : TBits_1); inline;
  12407. procedure setTRISE3(thebits : TBits_1); inline;
  12408. procedure setTRISE4(thebits : TBits_1); inline;
  12409. procedure setTRISE5(thebits : TBits_1); inline;
  12410. procedure setTRISE6(thebits : TBits_1); inline;
  12411. procedure setTRISE7(thebits : TBits_1); inline;
  12412. procedure setw(thebits : TBits_32); inline;
  12413. public
  12414. procedure clearTRISE0; inline;
  12415. procedure clearTRISE1; inline;
  12416. procedure clearTRISE2; inline;
  12417. procedure clearTRISE3; inline;
  12418. procedure clearTRISE4; inline;
  12419. procedure clearTRISE5; inline;
  12420. procedure clearTRISE6; inline;
  12421. procedure clearTRISE7; inline;
  12422. procedure setTRISE0; inline;
  12423. procedure setTRISE1; inline;
  12424. procedure setTRISE2; inline;
  12425. procedure setTRISE3; inline;
  12426. procedure setTRISE4; inline;
  12427. procedure setTRISE5; inline;
  12428. procedure setTRISE6; inline;
  12429. procedure setTRISE7; inline;
  12430. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  12431. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  12432. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  12433. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  12434. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  12435. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  12436. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  12437. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  12438. property w : TBits_32 read getw write setw;
  12439. end;
  12440. TPORTE_PORTE = record
  12441. private
  12442. function getRE0 : TBits_1; inline;
  12443. function getRE1 : TBits_1; inline;
  12444. function getRE2 : TBits_1; inline;
  12445. function getRE3 : TBits_1; inline;
  12446. function getRE4 : TBits_1; inline;
  12447. function getRE5 : TBits_1; inline;
  12448. function getRE6 : TBits_1; inline;
  12449. function getRE7 : TBits_1; inline;
  12450. function getw : TBits_32; inline;
  12451. procedure setRE0(thebits : TBits_1); inline;
  12452. procedure setRE1(thebits : TBits_1); inline;
  12453. procedure setRE2(thebits : TBits_1); inline;
  12454. procedure setRE3(thebits : TBits_1); inline;
  12455. procedure setRE4(thebits : TBits_1); inline;
  12456. procedure setRE5(thebits : TBits_1); inline;
  12457. procedure setRE6(thebits : TBits_1); inline;
  12458. procedure setRE7(thebits : TBits_1); inline;
  12459. procedure setw(thebits : TBits_32); inline;
  12460. public
  12461. procedure clearRE0; inline;
  12462. procedure clearRE1; inline;
  12463. procedure clearRE2; inline;
  12464. procedure clearRE3; inline;
  12465. procedure clearRE4; inline;
  12466. procedure clearRE5; inline;
  12467. procedure clearRE6; inline;
  12468. procedure clearRE7; inline;
  12469. procedure setRE0; inline;
  12470. procedure setRE1; inline;
  12471. procedure setRE2; inline;
  12472. procedure setRE3; inline;
  12473. procedure setRE4; inline;
  12474. procedure setRE5; inline;
  12475. procedure setRE6; inline;
  12476. procedure setRE7; inline;
  12477. property RE0 : TBits_1 read getRE0 write setRE0;
  12478. property RE1 : TBits_1 read getRE1 write setRE1;
  12479. property RE2 : TBits_1 read getRE2 write setRE2;
  12480. property RE3 : TBits_1 read getRE3 write setRE3;
  12481. property RE4 : TBits_1 read getRE4 write setRE4;
  12482. property RE5 : TBits_1 read getRE5 write setRE5;
  12483. property RE6 : TBits_1 read getRE6 write setRE6;
  12484. property RE7 : TBits_1 read getRE7 write setRE7;
  12485. property w : TBits_32 read getw write setw;
  12486. end;
  12487. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7);
  12488. TPortE_bitset = set of TPortE_bits;
  12489. TPORTE_LATE = record
  12490. private
  12491. function getLATE0 : TBits_1; inline;
  12492. function getLATE1 : TBits_1; inline;
  12493. function getLATE2 : TBits_1; inline;
  12494. function getLATE3 : TBits_1; inline;
  12495. function getLATE4 : TBits_1; inline;
  12496. function getLATE5 : TBits_1; inline;
  12497. function getLATE6 : TBits_1; inline;
  12498. function getLATE7 : TBits_1; inline;
  12499. function getw : TBits_32; inline;
  12500. procedure setLATE0(thebits : TBits_1); inline;
  12501. procedure setLATE1(thebits : TBits_1); inline;
  12502. procedure setLATE2(thebits : TBits_1); inline;
  12503. procedure setLATE3(thebits : TBits_1); inline;
  12504. procedure setLATE4(thebits : TBits_1); inline;
  12505. procedure setLATE5(thebits : TBits_1); inline;
  12506. procedure setLATE6(thebits : TBits_1); inline;
  12507. procedure setLATE7(thebits : TBits_1); inline;
  12508. procedure setw(thebits : TBits_32); inline;
  12509. public
  12510. procedure clearLATE0; inline;
  12511. procedure clearLATE1; inline;
  12512. procedure clearLATE2; inline;
  12513. procedure clearLATE3; inline;
  12514. procedure clearLATE4; inline;
  12515. procedure clearLATE5; inline;
  12516. procedure clearLATE6; inline;
  12517. procedure clearLATE7; inline;
  12518. procedure setLATE0; inline;
  12519. procedure setLATE1; inline;
  12520. procedure setLATE2; inline;
  12521. procedure setLATE3; inline;
  12522. procedure setLATE4; inline;
  12523. procedure setLATE5; inline;
  12524. procedure setLATE6; inline;
  12525. procedure setLATE7; inline;
  12526. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  12527. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  12528. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  12529. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  12530. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  12531. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  12532. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  12533. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  12534. property w : TBits_32 read getw write setw;
  12535. end;
  12536. TPORTE_ODCE = record
  12537. private
  12538. function getODCE0 : TBits_1; inline;
  12539. function getODCE1 : TBits_1; inline;
  12540. function getODCE2 : TBits_1; inline;
  12541. function getODCE3 : TBits_1; inline;
  12542. function getODCE4 : TBits_1; inline;
  12543. function getODCE5 : TBits_1; inline;
  12544. function getODCE6 : TBits_1; inline;
  12545. function getODCE7 : TBits_1; inline;
  12546. function getw : TBits_32; inline;
  12547. procedure setODCE0(thebits : TBits_1); inline;
  12548. procedure setODCE1(thebits : TBits_1); inline;
  12549. procedure setODCE2(thebits : TBits_1); inline;
  12550. procedure setODCE3(thebits : TBits_1); inline;
  12551. procedure setODCE4(thebits : TBits_1); inline;
  12552. procedure setODCE5(thebits : TBits_1); inline;
  12553. procedure setODCE6(thebits : TBits_1); inline;
  12554. procedure setODCE7(thebits : TBits_1); inline;
  12555. procedure setw(thebits : TBits_32); inline;
  12556. public
  12557. procedure clearODCE0; inline;
  12558. procedure clearODCE1; inline;
  12559. procedure clearODCE2; inline;
  12560. procedure clearODCE3; inline;
  12561. procedure clearODCE4; inline;
  12562. procedure clearODCE5; inline;
  12563. procedure clearODCE6; inline;
  12564. procedure clearODCE7; inline;
  12565. procedure setODCE0; inline;
  12566. procedure setODCE1; inline;
  12567. procedure setODCE2; inline;
  12568. procedure setODCE3; inline;
  12569. procedure setODCE4; inline;
  12570. procedure setODCE5; inline;
  12571. procedure setODCE6; inline;
  12572. procedure setODCE7; inline;
  12573. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  12574. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  12575. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  12576. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  12577. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  12578. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  12579. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  12580. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  12581. property w : TBits_32 read getw write setw;
  12582. end;
  12583. type
  12584. TPORTERegisters = record
  12585. TRISEbits : TPORTE_TRISE;
  12586. TRISE : longWord;
  12587. TRISECLR : longWord;
  12588. TRISESET : longWord;
  12589. TRISEINV : longWord;
  12590. PORTEbits : TPORTE_PORTE;
  12591. PORTE : longWord;
  12592. PORTECLR : longWord;
  12593. PORTESET : longWord;
  12594. PORTEINV : longWord;
  12595. LATEbits : TPORTE_LATE;
  12596. LATE : longWord;
  12597. LATECLR : longWord;
  12598. LATESET : longWord;
  12599. LATEINV : longWord;
  12600. ODCEbits : TPORTE_ODCE;
  12601. ODCE : longWord;
  12602. ODCECLR : longWord;
  12603. ODCESET : longWord;
  12604. ODCEINV : longWord;
  12605. end;
  12606. TPORTF_TRISF = record
  12607. private
  12608. function getTRISF0 : TBits_1; inline;
  12609. function getTRISF1 : TBits_1; inline;
  12610. function getTRISF2 : TBits_1; inline;
  12611. function getTRISF3 : TBits_1; inline;
  12612. function getTRISF4 : TBits_1; inline;
  12613. function getTRISF5 : TBits_1; inline;
  12614. function getw : TBits_32; inline;
  12615. procedure setTRISF0(thebits : TBits_1); inline;
  12616. procedure setTRISF1(thebits : TBits_1); inline;
  12617. procedure setTRISF2(thebits : TBits_1); inline;
  12618. procedure setTRISF3(thebits : TBits_1); inline;
  12619. procedure setTRISF4(thebits : TBits_1); inline;
  12620. procedure setTRISF5(thebits : TBits_1); inline;
  12621. procedure setw(thebits : TBits_32); inline;
  12622. public
  12623. procedure clearTRISF0; inline;
  12624. procedure clearTRISF1; inline;
  12625. procedure clearTRISF2; inline;
  12626. procedure clearTRISF3; inline;
  12627. procedure clearTRISF4; inline;
  12628. procedure clearTRISF5; inline;
  12629. procedure setTRISF0; inline;
  12630. procedure setTRISF1; inline;
  12631. procedure setTRISF2; inline;
  12632. procedure setTRISF3; inline;
  12633. procedure setTRISF4; inline;
  12634. procedure setTRISF5; inline;
  12635. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  12636. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  12637. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  12638. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  12639. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  12640. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  12641. property w : TBits_32 read getw write setw;
  12642. end;
  12643. TPORTF_PORTF = record
  12644. private
  12645. function getRF0 : TBits_1; inline;
  12646. function getRF1 : TBits_1; inline;
  12647. function getRF2 : TBits_1; inline;
  12648. function getRF3 : TBits_1; inline;
  12649. function getRF4 : TBits_1; inline;
  12650. function getRF5 : TBits_1; inline;
  12651. function getw : TBits_32; inline;
  12652. procedure setRF0(thebits : TBits_1); inline;
  12653. procedure setRF1(thebits : TBits_1); inline;
  12654. procedure setRF2(thebits : TBits_1); inline;
  12655. procedure setRF3(thebits : TBits_1); inline;
  12656. procedure setRF4(thebits : TBits_1); inline;
  12657. procedure setRF5(thebits : TBits_1); inline;
  12658. procedure setw(thebits : TBits_32); inline;
  12659. public
  12660. procedure clearRF0; inline;
  12661. procedure clearRF1; inline;
  12662. procedure clearRF2; inline;
  12663. procedure clearRF3; inline;
  12664. procedure clearRF4; inline;
  12665. procedure clearRF5; inline;
  12666. procedure setRF0; inline;
  12667. procedure setRF1; inline;
  12668. procedure setRF2; inline;
  12669. procedure setRF3; inline;
  12670. procedure setRF4; inline;
  12671. procedure setRF5; inline;
  12672. property RF0 : TBits_1 read getRF0 write setRF0;
  12673. property RF1 : TBits_1 read getRF1 write setRF1;
  12674. property RF2 : TBits_1 read getRF2 write setRF2;
  12675. property RF3 : TBits_1 read getRF3 write setRF3;
  12676. property RF4 : TBits_1 read getRF4 write setRF4;
  12677. property RF5 : TBits_1 read getRF5 write setRF5;
  12678. property w : TBits_32 read getw write setw;
  12679. end;
  12680. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5);
  12681. TPortF_bitset = set of TPortF_bits;
  12682. TPORTF_LATF = record
  12683. private
  12684. function getLATF0 : TBits_1; inline;
  12685. function getLATF1 : TBits_1; inline;
  12686. function getLATF2 : TBits_1; inline;
  12687. function getLATF3 : TBits_1; inline;
  12688. function getLATF4 : TBits_1; inline;
  12689. function getLATF5 : TBits_1; inline;
  12690. function getw : TBits_32; inline;
  12691. procedure setLATF0(thebits : TBits_1); inline;
  12692. procedure setLATF1(thebits : TBits_1); inline;
  12693. procedure setLATF2(thebits : TBits_1); inline;
  12694. procedure setLATF3(thebits : TBits_1); inline;
  12695. procedure setLATF4(thebits : TBits_1); inline;
  12696. procedure setLATF5(thebits : TBits_1); inline;
  12697. procedure setw(thebits : TBits_32); inline;
  12698. public
  12699. procedure clearLATF0; inline;
  12700. procedure clearLATF1; inline;
  12701. procedure clearLATF2; inline;
  12702. procedure clearLATF3; inline;
  12703. procedure clearLATF4; inline;
  12704. procedure clearLATF5; inline;
  12705. procedure setLATF0; inline;
  12706. procedure setLATF1; inline;
  12707. procedure setLATF2; inline;
  12708. procedure setLATF3; inline;
  12709. procedure setLATF4; inline;
  12710. procedure setLATF5; inline;
  12711. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  12712. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  12713. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  12714. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  12715. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  12716. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  12717. property w : TBits_32 read getw write setw;
  12718. end;
  12719. TPORTF_ODCF = record
  12720. private
  12721. function getODCF0 : TBits_1; inline;
  12722. function getODCF1 : TBits_1; inline;
  12723. function getODCF2 : TBits_1; inline;
  12724. function getODCF3 : TBits_1; inline;
  12725. function getODCF4 : TBits_1; inline;
  12726. function getODCF5 : TBits_1; inline;
  12727. function getw : TBits_32; inline;
  12728. procedure setODCF0(thebits : TBits_1); inline;
  12729. procedure setODCF1(thebits : TBits_1); inline;
  12730. procedure setODCF2(thebits : TBits_1); inline;
  12731. procedure setODCF3(thebits : TBits_1); inline;
  12732. procedure setODCF4(thebits : TBits_1); inline;
  12733. procedure setODCF5(thebits : TBits_1); inline;
  12734. procedure setw(thebits : TBits_32); inline;
  12735. public
  12736. procedure clearODCF0; inline;
  12737. procedure clearODCF1; inline;
  12738. procedure clearODCF2; inline;
  12739. procedure clearODCF3; inline;
  12740. procedure clearODCF4; inline;
  12741. procedure clearODCF5; inline;
  12742. procedure setODCF0; inline;
  12743. procedure setODCF1; inline;
  12744. procedure setODCF2; inline;
  12745. procedure setODCF3; inline;
  12746. procedure setODCF4; inline;
  12747. procedure setODCF5; inline;
  12748. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  12749. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  12750. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  12751. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  12752. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  12753. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  12754. property w : TBits_32 read getw write setw;
  12755. end;
  12756. type
  12757. TPORTFRegisters = record
  12758. TRISFbits : TPORTF_TRISF;
  12759. TRISF : longWord;
  12760. TRISFCLR : longWord;
  12761. TRISFSET : longWord;
  12762. TRISFINV : longWord;
  12763. PORTFbits : TPORTF_PORTF;
  12764. PORTF : longWord;
  12765. PORTFCLR : longWord;
  12766. PORTFSET : longWord;
  12767. PORTFINV : longWord;
  12768. LATFbits : TPORTF_LATF;
  12769. LATF : longWord;
  12770. LATFCLR : longWord;
  12771. LATFSET : longWord;
  12772. LATFINV : longWord;
  12773. ODCFbits : TPORTF_ODCF;
  12774. ODCF : longWord;
  12775. ODCFCLR : longWord;
  12776. ODCFSET : longWord;
  12777. ODCFINV : longWord;
  12778. end;
  12779. TPORTG_TRISG = record
  12780. private
  12781. function getTRISG2 : TBits_1; inline;
  12782. function getTRISG3 : TBits_1; inline;
  12783. function getTRISG6 : TBits_1; inline;
  12784. function getTRISG7 : TBits_1; inline;
  12785. function getTRISG8 : TBits_1; inline;
  12786. function getTRISG9 : TBits_1; inline;
  12787. function getw : TBits_32; inline;
  12788. procedure setTRISG2(thebits : TBits_1); inline;
  12789. procedure setTRISG3(thebits : TBits_1); inline;
  12790. procedure setTRISG6(thebits : TBits_1); inline;
  12791. procedure setTRISG7(thebits : TBits_1); inline;
  12792. procedure setTRISG8(thebits : TBits_1); inline;
  12793. procedure setTRISG9(thebits : TBits_1); inline;
  12794. procedure setw(thebits : TBits_32); inline;
  12795. public
  12796. procedure clearTRISG2; inline;
  12797. procedure clearTRISG3; inline;
  12798. procedure clearTRISG6; inline;
  12799. procedure clearTRISG7; inline;
  12800. procedure clearTRISG8; inline;
  12801. procedure clearTRISG9; inline;
  12802. procedure setTRISG2; inline;
  12803. procedure setTRISG3; inline;
  12804. procedure setTRISG6; inline;
  12805. procedure setTRISG7; inline;
  12806. procedure setTRISG8; inline;
  12807. procedure setTRISG9; inline;
  12808. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  12809. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  12810. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  12811. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  12812. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  12813. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  12814. property w : TBits_32 read getw write setw;
  12815. end;
  12816. TPORTG_PORTG = record
  12817. private
  12818. function getRG2 : TBits_1; inline;
  12819. function getRG3 : TBits_1; inline;
  12820. function getRG6 : TBits_1; inline;
  12821. function getRG7 : TBits_1; inline;
  12822. function getRG8 : TBits_1; inline;
  12823. function getRG9 : TBits_1; inline;
  12824. function getw : TBits_32; inline;
  12825. procedure setRG2(thebits : TBits_1); inline;
  12826. procedure setRG3(thebits : TBits_1); inline;
  12827. procedure setRG6(thebits : TBits_1); inline;
  12828. procedure setRG7(thebits : TBits_1); inline;
  12829. procedure setRG8(thebits : TBits_1); inline;
  12830. procedure setRG9(thebits : TBits_1); inline;
  12831. procedure setw(thebits : TBits_32); inline;
  12832. public
  12833. procedure clearRG2; inline;
  12834. procedure clearRG3; inline;
  12835. procedure clearRG6; inline;
  12836. procedure clearRG7; inline;
  12837. procedure clearRG8; inline;
  12838. procedure clearRG9; inline;
  12839. procedure setRG2; inline;
  12840. procedure setRG3; inline;
  12841. procedure setRG6; inline;
  12842. procedure setRG7; inline;
  12843. procedure setRG8; inline;
  12844. procedure setRG9; inline;
  12845. property RG2 : TBits_1 read getRG2 write setRG2;
  12846. property RG3 : TBits_1 read getRG3 write setRG3;
  12847. property RG6 : TBits_1 read getRG6 write setRG6;
  12848. property RG7 : TBits_1 read getRG7 write setRG7;
  12849. property RG8 : TBits_1 read getRG8 write setRG8;
  12850. property RG9 : TBits_1 read getRG9 write setRG9;
  12851. property w : TBits_32 read getw write setw;
  12852. end;
  12853. TPortG_bits=(RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9);
  12854. TPortG_bitset = set of TPortG_bits;
  12855. TPORTG_LATG = record
  12856. private
  12857. function getLATG2 : TBits_1; inline;
  12858. function getLATG3 : TBits_1; inline;
  12859. function getLATG6 : TBits_1; inline;
  12860. function getLATG7 : TBits_1; inline;
  12861. function getLATG8 : TBits_1; inline;
  12862. function getLATG9 : TBits_1; inline;
  12863. function getw : TBits_32; inline;
  12864. procedure setLATG2(thebits : TBits_1); inline;
  12865. procedure setLATG3(thebits : TBits_1); inline;
  12866. procedure setLATG6(thebits : TBits_1); inline;
  12867. procedure setLATG7(thebits : TBits_1); inline;
  12868. procedure setLATG8(thebits : TBits_1); inline;
  12869. procedure setLATG9(thebits : TBits_1); inline;
  12870. procedure setw(thebits : TBits_32); inline;
  12871. public
  12872. procedure clearLATG2; inline;
  12873. procedure clearLATG3; inline;
  12874. procedure clearLATG6; inline;
  12875. procedure clearLATG7; inline;
  12876. procedure clearLATG8; inline;
  12877. procedure clearLATG9; inline;
  12878. procedure setLATG2; inline;
  12879. procedure setLATG3; inline;
  12880. procedure setLATG6; inline;
  12881. procedure setLATG7; inline;
  12882. procedure setLATG8; inline;
  12883. procedure setLATG9; inline;
  12884. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  12885. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  12886. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  12887. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  12888. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  12889. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  12890. property w : TBits_32 read getw write setw;
  12891. end;
  12892. TPORTG_ODCG = record
  12893. private
  12894. function getODCG2 : TBits_1; inline;
  12895. function getODCG3 : TBits_1; inline;
  12896. function getODCG6 : TBits_1; inline;
  12897. function getODCG7 : TBits_1; inline;
  12898. function getODCG8 : TBits_1; inline;
  12899. function getODCG9 : TBits_1; inline;
  12900. function getw : TBits_32; inline;
  12901. procedure setODCG2(thebits : TBits_1); inline;
  12902. procedure setODCG3(thebits : TBits_1); inline;
  12903. procedure setODCG6(thebits : TBits_1); inline;
  12904. procedure setODCG7(thebits : TBits_1); inline;
  12905. procedure setODCG8(thebits : TBits_1); inline;
  12906. procedure setODCG9(thebits : TBits_1); inline;
  12907. procedure setw(thebits : TBits_32); inline;
  12908. public
  12909. procedure clearODCG2; inline;
  12910. procedure clearODCG3; inline;
  12911. procedure clearODCG6; inline;
  12912. procedure clearODCG7; inline;
  12913. procedure clearODCG8; inline;
  12914. procedure clearODCG9; inline;
  12915. procedure setODCG2; inline;
  12916. procedure setODCG3; inline;
  12917. procedure setODCG6; inline;
  12918. procedure setODCG7; inline;
  12919. procedure setODCG8; inline;
  12920. procedure setODCG9; inline;
  12921. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  12922. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  12923. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  12924. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  12925. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  12926. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  12927. property w : TBits_32 read getw write setw;
  12928. end;
  12929. TPORTG_CNCON = record
  12930. private
  12931. function getON : TBits_1; inline;
  12932. function getSIDL : TBits_1; inline;
  12933. function getw : TBits_32; inline;
  12934. procedure setON(thebits : TBits_1); inline;
  12935. procedure setSIDL(thebits : TBits_1); inline;
  12936. procedure setw(thebits : TBits_32); inline;
  12937. public
  12938. procedure clearON; inline;
  12939. procedure clearSIDL; inline;
  12940. procedure setON; inline;
  12941. procedure setSIDL; inline;
  12942. property ON : TBits_1 read getON write setON;
  12943. property SIDL : TBits_1 read getSIDL write setSIDL;
  12944. property w : TBits_32 read getw write setw;
  12945. end;
  12946. TPORTG_CNEN = record
  12947. private
  12948. function getCNEN0 : TBits_1; inline;
  12949. function getCNEN1 : TBits_1; inline;
  12950. function getCNEN10 : TBits_1; inline;
  12951. function getCNEN11 : TBits_1; inline;
  12952. function getCNEN12 : TBits_1; inline;
  12953. function getCNEN13 : TBits_1; inline;
  12954. function getCNEN14 : TBits_1; inline;
  12955. function getCNEN15 : TBits_1; inline;
  12956. function getCNEN16 : TBits_1; inline;
  12957. function getCNEN17 : TBits_1; inline;
  12958. function getCNEN18 : TBits_1; inline;
  12959. function getCNEN2 : TBits_1; inline;
  12960. function getCNEN3 : TBits_1; inline;
  12961. function getCNEN4 : TBits_1; inline;
  12962. function getCNEN5 : TBits_1; inline;
  12963. function getCNEN6 : TBits_1; inline;
  12964. function getCNEN7 : TBits_1; inline;
  12965. function getCNEN8 : TBits_1; inline;
  12966. function getCNEN9 : TBits_1; inline;
  12967. function getw : TBits_32; inline;
  12968. procedure setCNEN0(thebits : TBits_1); inline;
  12969. procedure setCNEN1(thebits : TBits_1); inline;
  12970. procedure setCNEN10(thebits : TBits_1); inline;
  12971. procedure setCNEN11(thebits : TBits_1); inline;
  12972. procedure setCNEN12(thebits : TBits_1); inline;
  12973. procedure setCNEN13(thebits : TBits_1); inline;
  12974. procedure setCNEN14(thebits : TBits_1); inline;
  12975. procedure setCNEN15(thebits : TBits_1); inline;
  12976. procedure setCNEN16(thebits : TBits_1); inline;
  12977. procedure setCNEN17(thebits : TBits_1); inline;
  12978. procedure setCNEN18(thebits : TBits_1); inline;
  12979. procedure setCNEN2(thebits : TBits_1); inline;
  12980. procedure setCNEN3(thebits : TBits_1); inline;
  12981. procedure setCNEN4(thebits : TBits_1); inline;
  12982. procedure setCNEN5(thebits : TBits_1); inline;
  12983. procedure setCNEN6(thebits : TBits_1); inline;
  12984. procedure setCNEN7(thebits : TBits_1); inline;
  12985. procedure setCNEN8(thebits : TBits_1); inline;
  12986. procedure setCNEN9(thebits : TBits_1); inline;
  12987. procedure setw(thebits : TBits_32); inline;
  12988. public
  12989. procedure clearCNEN0; inline;
  12990. procedure clearCNEN10; inline;
  12991. procedure clearCNEN11; inline;
  12992. procedure clearCNEN12; inline;
  12993. procedure clearCNEN13; inline;
  12994. procedure clearCNEN14; inline;
  12995. procedure clearCNEN15; inline;
  12996. procedure clearCNEN16; inline;
  12997. procedure clearCNEN17; inline;
  12998. procedure clearCNEN18; inline;
  12999. procedure clearCNEN1; inline;
  13000. procedure clearCNEN2; inline;
  13001. procedure clearCNEN3; inline;
  13002. procedure clearCNEN4; inline;
  13003. procedure clearCNEN5; inline;
  13004. procedure clearCNEN6; inline;
  13005. procedure clearCNEN7; inline;
  13006. procedure clearCNEN8; inline;
  13007. procedure clearCNEN9; inline;
  13008. procedure setCNEN0; inline;
  13009. procedure setCNEN10; inline;
  13010. procedure setCNEN11; inline;
  13011. procedure setCNEN12; inline;
  13012. procedure setCNEN13; inline;
  13013. procedure setCNEN14; inline;
  13014. procedure setCNEN15; inline;
  13015. procedure setCNEN16; inline;
  13016. procedure setCNEN17; inline;
  13017. procedure setCNEN18; inline;
  13018. procedure setCNEN1; inline;
  13019. procedure setCNEN2; inline;
  13020. procedure setCNEN3; inline;
  13021. procedure setCNEN4; inline;
  13022. procedure setCNEN5; inline;
  13023. procedure setCNEN6; inline;
  13024. procedure setCNEN7; inline;
  13025. procedure setCNEN8; inline;
  13026. procedure setCNEN9; inline;
  13027. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  13028. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  13029. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  13030. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  13031. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  13032. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  13033. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  13034. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  13035. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  13036. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  13037. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  13038. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  13039. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  13040. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  13041. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  13042. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  13043. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  13044. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  13045. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  13046. property w : TBits_32 read getw write setw;
  13047. end;
  13048. TPORTG_CNPUE = record
  13049. private
  13050. function getCNPUE0 : TBits_1; inline;
  13051. function getCNPUE1 : TBits_1; inline;
  13052. function getCNPUE10 : TBits_1; inline;
  13053. function getCNPUE11 : TBits_1; inline;
  13054. function getCNPUE12 : TBits_1; inline;
  13055. function getCNPUE13 : TBits_1; inline;
  13056. function getCNPUE14 : TBits_1; inline;
  13057. function getCNPUE15 : TBits_1; inline;
  13058. function getCNPUE16 : TBits_1; inline;
  13059. function getCNPUE17 : TBits_1; inline;
  13060. function getCNPUE18 : TBits_1; inline;
  13061. function getCNPUE2 : TBits_1; inline;
  13062. function getCNPUE3 : TBits_1; inline;
  13063. function getCNPUE4 : TBits_1; inline;
  13064. function getCNPUE5 : TBits_1; inline;
  13065. function getCNPUE6 : TBits_1; inline;
  13066. function getCNPUE7 : TBits_1; inline;
  13067. function getCNPUE8 : TBits_1; inline;
  13068. function getCNPUE9 : TBits_1; inline;
  13069. function getw : TBits_32; inline;
  13070. procedure setCNPUE0(thebits : TBits_1); inline;
  13071. procedure setCNPUE1(thebits : TBits_1); inline;
  13072. procedure setCNPUE10(thebits : TBits_1); inline;
  13073. procedure setCNPUE11(thebits : TBits_1); inline;
  13074. procedure setCNPUE12(thebits : TBits_1); inline;
  13075. procedure setCNPUE13(thebits : TBits_1); inline;
  13076. procedure setCNPUE14(thebits : TBits_1); inline;
  13077. procedure setCNPUE15(thebits : TBits_1); inline;
  13078. procedure setCNPUE16(thebits : TBits_1); inline;
  13079. procedure setCNPUE17(thebits : TBits_1); inline;
  13080. procedure setCNPUE18(thebits : TBits_1); inline;
  13081. procedure setCNPUE2(thebits : TBits_1); inline;
  13082. procedure setCNPUE3(thebits : TBits_1); inline;
  13083. procedure setCNPUE4(thebits : TBits_1); inline;
  13084. procedure setCNPUE5(thebits : TBits_1); inline;
  13085. procedure setCNPUE6(thebits : TBits_1); inline;
  13086. procedure setCNPUE7(thebits : TBits_1); inline;
  13087. procedure setCNPUE8(thebits : TBits_1); inline;
  13088. procedure setCNPUE9(thebits : TBits_1); inline;
  13089. procedure setw(thebits : TBits_32); inline;
  13090. public
  13091. procedure clearCNPUE0; inline;
  13092. procedure clearCNPUE10; inline;
  13093. procedure clearCNPUE11; inline;
  13094. procedure clearCNPUE12; inline;
  13095. procedure clearCNPUE13; inline;
  13096. procedure clearCNPUE14; inline;
  13097. procedure clearCNPUE15; inline;
  13098. procedure clearCNPUE16; inline;
  13099. procedure clearCNPUE17; inline;
  13100. procedure clearCNPUE18; inline;
  13101. procedure clearCNPUE1; inline;
  13102. procedure clearCNPUE2; inline;
  13103. procedure clearCNPUE3; inline;
  13104. procedure clearCNPUE4; inline;
  13105. procedure clearCNPUE5; inline;
  13106. procedure clearCNPUE6; inline;
  13107. procedure clearCNPUE7; inline;
  13108. procedure clearCNPUE8; inline;
  13109. procedure clearCNPUE9; inline;
  13110. procedure setCNPUE0; inline;
  13111. procedure setCNPUE10; inline;
  13112. procedure setCNPUE11; inline;
  13113. procedure setCNPUE12; inline;
  13114. procedure setCNPUE13; inline;
  13115. procedure setCNPUE14; inline;
  13116. procedure setCNPUE15; inline;
  13117. procedure setCNPUE16; inline;
  13118. procedure setCNPUE17; inline;
  13119. procedure setCNPUE18; inline;
  13120. procedure setCNPUE1; inline;
  13121. procedure setCNPUE2; inline;
  13122. procedure setCNPUE3; inline;
  13123. procedure setCNPUE4; inline;
  13124. procedure setCNPUE5; inline;
  13125. procedure setCNPUE6; inline;
  13126. procedure setCNPUE7; inline;
  13127. procedure setCNPUE8; inline;
  13128. procedure setCNPUE9; inline;
  13129. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  13130. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  13131. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  13132. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  13133. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  13134. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  13135. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  13136. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  13137. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  13138. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  13139. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  13140. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  13141. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  13142. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  13143. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  13144. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  13145. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  13146. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  13147. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  13148. property w : TBits_32 read getw write setw;
  13149. end;
  13150. type
  13151. TPORTGRegisters = record
  13152. TRISGbits : TPORTG_TRISG;
  13153. TRISG : longWord;
  13154. TRISGCLR : longWord;
  13155. TRISGSET : longWord;
  13156. TRISGINV : longWord;
  13157. PORTGbits : TPORTG_PORTG;
  13158. PORTG : longWord;
  13159. PORTGCLR : longWord;
  13160. PORTGSET : longWord;
  13161. PORTGINV : longWord;
  13162. LATGbits : TPORTG_LATG;
  13163. LATG : longWord;
  13164. LATGCLR : longWord;
  13165. LATGSET : longWord;
  13166. LATGINV : longWord;
  13167. ODCGbits : TPORTG_ODCG;
  13168. ODCG : longWord;
  13169. ODCGCLR : longWord;
  13170. ODCGSET : longWord;
  13171. ODCGINV : longWord;
  13172. CNCONbits : TPORTG_CNCON;
  13173. CNCON : longWord;
  13174. CNCONCLR : longWord;
  13175. CNCONSET : longWord;
  13176. CNCONINV : longWord;
  13177. CNENbits : TPORTG_CNEN;
  13178. CNEN : longWord;
  13179. CNENCLR : longWord;
  13180. CNENSET : longWord;
  13181. CNENINV : longWord;
  13182. CNPUEbits : TPORTG_CNPUE;
  13183. CNPUE : longWord;
  13184. CNPUECLR : longWord;
  13185. CNPUESET : longWord;
  13186. CNPUEINV : longWord;
  13187. end;
  13188. TETH_ETHCON1 = record
  13189. private
  13190. function getAUTOFC : TBits_1; inline;
  13191. function getBUFCDEC : TBits_1; inline;
  13192. function getMANFC : TBits_1; inline;
  13193. function getON : TBits_1; inline;
  13194. function getPTV : TBits_16; inline;
  13195. function getRXEN : TBits_1; inline;
  13196. function getSIDL : TBits_1; inline;
  13197. function getTXRTS : TBits_1; inline;
  13198. function getw : TBits_32; inline;
  13199. procedure setAUTOFC(thebits : TBits_1); inline;
  13200. procedure setBUFCDEC(thebits : TBits_1); inline;
  13201. procedure setMANFC(thebits : TBits_1); inline;
  13202. procedure setON(thebits : TBits_1); inline;
  13203. procedure setPTV(thebits : TBits_16); inline;
  13204. procedure setRXEN(thebits : TBits_1); inline;
  13205. procedure setSIDL(thebits : TBits_1); inline;
  13206. procedure setTXRTS(thebits : TBits_1); inline;
  13207. procedure setw(thebits : TBits_32); inline;
  13208. public
  13209. procedure clearAUTOFC; inline;
  13210. procedure clearBUFCDEC; inline;
  13211. procedure clearMANFC; inline;
  13212. procedure clearON; inline;
  13213. procedure clearRXEN; inline;
  13214. procedure clearSIDL; inline;
  13215. procedure clearTXRTS; inline;
  13216. procedure setAUTOFC; inline;
  13217. procedure setBUFCDEC; inline;
  13218. procedure setMANFC; inline;
  13219. procedure setON; inline;
  13220. procedure setRXEN; inline;
  13221. procedure setSIDL; inline;
  13222. procedure setTXRTS; inline;
  13223. property AUTOFC : TBits_1 read getAUTOFC write setAUTOFC;
  13224. property BUFCDEC : TBits_1 read getBUFCDEC write setBUFCDEC;
  13225. property MANFC : TBits_1 read getMANFC write setMANFC;
  13226. property ON : TBits_1 read getON write setON;
  13227. property PTV : TBits_16 read getPTV write setPTV;
  13228. property RXEN : TBits_1 read getRXEN write setRXEN;
  13229. property SIDL : TBits_1 read getSIDL write setSIDL;
  13230. property TXRTS : TBits_1 read getTXRTS write setTXRTS;
  13231. property w : TBits_32 read getw write setw;
  13232. end;
  13233. TETH_ETHCON2 = record
  13234. private
  13235. function getRXBUF_SZ : TBits_7; inline;
  13236. function getw : TBits_32; inline;
  13237. procedure setRXBUF_SZ(thebits : TBits_7); inline;
  13238. procedure setw(thebits : TBits_32); inline;
  13239. public
  13240. property RXBUF_SZ : TBits_7 read getRXBUF_SZ write setRXBUF_SZ;
  13241. property w : TBits_32 read getw write setw;
  13242. end;
  13243. TETH_ETHTXST = record
  13244. private
  13245. function getTXSTADDR : TBits_30; inline;
  13246. function getw : TBits_32; inline;
  13247. procedure setTXSTADDR(thebits : TBits_30); inline;
  13248. procedure setw(thebits : TBits_32); inline;
  13249. public
  13250. property TXSTADDR : TBits_30 read getTXSTADDR write setTXSTADDR;
  13251. property w : TBits_32 read getw write setw;
  13252. end;
  13253. TETH_ETHRXST = record
  13254. private
  13255. function getRXSTADDR : TBits_30; inline;
  13256. function getw : TBits_32; inline;
  13257. procedure setRXSTADDR(thebits : TBits_30); inline;
  13258. procedure setw(thebits : TBits_32); inline;
  13259. public
  13260. property RXSTADDR : TBits_30 read getRXSTADDR write setRXSTADDR;
  13261. property w : TBits_32 read getw write setw;
  13262. end;
  13263. TETH_ETHHT0 = record
  13264. private
  13265. function getHTLOWER : TBits_32; inline;
  13266. function getw : TBits_32; inline;
  13267. procedure setHTLOWER(thebits : TBits_32); inline;
  13268. procedure setw(thebits : TBits_32); inline;
  13269. public
  13270. property HTLOWER : TBits_32 read getHTLOWER write setHTLOWER;
  13271. property w : TBits_32 read getw write setw;
  13272. end;
  13273. TETH_ETHHT1 = record
  13274. private
  13275. function getHTUPPER : TBits_32; inline;
  13276. function getw : TBits_32; inline;
  13277. procedure setHTUPPER(thebits : TBits_32); inline;
  13278. procedure setw(thebits : TBits_32); inline;
  13279. public
  13280. property HTUPPER : TBits_32 read getHTUPPER write setHTUPPER;
  13281. property w : TBits_32 read getw write setw;
  13282. end;
  13283. TETH_ETHPMM0 = record
  13284. private
  13285. function getPMMLOWER : TBits_32; inline;
  13286. function getw : TBits_32; inline;
  13287. procedure setPMMLOWER(thebits : TBits_32); inline;
  13288. procedure setw(thebits : TBits_32); inline;
  13289. public
  13290. property PMMLOWER : TBits_32 read getPMMLOWER write setPMMLOWER;
  13291. property w : TBits_32 read getw write setw;
  13292. end;
  13293. TETH_ETHPMM1 = record
  13294. private
  13295. function getPMMUPPER : TBits_32; inline;
  13296. function getw : TBits_32; inline;
  13297. procedure setPMMUPPER(thebits : TBits_32); inline;
  13298. procedure setw(thebits : TBits_32); inline;
  13299. public
  13300. property PMMUPPER : TBits_32 read getPMMUPPER write setPMMUPPER;
  13301. property w : TBits_32 read getw write setw;
  13302. end;
  13303. TETH_ETHPMCS = record
  13304. private
  13305. function getPMCS : TBits_16; inline;
  13306. function getw : TBits_32; inline;
  13307. procedure setPMCS(thebits : TBits_16); inline;
  13308. procedure setw(thebits : TBits_32); inline;
  13309. public
  13310. property PMCS : TBits_16 read getPMCS write setPMCS;
  13311. property w : TBits_32 read getw write setw;
  13312. end;
  13313. TETH_ETHPMO = record
  13314. private
  13315. function getPMO : TBits_16; inline;
  13316. function getw : TBits_32; inline;
  13317. procedure setPMO(thebits : TBits_16); inline;
  13318. procedure setw(thebits : TBits_32); inline;
  13319. public
  13320. property PMO : TBits_16 read getPMO write setPMO;
  13321. property w : TBits_32 read getw write setw;
  13322. end;
  13323. TETH_ETHRXFC = record
  13324. private
  13325. function getBCEN : TBits_1; inline;
  13326. function getCRCERREN : TBits_1; inline;
  13327. function getCRCOKEN : TBits_1; inline;
  13328. function getHTEN : TBits_1; inline;
  13329. function getMCEN : TBits_1; inline;
  13330. function getMPEN : TBits_1; inline;
  13331. function getNOTMEEN : TBits_1; inline;
  13332. function getNOTPM : TBits_1; inline;
  13333. function getPMMODE : TBits_4; inline;
  13334. function getRUNTEN : TBits_1; inline;
  13335. function getRUNTERREN : TBits_1; inline;
  13336. function getUCEN : TBits_1; inline;
  13337. function getw : TBits_32; inline;
  13338. procedure setBCEN(thebits : TBits_1); inline;
  13339. procedure setCRCERREN(thebits : TBits_1); inline;
  13340. procedure setCRCOKEN(thebits : TBits_1); inline;
  13341. procedure setHTEN(thebits : TBits_1); inline;
  13342. procedure setMCEN(thebits : TBits_1); inline;
  13343. procedure setMPEN(thebits : TBits_1); inline;
  13344. procedure setNOTMEEN(thebits : TBits_1); inline;
  13345. procedure setNOTPM(thebits : TBits_1); inline;
  13346. procedure setPMMODE(thebits : TBits_4); inline;
  13347. procedure setRUNTEN(thebits : TBits_1); inline;
  13348. procedure setRUNTERREN(thebits : TBits_1); inline;
  13349. procedure setUCEN(thebits : TBits_1); inline;
  13350. procedure setw(thebits : TBits_32); inline;
  13351. public
  13352. procedure clearBCEN; inline;
  13353. procedure clearCRCERREN; inline;
  13354. procedure clearCRCOKEN; inline;
  13355. procedure clearHTEN; inline;
  13356. procedure clearMCEN; inline;
  13357. procedure clearMPEN; inline;
  13358. procedure clearNOTMEEN; inline;
  13359. procedure clearNOTPM; inline;
  13360. procedure clearRUNTEN; inline;
  13361. procedure clearRUNTERREN; inline;
  13362. procedure clearUCEN; inline;
  13363. procedure setBCEN; inline;
  13364. procedure setCRCERREN; inline;
  13365. procedure setCRCOKEN; inline;
  13366. procedure setHTEN; inline;
  13367. procedure setMCEN; inline;
  13368. procedure setMPEN; inline;
  13369. procedure setNOTMEEN; inline;
  13370. procedure setNOTPM; inline;
  13371. procedure setRUNTEN; inline;
  13372. procedure setRUNTERREN; inline;
  13373. procedure setUCEN; inline;
  13374. property BCEN : TBits_1 read getBCEN write setBCEN;
  13375. property CRCERREN : TBits_1 read getCRCERREN write setCRCERREN;
  13376. property CRCOKEN : TBits_1 read getCRCOKEN write setCRCOKEN;
  13377. property HTEN : TBits_1 read getHTEN write setHTEN;
  13378. property MCEN : TBits_1 read getMCEN write setMCEN;
  13379. property MPEN : TBits_1 read getMPEN write setMPEN;
  13380. property NOTMEEN : TBits_1 read getNOTMEEN write setNOTMEEN;
  13381. property NOTPM : TBits_1 read getNOTPM write setNOTPM;
  13382. property PMMODE : TBits_4 read getPMMODE write setPMMODE;
  13383. property RUNTEN : TBits_1 read getRUNTEN write setRUNTEN;
  13384. property RUNTERREN : TBits_1 read getRUNTERREN write setRUNTERREN;
  13385. property UCEN : TBits_1 read getUCEN write setUCEN;
  13386. property w : TBits_32 read getw write setw;
  13387. end;
  13388. TETH_ETHRXWM = record
  13389. private
  13390. function getRXEWM : TBits_8; inline;
  13391. function getRXFWM : TBits_8; inline;
  13392. function getw : TBits_32; inline;
  13393. procedure setRXEWM(thebits : TBits_8); inline;
  13394. procedure setRXFWM(thebits : TBits_8); inline;
  13395. procedure setw(thebits : TBits_32); inline;
  13396. public
  13397. property RXEWM : TBits_8 read getRXEWM write setRXEWM;
  13398. property RXFWM : TBits_8 read getRXFWM write setRXFWM;
  13399. property w : TBits_32 read getw write setw;
  13400. end;
  13401. TETH_ETHIEN = record
  13402. private
  13403. function getEWMARKIE : TBits_1; inline;
  13404. function getFWMARKIE : TBits_1; inline;
  13405. function getPKTPENDIE : TBits_1; inline;
  13406. function getRXACTIE : TBits_1; inline;
  13407. function getRXBUFNAIE : TBits_1; inline;
  13408. function getRXBUSEIE : TBits_1; inline;
  13409. function getRXDONEIE : TBits_1; inline;
  13410. function getRXOVFLWIE : TBits_1; inline;
  13411. function getTXABORTIE : TBits_1; inline;
  13412. function getTXBUSEIE : TBits_1; inline;
  13413. function getTXDONEIE : TBits_1; inline;
  13414. function getw : TBits_32; inline;
  13415. procedure setEWMARKIE(thebits : TBits_1); inline;
  13416. procedure setFWMARKIE(thebits : TBits_1); inline;
  13417. procedure setPKTPENDIE(thebits : TBits_1); inline;
  13418. procedure setRXACTIE(thebits : TBits_1); inline;
  13419. procedure setRXBUFNAIE(thebits : TBits_1); inline;
  13420. procedure setRXBUSEIE(thebits : TBits_1); inline;
  13421. procedure setRXDONEIE(thebits : TBits_1); inline;
  13422. procedure setRXOVFLWIE(thebits : TBits_1); inline;
  13423. procedure setTXABORTIE(thebits : TBits_1); inline;
  13424. procedure setTXBUSEIE(thebits : TBits_1); inline;
  13425. procedure setTXDONEIE(thebits : TBits_1); inline;
  13426. procedure setw(thebits : TBits_32); inline;
  13427. public
  13428. procedure clearEWMARKIE; inline;
  13429. procedure clearFWMARKIE; inline;
  13430. procedure clearPKTPENDIE; inline;
  13431. procedure clearRXACTIE; inline;
  13432. procedure clearRXBUFNAIE; inline;
  13433. procedure clearRXBUSEIE; inline;
  13434. procedure clearRXDONEIE; inline;
  13435. procedure clearRXOVFLWIE; inline;
  13436. procedure clearTXABORTIE; inline;
  13437. procedure clearTXBUSEIE; inline;
  13438. procedure clearTXDONEIE; inline;
  13439. procedure setEWMARKIE; inline;
  13440. procedure setFWMARKIE; inline;
  13441. procedure setPKTPENDIE; inline;
  13442. procedure setRXACTIE; inline;
  13443. procedure setRXBUFNAIE; inline;
  13444. procedure setRXBUSEIE; inline;
  13445. procedure setRXDONEIE; inline;
  13446. procedure setRXOVFLWIE; inline;
  13447. procedure setTXABORTIE; inline;
  13448. procedure setTXBUSEIE; inline;
  13449. procedure setTXDONEIE; inline;
  13450. property EWMARKIE : TBits_1 read getEWMARKIE write setEWMARKIE;
  13451. property FWMARKIE : TBits_1 read getFWMARKIE write setFWMARKIE;
  13452. property PKTPENDIE : TBits_1 read getPKTPENDIE write setPKTPENDIE;
  13453. property RXACTIE : TBits_1 read getRXACTIE write setRXACTIE;
  13454. property RXBUFNAIE : TBits_1 read getRXBUFNAIE write setRXBUFNAIE;
  13455. property RXBUSEIE : TBits_1 read getRXBUSEIE write setRXBUSEIE;
  13456. property RXDONEIE : TBits_1 read getRXDONEIE write setRXDONEIE;
  13457. property RXOVFLWIE : TBits_1 read getRXOVFLWIE write setRXOVFLWIE;
  13458. property TXABORTIE : TBits_1 read getTXABORTIE write setTXABORTIE;
  13459. property TXBUSEIE : TBits_1 read getTXBUSEIE write setTXBUSEIE;
  13460. property TXDONEIE : TBits_1 read getTXDONEIE write setTXDONEIE;
  13461. property w : TBits_32 read getw write setw;
  13462. end;
  13463. TETH_ETHIRQ = record
  13464. private
  13465. function getEWMARK : TBits_1; inline;
  13466. function getFWMARK : TBits_1; inline;
  13467. function getPKTPEND : TBits_1; inline;
  13468. function getRXACT : TBits_1; inline;
  13469. function getRXBUFNA : TBits_1; inline;
  13470. function getRXBUSE : TBits_1; inline;
  13471. function getRXDONE : TBits_1; inline;
  13472. function getRXOVFLW : TBits_1; inline;
  13473. function getTXABORT : TBits_1; inline;
  13474. function getTXBUSE : TBits_1; inline;
  13475. function getTXDONE : TBits_1; inline;
  13476. function getw : TBits_32; inline;
  13477. procedure setEWMARK(thebits : TBits_1); inline;
  13478. procedure setFWMARK(thebits : TBits_1); inline;
  13479. procedure setPKTPEND(thebits : TBits_1); inline;
  13480. procedure setRXACT(thebits : TBits_1); inline;
  13481. procedure setRXBUFNA(thebits : TBits_1); inline;
  13482. procedure setRXBUSE(thebits : TBits_1); inline;
  13483. procedure setRXDONE(thebits : TBits_1); inline;
  13484. procedure setRXOVFLW(thebits : TBits_1); inline;
  13485. procedure setTXABORT(thebits : TBits_1); inline;
  13486. procedure setTXBUSE(thebits : TBits_1); inline;
  13487. procedure setTXDONE(thebits : TBits_1); inline;
  13488. procedure setw(thebits : TBits_32); inline;
  13489. public
  13490. procedure clearEWMARK; inline;
  13491. procedure clearFWMARK; inline;
  13492. procedure clearPKTPEND; inline;
  13493. procedure clearRXACT; inline;
  13494. procedure clearRXBUFNA; inline;
  13495. procedure clearRXBUSE; inline;
  13496. procedure clearRXDONE; inline;
  13497. procedure clearRXOVFLW; inline;
  13498. procedure clearTXABORT; inline;
  13499. procedure clearTXBUSE; inline;
  13500. procedure clearTXDONE; inline;
  13501. procedure setEWMARK; inline;
  13502. procedure setFWMARK; inline;
  13503. procedure setPKTPEND; inline;
  13504. procedure setRXACT; inline;
  13505. procedure setRXBUFNA; inline;
  13506. procedure setRXBUSE; inline;
  13507. procedure setRXDONE; inline;
  13508. procedure setRXOVFLW; inline;
  13509. procedure setTXABORT; inline;
  13510. procedure setTXBUSE; inline;
  13511. procedure setTXDONE; inline;
  13512. property EWMARK : TBits_1 read getEWMARK write setEWMARK;
  13513. property FWMARK : TBits_1 read getFWMARK write setFWMARK;
  13514. property PKTPEND : TBits_1 read getPKTPEND write setPKTPEND;
  13515. property RXACT : TBits_1 read getRXACT write setRXACT;
  13516. property RXBUFNA : TBits_1 read getRXBUFNA write setRXBUFNA;
  13517. property RXBUSE : TBits_1 read getRXBUSE write setRXBUSE;
  13518. property RXDONE : TBits_1 read getRXDONE write setRXDONE;
  13519. property RXOVFLW : TBits_1 read getRXOVFLW write setRXOVFLW;
  13520. property TXABORT : TBits_1 read getTXABORT write setTXABORT;
  13521. property TXBUSE : TBits_1 read getTXBUSE write setTXBUSE;
  13522. property TXDONE : TBits_1 read getTXDONE write setTXDONE;
  13523. property w : TBits_32 read getw write setw;
  13524. end;
  13525. TETH_ETHSTAT = record
  13526. private
  13527. function getBUFCNT : TBits_8; inline;
  13528. function getBUSY : TBits_1; inline;
  13529. function getETHBUSY : TBits_1; inline;
  13530. function getRXBUSY : TBits_1; inline;
  13531. function getTXBUSY : TBits_1; inline;
  13532. function getw : TBits_32; inline;
  13533. procedure setBUFCNT(thebits : TBits_8); inline;
  13534. procedure setBUSY(thebits : TBits_1); inline;
  13535. procedure setETHBUSY(thebits : TBits_1); inline;
  13536. procedure setRXBUSY(thebits : TBits_1); inline;
  13537. procedure setTXBUSY(thebits : TBits_1); inline;
  13538. procedure setw(thebits : TBits_32); inline;
  13539. public
  13540. procedure clearBUSY; inline;
  13541. procedure clearETHBUSY; inline;
  13542. procedure clearRXBUSY; inline;
  13543. procedure clearTXBUSY; inline;
  13544. procedure setBUSY; inline;
  13545. procedure setETHBUSY; inline;
  13546. procedure setRXBUSY; inline;
  13547. procedure setTXBUSY; inline;
  13548. property BUFCNT : TBits_8 read getBUFCNT write setBUFCNT;
  13549. property BUSY : TBits_1 read getBUSY write setBUSY;
  13550. property ETHBUSY : TBits_1 read getETHBUSY write setETHBUSY;
  13551. property RXBUSY : TBits_1 read getRXBUSY write setRXBUSY;
  13552. property TXBUSY : TBits_1 read getTXBUSY write setTXBUSY;
  13553. property w : TBits_32 read getw write setw;
  13554. end;
  13555. TETH_ETHRXOVFLOW = record
  13556. private
  13557. function getRXOVFLWCNT : TBits_16; inline;
  13558. function getw : TBits_32; inline;
  13559. procedure setRXOVFLWCNT(thebits : TBits_16); inline;
  13560. procedure setw(thebits : TBits_32); inline;
  13561. public
  13562. property RXOVFLWCNT : TBits_16 read getRXOVFLWCNT write setRXOVFLWCNT;
  13563. property w : TBits_32 read getw write setw;
  13564. end;
  13565. TETH_ETHFRMTXOK = record
  13566. private
  13567. function getFRMTXOKCNT : TBits_16; inline;
  13568. function getw : TBits_32; inline;
  13569. procedure setFRMTXOKCNT(thebits : TBits_16); inline;
  13570. procedure setw(thebits : TBits_32); inline;
  13571. public
  13572. property FRMTXOKCNT : TBits_16 read getFRMTXOKCNT write setFRMTXOKCNT;
  13573. property w : TBits_32 read getw write setw;
  13574. end;
  13575. TETH_ETHSCOLFRM = record
  13576. private
  13577. function getSCOLFRMCNT : TBits_16; inline;
  13578. function getw : TBits_32; inline;
  13579. procedure setSCOLFRMCNT(thebits : TBits_16); inline;
  13580. procedure setw(thebits : TBits_32); inline;
  13581. public
  13582. property SCOLFRMCNT : TBits_16 read getSCOLFRMCNT write setSCOLFRMCNT;
  13583. property w : TBits_32 read getw write setw;
  13584. end;
  13585. TETH_ETHMCOLFRM = record
  13586. private
  13587. function getMCOLFRMCNT : TBits_16; inline;
  13588. function getMCOLFRM_CNT : TBits_16; inline;
  13589. function getw : TBits_32; inline;
  13590. procedure setMCOLFRMCNT(thebits : TBits_16); inline;
  13591. procedure setMCOLFRM_CNT(thebits : TBits_16); inline;
  13592. procedure setw(thebits : TBits_32); inline;
  13593. public
  13594. property MCOLFRMCNT : TBits_16 read getMCOLFRMCNT write setMCOLFRMCNT;
  13595. property MCOLFRM_CNT : TBits_16 read getMCOLFRM_CNT write setMCOLFRM_CNT;
  13596. property w : TBits_32 read getw write setw;
  13597. end;
  13598. TETH_ETHFRMRXOK = record
  13599. private
  13600. function getFRMRXOKCNT : TBits_16; inline;
  13601. function getw : TBits_32; inline;
  13602. procedure setFRMRXOKCNT(thebits : TBits_16); inline;
  13603. procedure setw(thebits : TBits_32); inline;
  13604. public
  13605. property FRMRXOKCNT : TBits_16 read getFRMRXOKCNT write setFRMRXOKCNT;
  13606. property w : TBits_32 read getw write setw;
  13607. end;
  13608. TETH_ETHFCSERR = record
  13609. private
  13610. function getFCSERRCNT : TBits_16; inline;
  13611. function getw : TBits_32; inline;
  13612. procedure setFCSERRCNT(thebits : TBits_16); inline;
  13613. procedure setw(thebits : TBits_32); inline;
  13614. public
  13615. property FCSERRCNT : TBits_16 read getFCSERRCNT write setFCSERRCNT;
  13616. property w : TBits_32 read getw write setw;
  13617. end;
  13618. TETH_ETHALGNERR = record
  13619. private
  13620. function getALGNERRCNT : TBits_16; inline;
  13621. function getw : TBits_32; inline;
  13622. procedure setALGNERRCNT(thebits : TBits_16); inline;
  13623. procedure setw(thebits : TBits_32); inline;
  13624. public
  13625. property ALGNERRCNT : TBits_16 read getALGNERRCNT write setALGNERRCNT;
  13626. property w : TBits_32 read getw write setw;
  13627. end;
  13628. TETH_EMAC1CFG1 = record
  13629. private
  13630. function getLOOPBACK : TBits_1; inline;
  13631. function getPASSALL : TBits_1; inline;
  13632. function getRESETRFUN : TBits_1; inline;
  13633. function getRESETRMCS : TBits_1; inline;
  13634. function getRESETTFUN : TBits_1; inline;
  13635. function getRESETTMCS : TBits_1; inline;
  13636. function getRXENABLE : TBits_1; inline;
  13637. function getRXPAUSE : TBits_1; inline;
  13638. function getSIMRESET : TBits_1; inline;
  13639. function getSOFTRESET : TBits_1; inline;
  13640. function getTXPAUSE : TBits_1; inline;
  13641. function getw : TBits_32; inline;
  13642. procedure setLOOPBACK(thebits : TBits_1); inline;
  13643. procedure setPASSALL(thebits : TBits_1); inline;
  13644. procedure setRESETRFUN(thebits : TBits_1); inline;
  13645. procedure setRESETRMCS(thebits : TBits_1); inline;
  13646. procedure setRESETTFUN(thebits : TBits_1); inline;
  13647. procedure setRESETTMCS(thebits : TBits_1); inline;
  13648. procedure setRXENABLE(thebits : TBits_1); inline;
  13649. procedure setRXPAUSE(thebits : TBits_1); inline;
  13650. procedure setSIMRESET(thebits : TBits_1); inline;
  13651. procedure setSOFTRESET(thebits : TBits_1); inline;
  13652. procedure setTXPAUSE(thebits : TBits_1); inline;
  13653. procedure setw(thebits : TBits_32); inline;
  13654. public
  13655. procedure clearLOOPBACK; inline;
  13656. procedure clearPASSALL; inline;
  13657. procedure clearRESETRFUN; inline;
  13658. procedure clearRESETRMCS; inline;
  13659. procedure clearRESETTFUN; inline;
  13660. procedure clearRESETTMCS; inline;
  13661. procedure clearRXENABLE; inline;
  13662. procedure clearRXPAUSE; inline;
  13663. procedure clearSIMRESET; inline;
  13664. procedure clearSOFTRESET; inline;
  13665. procedure clearTXPAUSE; inline;
  13666. procedure setLOOPBACK; inline;
  13667. procedure setPASSALL; inline;
  13668. procedure setRESETRFUN; inline;
  13669. procedure setRESETRMCS; inline;
  13670. procedure setRESETTFUN; inline;
  13671. procedure setRESETTMCS; inline;
  13672. procedure setRXENABLE; inline;
  13673. procedure setRXPAUSE; inline;
  13674. procedure setSIMRESET; inline;
  13675. procedure setSOFTRESET; inline;
  13676. procedure setTXPAUSE; inline;
  13677. property LOOPBACK : TBits_1 read getLOOPBACK write setLOOPBACK;
  13678. property PASSALL : TBits_1 read getPASSALL write setPASSALL;
  13679. property RESETRFUN : TBits_1 read getRESETRFUN write setRESETRFUN;
  13680. property RESETRMCS : TBits_1 read getRESETRMCS write setRESETRMCS;
  13681. property RESETTFUN : TBits_1 read getRESETTFUN write setRESETTFUN;
  13682. property RESETTMCS : TBits_1 read getRESETTMCS write setRESETTMCS;
  13683. property RXENABLE : TBits_1 read getRXENABLE write setRXENABLE;
  13684. property RXPAUSE : TBits_1 read getRXPAUSE write setRXPAUSE;
  13685. property SIMRESET : TBits_1 read getSIMRESET write setSIMRESET;
  13686. property SOFTRESET : TBits_1 read getSOFTRESET write setSOFTRESET;
  13687. property TXPAUSE : TBits_1 read getTXPAUSE write setTXPAUSE;
  13688. property w : TBits_32 read getw write setw;
  13689. end;
  13690. TETH_EMACxCFG1 = record
  13691. private
  13692. function getLOOPBACK : TBits_1; inline;
  13693. function getPASSALL : TBits_1; inline;
  13694. function getRESETRFUN : TBits_1; inline;
  13695. function getRESETRMCS : TBits_1; inline;
  13696. function getRESETTFUN : TBits_1; inline;
  13697. function getRESETTMCS : TBits_1; inline;
  13698. function getRXENABLE : TBits_1; inline;
  13699. function getRXPAUSE : TBits_1; inline;
  13700. function getSIMRESET : TBits_1; inline;
  13701. function getSOFTRESET : TBits_1; inline;
  13702. function getTXPAUSE : TBits_1; inline;
  13703. function getw : TBits_32; inline;
  13704. procedure setLOOPBACK(thebits : TBits_1); inline;
  13705. procedure setPASSALL(thebits : TBits_1); inline;
  13706. procedure setRESETRFUN(thebits : TBits_1); inline;
  13707. procedure setRESETRMCS(thebits : TBits_1); inline;
  13708. procedure setRESETTFUN(thebits : TBits_1); inline;
  13709. procedure setRESETTMCS(thebits : TBits_1); inline;
  13710. procedure setRXENABLE(thebits : TBits_1); inline;
  13711. procedure setRXPAUSE(thebits : TBits_1); inline;
  13712. procedure setSIMRESET(thebits : TBits_1); inline;
  13713. procedure setSOFTRESET(thebits : TBits_1); inline;
  13714. procedure setTXPAUSE(thebits : TBits_1); inline;
  13715. procedure setw(thebits : TBits_32); inline;
  13716. public
  13717. procedure clearLOOPBACK; inline;
  13718. procedure clearPASSALL; inline;
  13719. procedure clearRESETRFUN; inline;
  13720. procedure clearRESETRMCS; inline;
  13721. procedure clearRESETTFUN; inline;
  13722. procedure clearRESETTMCS; inline;
  13723. procedure clearRXENABLE; inline;
  13724. procedure clearRXPAUSE; inline;
  13725. procedure clearSIMRESET; inline;
  13726. procedure clearSOFTRESET; inline;
  13727. procedure clearTXPAUSE; inline;
  13728. procedure setLOOPBACK; inline;
  13729. procedure setPASSALL; inline;
  13730. procedure setRESETRFUN; inline;
  13731. procedure setRESETRMCS; inline;
  13732. procedure setRESETTFUN; inline;
  13733. procedure setRESETTMCS; inline;
  13734. procedure setRXENABLE; inline;
  13735. procedure setRXPAUSE; inline;
  13736. procedure setSIMRESET; inline;
  13737. procedure setSOFTRESET; inline;
  13738. procedure setTXPAUSE; inline;
  13739. property LOOPBACK : TBits_1 read getLOOPBACK write setLOOPBACK;
  13740. property PASSALL : TBits_1 read getPASSALL write setPASSALL;
  13741. property RESETRFUN : TBits_1 read getRESETRFUN write setRESETRFUN;
  13742. property RESETRMCS : TBits_1 read getRESETRMCS write setRESETRMCS;
  13743. property RESETTFUN : TBits_1 read getRESETTFUN write setRESETTFUN;
  13744. property RESETTMCS : TBits_1 read getRESETTMCS write setRESETTMCS;
  13745. property RXENABLE : TBits_1 read getRXENABLE write setRXENABLE;
  13746. property RXPAUSE : TBits_1 read getRXPAUSE write setRXPAUSE;
  13747. property SIMRESET : TBits_1 read getSIMRESET write setSIMRESET;
  13748. property SOFTRESET : TBits_1 read getSOFTRESET write setSOFTRESET;
  13749. property TXPAUSE : TBits_1 read getTXPAUSE write setTXPAUSE;
  13750. property w : TBits_32 read getw write setw;
  13751. end;
  13752. TETH_EMAC1CFG2 = record
  13753. private
  13754. function getAUTOPAD : TBits_1; inline;
  13755. function getBPNOBKOFF : TBits_1; inline;
  13756. function getCRCENABLE : TBits_1; inline;
  13757. function getDELAYCRC : TBits_1; inline;
  13758. function getEXCESSDFR : TBits_1; inline;
  13759. function getFULLDPLX : TBits_1; inline;
  13760. function getHUGEFRM : TBits_1; inline;
  13761. function getLENGTHCK : TBits_1; inline;
  13762. function getLONGPRE : TBits_1; inline;
  13763. function getNOBKOFF : TBits_1; inline;
  13764. function getPADENABLE : TBits_1; inline;
  13765. function getPUREPRE : TBits_1; inline;
  13766. function getVLANPAD : TBits_1; inline;
  13767. function getw : TBits_32; inline;
  13768. procedure setAUTOPAD(thebits : TBits_1); inline;
  13769. procedure setBPNOBKOFF(thebits : TBits_1); inline;
  13770. procedure setCRCENABLE(thebits : TBits_1); inline;
  13771. procedure setDELAYCRC(thebits : TBits_1); inline;
  13772. procedure setEXCESSDFR(thebits : TBits_1); inline;
  13773. procedure setFULLDPLX(thebits : TBits_1); inline;
  13774. procedure setHUGEFRM(thebits : TBits_1); inline;
  13775. procedure setLENGTHCK(thebits : TBits_1); inline;
  13776. procedure setLONGPRE(thebits : TBits_1); inline;
  13777. procedure setNOBKOFF(thebits : TBits_1); inline;
  13778. procedure setPADENABLE(thebits : TBits_1); inline;
  13779. procedure setPUREPRE(thebits : TBits_1); inline;
  13780. procedure setVLANPAD(thebits : TBits_1); inline;
  13781. procedure setw(thebits : TBits_32); inline;
  13782. public
  13783. procedure clearAUTOPAD; inline;
  13784. procedure clearBPNOBKOFF; inline;
  13785. procedure clearCRCENABLE; inline;
  13786. procedure clearDELAYCRC; inline;
  13787. procedure clearEXCESSDFR; inline;
  13788. procedure clearFULLDPLX; inline;
  13789. procedure clearHUGEFRM; inline;
  13790. procedure clearLENGTHCK; inline;
  13791. procedure clearLONGPRE; inline;
  13792. procedure clearNOBKOFF; inline;
  13793. procedure clearPADENABLE; inline;
  13794. procedure clearPUREPRE; inline;
  13795. procedure clearVLANPAD; inline;
  13796. procedure setAUTOPAD; inline;
  13797. procedure setBPNOBKOFF; inline;
  13798. procedure setCRCENABLE; inline;
  13799. procedure setDELAYCRC; inline;
  13800. procedure setEXCESSDFR; inline;
  13801. procedure setFULLDPLX; inline;
  13802. procedure setHUGEFRM; inline;
  13803. procedure setLENGTHCK; inline;
  13804. procedure setLONGPRE; inline;
  13805. procedure setNOBKOFF; inline;
  13806. procedure setPADENABLE; inline;
  13807. procedure setPUREPRE; inline;
  13808. procedure setVLANPAD; inline;
  13809. property AUTOPAD : TBits_1 read getAUTOPAD write setAUTOPAD;
  13810. property BPNOBKOFF : TBits_1 read getBPNOBKOFF write setBPNOBKOFF;
  13811. property CRCENABLE : TBits_1 read getCRCENABLE write setCRCENABLE;
  13812. property DELAYCRC : TBits_1 read getDELAYCRC write setDELAYCRC;
  13813. property EXCESSDFR : TBits_1 read getEXCESSDFR write setEXCESSDFR;
  13814. property FULLDPLX : TBits_1 read getFULLDPLX write setFULLDPLX;
  13815. property HUGEFRM : TBits_1 read getHUGEFRM write setHUGEFRM;
  13816. property LENGTHCK : TBits_1 read getLENGTHCK write setLENGTHCK;
  13817. property LONGPRE : TBits_1 read getLONGPRE write setLONGPRE;
  13818. property NOBKOFF : TBits_1 read getNOBKOFF write setNOBKOFF;
  13819. property PADENABLE : TBits_1 read getPADENABLE write setPADENABLE;
  13820. property PUREPRE : TBits_1 read getPUREPRE write setPUREPRE;
  13821. property VLANPAD : TBits_1 read getVLANPAD write setVLANPAD;
  13822. property w : TBits_32 read getw write setw;
  13823. end;
  13824. TETH_EMACxCFG2 = record
  13825. private
  13826. function getAUTOPAD : TBits_1; inline;
  13827. function getBPNOBKOFF : TBits_1; inline;
  13828. function getCRCENABLE : TBits_1; inline;
  13829. function getDELAYCRC : TBits_1; inline;
  13830. function getEXCESSDFR : TBits_1; inline;
  13831. function getFULLDPLX : TBits_1; inline;
  13832. function getHUGEFRM : TBits_1; inline;
  13833. function getLENGTHCK : TBits_1; inline;
  13834. function getLONGPRE : TBits_1; inline;
  13835. function getNOBKOFF : TBits_1; inline;
  13836. function getPADENABLE : TBits_1; inline;
  13837. function getPUREPRE : TBits_1; inline;
  13838. function getVLANPAD : TBits_1; inline;
  13839. function getw : TBits_32; inline;
  13840. procedure setAUTOPAD(thebits : TBits_1); inline;
  13841. procedure setBPNOBKOFF(thebits : TBits_1); inline;
  13842. procedure setCRCENABLE(thebits : TBits_1); inline;
  13843. procedure setDELAYCRC(thebits : TBits_1); inline;
  13844. procedure setEXCESSDFR(thebits : TBits_1); inline;
  13845. procedure setFULLDPLX(thebits : TBits_1); inline;
  13846. procedure setHUGEFRM(thebits : TBits_1); inline;
  13847. procedure setLENGTHCK(thebits : TBits_1); inline;
  13848. procedure setLONGPRE(thebits : TBits_1); inline;
  13849. procedure setNOBKOFF(thebits : TBits_1); inline;
  13850. procedure setPADENABLE(thebits : TBits_1); inline;
  13851. procedure setPUREPRE(thebits : TBits_1); inline;
  13852. procedure setVLANPAD(thebits : TBits_1); inline;
  13853. procedure setw(thebits : TBits_32); inline;
  13854. public
  13855. procedure clearAUTOPAD; inline;
  13856. procedure clearBPNOBKOFF; inline;
  13857. procedure clearCRCENABLE; inline;
  13858. procedure clearDELAYCRC; inline;
  13859. procedure clearEXCESSDFR; inline;
  13860. procedure clearFULLDPLX; inline;
  13861. procedure clearHUGEFRM; inline;
  13862. procedure clearLENGTHCK; inline;
  13863. procedure clearLONGPRE; inline;
  13864. procedure clearNOBKOFF; inline;
  13865. procedure clearPADENABLE; inline;
  13866. procedure clearPUREPRE; inline;
  13867. procedure clearVLANPAD; inline;
  13868. procedure setAUTOPAD; inline;
  13869. procedure setBPNOBKOFF; inline;
  13870. procedure setCRCENABLE; inline;
  13871. procedure setDELAYCRC; inline;
  13872. procedure setEXCESSDFR; inline;
  13873. procedure setFULLDPLX; inline;
  13874. procedure setHUGEFRM; inline;
  13875. procedure setLENGTHCK; inline;
  13876. procedure setLONGPRE; inline;
  13877. procedure setNOBKOFF; inline;
  13878. procedure setPADENABLE; inline;
  13879. procedure setPUREPRE; inline;
  13880. procedure setVLANPAD; inline;
  13881. property AUTOPAD : TBits_1 read getAUTOPAD write setAUTOPAD;
  13882. property BPNOBKOFF : TBits_1 read getBPNOBKOFF write setBPNOBKOFF;
  13883. property CRCENABLE : TBits_1 read getCRCENABLE write setCRCENABLE;
  13884. property DELAYCRC : TBits_1 read getDELAYCRC write setDELAYCRC;
  13885. property EXCESSDFR : TBits_1 read getEXCESSDFR write setEXCESSDFR;
  13886. property FULLDPLX : TBits_1 read getFULLDPLX write setFULLDPLX;
  13887. property HUGEFRM : TBits_1 read getHUGEFRM write setHUGEFRM;
  13888. property LENGTHCK : TBits_1 read getLENGTHCK write setLENGTHCK;
  13889. property LONGPRE : TBits_1 read getLONGPRE write setLONGPRE;
  13890. property NOBKOFF : TBits_1 read getNOBKOFF write setNOBKOFF;
  13891. property PADENABLE : TBits_1 read getPADENABLE write setPADENABLE;
  13892. property PUREPRE : TBits_1 read getPUREPRE write setPUREPRE;
  13893. property VLANPAD : TBits_1 read getVLANPAD write setVLANPAD;
  13894. property w : TBits_32 read getw write setw;
  13895. end;
  13896. TETH_EMAC1IPGT = record
  13897. private
  13898. function getB2BIPKTGP : TBits_7; inline;
  13899. function getw : TBits_32; inline;
  13900. procedure setB2BIPKTGP(thebits : TBits_7); inline;
  13901. procedure setw(thebits : TBits_32); inline;
  13902. public
  13903. property B2BIPKTGP : TBits_7 read getB2BIPKTGP write setB2BIPKTGP;
  13904. property w : TBits_32 read getw write setw;
  13905. end;
  13906. TETH_EMACxIPGT = record
  13907. private
  13908. function getB2BIPKTGP : TBits_7; inline;
  13909. function getw : TBits_32; inline;
  13910. procedure setB2BIPKTGP(thebits : TBits_7); inline;
  13911. procedure setw(thebits : TBits_32); inline;
  13912. public
  13913. property B2BIPKTGP : TBits_7 read getB2BIPKTGP write setB2BIPKTGP;
  13914. property w : TBits_32 read getw write setw;
  13915. end;
  13916. TETH_EMAC1IPGR = record
  13917. private
  13918. function getNB2BIPKTGP1 : TBits_7; inline;
  13919. function getNB2BIPKTGP2 : TBits_7; inline;
  13920. function getw : TBits_32; inline;
  13921. procedure setNB2BIPKTGP1(thebits : TBits_7); inline;
  13922. procedure setNB2BIPKTGP2(thebits : TBits_7); inline;
  13923. procedure setw(thebits : TBits_32); inline;
  13924. public
  13925. property NB2BIPKTGP1 : TBits_7 read getNB2BIPKTGP1 write setNB2BIPKTGP1;
  13926. property NB2BIPKTGP2 : TBits_7 read getNB2BIPKTGP2 write setNB2BIPKTGP2;
  13927. property w : TBits_32 read getw write setw;
  13928. end;
  13929. TETH_EMACxIPGR = record
  13930. private
  13931. function getNB2BIPKTGP1 : TBits_7; inline;
  13932. function getNB2BIPKTGP2 : TBits_7; inline;
  13933. function getw : TBits_32; inline;
  13934. procedure setNB2BIPKTGP1(thebits : TBits_7); inline;
  13935. procedure setNB2BIPKTGP2(thebits : TBits_7); inline;
  13936. procedure setw(thebits : TBits_32); inline;
  13937. public
  13938. property NB2BIPKTGP1 : TBits_7 read getNB2BIPKTGP1 write setNB2BIPKTGP1;
  13939. property NB2BIPKTGP2 : TBits_7 read getNB2BIPKTGP2 write setNB2BIPKTGP2;
  13940. property w : TBits_32 read getw write setw;
  13941. end;
  13942. TETH_EMAC1CLRT = record
  13943. private
  13944. function getCWINDOW : TBits_6; inline;
  13945. function getRETX : TBits_4; inline;
  13946. function getw : TBits_32; inline;
  13947. procedure setCWINDOW(thebits : TBits_6); inline;
  13948. procedure setRETX(thebits : TBits_4); inline;
  13949. procedure setw(thebits : TBits_32); inline;
  13950. public
  13951. property CWINDOW : TBits_6 read getCWINDOW write setCWINDOW;
  13952. property RETX : TBits_4 read getRETX write setRETX;
  13953. property w : TBits_32 read getw write setw;
  13954. end;
  13955. TETH_EMACxCLRT = record
  13956. private
  13957. function getCWINDOW : TBits_6; inline;
  13958. function getRETX : TBits_4; inline;
  13959. function getw : TBits_32; inline;
  13960. procedure setCWINDOW(thebits : TBits_6); inline;
  13961. procedure setRETX(thebits : TBits_4); inline;
  13962. procedure setw(thebits : TBits_32); inline;
  13963. public
  13964. property CWINDOW : TBits_6 read getCWINDOW write setCWINDOW;
  13965. property RETX : TBits_4 read getRETX write setRETX;
  13966. property w : TBits_32 read getw write setw;
  13967. end;
  13968. TETH_EMAC1MAXF = record
  13969. private
  13970. function getMACMAXF : TBits_16; inline;
  13971. function getw : TBits_32; inline;
  13972. procedure setMACMAXF(thebits : TBits_16); inline;
  13973. procedure setw(thebits : TBits_32); inline;
  13974. public
  13975. property MACMAXF : TBits_16 read getMACMAXF write setMACMAXF;
  13976. property w : TBits_32 read getw write setw;
  13977. end;
  13978. TETH_EMACxMAXF = record
  13979. private
  13980. function getMACMAXF : TBits_16; inline;
  13981. function getw : TBits_32; inline;
  13982. procedure setMACMAXF(thebits : TBits_16); inline;
  13983. procedure setw(thebits : TBits_32); inline;
  13984. public
  13985. property MACMAXF : TBits_16 read getMACMAXF write setMACMAXF;
  13986. property w : TBits_32 read getw write setw;
  13987. end;
  13988. TETH_EMAC1SUPP = record
  13989. private
  13990. function getRESETRMII : TBits_1; inline;
  13991. function getSPEEDRMII : TBits_1; inline;
  13992. function getw : TBits_32; inline;
  13993. procedure setRESETRMII(thebits : TBits_1); inline;
  13994. procedure setSPEEDRMII(thebits : TBits_1); inline;
  13995. procedure setw(thebits : TBits_32); inline;
  13996. public
  13997. procedure clearRESETRMII; inline;
  13998. procedure clearSPEEDRMII; inline;
  13999. procedure setRESETRMII; inline;
  14000. procedure setSPEEDRMII; inline;
  14001. property RESETRMII : TBits_1 read getRESETRMII write setRESETRMII;
  14002. property SPEEDRMII : TBits_1 read getSPEEDRMII write setSPEEDRMII;
  14003. property w : TBits_32 read getw write setw;
  14004. end;
  14005. TETH_EMACxSUPP = record
  14006. private
  14007. function getRESETRMII : TBits_1; inline;
  14008. function getSPEEDRMII : TBits_1; inline;
  14009. function getw : TBits_32; inline;
  14010. procedure setRESETRMII(thebits : TBits_1); inline;
  14011. procedure setSPEEDRMII(thebits : TBits_1); inline;
  14012. procedure setw(thebits : TBits_32); inline;
  14013. public
  14014. procedure clearRESETRMII; inline;
  14015. procedure clearSPEEDRMII; inline;
  14016. procedure setRESETRMII; inline;
  14017. procedure setSPEEDRMII; inline;
  14018. property RESETRMII : TBits_1 read getRESETRMII write setRESETRMII;
  14019. property SPEEDRMII : TBits_1 read getSPEEDRMII write setSPEEDRMII;
  14020. property w : TBits_32 read getw write setw;
  14021. end;
  14022. TETH_EMAC1TEST = record
  14023. private
  14024. function getSHRTQNTA : TBits_1; inline;
  14025. function getTESTBP : TBits_1; inline;
  14026. function getTESTPAUSE : TBits_1; inline;
  14027. function getw : TBits_32; inline;
  14028. procedure setSHRTQNTA(thebits : TBits_1); inline;
  14029. procedure setTESTBP(thebits : TBits_1); inline;
  14030. procedure setTESTPAUSE(thebits : TBits_1); inline;
  14031. procedure setw(thebits : TBits_32); inline;
  14032. public
  14033. procedure clearSHRTQNTA; inline;
  14034. procedure clearTESTBP; inline;
  14035. procedure clearTESTPAUSE; inline;
  14036. procedure setSHRTQNTA; inline;
  14037. procedure setTESTBP; inline;
  14038. procedure setTESTPAUSE; inline;
  14039. property SHRTQNTA : TBits_1 read getSHRTQNTA write setSHRTQNTA;
  14040. property TESTBP : TBits_1 read getTESTBP write setTESTBP;
  14041. property TESTPAUSE : TBits_1 read getTESTPAUSE write setTESTPAUSE;
  14042. property w : TBits_32 read getw write setw;
  14043. end;
  14044. TETH_EMACxTEST = record
  14045. private
  14046. function getSHRTQNTA : TBits_1; inline;
  14047. function getTESTBP : TBits_1; inline;
  14048. function getTESTPAUSE : TBits_1; inline;
  14049. function getw : TBits_32; inline;
  14050. procedure setSHRTQNTA(thebits : TBits_1); inline;
  14051. procedure setTESTBP(thebits : TBits_1); inline;
  14052. procedure setTESTPAUSE(thebits : TBits_1); inline;
  14053. procedure setw(thebits : TBits_32); inline;
  14054. public
  14055. procedure clearSHRTQNTA; inline;
  14056. procedure clearTESTBP; inline;
  14057. procedure clearTESTPAUSE; inline;
  14058. procedure setSHRTQNTA; inline;
  14059. procedure setTESTBP; inline;
  14060. procedure setTESTPAUSE; inline;
  14061. property SHRTQNTA : TBits_1 read getSHRTQNTA write setSHRTQNTA;
  14062. property TESTBP : TBits_1 read getTESTBP write setTESTBP;
  14063. property TESTPAUSE : TBits_1 read getTESTPAUSE write setTESTPAUSE;
  14064. property w : TBits_32 read getw write setw;
  14065. end;
  14066. TETH_EMAC1MCFG = record
  14067. private
  14068. function getCLKSEL : TBits_4; inline;
  14069. function getNOPRE : TBits_1; inline;
  14070. function getRESETMGMT : TBits_1; inline;
  14071. function getSCANINC : TBits_1; inline;
  14072. function getw : TBits_32; inline;
  14073. procedure setCLKSEL(thebits : TBits_4); inline;
  14074. procedure setNOPRE(thebits : TBits_1); inline;
  14075. procedure setRESETMGMT(thebits : TBits_1); inline;
  14076. procedure setSCANINC(thebits : TBits_1); inline;
  14077. procedure setw(thebits : TBits_32); inline;
  14078. public
  14079. procedure clearNOPRE; inline;
  14080. procedure clearRESETMGMT; inline;
  14081. procedure clearSCANINC; inline;
  14082. procedure setNOPRE; inline;
  14083. procedure setRESETMGMT; inline;
  14084. procedure setSCANINC; inline;
  14085. property CLKSEL : TBits_4 read getCLKSEL write setCLKSEL;
  14086. property NOPRE : TBits_1 read getNOPRE write setNOPRE;
  14087. property RESETMGMT : TBits_1 read getRESETMGMT write setRESETMGMT;
  14088. property SCANINC : TBits_1 read getSCANINC write setSCANINC;
  14089. property w : TBits_32 read getw write setw;
  14090. end;
  14091. TETH_EMACxMCFG = record
  14092. private
  14093. function getCLKSEL : TBits_4; inline;
  14094. function getNOPRE : TBits_1; inline;
  14095. function getRESETMGMT : TBits_1; inline;
  14096. function getSCANINC : TBits_1; inline;
  14097. function getw : TBits_32; inline;
  14098. procedure setCLKSEL(thebits : TBits_4); inline;
  14099. procedure setNOPRE(thebits : TBits_1); inline;
  14100. procedure setRESETMGMT(thebits : TBits_1); inline;
  14101. procedure setSCANINC(thebits : TBits_1); inline;
  14102. procedure setw(thebits : TBits_32); inline;
  14103. public
  14104. procedure clearNOPRE; inline;
  14105. procedure clearRESETMGMT; inline;
  14106. procedure clearSCANINC; inline;
  14107. procedure setNOPRE; inline;
  14108. procedure setRESETMGMT; inline;
  14109. procedure setSCANINC; inline;
  14110. property CLKSEL : TBits_4 read getCLKSEL write setCLKSEL;
  14111. property NOPRE : TBits_1 read getNOPRE write setNOPRE;
  14112. property RESETMGMT : TBits_1 read getRESETMGMT write setRESETMGMT;
  14113. property SCANINC : TBits_1 read getSCANINC write setSCANINC;
  14114. property w : TBits_32 read getw write setw;
  14115. end;
  14116. TETH_EMAC1MCMD = record
  14117. private
  14118. function getREAD : TBits_1; inline;
  14119. function getSCAN : TBits_1; inline;
  14120. function getw : TBits_32; inline;
  14121. procedure setREAD(thebits : TBits_1); inline;
  14122. procedure setSCAN(thebits : TBits_1); inline;
  14123. procedure setw(thebits : TBits_32); inline;
  14124. public
  14125. procedure clearREAD; inline;
  14126. procedure clearSCAN; inline;
  14127. procedure setREAD; inline;
  14128. procedure setSCAN; inline;
  14129. property READ : TBits_1 read getREAD write setREAD;
  14130. property SCAN : TBits_1 read getSCAN write setSCAN;
  14131. property w : TBits_32 read getw write setw;
  14132. end;
  14133. TETH_EMACxMCMD = record
  14134. private
  14135. function getREAD : TBits_1; inline;
  14136. function getSCAN : TBits_1; inline;
  14137. function getw : TBits_32; inline;
  14138. procedure setREAD(thebits : TBits_1); inline;
  14139. procedure setSCAN(thebits : TBits_1); inline;
  14140. procedure setw(thebits : TBits_32); inline;
  14141. public
  14142. procedure clearREAD; inline;
  14143. procedure clearSCAN; inline;
  14144. procedure setREAD; inline;
  14145. procedure setSCAN; inline;
  14146. property READ : TBits_1 read getREAD write setREAD;
  14147. property SCAN : TBits_1 read getSCAN write setSCAN;
  14148. property w : TBits_32 read getw write setw;
  14149. end;
  14150. TETH_EMAC1MADR = record
  14151. private
  14152. function getPHYADDR : TBits_5; inline;
  14153. function getREGADDR : TBits_5; inline;
  14154. function getw : TBits_32; inline;
  14155. procedure setPHYADDR(thebits : TBits_5); inline;
  14156. procedure setREGADDR(thebits : TBits_5); inline;
  14157. procedure setw(thebits : TBits_32); inline;
  14158. public
  14159. property PHYADDR : TBits_5 read getPHYADDR write setPHYADDR;
  14160. property REGADDR : TBits_5 read getREGADDR write setREGADDR;
  14161. property w : TBits_32 read getw write setw;
  14162. end;
  14163. TETH_EMACxMADR = record
  14164. private
  14165. function getPHYADDR : TBits_5; inline;
  14166. function getREGADDR : TBits_5; inline;
  14167. function getw : TBits_32; inline;
  14168. procedure setPHYADDR(thebits : TBits_5); inline;
  14169. procedure setREGADDR(thebits : TBits_5); inline;
  14170. procedure setw(thebits : TBits_32); inline;
  14171. public
  14172. property PHYADDR : TBits_5 read getPHYADDR write setPHYADDR;
  14173. property REGADDR : TBits_5 read getREGADDR write setREGADDR;
  14174. property w : TBits_32 read getw write setw;
  14175. end;
  14176. TETH_EMAC1MWTD = record
  14177. private
  14178. function getMWTD : TBits_16; inline;
  14179. function getw : TBits_32; inline;
  14180. procedure setMWTD(thebits : TBits_16); inline;
  14181. procedure setw(thebits : TBits_32); inline;
  14182. public
  14183. property MWTD : TBits_16 read getMWTD write setMWTD;
  14184. property w : TBits_32 read getw write setw;
  14185. end;
  14186. TETH_EMACxMWTD = record
  14187. private
  14188. function getMWTD : TBits_16; inline;
  14189. function getw : TBits_32; inline;
  14190. procedure setMWTD(thebits : TBits_16); inline;
  14191. procedure setw(thebits : TBits_32); inline;
  14192. public
  14193. property MWTD : TBits_16 read getMWTD write setMWTD;
  14194. property w : TBits_32 read getw write setw;
  14195. end;
  14196. TETH_EMAC1MRDD = record
  14197. private
  14198. function getMRDD : TBits_16; inline;
  14199. function getw : TBits_32; inline;
  14200. procedure setMRDD(thebits : TBits_16); inline;
  14201. procedure setw(thebits : TBits_32); inline;
  14202. public
  14203. property MRDD : TBits_16 read getMRDD write setMRDD;
  14204. property w : TBits_32 read getw write setw;
  14205. end;
  14206. TETH_EMACxMRDD = record
  14207. private
  14208. function getMRDD : TBits_16; inline;
  14209. function getw : TBits_32; inline;
  14210. procedure setMRDD(thebits : TBits_16); inline;
  14211. procedure setw(thebits : TBits_32); inline;
  14212. public
  14213. property MRDD : TBits_16 read getMRDD write setMRDD;
  14214. property w : TBits_32 read getw write setw;
  14215. end;
  14216. TETH_EMAC1MIND = record
  14217. private
  14218. function getLINKFAIL : TBits_1; inline;
  14219. function getMIIMBUSY : TBits_1; inline;
  14220. function getNOTVALID : TBits_1; inline;
  14221. function getSCAN : TBits_1; inline;
  14222. function getw : TBits_32; inline;
  14223. procedure setLINKFAIL(thebits : TBits_1); inline;
  14224. procedure setMIIMBUSY(thebits : TBits_1); inline;
  14225. procedure setNOTVALID(thebits : TBits_1); inline;
  14226. procedure setSCAN(thebits : TBits_1); inline;
  14227. procedure setw(thebits : TBits_32); inline;
  14228. public
  14229. procedure clearLINKFAIL; inline;
  14230. procedure clearMIIMBUSY; inline;
  14231. procedure clearNOTVALID; inline;
  14232. procedure clearSCAN; inline;
  14233. procedure setLINKFAIL; inline;
  14234. procedure setMIIMBUSY; inline;
  14235. procedure setNOTVALID; inline;
  14236. procedure setSCAN; inline;
  14237. property LINKFAIL : TBits_1 read getLINKFAIL write setLINKFAIL;
  14238. property MIIMBUSY : TBits_1 read getMIIMBUSY write setMIIMBUSY;
  14239. property NOTVALID : TBits_1 read getNOTVALID write setNOTVALID;
  14240. property SCAN : TBits_1 read getSCAN write setSCAN;
  14241. property w : TBits_32 read getw write setw;
  14242. end;
  14243. TETH_EMACxMIND = record
  14244. private
  14245. function getLINKFAIL : TBits_1; inline;
  14246. function getMIIMBUSY : TBits_1; inline;
  14247. function getNOTVALID : TBits_1; inline;
  14248. function getSCAN : TBits_1; inline;
  14249. function getw : TBits_32; inline;
  14250. procedure setLINKFAIL(thebits : TBits_1); inline;
  14251. procedure setMIIMBUSY(thebits : TBits_1); inline;
  14252. procedure setNOTVALID(thebits : TBits_1); inline;
  14253. procedure setSCAN(thebits : TBits_1); inline;
  14254. procedure setw(thebits : TBits_32); inline;
  14255. public
  14256. procedure clearLINKFAIL; inline;
  14257. procedure clearMIIMBUSY; inline;
  14258. procedure clearNOTVALID; inline;
  14259. procedure clearSCAN; inline;
  14260. procedure setLINKFAIL; inline;
  14261. procedure setMIIMBUSY; inline;
  14262. procedure setNOTVALID; inline;
  14263. procedure setSCAN; inline;
  14264. property LINKFAIL : TBits_1 read getLINKFAIL write setLINKFAIL;
  14265. property MIIMBUSY : TBits_1 read getMIIMBUSY write setMIIMBUSY;
  14266. property NOTVALID : TBits_1 read getNOTVALID write setNOTVALID;
  14267. property SCAN : TBits_1 read getSCAN write setSCAN;
  14268. property w : TBits_32 read getw write setw;
  14269. end;
  14270. TETH_EMAC1SA0 = record
  14271. private
  14272. function getSTNADDR5 : TBits_8; inline;
  14273. function getSTNADDR6 : TBits_8; inline;
  14274. function getw : TBits_32; inline;
  14275. procedure setSTNADDR5(thebits : TBits_8); inline;
  14276. procedure setSTNADDR6(thebits : TBits_8); inline;
  14277. procedure setw(thebits : TBits_32); inline;
  14278. public
  14279. property STNADDR5 : TBits_8 read getSTNADDR5 write setSTNADDR5;
  14280. property STNADDR6 : TBits_8 read getSTNADDR6 write setSTNADDR6;
  14281. property w : TBits_32 read getw write setw;
  14282. end;
  14283. TETH_EMACxSA0 = record
  14284. private
  14285. function getSTNADDR5 : TBits_8; inline;
  14286. function getSTNADDR6 : TBits_8; inline;
  14287. function getw : TBits_32; inline;
  14288. procedure setSTNADDR5(thebits : TBits_8); inline;
  14289. procedure setSTNADDR6(thebits : TBits_8); inline;
  14290. procedure setw(thebits : TBits_32); inline;
  14291. public
  14292. property STNADDR5 : TBits_8 read getSTNADDR5 write setSTNADDR5;
  14293. property STNADDR6 : TBits_8 read getSTNADDR6 write setSTNADDR6;
  14294. property w : TBits_32 read getw write setw;
  14295. end;
  14296. TETH_EMAC1SA1 = record
  14297. private
  14298. function getSTNADDR3 : TBits_8; inline;
  14299. function getSTNADDR4 : TBits_8; inline;
  14300. function getw : TBits_32; inline;
  14301. procedure setSTNADDR3(thebits : TBits_8); inline;
  14302. procedure setSTNADDR4(thebits : TBits_8); inline;
  14303. procedure setw(thebits : TBits_32); inline;
  14304. public
  14305. property STNADDR3 : TBits_8 read getSTNADDR3 write setSTNADDR3;
  14306. property STNADDR4 : TBits_8 read getSTNADDR4 write setSTNADDR4;
  14307. property w : TBits_32 read getw write setw;
  14308. end;
  14309. TETH_EMACxSA1 = record
  14310. private
  14311. function getSTNADDR3 : TBits_8; inline;
  14312. function getSTNADDR4 : TBits_8; inline;
  14313. function getw : TBits_32; inline;
  14314. procedure setSTNADDR3(thebits : TBits_8); inline;
  14315. procedure setSTNADDR4(thebits : TBits_8); inline;
  14316. procedure setw(thebits : TBits_32); inline;
  14317. public
  14318. property STNADDR3 : TBits_8 read getSTNADDR3 write setSTNADDR3;
  14319. property STNADDR4 : TBits_8 read getSTNADDR4 write setSTNADDR4;
  14320. property w : TBits_32 read getw write setw;
  14321. end;
  14322. TETH_EMAC1SA2 = record
  14323. private
  14324. function getSTNADDR1 : TBits_8; inline;
  14325. function getSTNADDR2 : TBits_8; inline;
  14326. function getw : TBits_32; inline;
  14327. procedure setSTNADDR1(thebits : TBits_8); inline;
  14328. procedure setSTNADDR2(thebits : TBits_8); inline;
  14329. procedure setw(thebits : TBits_32); inline;
  14330. public
  14331. property STNADDR1 : TBits_8 read getSTNADDR1 write setSTNADDR1;
  14332. property STNADDR2 : TBits_8 read getSTNADDR2 write setSTNADDR2;
  14333. property w : TBits_32 read getw write setw;
  14334. end;
  14335. TETH_EMACxSA2 = record
  14336. private
  14337. function getSTNADDR1 : TBits_8; inline;
  14338. function getSTNADDR2 : TBits_8; inline;
  14339. function getw : TBits_32; inline;
  14340. procedure setSTNADDR1(thebits : TBits_8); inline;
  14341. procedure setSTNADDR2(thebits : TBits_8); inline;
  14342. procedure setw(thebits : TBits_32); inline;
  14343. public
  14344. property STNADDR1 : TBits_8 read getSTNADDR1 write setSTNADDR1;
  14345. property STNADDR2 : TBits_8 read getSTNADDR2 write setSTNADDR2;
  14346. property w : TBits_32 read getw write setw;
  14347. end;
  14348. type
  14349. TETHRegisters = record
  14350. ETHCON1bits : TETH_ETHCON1;
  14351. ETHCON1 : longWord;
  14352. ETHCON1CLR : longWord;
  14353. ETHCON1SET : longWord;
  14354. ETHCON1INV : longWord;
  14355. ETHCON2bits : TETH_ETHCON2;
  14356. ETHCON2 : longWord;
  14357. ETHCON2CLR : longWord;
  14358. ETHCON2SET : longWord;
  14359. ETHCON2INV : longWord;
  14360. ETHTXSTbits : TETH_ETHTXST;
  14361. ETHTXST : longWord;
  14362. ETHTXSTCLR : longWord;
  14363. ETHTXSTSET : longWord;
  14364. ETHTXSTINV : longWord;
  14365. ETHRXSTbits : TETH_ETHRXST;
  14366. ETHRXST : longWord;
  14367. ETHRXSTCLR : longWord;
  14368. ETHRXSTSET : longWord;
  14369. ETHRXSTINV : longWord;
  14370. ETHHT0bits : TETH_ETHHT0;
  14371. ETHHT0 : longWord;
  14372. ETHHT0CLR : longWord;
  14373. ETHHT0SET : longWord;
  14374. ETHHT0INV : longWord;
  14375. ETHHT1bits : TETH_ETHHT1;
  14376. ETHHT1 : longWord;
  14377. ETHHT1CLR : longWord;
  14378. ETHHT1SET : longWord;
  14379. ETHHT1INV : longWord;
  14380. ETHPMM0bits : TETH_ETHPMM0;
  14381. ETHPMM0 : longWord;
  14382. ETHPMM0CLR : longWord;
  14383. ETHPMM0SET : longWord;
  14384. ETHPMM0INV : longWord;
  14385. ETHPMM1bits : TETH_ETHPMM1;
  14386. ETHPMM1 : longWord;
  14387. ETHPMM1CLR : longWord;
  14388. ETHPMM1SET : longWord;
  14389. ETHPMM1INV : longWord;
  14390. ETHPMCSbits : TETH_ETHPMCS;
  14391. ETHPMCS : longWord;
  14392. ETHPMCSCLR : longWord;
  14393. ETHPMCSSET : longWord;
  14394. ETHPMCSINV : longWord;
  14395. ETHPMObits : TETH_ETHPMO;
  14396. ETHPMO : longWord;
  14397. ETHPMOCLR : longWord;
  14398. ETHPMOSET : longWord;
  14399. ETHPMOINV : longWord;
  14400. ETHRXFCbits : TETH_ETHRXFC;
  14401. ETHRXFC : longWord;
  14402. ETHRXFCCLR : longWord;
  14403. ETHRXFCSET : longWord;
  14404. ETHRXFCINV : longWord;
  14405. ETHRXWMbits : TETH_ETHRXWM;
  14406. ETHRXWM : longWord;
  14407. ETHRXWMCLR : longWord;
  14408. ETHRXWMSET : longWord;
  14409. ETHRXWMINV : longWord;
  14410. ETHIENbits : TETH_ETHIEN;
  14411. ETHIEN : longWord;
  14412. ETHIENCLR : longWord;
  14413. ETHIENSET : longWord;
  14414. ETHIENINV : longWord;
  14415. ETHIRQbits : TETH_ETHIRQ;
  14416. ETHIRQ : longWord;
  14417. ETHIRQCLR : longWord;
  14418. ETHIRQSET : longWord;
  14419. ETHIRQINV : longWord;
  14420. ETHSTATbits : TETH_ETHSTAT;
  14421. ETHSTAT : longWord;
  14422. ETHSTATCLR : longWord;
  14423. ETHSTATSET : longWord;
  14424. ETHSTATINV : longWord;
  14425. ETHRXOVFLOWbits : TETH_ETHRXOVFLOW;
  14426. ETHRXOVFLOW : longWord;
  14427. ETHRXOVFLOWCLR : longWord;
  14428. ETHRXOVFLOWSET : longWord;
  14429. ETHRXOVFLOWINV : longWord;
  14430. ETHFRMTXOKbits : TETH_ETHFRMTXOK;
  14431. ETHFRMTXOK : longWord;
  14432. ETHFRMTXOKCLR : longWord;
  14433. ETHFRMTXOKSET : longWord;
  14434. ETHFRMTXOKINV : longWord;
  14435. ETHSCOLFRMbits : TETH_ETHSCOLFRM;
  14436. ETHSCOLFRM : longWord;
  14437. ETHSCOLFRMCLR : longWord;
  14438. ETHSCOLFRMSET : longWord;
  14439. ETHSCOLFRMINV : longWord;
  14440. ETHMCOLFRMbits : TETH_ETHMCOLFRM;
  14441. ETHMCOLFRM : longWord;
  14442. ETHMCOLFRMCLR : longWord;
  14443. ETHMCOLFRMSET : longWord;
  14444. ETHMCOLFRMINV : longWord;
  14445. ETHFRMRXOKbits : TETH_ETHFRMRXOK;
  14446. ETHFRMRXOK : longWord;
  14447. ETHFRMRXOKCLR : longWord;
  14448. ETHFRMRXOKSET : longWord;
  14449. ETHFRMRXOKINV : longWord;
  14450. ETHFCSERRbits : TETH_ETHFCSERR;
  14451. ETHFCSERR : longWord;
  14452. ETHFCSERRCLR : longWord;
  14453. ETHFCSERRSET : longWord;
  14454. ETHFCSERRINV : longWord;
  14455. ETHALGNERRbits : TETH_ETHALGNERR;
  14456. ETHALGNERR : longWord;
  14457. ETHALGNERRCLR : longWord;
  14458. ETHALGNERRSET : longWord;
  14459. ETHALGNERRINV : longWord;
  14460. EMAC1CFG1bits : TETH_EMAC1CFG1;
  14461. EMAC1CFG1 : longWord;
  14462. EMACxCFG1bits : TETH_EMACxCFG1;
  14463. EMACxCFG1 : longWord;
  14464. EMAC1CFG1CLR : longWord;
  14465. EMACxCFG1CLR : longWord;
  14466. EMAC1CFG1SET : longWord;
  14467. EMACxCFG1SET : longWord;
  14468. EMAC1CFG1INV : longWord;
  14469. EMACxCFG1INV : longWord;
  14470. EMAC1CFG2bits : TETH_EMAC1CFG2;
  14471. EMAC1CFG2 : longWord;
  14472. EMACxCFG2bits : TETH_EMACxCFG2;
  14473. EMACxCFG2 : longWord;
  14474. EMAC1CFG2CLR : longWord;
  14475. EMACxCFG2CLR : longWord;
  14476. EMAC1CFG2SET : longWord;
  14477. EMACxCFG2SET : longWord;
  14478. EMAC1CFG2INV : longWord;
  14479. EMACxCFG2INV : longWord;
  14480. EMAC1IPGTbits : TETH_EMAC1IPGT;
  14481. EMAC1IPGT : longWord;
  14482. EMACxIPGTbits : TETH_EMACxIPGT;
  14483. EMACxIPGT : longWord;
  14484. EMAC1IPGTCLR : longWord;
  14485. EMACxIPGTCLR : longWord;
  14486. EMAC1IPGTSET : longWord;
  14487. EMACxIPGTSET : longWord;
  14488. EMAC1IPGTINV : longWord;
  14489. EMACxIPGTINV : longWord;
  14490. EMAC1IPGRbits : TETH_EMAC1IPGR;
  14491. EMAC1IPGR : longWord;
  14492. EMACxIPGRbits : TETH_EMACxIPGR;
  14493. EMACxIPGR : longWord;
  14494. EMAC1IPGRCLR : longWord;
  14495. EMACxIPGRCLR : longWord;
  14496. EMAC1IPGRSET : longWord;
  14497. EMACxIPGRSET : longWord;
  14498. EMAC1IPGRINV : longWord;
  14499. EMACxIPGRINV : longWord;
  14500. EMAC1CLRTbits : TETH_EMAC1CLRT;
  14501. EMAC1CLRT : longWord;
  14502. EMACxCLRTbits : TETH_EMACxCLRT;
  14503. EMACxCLRT : longWord;
  14504. EMAC1CLRTCLR : longWord;
  14505. EMACxCLRTCLR : longWord;
  14506. EMAC1CLRTSET : longWord;
  14507. EMACxCLRTSET : longWord;
  14508. EMAC1CLRTINV : longWord;
  14509. EMACxCLRTINV : longWord;
  14510. EMAC1MAXFbits : TETH_EMAC1MAXF;
  14511. EMAC1MAXF : longWord;
  14512. EMACxMAXFbits : TETH_EMACxMAXF;
  14513. EMACxMAXF : longWord;
  14514. EMAC1MAXFCLR : longWord;
  14515. EMACxMAXFCLR : longWord;
  14516. EMAC1MAXFSET : longWord;
  14517. EMACxMAXFSET : longWord;
  14518. EMAC1MAXFINV : longWord;
  14519. EMACxMAXFINV : longWord;
  14520. EMAC1SUPPbits : TETH_EMAC1SUPP;
  14521. EMAC1SUPP : longWord;
  14522. EMACxSUPPbits : TETH_EMACxSUPP;
  14523. EMACxSUPP : longWord;
  14524. EMAC1SUPPCLR : longWord;
  14525. EMACxSUPPCLR : longWord;
  14526. EMAC1SUPPSET : longWord;
  14527. EMACxSUPPSET : longWord;
  14528. EMAC1SUPPINV : longWord;
  14529. EMACxSUPPINV : longWord;
  14530. EMAC1TESTbits : TETH_EMAC1TEST;
  14531. EMAC1TEST : longWord;
  14532. EMACxTESTbits : TETH_EMACxTEST;
  14533. EMACxTEST : longWord;
  14534. EMAC1TESTCLR : longWord;
  14535. EMACxTESTCLR : longWord;
  14536. EMAC1TESTSET : longWord;
  14537. EMACxTESTSET : longWord;
  14538. EMAC1TESTINV : longWord;
  14539. EMACxTESTINV : longWord;
  14540. EMAC1MCFGbits : TETH_EMAC1MCFG;
  14541. EMAC1MCFG : longWord;
  14542. EMACxMCFGbits : TETH_EMACxMCFG;
  14543. EMACxMCFG : longWord;
  14544. EMAC1MCFGCLR : longWord;
  14545. EMACxMCFGCLR : longWord;
  14546. EMAC1MCFGSET : longWord;
  14547. EMACxMCFGSET : longWord;
  14548. EMAC1MCFGINV : longWord;
  14549. EMACxMCFGINV : longWord;
  14550. EMAC1MCMDbits : TETH_EMAC1MCMD;
  14551. EMAC1MCMD : longWord;
  14552. EMACxMCMDbits : TETH_EMACxMCMD;
  14553. EMACxMCMD : longWord;
  14554. EMAC1MCMDCLR : longWord;
  14555. EMACxMCMDCLR : longWord;
  14556. EMAC1MCMDSET : longWord;
  14557. EMACxMCMDSET : longWord;
  14558. EMAC1MCMDINV : longWord;
  14559. EMACxMCMDINV : longWord;
  14560. EMAC1MADRbits : TETH_EMAC1MADR;
  14561. EMAC1MADR : longWord;
  14562. EMACxMADRbits : TETH_EMACxMADR;
  14563. EMACxMADR : longWord;
  14564. EMAC1MADRCLR : longWord;
  14565. EMACxMADRCLR : longWord;
  14566. EMAC1MADRSET : longWord;
  14567. EMACxMADRSET : longWord;
  14568. EMAC1MADRINV : longWord;
  14569. EMACxMADRINV : longWord;
  14570. EMAC1MWTDbits : TETH_EMAC1MWTD;
  14571. EMAC1MWTD : longWord;
  14572. EMACxMWTDbits : TETH_EMACxMWTD;
  14573. EMACxMWTD : longWord;
  14574. EMAC1MWTDCLR : longWord;
  14575. EMACxMWTDCLR : longWord;
  14576. EMAC1MWTDSET : longWord;
  14577. EMACxMWTDSET : longWord;
  14578. EMAC1MWTDINV : longWord;
  14579. EMACxMWTDINV : longWord;
  14580. EMAC1MRDDbits : TETH_EMAC1MRDD;
  14581. EMAC1MRDD : longWord;
  14582. EMACxMRDDbits : TETH_EMACxMRDD;
  14583. EMACxMRDD : longWord;
  14584. EMAC1MRDDCLR : longWord;
  14585. EMACxMRDDCLR : longWord;
  14586. EMAC1MRDDSET : longWord;
  14587. EMACxMRDDSET : longWord;
  14588. EMAC1MRDDINV : longWord;
  14589. EMACxMRDDINV : longWord;
  14590. EMAC1MINDbits : TETH_EMAC1MIND;
  14591. EMAC1MIND : longWord;
  14592. EMACxMINDbits : TETH_EMACxMIND;
  14593. EMACxMIND : longWord;
  14594. EMAC1MINDCLR : longWord;
  14595. EMACxMINDCLR : longWord;
  14596. EMAC1MINDSET : longWord;
  14597. EMACxMINDSET : longWord;
  14598. EMAC1MINDINV : longWord;
  14599. EMACxMINDINV : longWord;
  14600. EMAC1SA0bits : TETH_EMAC1SA0;
  14601. EMAC1SA0 : longWord;
  14602. EMACxSA0bits : TETH_EMACxSA0;
  14603. EMACxSA0 : longWord;
  14604. EMAC1SA0CLR : longWord;
  14605. EMACxSA0CLR : longWord;
  14606. EMAC1SA0SET : longWord;
  14607. EMACxSA0SET : longWord;
  14608. EMAC1SA0INV : longWord;
  14609. EMACxSA0INV : longWord;
  14610. EMAC1SA1bits : TETH_EMAC1SA1;
  14611. EMAC1SA1 : longWord;
  14612. EMACxSA1bits : TETH_EMACxSA1;
  14613. EMACxSA1 : longWord;
  14614. EMAC1SA1CLR : longWord;
  14615. EMACxSA1CLR : longWord;
  14616. EMAC1SA1SET : longWord;
  14617. EMACxSA1SET : longWord;
  14618. EMAC1SA1INV : longWord;
  14619. EMACxSA1INV : longWord;
  14620. EMAC1SA2bits : TETH_EMAC1SA2;
  14621. EMAC1SA2 : longWord;
  14622. EMACxSA2bits : TETH_EMACxSA2;
  14623. EMACxSA2 : longWord;
  14624. EMAC1SA2CLR : longWord;
  14625. EMACxSA2CLR : longWord;
  14626. EMAC1SA2SET : longWord;
  14627. EMACxSA2SET : longWord;
  14628. EMAC1SA2INV : longWord;
  14629. EMACxSA2INV : longWord;
  14630. end;
  14631. TDEVCFG_DEVCFG3 = record
  14632. private
  14633. function getFETHIO : TBits_1; inline;
  14634. function getFMIIEN : TBits_1; inline;
  14635. function getFSRSSEL : TBits_3; inline;
  14636. function getFUSBIDIO : TBits_1; inline;
  14637. function getFVBUSONIO : TBits_1; inline;
  14638. function getUSERID : TBits_16; inline;
  14639. function getw : TBits_32; inline;
  14640. procedure setFETHIO(thebits : TBits_1); inline;
  14641. procedure setFMIIEN(thebits : TBits_1); inline;
  14642. procedure setFSRSSEL(thebits : TBits_3); inline;
  14643. procedure setFUSBIDIO(thebits : TBits_1); inline;
  14644. procedure setFVBUSONIO(thebits : TBits_1); inline;
  14645. procedure setUSERID(thebits : TBits_16); inline;
  14646. procedure setw(thebits : TBits_32); inline;
  14647. public
  14648. procedure clearFETHIO; inline;
  14649. procedure clearFMIIEN; inline;
  14650. procedure clearFUSBIDIO; inline;
  14651. procedure clearFVBUSONIO; inline;
  14652. procedure setFETHIO; inline;
  14653. procedure setFMIIEN; inline;
  14654. procedure setFUSBIDIO; inline;
  14655. procedure setFVBUSONIO; inline;
  14656. property FETHIO : TBits_1 read getFETHIO write setFETHIO;
  14657. property FMIIEN : TBits_1 read getFMIIEN write setFMIIEN;
  14658. property FSRSSEL : TBits_3 read getFSRSSEL write setFSRSSEL;
  14659. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  14660. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  14661. property USERID : TBits_16 read getUSERID write setUSERID;
  14662. property w : TBits_32 read getw write setw;
  14663. end;
  14664. TDEVCFG_DEVCFG2 = record
  14665. private
  14666. function getFPLLIDIV : TBits_3; inline;
  14667. function getFPLLMUL : TBits_3; inline;
  14668. function getFPLLODIV : TBits_3; inline;
  14669. function getUPLLEN : TBits_1; inline;
  14670. function getUPLLIDIV : TBits_3; inline;
  14671. function getw : TBits_32; inline;
  14672. procedure setFPLLIDIV(thebits : TBits_3); inline;
  14673. procedure setFPLLMUL(thebits : TBits_3); inline;
  14674. procedure setFPLLODIV(thebits : TBits_3); inline;
  14675. procedure setUPLLEN(thebits : TBits_1); inline;
  14676. procedure setUPLLIDIV(thebits : TBits_3); inline;
  14677. procedure setw(thebits : TBits_32); inline;
  14678. public
  14679. procedure clearUPLLEN; inline;
  14680. procedure setUPLLEN; inline;
  14681. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  14682. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  14683. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  14684. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  14685. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  14686. property w : TBits_32 read getw write setw;
  14687. end;
  14688. TDEVCFG_DEVCFG1 = record
  14689. private
  14690. function getFCKSM : TBits_2; inline;
  14691. function getFNOSC : TBits_3; inline;
  14692. function getFPBDIV : TBits_2; inline;
  14693. function getFSOSCEN : TBits_1; inline;
  14694. function getFWDTEN : TBits_1; inline;
  14695. function getIESO : TBits_1; inline;
  14696. function getOSCIOFNC : TBits_1; inline;
  14697. function getPOSCMOD : TBits_2; inline;
  14698. function getWDTPS : TBits_5; inline;
  14699. function getw : TBits_32; inline;
  14700. procedure setFCKSM(thebits : TBits_2); inline;
  14701. procedure setFNOSC(thebits : TBits_3); inline;
  14702. procedure setFPBDIV(thebits : TBits_2); inline;
  14703. procedure setFSOSCEN(thebits : TBits_1); inline;
  14704. procedure setFWDTEN(thebits : TBits_1); inline;
  14705. procedure setIESO(thebits : TBits_1); inline;
  14706. procedure setOSCIOFNC(thebits : TBits_1); inline;
  14707. procedure setPOSCMOD(thebits : TBits_2); inline;
  14708. procedure setWDTPS(thebits : TBits_5); inline;
  14709. procedure setw(thebits : TBits_32); inline;
  14710. public
  14711. procedure clearFSOSCEN; inline;
  14712. procedure clearFWDTEN; inline;
  14713. procedure clearIESO; inline;
  14714. procedure clearOSCIOFNC; inline;
  14715. procedure setFSOSCEN; inline;
  14716. procedure setFWDTEN; inline;
  14717. procedure setIESO; inline;
  14718. procedure setOSCIOFNC; inline;
  14719. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  14720. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  14721. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  14722. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  14723. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  14724. property IESO : TBits_1 read getIESO write setIESO;
  14725. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  14726. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  14727. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  14728. property w : TBits_32 read getw write setw;
  14729. end;
  14730. TDEVCFG_DEVCFG0 = record
  14731. private
  14732. function getBWP : TBits_1; inline;
  14733. function getCP : TBits_1; inline;
  14734. function getDEBUG : TBits_2; inline;
  14735. function getFDEBUG : TBits_2; inline;
  14736. function getICESEL : TBits_1; inline;
  14737. function getPWP : TBits_8; inline;
  14738. function getw : TBits_32; inline;
  14739. procedure setBWP(thebits : TBits_1); inline;
  14740. procedure setCP(thebits : TBits_1); inline;
  14741. procedure setDEBUG(thebits : TBits_2); inline;
  14742. procedure setFDEBUG(thebits : TBits_2); inline;
  14743. procedure setICESEL(thebits : TBits_1); inline;
  14744. procedure setPWP(thebits : TBits_8); inline;
  14745. procedure setw(thebits : TBits_32); inline;
  14746. public
  14747. procedure clearBWP; inline;
  14748. procedure clearCP; inline;
  14749. procedure clearICESEL; inline;
  14750. procedure setBWP; inline;
  14751. procedure setCP; inline;
  14752. procedure setICESEL; inline;
  14753. property BWP : TBits_1 read getBWP write setBWP;
  14754. property CP : TBits_1 read getCP write setCP;
  14755. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  14756. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  14757. property ICESEL : TBits_1 read getICESEL write setICESEL;
  14758. property PWP : TBits_8 read getPWP write setPWP;
  14759. property w : TBits_32 read getw write setw;
  14760. end;
  14761. const
  14762. _CORE_TIMER_IRQ = 0;
  14763. _CORE_SOFTWARE_0_IRQ = 1;
  14764. _CORE_SOFTWARE_1_IRQ = 2;
  14765. _EXTERNAL_0_IRQ = 3;
  14766. _TIMER_1_IRQ = 4;
  14767. _INPUT_CAPTURE_1_IRQ = 5;
  14768. _OUTPUT_COMPARE_1_IRQ = 6;
  14769. _EXTERNAL_1_IRQ = 7;
  14770. _TIMER_2_IRQ = 8;
  14771. _INPUT_CAPTURE_2_IRQ = 9;
  14772. _OUTPUT_COMPARE_2_IRQ = 10;
  14773. _EXTERNAL_2_IRQ = 11;
  14774. _TIMER_3_IRQ = 12;
  14775. _INPUT_CAPTURE_3_IRQ = 13;
  14776. _OUTPUT_COMPARE_3_IRQ = 14;
  14777. _EXTERNAL_3_IRQ = 15;
  14778. _TIMER_4_IRQ = 16;
  14779. _INPUT_CAPTURE_4_IRQ = 17;
  14780. _OUTPUT_COMPARE_4_IRQ = 18;
  14781. _EXTERNAL_4_IRQ = 19;
  14782. _TIMER_5_IRQ = 20;
  14783. _INPUT_CAPTURE_5_IRQ = 21;
  14784. _OUTPUT_COMPARE_5_IRQ = 22;
  14785. _I2C1A_ERR_IRQ = 26;
  14786. _I2C3_BUS_IRQ = 26;
  14787. _SPI1A_ERR_IRQ = 26;
  14788. _SPI3_ERR_IRQ = 26;
  14789. _UART1A_ERR_IRQ = 26;
  14790. _UART1_ERR_IRQ = 26;
  14791. _I2C1A_RX_IRQ = 27;
  14792. _I2C3_SLAVE_IRQ = 27;
  14793. _SPI1A_RX_IRQ = 27;
  14794. _SPI3_RX_IRQ = 27;
  14795. _UART1A_RX_IRQ = 27;
  14796. _UART1_RX_IRQ = 27;
  14797. _I2C1A_TX_IRQ = 28;
  14798. _I2C3_MASTER_IRQ = 28;
  14799. _SPI1A_TX_IRQ = 28;
  14800. _SPI3_TX_IRQ = 28;
  14801. _UART1A_TX_IRQ = 28;
  14802. _UART1_TX_IRQ = 28;
  14803. _I2C1_BUS_IRQ = 29;
  14804. _I2C1_SLAVE_IRQ = 30;
  14805. _I2C1_MASTER_IRQ = 31;
  14806. _CHANGE_NOTICE_IRQ = 32;
  14807. _ADC_IRQ = 33;
  14808. _PMP_IRQ = 34;
  14809. _COMPARATOR_1_IRQ = 35;
  14810. _COMPARATOR_2_IRQ = 36;
  14811. _I2C2A_ERR_IRQ = 37;
  14812. _I2C4_BUS_IRQ = 37;
  14813. _SPI2_ERR_IRQ = 37;
  14814. _SPI2A_ERR_IRQ = 37;
  14815. _UART2A_ERR_IRQ = 37;
  14816. _UART3_ERR_IRQ = 37;
  14817. _I2C2A_RX_IRQ = 38;
  14818. _I2C4_SLAVE_IRQ = 38;
  14819. _SPI2_RX_IRQ = 38;
  14820. _SPI2A_RX_IRQ = 38;
  14821. _UART2A_RX_IRQ = 38;
  14822. _UART3_RX_IRQ = 38;
  14823. _I2C2A_TX_IRQ = 39;
  14824. _I2C4_MASTER_IRQ = 39;
  14825. _SPI2A_TX_IRQ = 39;
  14826. _SPI2_TX_IRQ = 39;
  14827. _UART2A_TX_IRQ = 39;
  14828. _UART3_TX_IRQ = 39;
  14829. _I2C3A_ERR_IRQ = 40;
  14830. _I2C5_BUS_IRQ = 40;
  14831. _SPI3A_ERR_IRQ = 40;
  14832. _SPI4_ERR_IRQ = 40;
  14833. _UART2_ERR_IRQ = 40;
  14834. _UART3A_ERR_IRQ = 40;
  14835. _I2C3A_RX_IRQ = 41;
  14836. _I2C5_SLAVE_IRQ = 41;
  14837. _SPI3A_RX_IRQ = 41;
  14838. _SPI4_RX_IRQ = 41;
  14839. _UART2_RX_IRQ = 41;
  14840. _UART3A_RX_IRQ = 41;
  14841. _I2C3A_TX_IRQ = 42;
  14842. _I2C5_MASTER_IRQ = 42;
  14843. _SPI3A_TX_IRQ = 42;
  14844. _SPI4_TX_IRQ = 42;
  14845. _UART2_TX_IRQ = 42;
  14846. _UART3A_TX_IRQ = 42;
  14847. _FAIL_SAFE_MONITOR_IRQ = 46;
  14848. _RTCC_IRQ = 47;
  14849. _DMA0_IRQ = 48;
  14850. _DMA1_IRQ = 49;
  14851. _DMA2_IRQ = 50;
  14852. _DMA3_IRQ = 51;
  14853. _FLASH_CONTROL_IRQ = 56;
  14854. _USB_IRQ = 57;
  14855. _ETHERNET_IRQ = 60;
  14856. _INPUT_CAPTURE_ERROR_1_IRQ = 61;
  14857. _INPUT_CAPTURE_ERROR_2_IRQ = 62;
  14858. _INPUT_CAPTURE_ERROR_3_IRQ = 63;
  14859. _INPUT_CAPTURE_ERROR_4_IRQ = 64;
  14860. _INPUT_CAPTURE_ERROR_5_IRQ = 65;
  14861. _PMP_ERROR_IRQ = 66;
  14862. _UART1B_ERR_IRQ = 67;
  14863. _UART4_ERR_IRQ = 67;
  14864. _UART1B_RX_IRQ = 68;
  14865. _UART4_RX_IRQ = 68;
  14866. _UART1B_TX_IRQ = 69;
  14867. _UART4_TX_IRQ = 69;
  14868. _UART2B_ERR_IRQ = 70;
  14869. _UART6_ERR_IRQ = 70;
  14870. _UART2B_RX_IRQ = 71;
  14871. _UART6_RX_IRQ = 71;
  14872. _UART2B_TX_IRQ = 72;
  14873. _UART6_TX_IRQ = 72;
  14874. _UART3B_ERR_IRQ = 73;
  14875. _UART5_ERR_IRQ = 73;
  14876. _UART3B_RX_IRQ = 74;
  14877. _UART5_RX_IRQ = 74;
  14878. _UART3B_TX_IRQ = 75;
  14879. _UART5_TX_IRQ = 75;
  14880. const
  14881. ADC10_BASE_ADDRESS = $BF809000;
  14882. var
  14883. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  14884. const
  14885. BMX_BASE_ADDRESS = $BF882000;
  14886. var
  14887. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  14888. const
  14889. CFG_BASE_ADDRESS = $BF80F200;
  14890. var
  14891. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  14892. const
  14893. CMP_BASE_ADDRESS = $BF80A000;
  14894. var
  14895. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  14896. const
  14897. CVR_BASE_ADDRESS = $BF809800;
  14898. var
  14899. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  14900. const
  14901. DMAC_BASE_ADDRESS = $BF883000;
  14902. var
  14903. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  14904. const
  14905. DMAC0_BASE_ADDRESS = $BF883060;
  14906. var
  14907. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  14908. const
  14909. DMAC1_BASE_ADDRESS = $BF883120;
  14910. var
  14911. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  14912. const
  14913. DMAC2_BASE_ADDRESS = $BF8831E0;
  14914. var
  14915. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  14916. const
  14917. DMAC3_BASE_ADDRESS = $BF8832A0;
  14918. var
  14919. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  14920. const
  14921. ETH_BASE_ADDRESS = $BF889000;
  14922. var
  14923. ETH : TETHRegisters absolute ETH_BASE_ADDRESS;
  14924. const
  14925. I2C1_BASE_ADDRESS = $BF805300;
  14926. var
  14927. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  14928. const
  14929. I2C1A_BASE_ADDRESS = $BF805000;
  14930. var
  14931. I2C1A : TI2C1ARegisters absolute I2C1A_BASE_ADDRESS;
  14932. const
  14933. I2C2A_BASE_ADDRESS = $BF805100;
  14934. var
  14935. I2C2A : TI2C2ARegisters absolute I2C2A_BASE_ADDRESS;
  14936. const
  14937. I2C5_BASE_ADDRESS = $BF805200;
  14938. var
  14939. I2C5 : TI2C5Registers absolute I2C5_BASE_ADDRESS;
  14940. const
  14941. ICAP1_BASE_ADDRESS = $BF802000;
  14942. var
  14943. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  14944. const
  14945. ICAP2_BASE_ADDRESS = $BF802200;
  14946. var
  14947. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  14948. const
  14949. ICAP3_BASE_ADDRESS = $BF802400;
  14950. var
  14951. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  14952. const
  14953. ICAP4_BASE_ADDRESS = $BF802600;
  14954. var
  14955. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  14956. const
  14957. ICAP5_BASE_ADDRESS = $BF802800;
  14958. var
  14959. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  14960. const
  14961. INT_BASE_ADDRESS = $BF881000;
  14962. var
  14963. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  14964. const
  14965. NVM_BASE_ADDRESS = $BF80F400;
  14966. var
  14967. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  14968. const
  14969. OCMP1_BASE_ADDRESS = $BF803000;
  14970. var
  14971. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  14972. const
  14973. OCMP2_BASE_ADDRESS = $BF803200;
  14974. var
  14975. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  14976. const
  14977. OCMP3_BASE_ADDRESS = $BF803400;
  14978. var
  14979. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  14980. const
  14981. OCMP4_BASE_ADDRESS = $BF803600;
  14982. var
  14983. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  14984. const
  14985. OCMP5_BASE_ADDRESS = $BF803800;
  14986. var
  14987. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  14988. const
  14989. OSC_BASE_ADDRESS = $BF80F000;
  14990. var
  14991. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  14992. const
  14993. PCACHE_BASE_ADDRESS = $BF884000;
  14994. var
  14995. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  14996. const
  14997. PMP_BASE_ADDRESS = $BF807000;
  14998. var
  14999. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  15000. const
  15001. PORTB_BASE_ADDRESS = $BF886040;
  15002. var
  15003. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  15004. const
  15005. PORTC_BASE_ADDRESS = $BF886080;
  15006. var
  15007. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  15008. const
  15009. PORTD_BASE_ADDRESS = $BF8860C0;
  15010. var
  15011. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  15012. const
  15013. PORTE_BASE_ADDRESS = $BF886100;
  15014. var
  15015. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  15016. const
  15017. PORTF_BASE_ADDRESS = $BF886140;
  15018. var
  15019. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  15020. const
  15021. PORTG_BASE_ADDRESS = $BF886180;
  15022. var
  15023. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  15024. const
  15025. RCON_BASE_ADDRESS = $BF80F600;
  15026. var
  15027. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  15028. const
  15029. RTCC_BASE_ADDRESS = $BF800200;
  15030. var
  15031. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  15032. const
  15033. SPI2A_BASE_ADDRESS = $BF805A00;
  15034. var
  15035. SPI2A : TSPI2ARegisters absolute SPI2A_BASE_ADDRESS;
  15036. const
  15037. SPI3_BASE_ADDRESS = $BF805800;
  15038. var
  15039. SPI3 : TSPI3Registers absolute SPI3_BASE_ADDRESS;
  15040. const
  15041. SPI3A_BASE_ADDRESS = $BF805C00;
  15042. var
  15043. SPI3A : TSPI3ARegisters absolute SPI3A_BASE_ADDRESS;
  15044. const
  15045. TMR1_BASE_ADDRESS = $BF800600;
  15046. var
  15047. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  15048. const
  15049. TMR2_BASE_ADDRESS = $BF800800;
  15050. var
  15051. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  15052. const
  15053. TMR3_BASE_ADDRESS = $BF800A00;
  15054. var
  15055. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  15056. const
  15057. TMR4_BASE_ADDRESS = $BF800C00;
  15058. var
  15059. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  15060. const
  15061. TMR5_BASE_ADDRESS = $BF800E00;
  15062. var
  15063. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  15064. const
  15065. UART1A_BASE_ADDRESS = $BF806000;
  15066. var
  15067. UART1A : TUART1ARegisters absolute UART1A_BASE_ADDRESS;
  15068. const
  15069. UART2_BASE_ADDRESS = $BF806800;
  15070. var
  15071. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  15072. const
  15073. UART2A_BASE_ADDRESS = $BF806400;
  15074. var
  15075. UART2A : TUART2ARegisters absolute UART2A_BASE_ADDRESS;
  15076. const
  15077. UART4_BASE_ADDRESS = $BF806200;
  15078. var
  15079. UART4 : TUART4Registers absolute UART4_BASE_ADDRESS;
  15080. const
  15081. UART5_BASE_ADDRESS = $BF806A00;
  15082. var
  15083. UART5 : TUART5Registers absolute UART5_BASE_ADDRESS;
  15084. const
  15085. UART6_BASE_ADDRESS = $BF806600;
  15086. var
  15087. UART6 : TUART6Registers absolute UART6_BASE_ADDRESS;
  15088. const
  15089. USB_BASE_ADDRESS = $BF885040;
  15090. var
  15091. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  15092. const
  15093. WDT_BASE_ADDRESS = $BF800000;
  15094. var
  15095. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  15096. const
  15097. _APPI_BASE_ADDRESS = $BF880190;
  15098. var
  15099. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  15100. const
  15101. _APPO_BASE_ADDRESS = $BF880180;
  15102. var
  15103. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  15104. const
  15105. _DDPSTAT_BASE_ADDRESS = $BF880140;
  15106. var
  15107. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  15108. const
  15109. _STRO_BASE_ADDRESS = $BF880170;
  15110. var
  15111. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  15112. implementation
  15113. type
  15114. TDefRegMap = record
  15115. val : longWord;
  15116. clr : longWord;
  15117. &set : longWord;
  15118. inv : longWord;
  15119. end;
  15120. pTDefRegMap = ^TDefRegMap;
  15121. procedure TWDT_WDTCON.setWDTCLR; inline;
  15122. begin
  15123. pTDefRegMap(@Self)^.&set := $00000001;
  15124. end;
  15125. procedure TWDT_WDTCON.clearWDTCLR; inline;
  15126. begin
  15127. pTDefRegMap(@Self)^.clr := $00000001;
  15128. end;
  15129. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  15130. begin
  15131. if thebits = 0 then
  15132. pTDefRegMap(@Self)^.clr := $00000001
  15133. else
  15134. pTDefRegMap(@Self)^.&set := $00000001;
  15135. end;
  15136. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  15137. begin
  15138. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15139. end;
  15140. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  15141. begin
  15142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  15143. end;
  15144. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  15145. begin
  15146. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  15147. end;
  15148. procedure TWDT_WDTCON.setON; inline;
  15149. begin
  15150. pTDefRegMap(@Self)^.&set := $00008000;
  15151. end;
  15152. procedure TWDT_WDTCON.clearON; inline;
  15153. begin
  15154. pTDefRegMap(@Self)^.clr := $00008000;
  15155. end;
  15156. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  15157. begin
  15158. if thebits = 0 then
  15159. pTDefRegMap(@Self)^.clr := $00008000
  15160. else
  15161. pTDefRegMap(@Self)^.&set := $00008000;
  15162. end;
  15163. function TWDT_WDTCON.getON : TBits_1; inline;
  15164. begin
  15165. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15166. end;
  15167. procedure TWDT_WDTCON.setSWDTPS0; inline;
  15168. begin
  15169. pTDefRegMap(@Self)^.&set := $00000004;
  15170. end;
  15171. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  15172. begin
  15173. pTDefRegMap(@Self)^.clr := $00000004;
  15174. end;
  15175. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  15176. begin
  15177. if thebits = 0 then
  15178. pTDefRegMap(@Self)^.clr := $00000004
  15179. else
  15180. pTDefRegMap(@Self)^.&set := $00000004;
  15181. end;
  15182. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  15183. begin
  15184. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15185. end;
  15186. procedure TWDT_WDTCON.setSWDTPS1; inline;
  15187. begin
  15188. pTDefRegMap(@Self)^.&set := $00000008;
  15189. end;
  15190. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  15191. begin
  15192. pTDefRegMap(@Self)^.clr := $00000008;
  15193. end;
  15194. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  15195. begin
  15196. if thebits = 0 then
  15197. pTDefRegMap(@Self)^.clr := $00000008
  15198. else
  15199. pTDefRegMap(@Self)^.&set := $00000008;
  15200. end;
  15201. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  15202. begin
  15203. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15204. end;
  15205. procedure TWDT_WDTCON.setSWDTPS2; inline;
  15206. begin
  15207. pTDefRegMap(@Self)^.&set := $00000010;
  15208. end;
  15209. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  15210. begin
  15211. pTDefRegMap(@Self)^.clr := $00000010;
  15212. end;
  15213. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  15214. begin
  15215. if thebits = 0 then
  15216. pTDefRegMap(@Self)^.clr := $00000010
  15217. else
  15218. pTDefRegMap(@Self)^.&set := $00000010;
  15219. end;
  15220. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  15221. begin
  15222. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15223. end;
  15224. procedure TWDT_WDTCON.setSWDTPS3; inline;
  15225. begin
  15226. pTDefRegMap(@Self)^.&set := $00000020;
  15227. end;
  15228. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  15229. begin
  15230. pTDefRegMap(@Self)^.clr := $00000020;
  15231. end;
  15232. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  15233. begin
  15234. if thebits = 0 then
  15235. pTDefRegMap(@Self)^.clr := $00000020
  15236. else
  15237. pTDefRegMap(@Self)^.&set := $00000020;
  15238. end;
  15239. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  15240. begin
  15241. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15242. end;
  15243. procedure TWDT_WDTCON.setSWDTPS4; inline;
  15244. begin
  15245. pTDefRegMap(@Self)^.&set := $00000040;
  15246. end;
  15247. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  15248. begin
  15249. pTDefRegMap(@Self)^.clr := $00000040;
  15250. end;
  15251. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  15252. begin
  15253. if thebits = 0 then
  15254. pTDefRegMap(@Self)^.clr := $00000040
  15255. else
  15256. pTDefRegMap(@Self)^.&set := $00000040;
  15257. end;
  15258. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  15259. begin
  15260. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15261. end;
  15262. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  15263. begin
  15264. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  15265. end;
  15266. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  15267. begin
  15268. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  15269. end;
  15270. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  15271. begin
  15272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  15273. end;
  15274. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  15275. begin
  15276. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  15277. end;
  15278. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  15279. begin
  15280. pTDefRegMap(@Self)^.val := thebits;
  15281. end;
  15282. function TWDT_WDTCON.getw : TBits_32; inline;
  15283. begin
  15284. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15285. end;
  15286. procedure TRTCC_RTCCON.setRTCOE; inline;
  15287. begin
  15288. pTDefRegMap(@Self)^.&set := $00000001;
  15289. end;
  15290. procedure TRTCC_RTCCON.clearRTCOE; inline;
  15291. begin
  15292. pTDefRegMap(@Self)^.clr := $00000001;
  15293. end;
  15294. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  15295. begin
  15296. if thebits = 0 then
  15297. pTDefRegMap(@Self)^.clr := $00000001
  15298. else
  15299. pTDefRegMap(@Self)^.&set := $00000001;
  15300. end;
  15301. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  15302. begin
  15303. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15304. end;
  15305. procedure TRTCC_RTCCON.setHALFSEC; inline;
  15306. begin
  15307. pTDefRegMap(@Self)^.&set := $00000002;
  15308. end;
  15309. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  15310. begin
  15311. pTDefRegMap(@Self)^.clr := $00000002;
  15312. end;
  15313. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  15314. begin
  15315. if thebits = 0 then
  15316. pTDefRegMap(@Self)^.clr := $00000002
  15317. else
  15318. pTDefRegMap(@Self)^.&set := $00000002;
  15319. end;
  15320. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  15321. begin
  15322. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15323. end;
  15324. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  15325. begin
  15326. pTDefRegMap(@Self)^.&set := $00000004;
  15327. end;
  15328. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  15329. begin
  15330. pTDefRegMap(@Self)^.clr := $00000004;
  15331. end;
  15332. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  15333. begin
  15334. if thebits = 0 then
  15335. pTDefRegMap(@Self)^.clr := $00000004
  15336. else
  15337. pTDefRegMap(@Self)^.&set := $00000004;
  15338. end;
  15339. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  15340. begin
  15341. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15342. end;
  15343. procedure TRTCC_RTCCON.setRTCWREN; inline;
  15344. begin
  15345. pTDefRegMap(@Self)^.&set := $00000008;
  15346. end;
  15347. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  15348. begin
  15349. pTDefRegMap(@Self)^.clr := $00000008;
  15350. end;
  15351. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  15352. begin
  15353. if thebits = 0 then
  15354. pTDefRegMap(@Self)^.clr := $00000008
  15355. else
  15356. pTDefRegMap(@Self)^.&set := $00000008;
  15357. end;
  15358. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  15359. begin
  15360. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15361. end;
  15362. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  15363. begin
  15364. pTDefRegMap(@Self)^.&set := $00000040;
  15365. end;
  15366. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  15367. begin
  15368. pTDefRegMap(@Self)^.clr := $00000040;
  15369. end;
  15370. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  15371. begin
  15372. if thebits = 0 then
  15373. pTDefRegMap(@Self)^.clr := $00000040
  15374. else
  15375. pTDefRegMap(@Self)^.&set := $00000040;
  15376. end;
  15377. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  15378. begin
  15379. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15380. end;
  15381. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  15382. begin
  15383. pTDefRegMap(@Self)^.&set := $00000080;
  15384. end;
  15385. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  15386. begin
  15387. pTDefRegMap(@Self)^.clr := $00000080;
  15388. end;
  15389. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  15390. begin
  15391. if thebits = 0 then
  15392. pTDefRegMap(@Self)^.clr := $00000080
  15393. else
  15394. pTDefRegMap(@Self)^.&set := $00000080;
  15395. end;
  15396. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  15397. begin
  15398. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15399. end;
  15400. procedure TRTCC_RTCCON.setSIDL; inline;
  15401. begin
  15402. pTDefRegMap(@Self)^.&set := $00002000;
  15403. end;
  15404. procedure TRTCC_RTCCON.clearSIDL; inline;
  15405. begin
  15406. pTDefRegMap(@Self)^.clr := $00002000;
  15407. end;
  15408. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  15409. begin
  15410. if thebits = 0 then
  15411. pTDefRegMap(@Self)^.clr := $00002000
  15412. else
  15413. pTDefRegMap(@Self)^.&set := $00002000;
  15414. end;
  15415. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  15416. begin
  15417. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15418. end;
  15419. procedure TRTCC_RTCCON.setON; inline;
  15420. begin
  15421. pTDefRegMap(@Self)^.&set := $00008000;
  15422. end;
  15423. procedure TRTCC_RTCCON.clearON; inline;
  15424. begin
  15425. pTDefRegMap(@Self)^.clr := $00008000;
  15426. end;
  15427. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  15428. begin
  15429. if thebits = 0 then
  15430. pTDefRegMap(@Self)^.clr := $00008000
  15431. else
  15432. pTDefRegMap(@Self)^.&set := $00008000;
  15433. end;
  15434. function TRTCC_RTCCON.getON : TBits_1; inline;
  15435. begin
  15436. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15437. end;
  15438. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  15439. begin
  15440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  15441. end;
  15442. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  15443. begin
  15444. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  15445. end;
  15446. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  15447. begin
  15448. pTDefRegMap(@Self)^.val := thebits;
  15449. end;
  15450. function TRTCC_RTCCON.getw : TBits_32; inline;
  15451. begin
  15452. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15453. end;
  15454. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  15455. begin
  15456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  15457. end;
  15458. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  15459. begin
  15460. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  15461. end;
  15462. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  15463. begin
  15464. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15465. end;
  15466. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  15467. begin
  15468. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15469. end;
  15470. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  15471. begin
  15472. pTDefRegMap(@Self)^.&set := $00001000;
  15473. end;
  15474. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  15475. begin
  15476. pTDefRegMap(@Self)^.clr := $00001000;
  15477. end;
  15478. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  15479. begin
  15480. if thebits = 0 then
  15481. pTDefRegMap(@Self)^.clr := $00001000
  15482. else
  15483. pTDefRegMap(@Self)^.&set := $00001000;
  15484. end;
  15485. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  15486. begin
  15487. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15488. end;
  15489. procedure TRTCC_RTCALRM.setPIV; inline;
  15490. begin
  15491. pTDefRegMap(@Self)^.&set := $00002000;
  15492. end;
  15493. procedure TRTCC_RTCALRM.clearPIV; inline;
  15494. begin
  15495. pTDefRegMap(@Self)^.clr := $00002000;
  15496. end;
  15497. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  15498. begin
  15499. if thebits = 0 then
  15500. pTDefRegMap(@Self)^.clr := $00002000
  15501. else
  15502. pTDefRegMap(@Self)^.&set := $00002000;
  15503. end;
  15504. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  15505. begin
  15506. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15507. end;
  15508. procedure TRTCC_RTCALRM.setCHIME; inline;
  15509. begin
  15510. pTDefRegMap(@Self)^.&set := $00004000;
  15511. end;
  15512. procedure TRTCC_RTCALRM.clearCHIME; inline;
  15513. begin
  15514. pTDefRegMap(@Self)^.clr := $00004000;
  15515. end;
  15516. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  15517. begin
  15518. if thebits = 0 then
  15519. pTDefRegMap(@Self)^.clr := $00004000
  15520. else
  15521. pTDefRegMap(@Self)^.&set := $00004000;
  15522. end;
  15523. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  15524. begin
  15525. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15526. end;
  15527. procedure TRTCC_RTCALRM.setALRMEN; inline;
  15528. begin
  15529. pTDefRegMap(@Self)^.&set := $00008000;
  15530. end;
  15531. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  15532. begin
  15533. pTDefRegMap(@Self)^.clr := $00008000;
  15534. end;
  15535. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  15536. begin
  15537. if thebits = 0 then
  15538. pTDefRegMap(@Self)^.clr := $00008000
  15539. else
  15540. pTDefRegMap(@Self)^.&set := $00008000;
  15541. end;
  15542. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  15543. begin
  15544. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15545. end;
  15546. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  15547. begin
  15548. pTDefRegMap(@Self)^.val := thebits;
  15549. end;
  15550. function TRTCC_RTCALRM.getw : TBits_32; inline;
  15551. begin
  15552. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15553. end;
  15554. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  15555. begin
  15556. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15557. end;
  15558. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  15559. begin
  15560. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15561. end;
  15562. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  15563. begin
  15564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  15565. end;
  15566. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  15567. begin
  15568. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  15569. end;
  15570. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  15571. begin
  15572. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15573. end;
  15574. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  15575. begin
  15576. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15577. end;
  15578. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  15579. begin
  15580. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  15581. end;
  15582. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  15583. begin
  15584. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  15585. end;
  15586. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  15587. begin
  15588. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  15589. end;
  15590. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  15591. begin
  15592. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  15593. end;
  15594. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  15595. begin
  15596. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  15597. end;
  15598. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  15599. begin
  15600. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  15601. end;
  15602. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  15603. begin
  15604. pTDefRegMap(@Self)^.val := thebits;
  15605. end;
  15606. function TRTCC_RTCTIME.getw : TBits_32; inline;
  15607. begin
  15608. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15609. end;
  15610. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  15611. begin
  15612. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  15613. end;
  15614. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  15615. begin
  15616. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  15617. end;
  15618. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  15619. begin
  15620. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15621. end;
  15622. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  15623. begin
  15624. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15625. end;
  15626. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  15627. begin
  15628. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  15629. end;
  15630. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  15631. begin
  15632. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  15633. end;
  15634. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  15635. begin
  15636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15637. end;
  15638. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  15639. begin
  15640. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15641. end;
  15642. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  15643. begin
  15644. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  15645. end;
  15646. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  15647. begin
  15648. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  15649. end;
  15650. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  15651. begin
  15652. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  15653. end;
  15654. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  15655. begin
  15656. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  15657. end;
  15658. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  15659. begin
  15660. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  15661. end;
  15662. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  15663. begin
  15664. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  15665. end;
  15666. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  15667. begin
  15668. pTDefRegMap(@Self)^.val := thebits;
  15669. end;
  15670. function TRTCC_RTCDATE.getw : TBits_32; inline;
  15671. begin
  15672. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15673. end;
  15674. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  15675. begin
  15676. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15677. end;
  15678. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  15679. begin
  15680. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15681. end;
  15682. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  15683. begin
  15684. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  15685. end;
  15686. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  15687. begin
  15688. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  15689. end;
  15690. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  15691. begin
  15692. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15693. end;
  15694. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  15695. begin
  15696. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15697. end;
  15698. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  15699. begin
  15700. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  15701. end;
  15702. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  15703. begin
  15704. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  15705. end;
  15706. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  15707. begin
  15708. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  15709. end;
  15710. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  15711. begin
  15712. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  15713. end;
  15714. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  15715. begin
  15716. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  15717. end;
  15718. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  15719. begin
  15720. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  15721. end;
  15722. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  15723. begin
  15724. pTDefRegMap(@Self)^.val := thebits;
  15725. end;
  15726. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  15727. begin
  15728. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15729. end;
  15730. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  15731. begin
  15732. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  15733. end;
  15734. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  15735. begin
  15736. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  15737. end;
  15738. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  15739. begin
  15740. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  15741. end;
  15742. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  15743. begin
  15744. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  15745. end;
  15746. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  15747. begin
  15748. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  15749. end;
  15750. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  15751. begin
  15752. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  15753. end;
  15754. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  15755. begin
  15756. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15757. end;
  15758. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  15759. begin
  15760. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15761. end;
  15762. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  15763. begin
  15764. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  15765. end;
  15766. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  15767. begin
  15768. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  15769. end;
  15770. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  15771. begin
  15772. pTDefRegMap(@Self)^.val := thebits;
  15773. end;
  15774. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  15775. begin
  15776. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15777. end;
  15778. procedure TTMR1_T1CON.setTCS; inline;
  15779. begin
  15780. pTDefRegMap(@Self)^.&set := $00000002;
  15781. end;
  15782. procedure TTMR1_T1CON.clearTCS; inline;
  15783. begin
  15784. pTDefRegMap(@Self)^.clr := $00000002;
  15785. end;
  15786. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  15787. begin
  15788. if thebits = 0 then
  15789. pTDefRegMap(@Self)^.clr := $00000002
  15790. else
  15791. pTDefRegMap(@Self)^.&set := $00000002;
  15792. end;
  15793. function TTMR1_T1CON.getTCS : TBits_1; inline;
  15794. begin
  15795. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15796. end;
  15797. procedure TTMR1_T1CON.setTSYNC; inline;
  15798. begin
  15799. pTDefRegMap(@Self)^.&set := $00000004;
  15800. end;
  15801. procedure TTMR1_T1CON.clearTSYNC; inline;
  15802. begin
  15803. pTDefRegMap(@Self)^.clr := $00000004;
  15804. end;
  15805. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  15806. begin
  15807. if thebits = 0 then
  15808. pTDefRegMap(@Self)^.clr := $00000004
  15809. else
  15810. pTDefRegMap(@Self)^.&set := $00000004;
  15811. end;
  15812. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  15813. begin
  15814. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15815. end;
  15816. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  15817. begin
  15818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  15819. end;
  15820. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  15821. begin
  15822. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  15823. end;
  15824. procedure TTMR1_T1CON.setTGATE; inline;
  15825. begin
  15826. pTDefRegMap(@Self)^.&set := $00000080;
  15827. end;
  15828. procedure TTMR1_T1CON.clearTGATE; inline;
  15829. begin
  15830. pTDefRegMap(@Self)^.clr := $00000080;
  15831. end;
  15832. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  15833. begin
  15834. if thebits = 0 then
  15835. pTDefRegMap(@Self)^.clr := $00000080
  15836. else
  15837. pTDefRegMap(@Self)^.&set := $00000080;
  15838. end;
  15839. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  15840. begin
  15841. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15842. end;
  15843. procedure TTMR1_T1CON.setTWIP; inline;
  15844. begin
  15845. pTDefRegMap(@Self)^.&set := $00000800;
  15846. end;
  15847. procedure TTMR1_T1CON.clearTWIP; inline;
  15848. begin
  15849. pTDefRegMap(@Self)^.clr := $00000800;
  15850. end;
  15851. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  15852. begin
  15853. if thebits = 0 then
  15854. pTDefRegMap(@Self)^.clr := $00000800
  15855. else
  15856. pTDefRegMap(@Self)^.&set := $00000800;
  15857. end;
  15858. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  15859. begin
  15860. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15861. end;
  15862. procedure TTMR1_T1CON.setTWDIS; inline;
  15863. begin
  15864. pTDefRegMap(@Self)^.&set := $00001000;
  15865. end;
  15866. procedure TTMR1_T1CON.clearTWDIS; inline;
  15867. begin
  15868. pTDefRegMap(@Self)^.clr := $00001000;
  15869. end;
  15870. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  15871. begin
  15872. if thebits = 0 then
  15873. pTDefRegMap(@Self)^.clr := $00001000
  15874. else
  15875. pTDefRegMap(@Self)^.&set := $00001000;
  15876. end;
  15877. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  15878. begin
  15879. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15880. end;
  15881. procedure TTMR1_T1CON.setSIDL; inline;
  15882. begin
  15883. pTDefRegMap(@Self)^.&set := $00002000;
  15884. end;
  15885. procedure TTMR1_T1CON.clearSIDL; inline;
  15886. begin
  15887. pTDefRegMap(@Self)^.clr := $00002000;
  15888. end;
  15889. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  15890. begin
  15891. if thebits = 0 then
  15892. pTDefRegMap(@Self)^.clr := $00002000
  15893. else
  15894. pTDefRegMap(@Self)^.&set := $00002000;
  15895. end;
  15896. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  15897. begin
  15898. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15899. end;
  15900. procedure TTMR1_T1CON.setON; inline;
  15901. begin
  15902. pTDefRegMap(@Self)^.&set := $00008000;
  15903. end;
  15904. procedure TTMR1_T1CON.clearON; inline;
  15905. begin
  15906. pTDefRegMap(@Self)^.clr := $00008000;
  15907. end;
  15908. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  15909. begin
  15910. if thebits = 0 then
  15911. pTDefRegMap(@Self)^.clr := $00008000
  15912. else
  15913. pTDefRegMap(@Self)^.&set := $00008000;
  15914. end;
  15915. function TTMR1_T1CON.getON : TBits_1; inline;
  15916. begin
  15917. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15918. end;
  15919. procedure TTMR1_T1CON.setTCKPS0; inline;
  15920. begin
  15921. pTDefRegMap(@Self)^.&set := $00000010;
  15922. end;
  15923. procedure TTMR1_T1CON.clearTCKPS0; inline;
  15924. begin
  15925. pTDefRegMap(@Self)^.clr := $00000010;
  15926. end;
  15927. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  15928. begin
  15929. if thebits = 0 then
  15930. pTDefRegMap(@Self)^.clr := $00000010
  15931. else
  15932. pTDefRegMap(@Self)^.&set := $00000010;
  15933. end;
  15934. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  15935. begin
  15936. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15937. end;
  15938. procedure TTMR1_T1CON.setTCKPS1; inline;
  15939. begin
  15940. pTDefRegMap(@Self)^.&set := $00000020;
  15941. end;
  15942. procedure TTMR1_T1CON.clearTCKPS1; inline;
  15943. begin
  15944. pTDefRegMap(@Self)^.clr := $00000020;
  15945. end;
  15946. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  15947. begin
  15948. if thebits = 0 then
  15949. pTDefRegMap(@Self)^.clr := $00000020
  15950. else
  15951. pTDefRegMap(@Self)^.&set := $00000020;
  15952. end;
  15953. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  15954. begin
  15955. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15956. end;
  15957. procedure TTMR1_T1CON.setTSIDL; inline;
  15958. begin
  15959. pTDefRegMap(@Self)^.&set := $00002000;
  15960. end;
  15961. procedure TTMR1_T1CON.clearTSIDL; inline;
  15962. begin
  15963. pTDefRegMap(@Self)^.clr := $00002000;
  15964. end;
  15965. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  15966. begin
  15967. if thebits = 0 then
  15968. pTDefRegMap(@Self)^.clr := $00002000
  15969. else
  15970. pTDefRegMap(@Self)^.&set := $00002000;
  15971. end;
  15972. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  15973. begin
  15974. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15975. end;
  15976. procedure TTMR1_T1CON.setTON; inline;
  15977. begin
  15978. pTDefRegMap(@Self)^.&set := $00008000;
  15979. end;
  15980. procedure TTMR1_T1CON.clearTON; inline;
  15981. begin
  15982. pTDefRegMap(@Self)^.clr := $00008000;
  15983. end;
  15984. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  15985. begin
  15986. if thebits = 0 then
  15987. pTDefRegMap(@Self)^.clr := $00008000
  15988. else
  15989. pTDefRegMap(@Self)^.&set := $00008000;
  15990. end;
  15991. function TTMR1_T1CON.getTON : TBits_1; inline;
  15992. begin
  15993. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15994. end;
  15995. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  15996. begin
  15997. pTDefRegMap(@Self)^.val := thebits;
  15998. end;
  15999. function TTMR1_T1CON.getw : TBits_32; inline;
  16000. begin
  16001. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16002. end;
  16003. procedure TTMR2_T2CON.setT32; inline;
  16004. begin
  16005. pTDefRegMap(@Self)^.&set := $00000008;
  16006. end;
  16007. procedure TTMR2_T2CON.clearT32; inline;
  16008. begin
  16009. pTDefRegMap(@Self)^.clr := $00000008;
  16010. end;
  16011. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  16012. begin
  16013. if thebits = 0 then
  16014. pTDefRegMap(@Self)^.clr := $00000008
  16015. else
  16016. pTDefRegMap(@Self)^.&set := $00000008;
  16017. end;
  16018. function TTMR2_T2CON.getT32 : TBits_1; inline;
  16019. begin
  16020. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16021. end;
  16022. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  16023. begin
  16024. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  16025. end;
  16026. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  16027. begin
  16028. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  16029. end;
  16030. procedure TTMR2_T2CON.setTGATE; inline;
  16031. begin
  16032. pTDefRegMap(@Self)^.&set := $00000080;
  16033. end;
  16034. procedure TTMR2_T2CON.clearTGATE; inline;
  16035. begin
  16036. pTDefRegMap(@Self)^.clr := $00000080;
  16037. end;
  16038. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  16039. begin
  16040. if thebits = 0 then
  16041. pTDefRegMap(@Self)^.clr := $00000080
  16042. else
  16043. pTDefRegMap(@Self)^.&set := $00000080;
  16044. end;
  16045. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  16046. begin
  16047. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16048. end;
  16049. procedure TTMR2_T2CON.setSIDL; inline;
  16050. begin
  16051. pTDefRegMap(@Self)^.&set := $00002000;
  16052. end;
  16053. procedure TTMR2_T2CON.clearSIDL; inline;
  16054. begin
  16055. pTDefRegMap(@Self)^.clr := $00002000;
  16056. end;
  16057. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  16058. begin
  16059. if thebits = 0 then
  16060. pTDefRegMap(@Self)^.clr := $00002000
  16061. else
  16062. pTDefRegMap(@Self)^.&set := $00002000;
  16063. end;
  16064. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  16065. begin
  16066. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16067. end;
  16068. procedure TTMR2_T2CON.setON; inline;
  16069. begin
  16070. pTDefRegMap(@Self)^.&set := $00008000;
  16071. end;
  16072. procedure TTMR2_T2CON.clearON; inline;
  16073. begin
  16074. pTDefRegMap(@Self)^.clr := $00008000;
  16075. end;
  16076. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  16077. begin
  16078. if thebits = 0 then
  16079. pTDefRegMap(@Self)^.clr := $00008000
  16080. else
  16081. pTDefRegMap(@Self)^.&set := $00008000;
  16082. end;
  16083. function TTMR2_T2CON.getON : TBits_1; inline;
  16084. begin
  16085. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16086. end;
  16087. procedure TTMR2_T2CON.setTCKPS0; inline;
  16088. begin
  16089. pTDefRegMap(@Self)^.&set := $00000010;
  16090. end;
  16091. procedure TTMR2_T2CON.clearTCKPS0; inline;
  16092. begin
  16093. pTDefRegMap(@Self)^.clr := $00000010;
  16094. end;
  16095. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  16096. begin
  16097. if thebits = 0 then
  16098. pTDefRegMap(@Self)^.clr := $00000010
  16099. else
  16100. pTDefRegMap(@Self)^.&set := $00000010;
  16101. end;
  16102. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  16103. begin
  16104. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16105. end;
  16106. procedure TTMR2_T2CON.setTCKPS1; inline;
  16107. begin
  16108. pTDefRegMap(@Self)^.&set := $00000020;
  16109. end;
  16110. procedure TTMR2_T2CON.clearTCKPS1; inline;
  16111. begin
  16112. pTDefRegMap(@Self)^.clr := $00000020;
  16113. end;
  16114. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  16115. begin
  16116. if thebits = 0 then
  16117. pTDefRegMap(@Self)^.clr := $00000020
  16118. else
  16119. pTDefRegMap(@Self)^.&set := $00000020;
  16120. end;
  16121. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  16122. begin
  16123. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16124. end;
  16125. procedure TTMR2_T2CON.setTCKPS2; inline;
  16126. begin
  16127. pTDefRegMap(@Self)^.&set := $00000040;
  16128. end;
  16129. procedure TTMR2_T2CON.clearTCKPS2; inline;
  16130. begin
  16131. pTDefRegMap(@Self)^.clr := $00000040;
  16132. end;
  16133. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  16134. begin
  16135. if thebits = 0 then
  16136. pTDefRegMap(@Self)^.clr := $00000040
  16137. else
  16138. pTDefRegMap(@Self)^.&set := $00000040;
  16139. end;
  16140. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  16141. begin
  16142. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16143. end;
  16144. procedure TTMR2_T2CON.setTSIDL; inline;
  16145. begin
  16146. pTDefRegMap(@Self)^.&set := $00002000;
  16147. end;
  16148. procedure TTMR2_T2CON.clearTSIDL; inline;
  16149. begin
  16150. pTDefRegMap(@Self)^.clr := $00002000;
  16151. end;
  16152. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  16153. begin
  16154. if thebits = 0 then
  16155. pTDefRegMap(@Self)^.clr := $00002000
  16156. else
  16157. pTDefRegMap(@Self)^.&set := $00002000;
  16158. end;
  16159. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  16160. begin
  16161. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16162. end;
  16163. procedure TTMR2_T2CON.setTON; inline;
  16164. begin
  16165. pTDefRegMap(@Self)^.&set := $00008000;
  16166. end;
  16167. procedure TTMR2_T2CON.clearTON; inline;
  16168. begin
  16169. pTDefRegMap(@Self)^.clr := $00008000;
  16170. end;
  16171. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  16172. begin
  16173. if thebits = 0 then
  16174. pTDefRegMap(@Self)^.clr := $00008000
  16175. else
  16176. pTDefRegMap(@Self)^.&set := $00008000;
  16177. end;
  16178. function TTMR2_T2CON.getTON : TBits_1; inline;
  16179. begin
  16180. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16181. end;
  16182. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  16183. begin
  16184. pTDefRegMap(@Self)^.val := thebits;
  16185. end;
  16186. function TTMR2_T2CON.getw : TBits_32; inline;
  16187. begin
  16188. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16189. end;
  16190. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  16191. begin
  16192. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  16193. end;
  16194. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  16195. begin
  16196. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  16197. end;
  16198. procedure TTMR3_T3CON.setTGATE; inline;
  16199. begin
  16200. pTDefRegMap(@Self)^.&set := $00000080;
  16201. end;
  16202. procedure TTMR3_T3CON.clearTGATE; inline;
  16203. begin
  16204. pTDefRegMap(@Self)^.clr := $00000080;
  16205. end;
  16206. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  16207. begin
  16208. if thebits = 0 then
  16209. pTDefRegMap(@Self)^.clr := $00000080
  16210. else
  16211. pTDefRegMap(@Self)^.&set := $00000080;
  16212. end;
  16213. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  16214. begin
  16215. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16216. end;
  16217. procedure TTMR3_T3CON.setSIDL; inline;
  16218. begin
  16219. pTDefRegMap(@Self)^.&set := $00002000;
  16220. end;
  16221. procedure TTMR3_T3CON.clearSIDL; inline;
  16222. begin
  16223. pTDefRegMap(@Self)^.clr := $00002000;
  16224. end;
  16225. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  16226. begin
  16227. if thebits = 0 then
  16228. pTDefRegMap(@Self)^.clr := $00002000
  16229. else
  16230. pTDefRegMap(@Self)^.&set := $00002000;
  16231. end;
  16232. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  16233. begin
  16234. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16235. end;
  16236. procedure TTMR3_T3CON.setON; inline;
  16237. begin
  16238. pTDefRegMap(@Self)^.&set := $00008000;
  16239. end;
  16240. procedure TTMR3_T3CON.clearON; inline;
  16241. begin
  16242. pTDefRegMap(@Self)^.clr := $00008000;
  16243. end;
  16244. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  16245. begin
  16246. if thebits = 0 then
  16247. pTDefRegMap(@Self)^.clr := $00008000
  16248. else
  16249. pTDefRegMap(@Self)^.&set := $00008000;
  16250. end;
  16251. function TTMR3_T3CON.getON : TBits_1; inline;
  16252. begin
  16253. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16254. end;
  16255. procedure TTMR3_T3CON.setTCKPS0; inline;
  16256. begin
  16257. pTDefRegMap(@Self)^.&set := $00000010;
  16258. end;
  16259. procedure TTMR3_T3CON.clearTCKPS0; inline;
  16260. begin
  16261. pTDefRegMap(@Self)^.clr := $00000010;
  16262. end;
  16263. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  16264. begin
  16265. if thebits = 0 then
  16266. pTDefRegMap(@Self)^.clr := $00000010
  16267. else
  16268. pTDefRegMap(@Self)^.&set := $00000010;
  16269. end;
  16270. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  16271. begin
  16272. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16273. end;
  16274. procedure TTMR3_T3CON.setTCKPS1; inline;
  16275. begin
  16276. pTDefRegMap(@Self)^.&set := $00000020;
  16277. end;
  16278. procedure TTMR3_T3CON.clearTCKPS1; inline;
  16279. begin
  16280. pTDefRegMap(@Self)^.clr := $00000020;
  16281. end;
  16282. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  16283. begin
  16284. if thebits = 0 then
  16285. pTDefRegMap(@Self)^.clr := $00000020
  16286. else
  16287. pTDefRegMap(@Self)^.&set := $00000020;
  16288. end;
  16289. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  16290. begin
  16291. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16292. end;
  16293. procedure TTMR3_T3CON.setTCKPS2; inline;
  16294. begin
  16295. pTDefRegMap(@Self)^.&set := $00000040;
  16296. end;
  16297. procedure TTMR3_T3CON.clearTCKPS2; inline;
  16298. begin
  16299. pTDefRegMap(@Self)^.clr := $00000040;
  16300. end;
  16301. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  16302. begin
  16303. if thebits = 0 then
  16304. pTDefRegMap(@Self)^.clr := $00000040
  16305. else
  16306. pTDefRegMap(@Self)^.&set := $00000040;
  16307. end;
  16308. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  16309. begin
  16310. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16311. end;
  16312. procedure TTMR3_T3CON.setTSIDL; inline;
  16313. begin
  16314. pTDefRegMap(@Self)^.&set := $00002000;
  16315. end;
  16316. procedure TTMR3_T3CON.clearTSIDL; inline;
  16317. begin
  16318. pTDefRegMap(@Self)^.clr := $00002000;
  16319. end;
  16320. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  16321. begin
  16322. if thebits = 0 then
  16323. pTDefRegMap(@Self)^.clr := $00002000
  16324. else
  16325. pTDefRegMap(@Self)^.&set := $00002000;
  16326. end;
  16327. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  16328. begin
  16329. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16330. end;
  16331. procedure TTMR3_T3CON.setTON; inline;
  16332. begin
  16333. pTDefRegMap(@Self)^.&set := $00008000;
  16334. end;
  16335. procedure TTMR3_T3CON.clearTON; inline;
  16336. begin
  16337. pTDefRegMap(@Self)^.clr := $00008000;
  16338. end;
  16339. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  16340. begin
  16341. if thebits = 0 then
  16342. pTDefRegMap(@Self)^.clr := $00008000
  16343. else
  16344. pTDefRegMap(@Self)^.&set := $00008000;
  16345. end;
  16346. function TTMR3_T3CON.getTON : TBits_1; inline;
  16347. begin
  16348. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16349. end;
  16350. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  16351. begin
  16352. pTDefRegMap(@Self)^.val := thebits;
  16353. end;
  16354. function TTMR3_T3CON.getw : TBits_32; inline;
  16355. begin
  16356. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16357. end;
  16358. procedure TTMR4_T4CON.setT32; inline;
  16359. begin
  16360. pTDefRegMap(@Self)^.&set := $00000008;
  16361. end;
  16362. procedure TTMR4_T4CON.clearT32; inline;
  16363. begin
  16364. pTDefRegMap(@Self)^.clr := $00000008;
  16365. end;
  16366. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  16367. begin
  16368. if thebits = 0 then
  16369. pTDefRegMap(@Self)^.clr := $00000008
  16370. else
  16371. pTDefRegMap(@Self)^.&set := $00000008;
  16372. end;
  16373. function TTMR4_T4CON.getT32 : TBits_1; inline;
  16374. begin
  16375. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16376. end;
  16377. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  16378. begin
  16379. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  16380. end;
  16381. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  16382. begin
  16383. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  16384. end;
  16385. procedure TTMR4_T4CON.setTGATE; inline;
  16386. begin
  16387. pTDefRegMap(@Self)^.&set := $00000080;
  16388. end;
  16389. procedure TTMR4_T4CON.clearTGATE; inline;
  16390. begin
  16391. pTDefRegMap(@Self)^.clr := $00000080;
  16392. end;
  16393. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  16394. begin
  16395. if thebits = 0 then
  16396. pTDefRegMap(@Self)^.clr := $00000080
  16397. else
  16398. pTDefRegMap(@Self)^.&set := $00000080;
  16399. end;
  16400. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  16401. begin
  16402. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16403. end;
  16404. procedure TTMR4_T4CON.setSIDL; inline;
  16405. begin
  16406. pTDefRegMap(@Self)^.&set := $00002000;
  16407. end;
  16408. procedure TTMR4_T4CON.clearSIDL; inline;
  16409. begin
  16410. pTDefRegMap(@Self)^.clr := $00002000;
  16411. end;
  16412. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  16413. begin
  16414. if thebits = 0 then
  16415. pTDefRegMap(@Self)^.clr := $00002000
  16416. else
  16417. pTDefRegMap(@Self)^.&set := $00002000;
  16418. end;
  16419. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  16420. begin
  16421. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16422. end;
  16423. procedure TTMR4_T4CON.setON; inline;
  16424. begin
  16425. pTDefRegMap(@Self)^.&set := $00008000;
  16426. end;
  16427. procedure TTMR4_T4CON.clearON; inline;
  16428. begin
  16429. pTDefRegMap(@Self)^.clr := $00008000;
  16430. end;
  16431. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  16432. begin
  16433. if thebits = 0 then
  16434. pTDefRegMap(@Self)^.clr := $00008000
  16435. else
  16436. pTDefRegMap(@Self)^.&set := $00008000;
  16437. end;
  16438. function TTMR4_T4CON.getON : TBits_1; inline;
  16439. begin
  16440. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16441. end;
  16442. procedure TTMR4_T4CON.setTCKPS0; inline;
  16443. begin
  16444. pTDefRegMap(@Self)^.&set := $00000010;
  16445. end;
  16446. procedure TTMR4_T4CON.clearTCKPS0; inline;
  16447. begin
  16448. pTDefRegMap(@Self)^.clr := $00000010;
  16449. end;
  16450. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  16451. begin
  16452. if thebits = 0 then
  16453. pTDefRegMap(@Self)^.clr := $00000010
  16454. else
  16455. pTDefRegMap(@Self)^.&set := $00000010;
  16456. end;
  16457. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  16458. begin
  16459. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16460. end;
  16461. procedure TTMR4_T4CON.setTCKPS1; inline;
  16462. begin
  16463. pTDefRegMap(@Self)^.&set := $00000020;
  16464. end;
  16465. procedure TTMR4_T4CON.clearTCKPS1; inline;
  16466. begin
  16467. pTDefRegMap(@Self)^.clr := $00000020;
  16468. end;
  16469. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  16470. begin
  16471. if thebits = 0 then
  16472. pTDefRegMap(@Self)^.clr := $00000020
  16473. else
  16474. pTDefRegMap(@Self)^.&set := $00000020;
  16475. end;
  16476. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  16477. begin
  16478. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16479. end;
  16480. procedure TTMR4_T4CON.setTCKPS2; inline;
  16481. begin
  16482. pTDefRegMap(@Self)^.&set := $00000040;
  16483. end;
  16484. procedure TTMR4_T4CON.clearTCKPS2; inline;
  16485. begin
  16486. pTDefRegMap(@Self)^.clr := $00000040;
  16487. end;
  16488. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  16489. begin
  16490. if thebits = 0 then
  16491. pTDefRegMap(@Self)^.clr := $00000040
  16492. else
  16493. pTDefRegMap(@Self)^.&set := $00000040;
  16494. end;
  16495. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  16496. begin
  16497. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16498. end;
  16499. procedure TTMR4_T4CON.setTSIDL; inline;
  16500. begin
  16501. pTDefRegMap(@Self)^.&set := $00002000;
  16502. end;
  16503. procedure TTMR4_T4CON.clearTSIDL; inline;
  16504. begin
  16505. pTDefRegMap(@Self)^.clr := $00002000;
  16506. end;
  16507. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  16508. begin
  16509. if thebits = 0 then
  16510. pTDefRegMap(@Self)^.clr := $00002000
  16511. else
  16512. pTDefRegMap(@Self)^.&set := $00002000;
  16513. end;
  16514. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  16515. begin
  16516. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16517. end;
  16518. procedure TTMR4_T4CON.setTON; inline;
  16519. begin
  16520. pTDefRegMap(@Self)^.&set := $00008000;
  16521. end;
  16522. procedure TTMR4_T4CON.clearTON; inline;
  16523. begin
  16524. pTDefRegMap(@Self)^.clr := $00008000;
  16525. end;
  16526. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  16527. begin
  16528. if thebits = 0 then
  16529. pTDefRegMap(@Self)^.clr := $00008000
  16530. else
  16531. pTDefRegMap(@Self)^.&set := $00008000;
  16532. end;
  16533. function TTMR4_T4CON.getTON : TBits_1; inline;
  16534. begin
  16535. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16536. end;
  16537. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  16538. begin
  16539. pTDefRegMap(@Self)^.val := thebits;
  16540. end;
  16541. function TTMR4_T4CON.getw : TBits_32; inline;
  16542. begin
  16543. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16544. end;
  16545. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  16546. begin
  16547. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  16548. end;
  16549. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  16550. begin
  16551. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  16552. end;
  16553. procedure TTMR5_T5CON.setTGATE; inline;
  16554. begin
  16555. pTDefRegMap(@Self)^.&set := $00000080;
  16556. end;
  16557. procedure TTMR5_T5CON.clearTGATE; inline;
  16558. begin
  16559. pTDefRegMap(@Self)^.clr := $00000080;
  16560. end;
  16561. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  16562. begin
  16563. if thebits = 0 then
  16564. pTDefRegMap(@Self)^.clr := $00000080
  16565. else
  16566. pTDefRegMap(@Self)^.&set := $00000080;
  16567. end;
  16568. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  16569. begin
  16570. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16571. end;
  16572. procedure TTMR5_T5CON.setSIDL; inline;
  16573. begin
  16574. pTDefRegMap(@Self)^.&set := $00002000;
  16575. end;
  16576. procedure TTMR5_T5CON.clearSIDL; inline;
  16577. begin
  16578. pTDefRegMap(@Self)^.clr := $00002000;
  16579. end;
  16580. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  16581. begin
  16582. if thebits = 0 then
  16583. pTDefRegMap(@Self)^.clr := $00002000
  16584. else
  16585. pTDefRegMap(@Self)^.&set := $00002000;
  16586. end;
  16587. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  16588. begin
  16589. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16590. end;
  16591. procedure TTMR5_T5CON.setON; inline;
  16592. begin
  16593. pTDefRegMap(@Self)^.&set := $00008000;
  16594. end;
  16595. procedure TTMR5_T5CON.clearON; inline;
  16596. begin
  16597. pTDefRegMap(@Self)^.clr := $00008000;
  16598. end;
  16599. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  16600. begin
  16601. if thebits = 0 then
  16602. pTDefRegMap(@Self)^.clr := $00008000
  16603. else
  16604. pTDefRegMap(@Self)^.&set := $00008000;
  16605. end;
  16606. function TTMR5_T5CON.getON : TBits_1; inline;
  16607. begin
  16608. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16609. end;
  16610. procedure TTMR5_T5CON.setTCKPS0; inline;
  16611. begin
  16612. pTDefRegMap(@Self)^.&set := $00000010;
  16613. end;
  16614. procedure TTMR5_T5CON.clearTCKPS0; inline;
  16615. begin
  16616. pTDefRegMap(@Self)^.clr := $00000010;
  16617. end;
  16618. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  16619. begin
  16620. if thebits = 0 then
  16621. pTDefRegMap(@Self)^.clr := $00000010
  16622. else
  16623. pTDefRegMap(@Self)^.&set := $00000010;
  16624. end;
  16625. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  16626. begin
  16627. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16628. end;
  16629. procedure TTMR5_T5CON.setTCKPS1; inline;
  16630. begin
  16631. pTDefRegMap(@Self)^.&set := $00000020;
  16632. end;
  16633. procedure TTMR5_T5CON.clearTCKPS1; inline;
  16634. begin
  16635. pTDefRegMap(@Self)^.clr := $00000020;
  16636. end;
  16637. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  16638. begin
  16639. if thebits = 0 then
  16640. pTDefRegMap(@Self)^.clr := $00000020
  16641. else
  16642. pTDefRegMap(@Self)^.&set := $00000020;
  16643. end;
  16644. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  16645. begin
  16646. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16647. end;
  16648. procedure TTMR5_T5CON.setTCKPS2; inline;
  16649. begin
  16650. pTDefRegMap(@Self)^.&set := $00000040;
  16651. end;
  16652. procedure TTMR5_T5CON.clearTCKPS2; inline;
  16653. begin
  16654. pTDefRegMap(@Self)^.clr := $00000040;
  16655. end;
  16656. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  16657. begin
  16658. if thebits = 0 then
  16659. pTDefRegMap(@Self)^.clr := $00000040
  16660. else
  16661. pTDefRegMap(@Self)^.&set := $00000040;
  16662. end;
  16663. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  16664. begin
  16665. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16666. end;
  16667. procedure TTMR5_T5CON.setTSIDL; inline;
  16668. begin
  16669. pTDefRegMap(@Self)^.&set := $00002000;
  16670. end;
  16671. procedure TTMR5_T5CON.clearTSIDL; inline;
  16672. begin
  16673. pTDefRegMap(@Self)^.clr := $00002000;
  16674. end;
  16675. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  16676. begin
  16677. if thebits = 0 then
  16678. pTDefRegMap(@Self)^.clr := $00002000
  16679. else
  16680. pTDefRegMap(@Self)^.&set := $00002000;
  16681. end;
  16682. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  16683. begin
  16684. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16685. end;
  16686. procedure TTMR5_T5CON.setTON; inline;
  16687. begin
  16688. pTDefRegMap(@Self)^.&set := $00008000;
  16689. end;
  16690. procedure TTMR5_T5CON.clearTON; inline;
  16691. begin
  16692. pTDefRegMap(@Self)^.clr := $00008000;
  16693. end;
  16694. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  16695. begin
  16696. if thebits = 0 then
  16697. pTDefRegMap(@Self)^.clr := $00008000
  16698. else
  16699. pTDefRegMap(@Self)^.&set := $00008000;
  16700. end;
  16701. function TTMR5_T5CON.getTON : TBits_1; inline;
  16702. begin
  16703. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16704. end;
  16705. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  16706. begin
  16707. pTDefRegMap(@Self)^.val := thebits;
  16708. end;
  16709. function TTMR5_T5CON.getw : TBits_32; inline;
  16710. begin
  16711. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16712. end;
  16713. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  16714. begin
  16715. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16716. end;
  16717. function TICAP1_IC1CON.getICM : TBits_3; inline;
  16718. begin
  16719. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16720. end;
  16721. procedure TICAP1_IC1CON.setICBNE; inline;
  16722. begin
  16723. pTDefRegMap(@Self)^.&set := $00000008;
  16724. end;
  16725. procedure TICAP1_IC1CON.clearICBNE; inline;
  16726. begin
  16727. pTDefRegMap(@Self)^.clr := $00000008;
  16728. end;
  16729. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  16730. begin
  16731. if thebits = 0 then
  16732. pTDefRegMap(@Self)^.clr := $00000008
  16733. else
  16734. pTDefRegMap(@Self)^.&set := $00000008;
  16735. end;
  16736. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  16737. begin
  16738. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16739. end;
  16740. procedure TICAP1_IC1CON.setICOV; inline;
  16741. begin
  16742. pTDefRegMap(@Self)^.&set := $00000010;
  16743. end;
  16744. procedure TICAP1_IC1CON.clearICOV; inline;
  16745. begin
  16746. pTDefRegMap(@Self)^.clr := $00000010;
  16747. end;
  16748. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  16749. begin
  16750. if thebits = 0 then
  16751. pTDefRegMap(@Self)^.clr := $00000010
  16752. else
  16753. pTDefRegMap(@Self)^.&set := $00000010;
  16754. end;
  16755. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  16756. begin
  16757. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16758. end;
  16759. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  16760. begin
  16761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  16762. end;
  16763. function TICAP1_IC1CON.getICI : TBits_2; inline;
  16764. begin
  16765. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  16766. end;
  16767. procedure TICAP1_IC1CON.setICTMR; inline;
  16768. begin
  16769. pTDefRegMap(@Self)^.&set := $00000080;
  16770. end;
  16771. procedure TICAP1_IC1CON.clearICTMR; inline;
  16772. begin
  16773. pTDefRegMap(@Self)^.clr := $00000080;
  16774. end;
  16775. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  16776. begin
  16777. if thebits = 0 then
  16778. pTDefRegMap(@Self)^.clr := $00000080
  16779. else
  16780. pTDefRegMap(@Self)^.&set := $00000080;
  16781. end;
  16782. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  16783. begin
  16784. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16785. end;
  16786. procedure TICAP1_IC1CON.setC32; inline;
  16787. begin
  16788. pTDefRegMap(@Self)^.&set := $00000100;
  16789. end;
  16790. procedure TICAP1_IC1CON.clearC32; inline;
  16791. begin
  16792. pTDefRegMap(@Self)^.clr := $00000100;
  16793. end;
  16794. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  16795. begin
  16796. if thebits = 0 then
  16797. pTDefRegMap(@Self)^.clr := $00000100
  16798. else
  16799. pTDefRegMap(@Self)^.&set := $00000100;
  16800. end;
  16801. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  16802. begin
  16803. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16804. end;
  16805. procedure TICAP1_IC1CON.setFEDGE; inline;
  16806. begin
  16807. pTDefRegMap(@Self)^.&set := $00000200;
  16808. end;
  16809. procedure TICAP1_IC1CON.clearFEDGE; inline;
  16810. begin
  16811. pTDefRegMap(@Self)^.clr := $00000200;
  16812. end;
  16813. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  16814. begin
  16815. if thebits = 0 then
  16816. pTDefRegMap(@Self)^.clr := $00000200
  16817. else
  16818. pTDefRegMap(@Self)^.&set := $00000200;
  16819. end;
  16820. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  16821. begin
  16822. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16823. end;
  16824. procedure TICAP1_IC1CON.setSIDL; inline;
  16825. begin
  16826. pTDefRegMap(@Self)^.&set := $00002000;
  16827. end;
  16828. procedure TICAP1_IC1CON.clearSIDL; inline;
  16829. begin
  16830. pTDefRegMap(@Self)^.clr := $00002000;
  16831. end;
  16832. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  16833. begin
  16834. if thebits = 0 then
  16835. pTDefRegMap(@Self)^.clr := $00002000
  16836. else
  16837. pTDefRegMap(@Self)^.&set := $00002000;
  16838. end;
  16839. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  16840. begin
  16841. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16842. end;
  16843. procedure TICAP1_IC1CON.setON; inline;
  16844. begin
  16845. pTDefRegMap(@Self)^.&set := $00008000;
  16846. end;
  16847. procedure TICAP1_IC1CON.clearON; inline;
  16848. begin
  16849. pTDefRegMap(@Self)^.clr := $00008000;
  16850. end;
  16851. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  16852. begin
  16853. if thebits = 0 then
  16854. pTDefRegMap(@Self)^.clr := $00008000
  16855. else
  16856. pTDefRegMap(@Self)^.&set := $00008000;
  16857. end;
  16858. function TICAP1_IC1CON.getON : TBits_1; inline;
  16859. begin
  16860. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16861. end;
  16862. procedure TICAP1_IC1CON.setICM0; inline;
  16863. begin
  16864. pTDefRegMap(@Self)^.&set := $00000001;
  16865. end;
  16866. procedure TICAP1_IC1CON.clearICM0; inline;
  16867. begin
  16868. pTDefRegMap(@Self)^.clr := $00000001;
  16869. end;
  16870. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  16871. begin
  16872. if thebits = 0 then
  16873. pTDefRegMap(@Self)^.clr := $00000001
  16874. else
  16875. pTDefRegMap(@Self)^.&set := $00000001;
  16876. end;
  16877. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  16878. begin
  16879. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16880. end;
  16881. procedure TICAP1_IC1CON.setICM1; inline;
  16882. begin
  16883. pTDefRegMap(@Self)^.&set := $00000002;
  16884. end;
  16885. procedure TICAP1_IC1CON.clearICM1; inline;
  16886. begin
  16887. pTDefRegMap(@Self)^.clr := $00000002;
  16888. end;
  16889. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  16890. begin
  16891. if thebits = 0 then
  16892. pTDefRegMap(@Self)^.clr := $00000002
  16893. else
  16894. pTDefRegMap(@Self)^.&set := $00000002;
  16895. end;
  16896. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  16897. begin
  16898. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16899. end;
  16900. procedure TICAP1_IC1CON.setICM2; inline;
  16901. begin
  16902. pTDefRegMap(@Self)^.&set := $00000004;
  16903. end;
  16904. procedure TICAP1_IC1CON.clearICM2; inline;
  16905. begin
  16906. pTDefRegMap(@Self)^.clr := $00000004;
  16907. end;
  16908. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  16909. begin
  16910. if thebits = 0 then
  16911. pTDefRegMap(@Self)^.clr := $00000004
  16912. else
  16913. pTDefRegMap(@Self)^.&set := $00000004;
  16914. end;
  16915. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  16916. begin
  16917. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16918. end;
  16919. procedure TICAP1_IC1CON.setICI0; inline;
  16920. begin
  16921. pTDefRegMap(@Self)^.&set := $00000020;
  16922. end;
  16923. procedure TICAP1_IC1CON.clearICI0; inline;
  16924. begin
  16925. pTDefRegMap(@Self)^.clr := $00000020;
  16926. end;
  16927. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  16928. begin
  16929. if thebits = 0 then
  16930. pTDefRegMap(@Self)^.clr := $00000020
  16931. else
  16932. pTDefRegMap(@Self)^.&set := $00000020;
  16933. end;
  16934. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  16935. begin
  16936. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16937. end;
  16938. procedure TICAP1_IC1CON.setICI1; inline;
  16939. begin
  16940. pTDefRegMap(@Self)^.&set := $00000040;
  16941. end;
  16942. procedure TICAP1_IC1CON.clearICI1; inline;
  16943. begin
  16944. pTDefRegMap(@Self)^.clr := $00000040;
  16945. end;
  16946. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  16947. begin
  16948. if thebits = 0 then
  16949. pTDefRegMap(@Self)^.clr := $00000040
  16950. else
  16951. pTDefRegMap(@Self)^.&set := $00000040;
  16952. end;
  16953. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  16954. begin
  16955. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16956. end;
  16957. procedure TICAP1_IC1CON.setICSIDL; inline;
  16958. begin
  16959. pTDefRegMap(@Self)^.&set := $00002000;
  16960. end;
  16961. procedure TICAP1_IC1CON.clearICSIDL; inline;
  16962. begin
  16963. pTDefRegMap(@Self)^.clr := $00002000;
  16964. end;
  16965. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  16966. begin
  16967. if thebits = 0 then
  16968. pTDefRegMap(@Self)^.clr := $00002000
  16969. else
  16970. pTDefRegMap(@Self)^.&set := $00002000;
  16971. end;
  16972. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  16973. begin
  16974. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16975. end;
  16976. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  16977. begin
  16978. pTDefRegMap(@Self)^.val := thebits;
  16979. end;
  16980. function TICAP1_IC1CON.getw : TBits_32; inline;
  16981. begin
  16982. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16983. end;
  16984. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  16985. begin
  16986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  16987. end;
  16988. function TICAP2_IC2CON.getICM : TBits_3; inline;
  16989. begin
  16990. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  16991. end;
  16992. procedure TICAP2_IC2CON.setICBNE; inline;
  16993. begin
  16994. pTDefRegMap(@Self)^.&set := $00000008;
  16995. end;
  16996. procedure TICAP2_IC2CON.clearICBNE; inline;
  16997. begin
  16998. pTDefRegMap(@Self)^.clr := $00000008;
  16999. end;
  17000. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  17001. begin
  17002. if thebits = 0 then
  17003. pTDefRegMap(@Self)^.clr := $00000008
  17004. else
  17005. pTDefRegMap(@Self)^.&set := $00000008;
  17006. end;
  17007. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  17008. begin
  17009. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17010. end;
  17011. procedure TICAP2_IC2CON.setICOV; inline;
  17012. begin
  17013. pTDefRegMap(@Self)^.&set := $00000010;
  17014. end;
  17015. procedure TICAP2_IC2CON.clearICOV; inline;
  17016. begin
  17017. pTDefRegMap(@Self)^.clr := $00000010;
  17018. end;
  17019. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  17020. begin
  17021. if thebits = 0 then
  17022. pTDefRegMap(@Self)^.clr := $00000010
  17023. else
  17024. pTDefRegMap(@Self)^.&set := $00000010;
  17025. end;
  17026. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  17027. begin
  17028. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17029. end;
  17030. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  17031. begin
  17032. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  17033. end;
  17034. function TICAP2_IC2CON.getICI : TBits_2; inline;
  17035. begin
  17036. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  17037. end;
  17038. procedure TICAP2_IC2CON.setICTMR; inline;
  17039. begin
  17040. pTDefRegMap(@Self)^.&set := $00000080;
  17041. end;
  17042. procedure TICAP2_IC2CON.clearICTMR; inline;
  17043. begin
  17044. pTDefRegMap(@Self)^.clr := $00000080;
  17045. end;
  17046. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  17047. begin
  17048. if thebits = 0 then
  17049. pTDefRegMap(@Self)^.clr := $00000080
  17050. else
  17051. pTDefRegMap(@Self)^.&set := $00000080;
  17052. end;
  17053. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  17054. begin
  17055. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17056. end;
  17057. procedure TICAP2_IC2CON.setC32; inline;
  17058. begin
  17059. pTDefRegMap(@Self)^.&set := $00000100;
  17060. end;
  17061. procedure TICAP2_IC2CON.clearC32; inline;
  17062. begin
  17063. pTDefRegMap(@Self)^.clr := $00000100;
  17064. end;
  17065. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  17066. begin
  17067. if thebits = 0 then
  17068. pTDefRegMap(@Self)^.clr := $00000100
  17069. else
  17070. pTDefRegMap(@Self)^.&set := $00000100;
  17071. end;
  17072. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  17073. begin
  17074. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17075. end;
  17076. procedure TICAP2_IC2CON.setFEDGE; inline;
  17077. begin
  17078. pTDefRegMap(@Self)^.&set := $00000200;
  17079. end;
  17080. procedure TICAP2_IC2CON.clearFEDGE; inline;
  17081. begin
  17082. pTDefRegMap(@Self)^.clr := $00000200;
  17083. end;
  17084. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  17085. begin
  17086. if thebits = 0 then
  17087. pTDefRegMap(@Self)^.clr := $00000200
  17088. else
  17089. pTDefRegMap(@Self)^.&set := $00000200;
  17090. end;
  17091. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  17092. begin
  17093. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17094. end;
  17095. procedure TICAP2_IC2CON.setSIDL; inline;
  17096. begin
  17097. pTDefRegMap(@Self)^.&set := $00002000;
  17098. end;
  17099. procedure TICAP2_IC2CON.clearSIDL; inline;
  17100. begin
  17101. pTDefRegMap(@Self)^.clr := $00002000;
  17102. end;
  17103. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  17104. begin
  17105. if thebits = 0 then
  17106. pTDefRegMap(@Self)^.clr := $00002000
  17107. else
  17108. pTDefRegMap(@Self)^.&set := $00002000;
  17109. end;
  17110. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  17111. begin
  17112. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17113. end;
  17114. procedure TICAP2_IC2CON.setON; inline;
  17115. begin
  17116. pTDefRegMap(@Self)^.&set := $00008000;
  17117. end;
  17118. procedure TICAP2_IC2CON.clearON; inline;
  17119. begin
  17120. pTDefRegMap(@Self)^.clr := $00008000;
  17121. end;
  17122. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  17123. begin
  17124. if thebits = 0 then
  17125. pTDefRegMap(@Self)^.clr := $00008000
  17126. else
  17127. pTDefRegMap(@Self)^.&set := $00008000;
  17128. end;
  17129. function TICAP2_IC2CON.getON : TBits_1; inline;
  17130. begin
  17131. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17132. end;
  17133. procedure TICAP2_IC2CON.setICM0; inline;
  17134. begin
  17135. pTDefRegMap(@Self)^.&set := $00000001;
  17136. end;
  17137. procedure TICAP2_IC2CON.clearICM0; inline;
  17138. begin
  17139. pTDefRegMap(@Self)^.clr := $00000001;
  17140. end;
  17141. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  17142. begin
  17143. if thebits = 0 then
  17144. pTDefRegMap(@Self)^.clr := $00000001
  17145. else
  17146. pTDefRegMap(@Self)^.&set := $00000001;
  17147. end;
  17148. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  17149. begin
  17150. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17151. end;
  17152. procedure TICAP2_IC2CON.setICM1; inline;
  17153. begin
  17154. pTDefRegMap(@Self)^.&set := $00000002;
  17155. end;
  17156. procedure TICAP2_IC2CON.clearICM1; inline;
  17157. begin
  17158. pTDefRegMap(@Self)^.clr := $00000002;
  17159. end;
  17160. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  17161. begin
  17162. if thebits = 0 then
  17163. pTDefRegMap(@Self)^.clr := $00000002
  17164. else
  17165. pTDefRegMap(@Self)^.&set := $00000002;
  17166. end;
  17167. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  17168. begin
  17169. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17170. end;
  17171. procedure TICAP2_IC2CON.setICM2; inline;
  17172. begin
  17173. pTDefRegMap(@Self)^.&set := $00000004;
  17174. end;
  17175. procedure TICAP2_IC2CON.clearICM2; inline;
  17176. begin
  17177. pTDefRegMap(@Self)^.clr := $00000004;
  17178. end;
  17179. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  17180. begin
  17181. if thebits = 0 then
  17182. pTDefRegMap(@Self)^.clr := $00000004
  17183. else
  17184. pTDefRegMap(@Self)^.&set := $00000004;
  17185. end;
  17186. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  17187. begin
  17188. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17189. end;
  17190. procedure TICAP2_IC2CON.setICI0; inline;
  17191. begin
  17192. pTDefRegMap(@Self)^.&set := $00000020;
  17193. end;
  17194. procedure TICAP2_IC2CON.clearICI0; inline;
  17195. begin
  17196. pTDefRegMap(@Self)^.clr := $00000020;
  17197. end;
  17198. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  17199. begin
  17200. if thebits = 0 then
  17201. pTDefRegMap(@Self)^.clr := $00000020
  17202. else
  17203. pTDefRegMap(@Self)^.&set := $00000020;
  17204. end;
  17205. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  17206. begin
  17207. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17208. end;
  17209. procedure TICAP2_IC2CON.setICI1; inline;
  17210. begin
  17211. pTDefRegMap(@Self)^.&set := $00000040;
  17212. end;
  17213. procedure TICAP2_IC2CON.clearICI1; inline;
  17214. begin
  17215. pTDefRegMap(@Self)^.clr := $00000040;
  17216. end;
  17217. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  17218. begin
  17219. if thebits = 0 then
  17220. pTDefRegMap(@Self)^.clr := $00000040
  17221. else
  17222. pTDefRegMap(@Self)^.&set := $00000040;
  17223. end;
  17224. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  17225. begin
  17226. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17227. end;
  17228. procedure TICAP2_IC2CON.setICSIDL; inline;
  17229. begin
  17230. pTDefRegMap(@Self)^.&set := $00002000;
  17231. end;
  17232. procedure TICAP2_IC2CON.clearICSIDL; inline;
  17233. begin
  17234. pTDefRegMap(@Self)^.clr := $00002000;
  17235. end;
  17236. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  17237. begin
  17238. if thebits = 0 then
  17239. pTDefRegMap(@Self)^.clr := $00002000
  17240. else
  17241. pTDefRegMap(@Self)^.&set := $00002000;
  17242. end;
  17243. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  17244. begin
  17245. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17246. end;
  17247. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  17248. begin
  17249. pTDefRegMap(@Self)^.val := thebits;
  17250. end;
  17251. function TICAP2_IC2CON.getw : TBits_32; inline;
  17252. begin
  17253. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17254. end;
  17255. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  17256. begin
  17257. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17258. end;
  17259. function TICAP3_IC3CON.getICM : TBits_3; inline;
  17260. begin
  17261. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17262. end;
  17263. procedure TICAP3_IC3CON.setICBNE; inline;
  17264. begin
  17265. pTDefRegMap(@Self)^.&set := $00000008;
  17266. end;
  17267. procedure TICAP3_IC3CON.clearICBNE; inline;
  17268. begin
  17269. pTDefRegMap(@Self)^.clr := $00000008;
  17270. end;
  17271. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  17272. begin
  17273. if thebits = 0 then
  17274. pTDefRegMap(@Self)^.clr := $00000008
  17275. else
  17276. pTDefRegMap(@Self)^.&set := $00000008;
  17277. end;
  17278. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  17279. begin
  17280. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17281. end;
  17282. procedure TICAP3_IC3CON.setICOV; inline;
  17283. begin
  17284. pTDefRegMap(@Self)^.&set := $00000010;
  17285. end;
  17286. procedure TICAP3_IC3CON.clearICOV; inline;
  17287. begin
  17288. pTDefRegMap(@Self)^.clr := $00000010;
  17289. end;
  17290. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  17291. begin
  17292. if thebits = 0 then
  17293. pTDefRegMap(@Self)^.clr := $00000010
  17294. else
  17295. pTDefRegMap(@Self)^.&set := $00000010;
  17296. end;
  17297. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  17298. begin
  17299. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17300. end;
  17301. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  17302. begin
  17303. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  17304. end;
  17305. function TICAP3_IC3CON.getICI : TBits_2; inline;
  17306. begin
  17307. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  17308. end;
  17309. procedure TICAP3_IC3CON.setICTMR; inline;
  17310. begin
  17311. pTDefRegMap(@Self)^.&set := $00000080;
  17312. end;
  17313. procedure TICAP3_IC3CON.clearICTMR; inline;
  17314. begin
  17315. pTDefRegMap(@Self)^.clr := $00000080;
  17316. end;
  17317. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  17318. begin
  17319. if thebits = 0 then
  17320. pTDefRegMap(@Self)^.clr := $00000080
  17321. else
  17322. pTDefRegMap(@Self)^.&set := $00000080;
  17323. end;
  17324. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  17325. begin
  17326. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17327. end;
  17328. procedure TICAP3_IC3CON.setC32; inline;
  17329. begin
  17330. pTDefRegMap(@Self)^.&set := $00000100;
  17331. end;
  17332. procedure TICAP3_IC3CON.clearC32; inline;
  17333. begin
  17334. pTDefRegMap(@Self)^.clr := $00000100;
  17335. end;
  17336. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  17337. begin
  17338. if thebits = 0 then
  17339. pTDefRegMap(@Self)^.clr := $00000100
  17340. else
  17341. pTDefRegMap(@Self)^.&set := $00000100;
  17342. end;
  17343. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  17344. begin
  17345. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17346. end;
  17347. procedure TICAP3_IC3CON.setFEDGE; inline;
  17348. begin
  17349. pTDefRegMap(@Self)^.&set := $00000200;
  17350. end;
  17351. procedure TICAP3_IC3CON.clearFEDGE; inline;
  17352. begin
  17353. pTDefRegMap(@Self)^.clr := $00000200;
  17354. end;
  17355. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  17356. begin
  17357. if thebits = 0 then
  17358. pTDefRegMap(@Self)^.clr := $00000200
  17359. else
  17360. pTDefRegMap(@Self)^.&set := $00000200;
  17361. end;
  17362. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  17363. begin
  17364. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17365. end;
  17366. procedure TICAP3_IC3CON.setSIDL; inline;
  17367. begin
  17368. pTDefRegMap(@Self)^.&set := $00002000;
  17369. end;
  17370. procedure TICAP3_IC3CON.clearSIDL; inline;
  17371. begin
  17372. pTDefRegMap(@Self)^.clr := $00002000;
  17373. end;
  17374. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  17375. begin
  17376. if thebits = 0 then
  17377. pTDefRegMap(@Self)^.clr := $00002000
  17378. else
  17379. pTDefRegMap(@Self)^.&set := $00002000;
  17380. end;
  17381. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  17382. begin
  17383. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17384. end;
  17385. procedure TICAP3_IC3CON.setON; inline;
  17386. begin
  17387. pTDefRegMap(@Self)^.&set := $00008000;
  17388. end;
  17389. procedure TICAP3_IC3CON.clearON; inline;
  17390. begin
  17391. pTDefRegMap(@Self)^.clr := $00008000;
  17392. end;
  17393. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  17394. begin
  17395. if thebits = 0 then
  17396. pTDefRegMap(@Self)^.clr := $00008000
  17397. else
  17398. pTDefRegMap(@Self)^.&set := $00008000;
  17399. end;
  17400. function TICAP3_IC3CON.getON : TBits_1; inline;
  17401. begin
  17402. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17403. end;
  17404. procedure TICAP3_IC3CON.setICM0; inline;
  17405. begin
  17406. pTDefRegMap(@Self)^.&set := $00000001;
  17407. end;
  17408. procedure TICAP3_IC3CON.clearICM0; inline;
  17409. begin
  17410. pTDefRegMap(@Self)^.clr := $00000001;
  17411. end;
  17412. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  17413. begin
  17414. if thebits = 0 then
  17415. pTDefRegMap(@Self)^.clr := $00000001
  17416. else
  17417. pTDefRegMap(@Self)^.&set := $00000001;
  17418. end;
  17419. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  17420. begin
  17421. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17422. end;
  17423. procedure TICAP3_IC3CON.setICM1; inline;
  17424. begin
  17425. pTDefRegMap(@Self)^.&set := $00000002;
  17426. end;
  17427. procedure TICAP3_IC3CON.clearICM1; inline;
  17428. begin
  17429. pTDefRegMap(@Self)^.clr := $00000002;
  17430. end;
  17431. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  17432. begin
  17433. if thebits = 0 then
  17434. pTDefRegMap(@Self)^.clr := $00000002
  17435. else
  17436. pTDefRegMap(@Self)^.&set := $00000002;
  17437. end;
  17438. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  17439. begin
  17440. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17441. end;
  17442. procedure TICAP3_IC3CON.setICM2; inline;
  17443. begin
  17444. pTDefRegMap(@Self)^.&set := $00000004;
  17445. end;
  17446. procedure TICAP3_IC3CON.clearICM2; inline;
  17447. begin
  17448. pTDefRegMap(@Self)^.clr := $00000004;
  17449. end;
  17450. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  17451. begin
  17452. if thebits = 0 then
  17453. pTDefRegMap(@Self)^.clr := $00000004
  17454. else
  17455. pTDefRegMap(@Self)^.&set := $00000004;
  17456. end;
  17457. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  17458. begin
  17459. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17460. end;
  17461. procedure TICAP3_IC3CON.setICI0; inline;
  17462. begin
  17463. pTDefRegMap(@Self)^.&set := $00000020;
  17464. end;
  17465. procedure TICAP3_IC3CON.clearICI0; inline;
  17466. begin
  17467. pTDefRegMap(@Self)^.clr := $00000020;
  17468. end;
  17469. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  17470. begin
  17471. if thebits = 0 then
  17472. pTDefRegMap(@Self)^.clr := $00000020
  17473. else
  17474. pTDefRegMap(@Self)^.&set := $00000020;
  17475. end;
  17476. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  17477. begin
  17478. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17479. end;
  17480. procedure TICAP3_IC3CON.setICI1; inline;
  17481. begin
  17482. pTDefRegMap(@Self)^.&set := $00000040;
  17483. end;
  17484. procedure TICAP3_IC3CON.clearICI1; inline;
  17485. begin
  17486. pTDefRegMap(@Self)^.clr := $00000040;
  17487. end;
  17488. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  17489. begin
  17490. if thebits = 0 then
  17491. pTDefRegMap(@Self)^.clr := $00000040
  17492. else
  17493. pTDefRegMap(@Self)^.&set := $00000040;
  17494. end;
  17495. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  17496. begin
  17497. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17498. end;
  17499. procedure TICAP3_IC3CON.setICSIDL; inline;
  17500. begin
  17501. pTDefRegMap(@Self)^.&set := $00002000;
  17502. end;
  17503. procedure TICAP3_IC3CON.clearICSIDL; inline;
  17504. begin
  17505. pTDefRegMap(@Self)^.clr := $00002000;
  17506. end;
  17507. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  17508. begin
  17509. if thebits = 0 then
  17510. pTDefRegMap(@Self)^.clr := $00002000
  17511. else
  17512. pTDefRegMap(@Self)^.&set := $00002000;
  17513. end;
  17514. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  17515. begin
  17516. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17517. end;
  17518. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  17519. begin
  17520. pTDefRegMap(@Self)^.val := thebits;
  17521. end;
  17522. function TICAP3_IC3CON.getw : TBits_32; inline;
  17523. begin
  17524. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17525. end;
  17526. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  17527. begin
  17528. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17529. end;
  17530. function TICAP4_IC4CON.getICM : TBits_3; inline;
  17531. begin
  17532. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17533. end;
  17534. procedure TICAP4_IC4CON.setICBNE; inline;
  17535. begin
  17536. pTDefRegMap(@Self)^.&set := $00000008;
  17537. end;
  17538. procedure TICAP4_IC4CON.clearICBNE; inline;
  17539. begin
  17540. pTDefRegMap(@Self)^.clr := $00000008;
  17541. end;
  17542. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  17543. begin
  17544. if thebits = 0 then
  17545. pTDefRegMap(@Self)^.clr := $00000008
  17546. else
  17547. pTDefRegMap(@Self)^.&set := $00000008;
  17548. end;
  17549. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  17550. begin
  17551. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17552. end;
  17553. procedure TICAP4_IC4CON.setICOV; inline;
  17554. begin
  17555. pTDefRegMap(@Self)^.&set := $00000010;
  17556. end;
  17557. procedure TICAP4_IC4CON.clearICOV; inline;
  17558. begin
  17559. pTDefRegMap(@Self)^.clr := $00000010;
  17560. end;
  17561. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  17562. begin
  17563. if thebits = 0 then
  17564. pTDefRegMap(@Self)^.clr := $00000010
  17565. else
  17566. pTDefRegMap(@Self)^.&set := $00000010;
  17567. end;
  17568. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  17569. begin
  17570. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17571. end;
  17572. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  17573. begin
  17574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  17575. end;
  17576. function TICAP4_IC4CON.getICI : TBits_2; inline;
  17577. begin
  17578. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  17579. end;
  17580. procedure TICAP4_IC4CON.setICTMR; inline;
  17581. begin
  17582. pTDefRegMap(@Self)^.&set := $00000080;
  17583. end;
  17584. procedure TICAP4_IC4CON.clearICTMR; inline;
  17585. begin
  17586. pTDefRegMap(@Self)^.clr := $00000080;
  17587. end;
  17588. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  17589. begin
  17590. if thebits = 0 then
  17591. pTDefRegMap(@Self)^.clr := $00000080
  17592. else
  17593. pTDefRegMap(@Self)^.&set := $00000080;
  17594. end;
  17595. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  17596. begin
  17597. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17598. end;
  17599. procedure TICAP4_IC4CON.setC32; inline;
  17600. begin
  17601. pTDefRegMap(@Self)^.&set := $00000100;
  17602. end;
  17603. procedure TICAP4_IC4CON.clearC32; inline;
  17604. begin
  17605. pTDefRegMap(@Self)^.clr := $00000100;
  17606. end;
  17607. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  17608. begin
  17609. if thebits = 0 then
  17610. pTDefRegMap(@Self)^.clr := $00000100
  17611. else
  17612. pTDefRegMap(@Self)^.&set := $00000100;
  17613. end;
  17614. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  17615. begin
  17616. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17617. end;
  17618. procedure TICAP4_IC4CON.setFEDGE; inline;
  17619. begin
  17620. pTDefRegMap(@Self)^.&set := $00000200;
  17621. end;
  17622. procedure TICAP4_IC4CON.clearFEDGE; inline;
  17623. begin
  17624. pTDefRegMap(@Self)^.clr := $00000200;
  17625. end;
  17626. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  17627. begin
  17628. if thebits = 0 then
  17629. pTDefRegMap(@Self)^.clr := $00000200
  17630. else
  17631. pTDefRegMap(@Self)^.&set := $00000200;
  17632. end;
  17633. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  17634. begin
  17635. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17636. end;
  17637. procedure TICAP4_IC4CON.setSIDL; inline;
  17638. begin
  17639. pTDefRegMap(@Self)^.&set := $00002000;
  17640. end;
  17641. procedure TICAP4_IC4CON.clearSIDL; inline;
  17642. begin
  17643. pTDefRegMap(@Self)^.clr := $00002000;
  17644. end;
  17645. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  17646. begin
  17647. if thebits = 0 then
  17648. pTDefRegMap(@Self)^.clr := $00002000
  17649. else
  17650. pTDefRegMap(@Self)^.&set := $00002000;
  17651. end;
  17652. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  17653. begin
  17654. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17655. end;
  17656. procedure TICAP4_IC4CON.setON; inline;
  17657. begin
  17658. pTDefRegMap(@Self)^.&set := $00008000;
  17659. end;
  17660. procedure TICAP4_IC4CON.clearON; inline;
  17661. begin
  17662. pTDefRegMap(@Self)^.clr := $00008000;
  17663. end;
  17664. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  17665. begin
  17666. if thebits = 0 then
  17667. pTDefRegMap(@Self)^.clr := $00008000
  17668. else
  17669. pTDefRegMap(@Self)^.&set := $00008000;
  17670. end;
  17671. function TICAP4_IC4CON.getON : TBits_1; inline;
  17672. begin
  17673. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17674. end;
  17675. procedure TICAP4_IC4CON.setICM0; inline;
  17676. begin
  17677. pTDefRegMap(@Self)^.&set := $00000001;
  17678. end;
  17679. procedure TICAP4_IC4CON.clearICM0; inline;
  17680. begin
  17681. pTDefRegMap(@Self)^.clr := $00000001;
  17682. end;
  17683. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  17684. begin
  17685. if thebits = 0 then
  17686. pTDefRegMap(@Self)^.clr := $00000001
  17687. else
  17688. pTDefRegMap(@Self)^.&set := $00000001;
  17689. end;
  17690. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  17691. begin
  17692. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17693. end;
  17694. procedure TICAP4_IC4CON.setICM1; inline;
  17695. begin
  17696. pTDefRegMap(@Self)^.&set := $00000002;
  17697. end;
  17698. procedure TICAP4_IC4CON.clearICM1; inline;
  17699. begin
  17700. pTDefRegMap(@Self)^.clr := $00000002;
  17701. end;
  17702. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  17703. begin
  17704. if thebits = 0 then
  17705. pTDefRegMap(@Self)^.clr := $00000002
  17706. else
  17707. pTDefRegMap(@Self)^.&set := $00000002;
  17708. end;
  17709. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  17710. begin
  17711. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17712. end;
  17713. procedure TICAP4_IC4CON.setICM2; inline;
  17714. begin
  17715. pTDefRegMap(@Self)^.&set := $00000004;
  17716. end;
  17717. procedure TICAP4_IC4CON.clearICM2; inline;
  17718. begin
  17719. pTDefRegMap(@Self)^.clr := $00000004;
  17720. end;
  17721. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  17722. begin
  17723. if thebits = 0 then
  17724. pTDefRegMap(@Self)^.clr := $00000004
  17725. else
  17726. pTDefRegMap(@Self)^.&set := $00000004;
  17727. end;
  17728. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  17729. begin
  17730. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17731. end;
  17732. procedure TICAP4_IC4CON.setICI0; inline;
  17733. begin
  17734. pTDefRegMap(@Self)^.&set := $00000020;
  17735. end;
  17736. procedure TICAP4_IC4CON.clearICI0; inline;
  17737. begin
  17738. pTDefRegMap(@Self)^.clr := $00000020;
  17739. end;
  17740. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  17741. begin
  17742. if thebits = 0 then
  17743. pTDefRegMap(@Self)^.clr := $00000020
  17744. else
  17745. pTDefRegMap(@Self)^.&set := $00000020;
  17746. end;
  17747. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  17748. begin
  17749. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17750. end;
  17751. procedure TICAP4_IC4CON.setICI1; inline;
  17752. begin
  17753. pTDefRegMap(@Self)^.&set := $00000040;
  17754. end;
  17755. procedure TICAP4_IC4CON.clearICI1; inline;
  17756. begin
  17757. pTDefRegMap(@Self)^.clr := $00000040;
  17758. end;
  17759. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  17760. begin
  17761. if thebits = 0 then
  17762. pTDefRegMap(@Self)^.clr := $00000040
  17763. else
  17764. pTDefRegMap(@Self)^.&set := $00000040;
  17765. end;
  17766. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  17767. begin
  17768. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17769. end;
  17770. procedure TICAP4_IC4CON.setICSIDL; inline;
  17771. begin
  17772. pTDefRegMap(@Self)^.&set := $00002000;
  17773. end;
  17774. procedure TICAP4_IC4CON.clearICSIDL; inline;
  17775. begin
  17776. pTDefRegMap(@Self)^.clr := $00002000;
  17777. end;
  17778. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  17779. begin
  17780. if thebits = 0 then
  17781. pTDefRegMap(@Self)^.clr := $00002000
  17782. else
  17783. pTDefRegMap(@Self)^.&set := $00002000;
  17784. end;
  17785. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  17786. begin
  17787. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17788. end;
  17789. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  17790. begin
  17791. pTDefRegMap(@Self)^.val := thebits;
  17792. end;
  17793. function TICAP4_IC4CON.getw : TBits_32; inline;
  17794. begin
  17795. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17796. end;
  17797. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  17798. begin
  17799. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17800. end;
  17801. function TICAP5_IC5CON.getICM : TBits_3; inline;
  17802. begin
  17803. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17804. end;
  17805. procedure TICAP5_IC5CON.setICBNE; inline;
  17806. begin
  17807. pTDefRegMap(@Self)^.&set := $00000008;
  17808. end;
  17809. procedure TICAP5_IC5CON.clearICBNE; inline;
  17810. begin
  17811. pTDefRegMap(@Self)^.clr := $00000008;
  17812. end;
  17813. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  17814. begin
  17815. if thebits = 0 then
  17816. pTDefRegMap(@Self)^.clr := $00000008
  17817. else
  17818. pTDefRegMap(@Self)^.&set := $00000008;
  17819. end;
  17820. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  17821. begin
  17822. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17823. end;
  17824. procedure TICAP5_IC5CON.setICOV; inline;
  17825. begin
  17826. pTDefRegMap(@Self)^.&set := $00000010;
  17827. end;
  17828. procedure TICAP5_IC5CON.clearICOV; inline;
  17829. begin
  17830. pTDefRegMap(@Self)^.clr := $00000010;
  17831. end;
  17832. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  17833. begin
  17834. if thebits = 0 then
  17835. pTDefRegMap(@Self)^.clr := $00000010
  17836. else
  17837. pTDefRegMap(@Self)^.&set := $00000010;
  17838. end;
  17839. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  17840. begin
  17841. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17842. end;
  17843. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  17844. begin
  17845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  17846. end;
  17847. function TICAP5_IC5CON.getICI : TBits_2; inline;
  17848. begin
  17849. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  17850. end;
  17851. procedure TICAP5_IC5CON.setICTMR; inline;
  17852. begin
  17853. pTDefRegMap(@Self)^.&set := $00000080;
  17854. end;
  17855. procedure TICAP5_IC5CON.clearICTMR; inline;
  17856. begin
  17857. pTDefRegMap(@Self)^.clr := $00000080;
  17858. end;
  17859. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  17860. begin
  17861. if thebits = 0 then
  17862. pTDefRegMap(@Self)^.clr := $00000080
  17863. else
  17864. pTDefRegMap(@Self)^.&set := $00000080;
  17865. end;
  17866. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  17867. begin
  17868. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17869. end;
  17870. procedure TICAP5_IC5CON.setC32; inline;
  17871. begin
  17872. pTDefRegMap(@Self)^.&set := $00000100;
  17873. end;
  17874. procedure TICAP5_IC5CON.clearC32; inline;
  17875. begin
  17876. pTDefRegMap(@Self)^.clr := $00000100;
  17877. end;
  17878. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  17879. begin
  17880. if thebits = 0 then
  17881. pTDefRegMap(@Self)^.clr := $00000100
  17882. else
  17883. pTDefRegMap(@Self)^.&set := $00000100;
  17884. end;
  17885. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  17886. begin
  17887. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17888. end;
  17889. procedure TICAP5_IC5CON.setFEDGE; inline;
  17890. begin
  17891. pTDefRegMap(@Self)^.&set := $00000200;
  17892. end;
  17893. procedure TICAP5_IC5CON.clearFEDGE; inline;
  17894. begin
  17895. pTDefRegMap(@Self)^.clr := $00000200;
  17896. end;
  17897. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  17898. begin
  17899. if thebits = 0 then
  17900. pTDefRegMap(@Self)^.clr := $00000200
  17901. else
  17902. pTDefRegMap(@Self)^.&set := $00000200;
  17903. end;
  17904. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  17905. begin
  17906. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17907. end;
  17908. procedure TICAP5_IC5CON.setSIDL; inline;
  17909. begin
  17910. pTDefRegMap(@Self)^.&set := $00002000;
  17911. end;
  17912. procedure TICAP5_IC5CON.clearSIDL; inline;
  17913. begin
  17914. pTDefRegMap(@Self)^.clr := $00002000;
  17915. end;
  17916. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  17917. begin
  17918. if thebits = 0 then
  17919. pTDefRegMap(@Self)^.clr := $00002000
  17920. else
  17921. pTDefRegMap(@Self)^.&set := $00002000;
  17922. end;
  17923. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  17924. begin
  17925. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17926. end;
  17927. procedure TICAP5_IC5CON.setON; inline;
  17928. begin
  17929. pTDefRegMap(@Self)^.&set := $00008000;
  17930. end;
  17931. procedure TICAP5_IC5CON.clearON; inline;
  17932. begin
  17933. pTDefRegMap(@Self)^.clr := $00008000;
  17934. end;
  17935. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  17936. begin
  17937. if thebits = 0 then
  17938. pTDefRegMap(@Self)^.clr := $00008000
  17939. else
  17940. pTDefRegMap(@Self)^.&set := $00008000;
  17941. end;
  17942. function TICAP5_IC5CON.getON : TBits_1; inline;
  17943. begin
  17944. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17945. end;
  17946. procedure TICAP5_IC5CON.setICM0; inline;
  17947. begin
  17948. pTDefRegMap(@Self)^.&set := $00000001;
  17949. end;
  17950. procedure TICAP5_IC5CON.clearICM0; inline;
  17951. begin
  17952. pTDefRegMap(@Self)^.clr := $00000001;
  17953. end;
  17954. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  17955. begin
  17956. if thebits = 0 then
  17957. pTDefRegMap(@Self)^.clr := $00000001
  17958. else
  17959. pTDefRegMap(@Self)^.&set := $00000001;
  17960. end;
  17961. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  17962. begin
  17963. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17964. end;
  17965. procedure TICAP5_IC5CON.setICM1; inline;
  17966. begin
  17967. pTDefRegMap(@Self)^.&set := $00000002;
  17968. end;
  17969. procedure TICAP5_IC5CON.clearICM1; inline;
  17970. begin
  17971. pTDefRegMap(@Self)^.clr := $00000002;
  17972. end;
  17973. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  17974. begin
  17975. if thebits = 0 then
  17976. pTDefRegMap(@Self)^.clr := $00000002
  17977. else
  17978. pTDefRegMap(@Self)^.&set := $00000002;
  17979. end;
  17980. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  17981. begin
  17982. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17983. end;
  17984. procedure TICAP5_IC5CON.setICM2; inline;
  17985. begin
  17986. pTDefRegMap(@Self)^.&set := $00000004;
  17987. end;
  17988. procedure TICAP5_IC5CON.clearICM2; inline;
  17989. begin
  17990. pTDefRegMap(@Self)^.clr := $00000004;
  17991. end;
  17992. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  17993. begin
  17994. if thebits = 0 then
  17995. pTDefRegMap(@Self)^.clr := $00000004
  17996. else
  17997. pTDefRegMap(@Self)^.&set := $00000004;
  17998. end;
  17999. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  18000. begin
  18001. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18002. end;
  18003. procedure TICAP5_IC5CON.setICI0; inline;
  18004. begin
  18005. pTDefRegMap(@Self)^.&set := $00000020;
  18006. end;
  18007. procedure TICAP5_IC5CON.clearICI0; inline;
  18008. begin
  18009. pTDefRegMap(@Self)^.clr := $00000020;
  18010. end;
  18011. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  18012. begin
  18013. if thebits = 0 then
  18014. pTDefRegMap(@Self)^.clr := $00000020
  18015. else
  18016. pTDefRegMap(@Self)^.&set := $00000020;
  18017. end;
  18018. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  18019. begin
  18020. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18021. end;
  18022. procedure TICAP5_IC5CON.setICI1; inline;
  18023. begin
  18024. pTDefRegMap(@Self)^.&set := $00000040;
  18025. end;
  18026. procedure TICAP5_IC5CON.clearICI1; inline;
  18027. begin
  18028. pTDefRegMap(@Self)^.clr := $00000040;
  18029. end;
  18030. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  18031. begin
  18032. if thebits = 0 then
  18033. pTDefRegMap(@Self)^.clr := $00000040
  18034. else
  18035. pTDefRegMap(@Self)^.&set := $00000040;
  18036. end;
  18037. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  18038. begin
  18039. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18040. end;
  18041. procedure TICAP5_IC5CON.setICSIDL; inline;
  18042. begin
  18043. pTDefRegMap(@Self)^.&set := $00002000;
  18044. end;
  18045. procedure TICAP5_IC5CON.clearICSIDL; inline;
  18046. begin
  18047. pTDefRegMap(@Self)^.clr := $00002000;
  18048. end;
  18049. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  18050. begin
  18051. if thebits = 0 then
  18052. pTDefRegMap(@Self)^.clr := $00002000
  18053. else
  18054. pTDefRegMap(@Self)^.&set := $00002000;
  18055. end;
  18056. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  18057. begin
  18058. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18059. end;
  18060. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  18061. begin
  18062. pTDefRegMap(@Self)^.val := thebits;
  18063. end;
  18064. function TICAP5_IC5CON.getw : TBits_32; inline;
  18065. begin
  18066. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18067. end;
  18068. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  18069. begin
  18070. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18071. end;
  18072. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  18073. begin
  18074. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18075. end;
  18076. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  18077. begin
  18078. pTDefRegMap(@Self)^.&set := $00000008;
  18079. end;
  18080. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  18081. begin
  18082. pTDefRegMap(@Self)^.clr := $00000008;
  18083. end;
  18084. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  18085. begin
  18086. if thebits = 0 then
  18087. pTDefRegMap(@Self)^.clr := $00000008
  18088. else
  18089. pTDefRegMap(@Self)^.&set := $00000008;
  18090. end;
  18091. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  18092. begin
  18093. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18094. end;
  18095. procedure TOCMP1_OC1CON.setOCFLT; inline;
  18096. begin
  18097. pTDefRegMap(@Self)^.&set := $00000010;
  18098. end;
  18099. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  18100. begin
  18101. pTDefRegMap(@Self)^.clr := $00000010;
  18102. end;
  18103. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  18104. begin
  18105. if thebits = 0 then
  18106. pTDefRegMap(@Self)^.clr := $00000010
  18107. else
  18108. pTDefRegMap(@Self)^.&set := $00000010;
  18109. end;
  18110. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  18111. begin
  18112. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18113. end;
  18114. procedure TOCMP1_OC1CON.setOC32; inline;
  18115. begin
  18116. pTDefRegMap(@Self)^.&set := $00000020;
  18117. end;
  18118. procedure TOCMP1_OC1CON.clearOC32; inline;
  18119. begin
  18120. pTDefRegMap(@Self)^.clr := $00000020;
  18121. end;
  18122. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  18123. begin
  18124. if thebits = 0 then
  18125. pTDefRegMap(@Self)^.clr := $00000020
  18126. else
  18127. pTDefRegMap(@Self)^.&set := $00000020;
  18128. end;
  18129. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  18130. begin
  18131. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18132. end;
  18133. procedure TOCMP1_OC1CON.setSIDL; inline;
  18134. begin
  18135. pTDefRegMap(@Self)^.&set := $00002000;
  18136. end;
  18137. procedure TOCMP1_OC1CON.clearSIDL; inline;
  18138. begin
  18139. pTDefRegMap(@Self)^.clr := $00002000;
  18140. end;
  18141. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  18142. begin
  18143. if thebits = 0 then
  18144. pTDefRegMap(@Self)^.clr := $00002000
  18145. else
  18146. pTDefRegMap(@Self)^.&set := $00002000;
  18147. end;
  18148. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  18149. begin
  18150. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18151. end;
  18152. procedure TOCMP1_OC1CON.setON; inline;
  18153. begin
  18154. pTDefRegMap(@Self)^.&set := $00008000;
  18155. end;
  18156. procedure TOCMP1_OC1CON.clearON; inline;
  18157. begin
  18158. pTDefRegMap(@Self)^.clr := $00008000;
  18159. end;
  18160. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  18161. begin
  18162. if thebits = 0 then
  18163. pTDefRegMap(@Self)^.clr := $00008000
  18164. else
  18165. pTDefRegMap(@Self)^.&set := $00008000;
  18166. end;
  18167. function TOCMP1_OC1CON.getON : TBits_1; inline;
  18168. begin
  18169. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18170. end;
  18171. procedure TOCMP1_OC1CON.setOCM0; inline;
  18172. begin
  18173. pTDefRegMap(@Self)^.&set := $00000001;
  18174. end;
  18175. procedure TOCMP1_OC1CON.clearOCM0; inline;
  18176. begin
  18177. pTDefRegMap(@Self)^.clr := $00000001;
  18178. end;
  18179. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  18180. begin
  18181. if thebits = 0 then
  18182. pTDefRegMap(@Self)^.clr := $00000001
  18183. else
  18184. pTDefRegMap(@Self)^.&set := $00000001;
  18185. end;
  18186. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  18187. begin
  18188. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18189. end;
  18190. procedure TOCMP1_OC1CON.setOCM1; inline;
  18191. begin
  18192. pTDefRegMap(@Self)^.&set := $00000002;
  18193. end;
  18194. procedure TOCMP1_OC1CON.clearOCM1; inline;
  18195. begin
  18196. pTDefRegMap(@Self)^.clr := $00000002;
  18197. end;
  18198. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  18199. begin
  18200. if thebits = 0 then
  18201. pTDefRegMap(@Self)^.clr := $00000002
  18202. else
  18203. pTDefRegMap(@Self)^.&set := $00000002;
  18204. end;
  18205. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  18206. begin
  18207. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18208. end;
  18209. procedure TOCMP1_OC1CON.setOCM2; inline;
  18210. begin
  18211. pTDefRegMap(@Self)^.&set := $00000004;
  18212. end;
  18213. procedure TOCMP1_OC1CON.clearOCM2; inline;
  18214. begin
  18215. pTDefRegMap(@Self)^.clr := $00000004;
  18216. end;
  18217. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  18218. begin
  18219. if thebits = 0 then
  18220. pTDefRegMap(@Self)^.clr := $00000004
  18221. else
  18222. pTDefRegMap(@Self)^.&set := $00000004;
  18223. end;
  18224. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  18225. begin
  18226. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18227. end;
  18228. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  18229. begin
  18230. pTDefRegMap(@Self)^.&set := $00002000;
  18231. end;
  18232. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  18233. begin
  18234. pTDefRegMap(@Self)^.clr := $00002000;
  18235. end;
  18236. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  18237. begin
  18238. if thebits = 0 then
  18239. pTDefRegMap(@Self)^.clr := $00002000
  18240. else
  18241. pTDefRegMap(@Self)^.&set := $00002000;
  18242. end;
  18243. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  18244. begin
  18245. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18246. end;
  18247. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  18248. begin
  18249. pTDefRegMap(@Self)^.val := thebits;
  18250. end;
  18251. function TOCMP1_OC1CON.getw : TBits_32; inline;
  18252. begin
  18253. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18254. end;
  18255. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  18256. begin
  18257. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18258. end;
  18259. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  18260. begin
  18261. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18262. end;
  18263. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  18264. begin
  18265. pTDefRegMap(@Self)^.&set := $00000008;
  18266. end;
  18267. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  18268. begin
  18269. pTDefRegMap(@Self)^.clr := $00000008;
  18270. end;
  18271. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  18272. begin
  18273. if thebits = 0 then
  18274. pTDefRegMap(@Self)^.clr := $00000008
  18275. else
  18276. pTDefRegMap(@Self)^.&set := $00000008;
  18277. end;
  18278. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  18279. begin
  18280. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18281. end;
  18282. procedure TOCMP2_OC2CON.setOCFLT; inline;
  18283. begin
  18284. pTDefRegMap(@Self)^.&set := $00000010;
  18285. end;
  18286. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  18287. begin
  18288. pTDefRegMap(@Self)^.clr := $00000010;
  18289. end;
  18290. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  18291. begin
  18292. if thebits = 0 then
  18293. pTDefRegMap(@Self)^.clr := $00000010
  18294. else
  18295. pTDefRegMap(@Self)^.&set := $00000010;
  18296. end;
  18297. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  18298. begin
  18299. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18300. end;
  18301. procedure TOCMP2_OC2CON.setOC32; inline;
  18302. begin
  18303. pTDefRegMap(@Self)^.&set := $00000020;
  18304. end;
  18305. procedure TOCMP2_OC2CON.clearOC32; inline;
  18306. begin
  18307. pTDefRegMap(@Self)^.clr := $00000020;
  18308. end;
  18309. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  18310. begin
  18311. if thebits = 0 then
  18312. pTDefRegMap(@Self)^.clr := $00000020
  18313. else
  18314. pTDefRegMap(@Self)^.&set := $00000020;
  18315. end;
  18316. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  18317. begin
  18318. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18319. end;
  18320. procedure TOCMP2_OC2CON.setSIDL; inline;
  18321. begin
  18322. pTDefRegMap(@Self)^.&set := $00002000;
  18323. end;
  18324. procedure TOCMP2_OC2CON.clearSIDL; inline;
  18325. begin
  18326. pTDefRegMap(@Self)^.clr := $00002000;
  18327. end;
  18328. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  18329. begin
  18330. if thebits = 0 then
  18331. pTDefRegMap(@Self)^.clr := $00002000
  18332. else
  18333. pTDefRegMap(@Self)^.&set := $00002000;
  18334. end;
  18335. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  18336. begin
  18337. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18338. end;
  18339. procedure TOCMP2_OC2CON.setON; inline;
  18340. begin
  18341. pTDefRegMap(@Self)^.&set := $00008000;
  18342. end;
  18343. procedure TOCMP2_OC2CON.clearON; inline;
  18344. begin
  18345. pTDefRegMap(@Self)^.clr := $00008000;
  18346. end;
  18347. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  18348. begin
  18349. if thebits = 0 then
  18350. pTDefRegMap(@Self)^.clr := $00008000
  18351. else
  18352. pTDefRegMap(@Self)^.&set := $00008000;
  18353. end;
  18354. function TOCMP2_OC2CON.getON : TBits_1; inline;
  18355. begin
  18356. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18357. end;
  18358. procedure TOCMP2_OC2CON.setOCM0; inline;
  18359. begin
  18360. pTDefRegMap(@Self)^.&set := $00000001;
  18361. end;
  18362. procedure TOCMP2_OC2CON.clearOCM0; inline;
  18363. begin
  18364. pTDefRegMap(@Self)^.clr := $00000001;
  18365. end;
  18366. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  18367. begin
  18368. if thebits = 0 then
  18369. pTDefRegMap(@Self)^.clr := $00000001
  18370. else
  18371. pTDefRegMap(@Self)^.&set := $00000001;
  18372. end;
  18373. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  18374. begin
  18375. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18376. end;
  18377. procedure TOCMP2_OC2CON.setOCM1; inline;
  18378. begin
  18379. pTDefRegMap(@Self)^.&set := $00000002;
  18380. end;
  18381. procedure TOCMP2_OC2CON.clearOCM1; inline;
  18382. begin
  18383. pTDefRegMap(@Self)^.clr := $00000002;
  18384. end;
  18385. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  18386. begin
  18387. if thebits = 0 then
  18388. pTDefRegMap(@Self)^.clr := $00000002
  18389. else
  18390. pTDefRegMap(@Self)^.&set := $00000002;
  18391. end;
  18392. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  18393. begin
  18394. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18395. end;
  18396. procedure TOCMP2_OC2CON.setOCM2; inline;
  18397. begin
  18398. pTDefRegMap(@Self)^.&set := $00000004;
  18399. end;
  18400. procedure TOCMP2_OC2CON.clearOCM2; inline;
  18401. begin
  18402. pTDefRegMap(@Self)^.clr := $00000004;
  18403. end;
  18404. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  18405. begin
  18406. if thebits = 0 then
  18407. pTDefRegMap(@Self)^.clr := $00000004
  18408. else
  18409. pTDefRegMap(@Self)^.&set := $00000004;
  18410. end;
  18411. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  18412. begin
  18413. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18414. end;
  18415. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  18416. begin
  18417. pTDefRegMap(@Self)^.&set := $00002000;
  18418. end;
  18419. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  18420. begin
  18421. pTDefRegMap(@Self)^.clr := $00002000;
  18422. end;
  18423. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  18424. begin
  18425. if thebits = 0 then
  18426. pTDefRegMap(@Self)^.clr := $00002000
  18427. else
  18428. pTDefRegMap(@Self)^.&set := $00002000;
  18429. end;
  18430. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  18431. begin
  18432. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18433. end;
  18434. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  18435. begin
  18436. pTDefRegMap(@Self)^.val := thebits;
  18437. end;
  18438. function TOCMP2_OC2CON.getw : TBits_32; inline;
  18439. begin
  18440. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18441. end;
  18442. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  18443. begin
  18444. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18445. end;
  18446. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  18447. begin
  18448. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18449. end;
  18450. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  18451. begin
  18452. pTDefRegMap(@Self)^.&set := $00000008;
  18453. end;
  18454. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  18455. begin
  18456. pTDefRegMap(@Self)^.clr := $00000008;
  18457. end;
  18458. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  18459. begin
  18460. if thebits = 0 then
  18461. pTDefRegMap(@Self)^.clr := $00000008
  18462. else
  18463. pTDefRegMap(@Self)^.&set := $00000008;
  18464. end;
  18465. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  18466. begin
  18467. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18468. end;
  18469. procedure TOCMP3_OC3CON.setOCFLT; inline;
  18470. begin
  18471. pTDefRegMap(@Self)^.&set := $00000010;
  18472. end;
  18473. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  18474. begin
  18475. pTDefRegMap(@Self)^.clr := $00000010;
  18476. end;
  18477. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  18478. begin
  18479. if thebits = 0 then
  18480. pTDefRegMap(@Self)^.clr := $00000010
  18481. else
  18482. pTDefRegMap(@Self)^.&set := $00000010;
  18483. end;
  18484. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  18485. begin
  18486. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18487. end;
  18488. procedure TOCMP3_OC3CON.setOC32; inline;
  18489. begin
  18490. pTDefRegMap(@Self)^.&set := $00000020;
  18491. end;
  18492. procedure TOCMP3_OC3CON.clearOC32; inline;
  18493. begin
  18494. pTDefRegMap(@Self)^.clr := $00000020;
  18495. end;
  18496. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  18497. begin
  18498. if thebits = 0 then
  18499. pTDefRegMap(@Self)^.clr := $00000020
  18500. else
  18501. pTDefRegMap(@Self)^.&set := $00000020;
  18502. end;
  18503. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  18504. begin
  18505. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18506. end;
  18507. procedure TOCMP3_OC3CON.setSIDL; inline;
  18508. begin
  18509. pTDefRegMap(@Self)^.&set := $00002000;
  18510. end;
  18511. procedure TOCMP3_OC3CON.clearSIDL; inline;
  18512. begin
  18513. pTDefRegMap(@Self)^.clr := $00002000;
  18514. end;
  18515. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  18516. begin
  18517. if thebits = 0 then
  18518. pTDefRegMap(@Self)^.clr := $00002000
  18519. else
  18520. pTDefRegMap(@Self)^.&set := $00002000;
  18521. end;
  18522. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  18523. begin
  18524. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18525. end;
  18526. procedure TOCMP3_OC3CON.setON; inline;
  18527. begin
  18528. pTDefRegMap(@Self)^.&set := $00008000;
  18529. end;
  18530. procedure TOCMP3_OC3CON.clearON; inline;
  18531. begin
  18532. pTDefRegMap(@Self)^.clr := $00008000;
  18533. end;
  18534. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  18535. begin
  18536. if thebits = 0 then
  18537. pTDefRegMap(@Self)^.clr := $00008000
  18538. else
  18539. pTDefRegMap(@Self)^.&set := $00008000;
  18540. end;
  18541. function TOCMP3_OC3CON.getON : TBits_1; inline;
  18542. begin
  18543. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18544. end;
  18545. procedure TOCMP3_OC3CON.setOCM0; inline;
  18546. begin
  18547. pTDefRegMap(@Self)^.&set := $00000001;
  18548. end;
  18549. procedure TOCMP3_OC3CON.clearOCM0; inline;
  18550. begin
  18551. pTDefRegMap(@Self)^.clr := $00000001;
  18552. end;
  18553. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  18554. begin
  18555. if thebits = 0 then
  18556. pTDefRegMap(@Self)^.clr := $00000001
  18557. else
  18558. pTDefRegMap(@Self)^.&set := $00000001;
  18559. end;
  18560. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  18561. begin
  18562. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18563. end;
  18564. procedure TOCMP3_OC3CON.setOCM1; inline;
  18565. begin
  18566. pTDefRegMap(@Self)^.&set := $00000002;
  18567. end;
  18568. procedure TOCMP3_OC3CON.clearOCM1; inline;
  18569. begin
  18570. pTDefRegMap(@Self)^.clr := $00000002;
  18571. end;
  18572. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  18573. begin
  18574. if thebits = 0 then
  18575. pTDefRegMap(@Self)^.clr := $00000002
  18576. else
  18577. pTDefRegMap(@Self)^.&set := $00000002;
  18578. end;
  18579. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  18580. begin
  18581. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18582. end;
  18583. procedure TOCMP3_OC3CON.setOCM2; inline;
  18584. begin
  18585. pTDefRegMap(@Self)^.&set := $00000004;
  18586. end;
  18587. procedure TOCMP3_OC3CON.clearOCM2; inline;
  18588. begin
  18589. pTDefRegMap(@Self)^.clr := $00000004;
  18590. end;
  18591. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  18592. begin
  18593. if thebits = 0 then
  18594. pTDefRegMap(@Self)^.clr := $00000004
  18595. else
  18596. pTDefRegMap(@Self)^.&set := $00000004;
  18597. end;
  18598. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  18599. begin
  18600. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18601. end;
  18602. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  18603. begin
  18604. pTDefRegMap(@Self)^.&set := $00002000;
  18605. end;
  18606. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  18607. begin
  18608. pTDefRegMap(@Self)^.clr := $00002000;
  18609. end;
  18610. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  18611. begin
  18612. if thebits = 0 then
  18613. pTDefRegMap(@Self)^.clr := $00002000
  18614. else
  18615. pTDefRegMap(@Self)^.&set := $00002000;
  18616. end;
  18617. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  18618. begin
  18619. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18620. end;
  18621. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  18622. begin
  18623. pTDefRegMap(@Self)^.val := thebits;
  18624. end;
  18625. function TOCMP3_OC3CON.getw : TBits_32; inline;
  18626. begin
  18627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18628. end;
  18629. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  18630. begin
  18631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18632. end;
  18633. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  18634. begin
  18635. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18636. end;
  18637. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  18638. begin
  18639. pTDefRegMap(@Self)^.&set := $00000008;
  18640. end;
  18641. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  18642. begin
  18643. pTDefRegMap(@Self)^.clr := $00000008;
  18644. end;
  18645. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  18646. begin
  18647. if thebits = 0 then
  18648. pTDefRegMap(@Self)^.clr := $00000008
  18649. else
  18650. pTDefRegMap(@Self)^.&set := $00000008;
  18651. end;
  18652. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  18653. begin
  18654. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18655. end;
  18656. procedure TOCMP4_OC4CON.setOCFLT; inline;
  18657. begin
  18658. pTDefRegMap(@Self)^.&set := $00000010;
  18659. end;
  18660. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  18661. begin
  18662. pTDefRegMap(@Self)^.clr := $00000010;
  18663. end;
  18664. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  18665. begin
  18666. if thebits = 0 then
  18667. pTDefRegMap(@Self)^.clr := $00000010
  18668. else
  18669. pTDefRegMap(@Self)^.&set := $00000010;
  18670. end;
  18671. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  18672. begin
  18673. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18674. end;
  18675. procedure TOCMP4_OC4CON.setOC32; inline;
  18676. begin
  18677. pTDefRegMap(@Self)^.&set := $00000020;
  18678. end;
  18679. procedure TOCMP4_OC4CON.clearOC32; inline;
  18680. begin
  18681. pTDefRegMap(@Self)^.clr := $00000020;
  18682. end;
  18683. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  18684. begin
  18685. if thebits = 0 then
  18686. pTDefRegMap(@Self)^.clr := $00000020
  18687. else
  18688. pTDefRegMap(@Self)^.&set := $00000020;
  18689. end;
  18690. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  18691. begin
  18692. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18693. end;
  18694. procedure TOCMP4_OC4CON.setSIDL; inline;
  18695. begin
  18696. pTDefRegMap(@Self)^.&set := $00002000;
  18697. end;
  18698. procedure TOCMP4_OC4CON.clearSIDL; inline;
  18699. begin
  18700. pTDefRegMap(@Self)^.clr := $00002000;
  18701. end;
  18702. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  18703. begin
  18704. if thebits = 0 then
  18705. pTDefRegMap(@Self)^.clr := $00002000
  18706. else
  18707. pTDefRegMap(@Self)^.&set := $00002000;
  18708. end;
  18709. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  18710. begin
  18711. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18712. end;
  18713. procedure TOCMP4_OC4CON.setON; inline;
  18714. begin
  18715. pTDefRegMap(@Self)^.&set := $00008000;
  18716. end;
  18717. procedure TOCMP4_OC4CON.clearON; inline;
  18718. begin
  18719. pTDefRegMap(@Self)^.clr := $00008000;
  18720. end;
  18721. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  18722. begin
  18723. if thebits = 0 then
  18724. pTDefRegMap(@Self)^.clr := $00008000
  18725. else
  18726. pTDefRegMap(@Self)^.&set := $00008000;
  18727. end;
  18728. function TOCMP4_OC4CON.getON : TBits_1; inline;
  18729. begin
  18730. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18731. end;
  18732. procedure TOCMP4_OC4CON.setOCM0; inline;
  18733. begin
  18734. pTDefRegMap(@Self)^.&set := $00000001;
  18735. end;
  18736. procedure TOCMP4_OC4CON.clearOCM0; inline;
  18737. begin
  18738. pTDefRegMap(@Self)^.clr := $00000001;
  18739. end;
  18740. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  18741. begin
  18742. if thebits = 0 then
  18743. pTDefRegMap(@Self)^.clr := $00000001
  18744. else
  18745. pTDefRegMap(@Self)^.&set := $00000001;
  18746. end;
  18747. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  18748. begin
  18749. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18750. end;
  18751. procedure TOCMP4_OC4CON.setOCM1; inline;
  18752. begin
  18753. pTDefRegMap(@Self)^.&set := $00000002;
  18754. end;
  18755. procedure TOCMP4_OC4CON.clearOCM1; inline;
  18756. begin
  18757. pTDefRegMap(@Self)^.clr := $00000002;
  18758. end;
  18759. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  18760. begin
  18761. if thebits = 0 then
  18762. pTDefRegMap(@Self)^.clr := $00000002
  18763. else
  18764. pTDefRegMap(@Self)^.&set := $00000002;
  18765. end;
  18766. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  18767. begin
  18768. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18769. end;
  18770. procedure TOCMP4_OC4CON.setOCM2; inline;
  18771. begin
  18772. pTDefRegMap(@Self)^.&set := $00000004;
  18773. end;
  18774. procedure TOCMP4_OC4CON.clearOCM2; inline;
  18775. begin
  18776. pTDefRegMap(@Self)^.clr := $00000004;
  18777. end;
  18778. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  18779. begin
  18780. if thebits = 0 then
  18781. pTDefRegMap(@Self)^.clr := $00000004
  18782. else
  18783. pTDefRegMap(@Self)^.&set := $00000004;
  18784. end;
  18785. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  18786. begin
  18787. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18788. end;
  18789. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  18790. begin
  18791. pTDefRegMap(@Self)^.&set := $00002000;
  18792. end;
  18793. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  18794. begin
  18795. pTDefRegMap(@Self)^.clr := $00002000;
  18796. end;
  18797. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  18798. begin
  18799. if thebits = 0 then
  18800. pTDefRegMap(@Self)^.clr := $00002000
  18801. else
  18802. pTDefRegMap(@Self)^.&set := $00002000;
  18803. end;
  18804. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  18805. begin
  18806. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18807. end;
  18808. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  18809. begin
  18810. pTDefRegMap(@Self)^.val := thebits;
  18811. end;
  18812. function TOCMP4_OC4CON.getw : TBits_32; inline;
  18813. begin
  18814. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18815. end;
  18816. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  18817. begin
  18818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18819. end;
  18820. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  18821. begin
  18822. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18823. end;
  18824. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  18825. begin
  18826. pTDefRegMap(@Self)^.&set := $00000008;
  18827. end;
  18828. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  18829. begin
  18830. pTDefRegMap(@Self)^.clr := $00000008;
  18831. end;
  18832. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  18833. begin
  18834. if thebits = 0 then
  18835. pTDefRegMap(@Self)^.clr := $00000008
  18836. else
  18837. pTDefRegMap(@Self)^.&set := $00000008;
  18838. end;
  18839. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  18840. begin
  18841. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18842. end;
  18843. procedure TOCMP5_OC5CON.setOCFLT; inline;
  18844. begin
  18845. pTDefRegMap(@Self)^.&set := $00000010;
  18846. end;
  18847. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  18848. begin
  18849. pTDefRegMap(@Self)^.clr := $00000010;
  18850. end;
  18851. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  18852. begin
  18853. if thebits = 0 then
  18854. pTDefRegMap(@Self)^.clr := $00000010
  18855. else
  18856. pTDefRegMap(@Self)^.&set := $00000010;
  18857. end;
  18858. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  18859. begin
  18860. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18861. end;
  18862. procedure TOCMP5_OC5CON.setOC32; inline;
  18863. begin
  18864. pTDefRegMap(@Self)^.&set := $00000020;
  18865. end;
  18866. procedure TOCMP5_OC5CON.clearOC32; inline;
  18867. begin
  18868. pTDefRegMap(@Self)^.clr := $00000020;
  18869. end;
  18870. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  18871. begin
  18872. if thebits = 0 then
  18873. pTDefRegMap(@Self)^.clr := $00000020
  18874. else
  18875. pTDefRegMap(@Self)^.&set := $00000020;
  18876. end;
  18877. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  18878. begin
  18879. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18880. end;
  18881. procedure TOCMP5_OC5CON.setSIDL; inline;
  18882. begin
  18883. pTDefRegMap(@Self)^.&set := $00002000;
  18884. end;
  18885. procedure TOCMP5_OC5CON.clearSIDL; inline;
  18886. begin
  18887. pTDefRegMap(@Self)^.clr := $00002000;
  18888. end;
  18889. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  18890. begin
  18891. if thebits = 0 then
  18892. pTDefRegMap(@Self)^.clr := $00002000
  18893. else
  18894. pTDefRegMap(@Self)^.&set := $00002000;
  18895. end;
  18896. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  18897. begin
  18898. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18899. end;
  18900. procedure TOCMP5_OC5CON.setON; inline;
  18901. begin
  18902. pTDefRegMap(@Self)^.&set := $00008000;
  18903. end;
  18904. procedure TOCMP5_OC5CON.clearON; inline;
  18905. begin
  18906. pTDefRegMap(@Self)^.clr := $00008000;
  18907. end;
  18908. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  18909. begin
  18910. if thebits = 0 then
  18911. pTDefRegMap(@Self)^.clr := $00008000
  18912. else
  18913. pTDefRegMap(@Self)^.&set := $00008000;
  18914. end;
  18915. function TOCMP5_OC5CON.getON : TBits_1; inline;
  18916. begin
  18917. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18918. end;
  18919. procedure TOCMP5_OC5CON.setOCM0; inline;
  18920. begin
  18921. pTDefRegMap(@Self)^.&set := $00000001;
  18922. end;
  18923. procedure TOCMP5_OC5CON.clearOCM0; inline;
  18924. begin
  18925. pTDefRegMap(@Self)^.clr := $00000001;
  18926. end;
  18927. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  18928. begin
  18929. if thebits = 0 then
  18930. pTDefRegMap(@Self)^.clr := $00000001
  18931. else
  18932. pTDefRegMap(@Self)^.&set := $00000001;
  18933. end;
  18934. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  18935. begin
  18936. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18937. end;
  18938. procedure TOCMP5_OC5CON.setOCM1; inline;
  18939. begin
  18940. pTDefRegMap(@Self)^.&set := $00000002;
  18941. end;
  18942. procedure TOCMP5_OC5CON.clearOCM1; inline;
  18943. begin
  18944. pTDefRegMap(@Self)^.clr := $00000002;
  18945. end;
  18946. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  18947. begin
  18948. if thebits = 0 then
  18949. pTDefRegMap(@Self)^.clr := $00000002
  18950. else
  18951. pTDefRegMap(@Self)^.&set := $00000002;
  18952. end;
  18953. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  18954. begin
  18955. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18956. end;
  18957. procedure TOCMP5_OC5CON.setOCM2; inline;
  18958. begin
  18959. pTDefRegMap(@Self)^.&set := $00000004;
  18960. end;
  18961. procedure TOCMP5_OC5CON.clearOCM2; inline;
  18962. begin
  18963. pTDefRegMap(@Self)^.clr := $00000004;
  18964. end;
  18965. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  18966. begin
  18967. if thebits = 0 then
  18968. pTDefRegMap(@Self)^.clr := $00000004
  18969. else
  18970. pTDefRegMap(@Self)^.&set := $00000004;
  18971. end;
  18972. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  18973. begin
  18974. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18975. end;
  18976. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  18977. begin
  18978. pTDefRegMap(@Self)^.&set := $00002000;
  18979. end;
  18980. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  18981. begin
  18982. pTDefRegMap(@Self)^.clr := $00002000;
  18983. end;
  18984. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  18985. begin
  18986. if thebits = 0 then
  18987. pTDefRegMap(@Self)^.clr := $00002000
  18988. else
  18989. pTDefRegMap(@Self)^.&set := $00002000;
  18990. end;
  18991. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  18992. begin
  18993. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18994. end;
  18995. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  18996. begin
  18997. pTDefRegMap(@Self)^.val := thebits;
  18998. end;
  18999. function TOCMP5_OC5CON.getw : TBits_32; inline;
  19000. begin
  19001. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19002. end;
  19003. procedure TI2C1A_I2C1ACON.setSEN; inline;
  19004. begin
  19005. pTDefRegMap(@Self)^.&set := $00000001;
  19006. end;
  19007. procedure TI2C1A_I2C1ACON.clearSEN; inline;
  19008. begin
  19009. pTDefRegMap(@Self)^.clr := $00000001;
  19010. end;
  19011. procedure TI2C1A_I2C1ACON.setSEN(thebits : TBits_1); inline;
  19012. begin
  19013. if thebits = 0 then
  19014. pTDefRegMap(@Self)^.clr := $00000001
  19015. else
  19016. pTDefRegMap(@Self)^.&set := $00000001;
  19017. end;
  19018. function TI2C1A_I2C1ACON.getSEN : TBits_1; inline;
  19019. begin
  19020. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19021. end;
  19022. procedure TI2C1A_I2C1ACON.setRSEN; inline;
  19023. begin
  19024. pTDefRegMap(@Self)^.&set := $00000002;
  19025. end;
  19026. procedure TI2C1A_I2C1ACON.clearRSEN; inline;
  19027. begin
  19028. pTDefRegMap(@Self)^.clr := $00000002;
  19029. end;
  19030. procedure TI2C1A_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  19031. begin
  19032. if thebits = 0 then
  19033. pTDefRegMap(@Self)^.clr := $00000002
  19034. else
  19035. pTDefRegMap(@Self)^.&set := $00000002;
  19036. end;
  19037. function TI2C1A_I2C1ACON.getRSEN : TBits_1; inline;
  19038. begin
  19039. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19040. end;
  19041. procedure TI2C1A_I2C1ACON.setPEN; inline;
  19042. begin
  19043. pTDefRegMap(@Self)^.&set := $00000004;
  19044. end;
  19045. procedure TI2C1A_I2C1ACON.clearPEN; inline;
  19046. begin
  19047. pTDefRegMap(@Self)^.clr := $00000004;
  19048. end;
  19049. procedure TI2C1A_I2C1ACON.setPEN(thebits : TBits_1); inline;
  19050. begin
  19051. if thebits = 0 then
  19052. pTDefRegMap(@Self)^.clr := $00000004
  19053. else
  19054. pTDefRegMap(@Self)^.&set := $00000004;
  19055. end;
  19056. function TI2C1A_I2C1ACON.getPEN : TBits_1; inline;
  19057. begin
  19058. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19059. end;
  19060. procedure TI2C1A_I2C1ACON.setRCEN; inline;
  19061. begin
  19062. pTDefRegMap(@Self)^.&set := $00000008;
  19063. end;
  19064. procedure TI2C1A_I2C1ACON.clearRCEN; inline;
  19065. begin
  19066. pTDefRegMap(@Self)^.clr := $00000008;
  19067. end;
  19068. procedure TI2C1A_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  19069. begin
  19070. if thebits = 0 then
  19071. pTDefRegMap(@Self)^.clr := $00000008
  19072. else
  19073. pTDefRegMap(@Self)^.&set := $00000008;
  19074. end;
  19075. function TI2C1A_I2C1ACON.getRCEN : TBits_1; inline;
  19076. begin
  19077. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19078. end;
  19079. procedure TI2C1A_I2C1ACON.setACKEN; inline;
  19080. begin
  19081. pTDefRegMap(@Self)^.&set := $00000010;
  19082. end;
  19083. procedure TI2C1A_I2C1ACON.clearACKEN; inline;
  19084. begin
  19085. pTDefRegMap(@Self)^.clr := $00000010;
  19086. end;
  19087. procedure TI2C1A_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  19088. begin
  19089. if thebits = 0 then
  19090. pTDefRegMap(@Self)^.clr := $00000010
  19091. else
  19092. pTDefRegMap(@Self)^.&set := $00000010;
  19093. end;
  19094. function TI2C1A_I2C1ACON.getACKEN : TBits_1; inline;
  19095. begin
  19096. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19097. end;
  19098. procedure TI2C1A_I2C1ACON.setACKDT; inline;
  19099. begin
  19100. pTDefRegMap(@Self)^.&set := $00000020;
  19101. end;
  19102. procedure TI2C1A_I2C1ACON.clearACKDT; inline;
  19103. begin
  19104. pTDefRegMap(@Self)^.clr := $00000020;
  19105. end;
  19106. procedure TI2C1A_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  19107. begin
  19108. if thebits = 0 then
  19109. pTDefRegMap(@Self)^.clr := $00000020
  19110. else
  19111. pTDefRegMap(@Self)^.&set := $00000020;
  19112. end;
  19113. function TI2C1A_I2C1ACON.getACKDT : TBits_1; inline;
  19114. begin
  19115. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19116. end;
  19117. procedure TI2C1A_I2C1ACON.setSTREN; inline;
  19118. begin
  19119. pTDefRegMap(@Self)^.&set := $00000040;
  19120. end;
  19121. procedure TI2C1A_I2C1ACON.clearSTREN; inline;
  19122. begin
  19123. pTDefRegMap(@Self)^.clr := $00000040;
  19124. end;
  19125. procedure TI2C1A_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  19126. begin
  19127. if thebits = 0 then
  19128. pTDefRegMap(@Self)^.clr := $00000040
  19129. else
  19130. pTDefRegMap(@Self)^.&set := $00000040;
  19131. end;
  19132. function TI2C1A_I2C1ACON.getSTREN : TBits_1; inline;
  19133. begin
  19134. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19135. end;
  19136. procedure TI2C1A_I2C1ACON.setGCEN; inline;
  19137. begin
  19138. pTDefRegMap(@Self)^.&set := $00000080;
  19139. end;
  19140. procedure TI2C1A_I2C1ACON.clearGCEN; inline;
  19141. begin
  19142. pTDefRegMap(@Self)^.clr := $00000080;
  19143. end;
  19144. procedure TI2C1A_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  19145. begin
  19146. if thebits = 0 then
  19147. pTDefRegMap(@Self)^.clr := $00000080
  19148. else
  19149. pTDefRegMap(@Self)^.&set := $00000080;
  19150. end;
  19151. function TI2C1A_I2C1ACON.getGCEN : TBits_1; inline;
  19152. begin
  19153. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19154. end;
  19155. procedure TI2C1A_I2C1ACON.setSMEN; inline;
  19156. begin
  19157. pTDefRegMap(@Self)^.&set := $00000100;
  19158. end;
  19159. procedure TI2C1A_I2C1ACON.clearSMEN; inline;
  19160. begin
  19161. pTDefRegMap(@Self)^.clr := $00000100;
  19162. end;
  19163. procedure TI2C1A_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  19164. begin
  19165. if thebits = 0 then
  19166. pTDefRegMap(@Self)^.clr := $00000100
  19167. else
  19168. pTDefRegMap(@Self)^.&set := $00000100;
  19169. end;
  19170. function TI2C1A_I2C1ACON.getSMEN : TBits_1; inline;
  19171. begin
  19172. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19173. end;
  19174. procedure TI2C1A_I2C1ACON.setDISSLW; inline;
  19175. begin
  19176. pTDefRegMap(@Self)^.&set := $00000200;
  19177. end;
  19178. procedure TI2C1A_I2C1ACON.clearDISSLW; inline;
  19179. begin
  19180. pTDefRegMap(@Self)^.clr := $00000200;
  19181. end;
  19182. procedure TI2C1A_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  19183. begin
  19184. if thebits = 0 then
  19185. pTDefRegMap(@Self)^.clr := $00000200
  19186. else
  19187. pTDefRegMap(@Self)^.&set := $00000200;
  19188. end;
  19189. function TI2C1A_I2C1ACON.getDISSLW : TBits_1; inline;
  19190. begin
  19191. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19192. end;
  19193. procedure TI2C1A_I2C1ACON.setA10M; inline;
  19194. begin
  19195. pTDefRegMap(@Self)^.&set := $00000400;
  19196. end;
  19197. procedure TI2C1A_I2C1ACON.clearA10M; inline;
  19198. begin
  19199. pTDefRegMap(@Self)^.clr := $00000400;
  19200. end;
  19201. procedure TI2C1A_I2C1ACON.setA10M(thebits : TBits_1); inline;
  19202. begin
  19203. if thebits = 0 then
  19204. pTDefRegMap(@Self)^.clr := $00000400
  19205. else
  19206. pTDefRegMap(@Self)^.&set := $00000400;
  19207. end;
  19208. function TI2C1A_I2C1ACON.getA10M : TBits_1; inline;
  19209. begin
  19210. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19211. end;
  19212. procedure TI2C1A_I2C1ACON.setSTRICT; inline;
  19213. begin
  19214. pTDefRegMap(@Self)^.&set := $00000800;
  19215. end;
  19216. procedure TI2C1A_I2C1ACON.clearSTRICT; inline;
  19217. begin
  19218. pTDefRegMap(@Self)^.clr := $00000800;
  19219. end;
  19220. procedure TI2C1A_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  19221. begin
  19222. if thebits = 0 then
  19223. pTDefRegMap(@Self)^.clr := $00000800
  19224. else
  19225. pTDefRegMap(@Self)^.&set := $00000800;
  19226. end;
  19227. function TI2C1A_I2C1ACON.getSTRICT : TBits_1; inline;
  19228. begin
  19229. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19230. end;
  19231. procedure TI2C1A_I2C1ACON.setSCLREL; inline;
  19232. begin
  19233. pTDefRegMap(@Self)^.&set := $00001000;
  19234. end;
  19235. procedure TI2C1A_I2C1ACON.clearSCLREL; inline;
  19236. begin
  19237. pTDefRegMap(@Self)^.clr := $00001000;
  19238. end;
  19239. procedure TI2C1A_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  19240. begin
  19241. if thebits = 0 then
  19242. pTDefRegMap(@Self)^.clr := $00001000
  19243. else
  19244. pTDefRegMap(@Self)^.&set := $00001000;
  19245. end;
  19246. function TI2C1A_I2C1ACON.getSCLREL : TBits_1; inline;
  19247. begin
  19248. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19249. end;
  19250. procedure TI2C1A_I2C1ACON.setSIDL; inline;
  19251. begin
  19252. pTDefRegMap(@Self)^.&set := $00002000;
  19253. end;
  19254. procedure TI2C1A_I2C1ACON.clearSIDL; inline;
  19255. begin
  19256. pTDefRegMap(@Self)^.clr := $00002000;
  19257. end;
  19258. procedure TI2C1A_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  19259. begin
  19260. if thebits = 0 then
  19261. pTDefRegMap(@Self)^.clr := $00002000
  19262. else
  19263. pTDefRegMap(@Self)^.&set := $00002000;
  19264. end;
  19265. function TI2C1A_I2C1ACON.getSIDL : TBits_1; inline;
  19266. begin
  19267. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19268. end;
  19269. procedure TI2C1A_I2C1ACON.setON; inline;
  19270. begin
  19271. pTDefRegMap(@Self)^.&set := $00008000;
  19272. end;
  19273. procedure TI2C1A_I2C1ACON.clearON; inline;
  19274. begin
  19275. pTDefRegMap(@Self)^.clr := $00008000;
  19276. end;
  19277. procedure TI2C1A_I2C1ACON.setON(thebits : TBits_1); inline;
  19278. begin
  19279. if thebits = 0 then
  19280. pTDefRegMap(@Self)^.clr := $00008000
  19281. else
  19282. pTDefRegMap(@Self)^.&set := $00008000;
  19283. end;
  19284. function TI2C1A_I2C1ACON.getON : TBits_1; inline;
  19285. begin
  19286. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19287. end;
  19288. procedure TI2C1A_I2C1ACON.setIPMIEN; inline;
  19289. begin
  19290. pTDefRegMap(@Self)^.&set := $00000800;
  19291. end;
  19292. procedure TI2C1A_I2C1ACON.clearIPMIEN; inline;
  19293. begin
  19294. pTDefRegMap(@Self)^.clr := $00000800;
  19295. end;
  19296. procedure TI2C1A_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  19297. begin
  19298. if thebits = 0 then
  19299. pTDefRegMap(@Self)^.clr := $00000800
  19300. else
  19301. pTDefRegMap(@Self)^.&set := $00000800;
  19302. end;
  19303. function TI2C1A_I2C1ACON.getIPMIEN : TBits_1; inline;
  19304. begin
  19305. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19306. end;
  19307. procedure TI2C1A_I2C1ACON.setI2CSIDL; inline;
  19308. begin
  19309. pTDefRegMap(@Self)^.&set := $00002000;
  19310. end;
  19311. procedure TI2C1A_I2C1ACON.clearI2CSIDL; inline;
  19312. begin
  19313. pTDefRegMap(@Self)^.clr := $00002000;
  19314. end;
  19315. procedure TI2C1A_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  19316. begin
  19317. if thebits = 0 then
  19318. pTDefRegMap(@Self)^.clr := $00002000
  19319. else
  19320. pTDefRegMap(@Self)^.&set := $00002000;
  19321. end;
  19322. function TI2C1A_I2C1ACON.getI2CSIDL : TBits_1; inline;
  19323. begin
  19324. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19325. end;
  19326. procedure TI2C1A_I2C1ACON.setI2CEN; inline;
  19327. begin
  19328. pTDefRegMap(@Self)^.&set := $00008000;
  19329. end;
  19330. procedure TI2C1A_I2C1ACON.clearI2CEN; inline;
  19331. begin
  19332. pTDefRegMap(@Self)^.clr := $00008000;
  19333. end;
  19334. procedure TI2C1A_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  19335. begin
  19336. if thebits = 0 then
  19337. pTDefRegMap(@Self)^.clr := $00008000
  19338. else
  19339. pTDefRegMap(@Self)^.&set := $00008000;
  19340. end;
  19341. function TI2C1A_I2C1ACON.getI2CEN : TBits_1; inline;
  19342. begin
  19343. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19344. end;
  19345. procedure TI2C1A_I2C1ACON.setw(thebits : TBits_32); inline;
  19346. begin
  19347. pTDefRegMap(@Self)^.val := thebits;
  19348. end;
  19349. function TI2C1A_I2C1ACON.getw : TBits_32; inline;
  19350. begin
  19351. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19352. end;
  19353. procedure TI2C1A_I2C3CON.setSEN; inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.&set := $00000001;
  19356. end;
  19357. procedure TI2C1A_I2C3CON.clearSEN; inline;
  19358. begin
  19359. pTDefRegMap(@Self)^.clr := $00000001;
  19360. end;
  19361. procedure TI2C1A_I2C3CON.setSEN(thebits : TBits_1); inline;
  19362. begin
  19363. if thebits = 0 then
  19364. pTDefRegMap(@Self)^.clr := $00000001
  19365. else
  19366. pTDefRegMap(@Self)^.&set := $00000001;
  19367. end;
  19368. function TI2C1A_I2C3CON.getSEN : TBits_1; inline;
  19369. begin
  19370. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19371. end;
  19372. procedure TI2C1A_I2C3CON.setRSEN; inline;
  19373. begin
  19374. pTDefRegMap(@Self)^.&set := $00000002;
  19375. end;
  19376. procedure TI2C1A_I2C3CON.clearRSEN; inline;
  19377. begin
  19378. pTDefRegMap(@Self)^.clr := $00000002;
  19379. end;
  19380. procedure TI2C1A_I2C3CON.setRSEN(thebits : TBits_1); inline;
  19381. begin
  19382. if thebits = 0 then
  19383. pTDefRegMap(@Self)^.clr := $00000002
  19384. else
  19385. pTDefRegMap(@Self)^.&set := $00000002;
  19386. end;
  19387. function TI2C1A_I2C3CON.getRSEN : TBits_1; inline;
  19388. begin
  19389. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19390. end;
  19391. procedure TI2C1A_I2C3CON.setPEN; inline;
  19392. begin
  19393. pTDefRegMap(@Self)^.&set := $00000004;
  19394. end;
  19395. procedure TI2C1A_I2C3CON.clearPEN; inline;
  19396. begin
  19397. pTDefRegMap(@Self)^.clr := $00000004;
  19398. end;
  19399. procedure TI2C1A_I2C3CON.setPEN(thebits : TBits_1); inline;
  19400. begin
  19401. if thebits = 0 then
  19402. pTDefRegMap(@Self)^.clr := $00000004
  19403. else
  19404. pTDefRegMap(@Self)^.&set := $00000004;
  19405. end;
  19406. function TI2C1A_I2C3CON.getPEN : TBits_1; inline;
  19407. begin
  19408. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19409. end;
  19410. procedure TI2C1A_I2C3CON.setRCEN; inline;
  19411. begin
  19412. pTDefRegMap(@Self)^.&set := $00000008;
  19413. end;
  19414. procedure TI2C1A_I2C3CON.clearRCEN; inline;
  19415. begin
  19416. pTDefRegMap(@Self)^.clr := $00000008;
  19417. end;
  19418. procedure TI2C1A_I2C3CON.setRCEN(thebits : TBits_1); inline;
  19419. begin
  19420. if thebits = 0 then
  19421. pTDefRegMap(@Self)^.clr := $00000008
  19422. else
  19423. pTDefRegMap(@Self)^.&set := $00000008;
  19424. end;
  19425. function TI2C1A_I2C3CON.getRCEN : TBits_1; inline;
  19426. begin
  19427. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19428. end;
  19429. procedure TI2C1A_I2C3CON.setACKEN; inline;
  19430. begin
  19431. pTDefRegMap(@Self)^.&set := $00000010;
  19432. end;
  19433. procedure TI2C1A_I2C3CON.clearACKEN; inline;
  19434. begin
  19435. pTDefRegMap(@Self)^.clr := $00000010;
  19436. end;
  19437. procedure TI2C1A_I2C3CON.setACKEN(thebits : TBits_1); inline;
  19438. begin
  19439. if thebits = 0 then
  19440. pTDefRegMap(@Self)^.clr := $00000010
  19441. else
  19442. pTDefRegMap(@Self)^.&set := $00000010;
  19443. end;
  19444. function TI2C1A_I2C3CON.getACKEN : TBits_1; inline;
  19445. begin
  19446. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19447. end;
  19448. procedure TI2C1A_I2C3CON.setACKDT; inline;
  19449. begin
  19450. pTDefRegMap(@Self)^.&set := $00000020;
  19451. end;
  19452. procedure TI2C1A_I2C3CON.clearACKDT; inline;
  19453. begin
  19454. pTDefRegMap(@Self)^.clr := $00000020;
  19455. end;
  19456. procedure TI2C1A_I2C3CON.setACKDT(thebits : TBits_1); inline;
  19457. begin
  19458. if thebits = 0 then
  19459. pTDefRegMap(@Self)^.clr := $00000020
  19460. else
  19461. pTDefRegMap(@Self)^.&set := $00000020;
  19462. end;
  19463. function TI2C1A_I2C3CON.getACKDT : TBits_1; inline;
  19464. begin
  19465. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19466. end;
  19467. procedure TI2C1A_I2C3CON.setSTREN; inline;
  19468. begin
  19469. pTDefRegMap(@Self)^.&set := $00000040;
  19470. end;
  19471. procedure TI2C1A_I2C3CON.clearSTREN; inline;
  19472. begin
  19473. pTDefRegMap(@Self)^.clr := $00000040;
  19474. end;
  19475. procedure TI2C1A_I2C3CON.setSTREN(thebits : TBits_1); inline;
  19476. begin
  19477. if thebits = 0 then
  19478. pTDefRegMap(@Self)^.clr := $00000040
  19479. else
  19480. pTDefRegMap(@Self)^.&set := $00000040;
  19481. end;
  19482. function TI2C1A_I2C3CON.getSTREN : TBits_1; inline;
  19483. begin
  19484. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19485. end;
  19486. procedure TI2C1A_I2C3CON.setGCEN; inline;
  19487. begin
  19488. pTDefRegMap(@Self)^.&set := $00000080;
  19489. end;
  19490. procedure TI2C1A_I2C3CON.clearGCEN; inline;
  19491. begin
  19492. pTDefRegMap(@Self)^.clr := $00000080;
  19493. end;
  19494. procedure TI2C1A_I2C3CON.setGCEN(thebits : TBits_1); inline;
  19495. begin
  19496. if thebits = 0 then
  19497. pTDefRegMap(@Self)^.clr := $00000080
  19498. else
  19499. pTDefRegMap(@Self)^.&set := $00000080;
  19500. end;
  19501. function TI2C1A_I2C3CON.getGCEN : TBits_1; inline;
  19502. begin
  19503. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19504. end;
  19505. procedure TI2C1A_I2C3CON.setSMEN; inline;
  19506. begin
  19507. pTDefRegMap(@Self)^.&set := $00000100;
  19508. end;
  19509. procedure TI2C1A_I2C3CON.clearSMEN; inline;
  19510. begin
  19511. pTDefRegMap(@Self)^.clr := $00000100;
  19512. end;
  19513. procedure TI2C1A_I2C3CON.setSMEN(thebits : TBits_1); inline;
  19514. begin
  19515. if thebits = 0 then
  19516. pTDefRegMap(@Self)^.clr := $00000100
  19517. else
  19518. pTDefRegMap(@Self)^.&set := $00000100;
  19519. end;
  19520. function TI2C1A_I2C3CON.getSMEN : TBits_1; inline;
  19521. begin
  19522. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19523. end;
  19524. procedure TI2C1A_I2C3CON.setDISSLW; inline;
  19525. begin
  19526. pTDefRegMap(@Self)^.&set := $00000200;
  19527. end;
  19528. procedure TI2C1A_I2C3CON.clearDISSLW; inline;
  19529. begin
  19530. pTDefRegMap(@Self)^.clr := $00000200;
  19531. end;
  19532. procedure TI2C1A_I2C3CON.setDISSLW(thebits : TBits_1); inline;
  19533. begin
  19534. if thebits = 0 then
  19535. pTDefRegMap(@Self)^.clr := $00000200
  19536. else
  19537. pTDefRegMap(@Self)^.&set := $00000200;
  19538. end;
  19539. function TI2C1A_I2C3CON.getDISSLW : TBits_1; inline;
  19540. begin
  19541. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19542. end;
  19543. procedure TI2C1A_I2C3CON.setA10M; inline;
  19544. begin
  19545. pTDefRegMap(@Self)^.&set := $00000400;
  19546. end;
  19547. procedure TI2C1A_I2C3CON.clearA10M; inline;
  19548. begin
  19549. pTDefRegMap(@Self)^.clr := $00000400;
  19550. end;
  19551. procedure TI2C1A_I2C3CON.setA10M(thebits : TBits_1); inline;
  19552. begin
  19553. if thebits = 0 then
  19554. pTDefRegMap(@Self)^.clr := $00000400
  19555. else
  19556. pTDefRegMap(@Self)^.&set := $00000400;
  19557. end;
  19558. function TI2C1A_I2C3CON.getA10M : TBits_1; inline;
  19559. begin
  19560. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19561. end;
  19562. procedure TI2C1A_I2C3CON.setSTRICT; inline;
  19563. begin
  19564. pTDefRegMap(@Self)^.&set := $00000800;
  19565. end;
  19566. procedure TI2C1A_I2C3CON.clearSTRICT; inline;
  19567. begin
  19568. pTDefRegMap(@Self)^.clr := $00000800;
  19569. end;
  19570. procedure TI2C1A_I2C3CON.setSTRICT(thebits : TBits_1); inline;
  19571. begin
  19572. if thebits = 0 then
  19573. pTDefRegMap(@Self)^.clr := $00000800
  19574. else
  19575. pTDefRegMap(@Self)^.&set := $00000800;
  19576. end;
  19577. function TI2C1A_I2C3CON.getSTRICT : TBits_1; inline;
  19578. begin
  19579. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19580. end;
  19581. procedure TI2C1A_I2C3CON.setSCLREL; inline;
  19582. begin
  19583. pTDefRegMap(@Self)^.&set := $00001000;
  19584. end;
  19585. procedure TI2C1A_I2C3CON.clearSCLREL; inline;
  19586. begin
  19587. pTDefRegMap(@Self)^.clr := $00001000;
  19588. end;
  19589. procedure TI2C1A_I2C3CON.setSCLREL(thebits : TBits_1); inline;
  19590. begin
  19591. if thebits = 0 then
  19592. pTDefRegMap(@Self)^.clr := $00001000
  19593. else
  19594. pTDefRegMap(@Self)^.&set := $00001000;
  19595. end;
  19596. function TI2C1A_I2C3CON.getSCLREL : TBits_1; inline;
  19597. begin
  19598. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19599. end;
  19600. procedure TI2C1A_I2C3CON.setSIDL; inline;
  19601. begin
  19602. pTDefRegMap(@Self)^.&set := $00002000;
  19603. end;
  19604. procedure TI2C1A_I2C3CON.clearSIDL; inline;
  19605. begin
  19606. pTDefRegMap(@Self)^.clr := $00002000;
  19607. end;
  19608. procedure TI2C1A_I2C3CON.setSIDL(thebits : TBits_1); inline;
  19609. begin
  19610. if thebits = 0 then
  19611. pTDefRegMap(@Self)^.clr := $00002000
  19612. else
  19613. pTDefRegMap(@Self)^.&set := $00002000;
  19614. end;
  19615. function TI2C1A_I2C3CON.getSIDL : TBits_1; inline;
  19616. begin
  19617. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19618. end;
  19619. procedure TI2C1A_I2C3CON.setON; inline;
  19620. begin
  19621. pTDefRegMap(@Self)^.&set := $00008000;
  19622. end;
  19623. procedure TI2C1A_I2C3CON.clearON; inline;
  19624. begin
  19625. pTDefRegMap(@Self)^.clr := $00008000;
  19626. end;
  19627. procedure TI2C1A_I2C3CON.setON(thebits : TBits_1); inline;
  19628. begin
  19629. if thebits = 0 then
  19630. pTDefRegMap(@Self)^.clr := $00008000
  19631. else
  19632. pTDefRegMap(@Self)^.&set := $00008000;
  19633. end;
  19634. function TI2C1A_I2C3CON.getON : TBits_1; inline;
  19635. begin
  19636. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19637. end;
  19638. procedure TI2C1A_I2C3CON.setIPMIEN; inline;
  19639. begin
  19640. pTDefRegMap(@Self)^.&set := $00000800;
  19641. end;
  19642. procedure TI2C1A_I2C3CON.clearIPMIEN; inline;
  19643. begin
  19644. pTDefRegMap(@Self)^.clr := $00000800;
  19645. end;
  19646. procedure TI2C1A_I2C3CON.setIPMIEN(thebits : TBits_1); inline;
  19647. begin
  19648. if thebits = 0 then
  19649. pTDefRegMap(@Self)^.clr := $00000800
  19650. else
  19651. pTDefRegMap(@Self)^.&set := $00000800;
  19652. end;
  19653. function TI2C1A_I2C3CON.getIPMIEN : TBits_1; inline;
  19654. begin
  19655. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19656. end;
  19657. procedure TI2C1A_I2C3CON.setI2CSIDL; inline;
  19658. begin
  19659. pTDefRegMap(@Self)^.&set := $00002000;
  19660. end;
  19661. procedure TI2C1A_I2C3CON.clearI2CSIDL; inline;
  19662. begin
  19663. pTDefRegMap(@Self)^.clr := $00002000;
  19664. end;
  19665. procedure TI2C1A_I2C3CON.setI2CSIDL(thebits : TBits_1); inline;
  19666. begin
  19667. if thebits = 0 then
  19668. pTDefRegMap(@Self)^.clr := $00002000
  19669. else
  19670. pTDefRegMap(@Self)^.&set := $00002000;
  19671. end;
  19672. function TI2C1A_I2C3CON.getI2CSIDL : TBits_1; inline;
  19673. begin
  19674. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19675. end;
  19676. procedure TI2C1A_I2C3CON.setI2CEN; inline;
  19677. begin
  19678. pTDefRegMap(@Self)^.&set := $00008000;
  19679. end;
  19680. procedure TI2C1A_I2C3CON.clearI2CEN; inline;
  19681. begin
  19682. pTDefRegMap(@Self)^.clr := $00008000;
  19683. end;
  19684. procedure TI2C1A_I2C3CON.setI2CEN(thebits : TBits_1); inline;
  19685. begin
  19686. if thebits = 0 then
  19687. pTDefRegMap(@Self)^.clr := $00008000
  19688. else
  19689. pTDefRegMap(@Self)^.&set := $00008000;
  19690. end;
  19691. function TI2C1A_I2C3CON.getI2CEN : TBits_1; inline;
  19692. begin
  19693. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19694. end;
  19695. procedure TI2C1A_I2C3CON.setw(thebits : TBits_32); inline;
  19696. begin
  19697. pTDefRegMap(@Self)^.val := thebits;
  19698. end;
  19699. function TI2C1A_I2C3CON.getw : TBits_32; inline;
  19700. begin
  19701. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19702. end;
  19703. procedure TI2C1A_I2C1ASTAT.setTBF; inline;
  19704. begin
  19705. pTDefRegMap(@Self)^.&set := $00000001;
  19706. end;
  19707. procedure TI2C1A_I2C1ASTAT.clearTBF; inline;
  19708. begin
  19709. pTDefRegMap(@Self)^.clr := $00000001;
  19710. end;
  19711. procedure TI2C1A_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  19712. begin
  19713. if thebits = 0 then
  19714. pTDefRegMap(@Self)^.clr := $00000001
  19715. else
  19716. pTDefRegMap(@Self)^.&set := $00000001;
  19717. end;
  19718. function TI2C1A_I2C1ASTAT.getTBF : TBits_1; inline;
  19719. begin
  19720. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19721. end;
  19722. procedure TI2C1A_I2C1ASTAT.setRBF; inline;
  19723. begin
  19724. pTDefRegMap(@Self)^.&set := $00000002;
  19725. end;
  19726. procedure TI2C1A_I2C1ASTAT.clearRBF; inline;
  19727. begin
  19728. pTDefRegMap(@Self)^.clr := $00000002;
  19729. end;
  19730. procedure TI2C1A_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  19731. begin
  19732. if thebits = 0 then
  19733. pTDefRegMap(@Self)^.clr := $00000002
  19734. else
  19735. pTDefRegMap(@Self)^.&set := $00000002;
  19736. end;
  19737. function TI2C1A_I2C1ASTAT.getRBF : TBits_1; inline;
  19738. begin
  19739. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19740. end;
  19741. procedure TI2C1A_I2C1ASTAT.setR_W; inline;
  19742. begin
  19743. pTDefRegMap(@Self)^.&set := $00000004;
  19744. end;
  19745. procedure TI2C1A_I2C1ASTAT.clearR_W; inline;
  19746. begin
  19747. pTDefRegMap(@Self)^.clr := $00000004;
  19748. end;
  19749. procedure TI2C1A_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  19750. begin
  19751. if thebits = 0 then
  19752. pTDefRegMap(@Self)^.clr := $00000004
  19753. else
  19754. pTDefRegMap(@Self)^.&set := $00000004;
  19755. end;
  19756. function TI2C1A_I2C1ASTAT.getR_W : TBits_1; inline;
  19757. begin
  19758. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19759. end;
  19760. procedure TI2C1A_I2C1ASTAT.setS; inline;
  19761. begin
  19762. pTDefRegMap(@Self)^.&set := $00000008;
  19763. end;
  19764. procedure TI2C1A_I2C1ASTAT.clearS; inline;
  19765. begin
  19766. pTDefRegMap(@Self)^.clr := $00000008;
  19767. end;
  19768. procedure TI2C1A_I2C1ASTAT.setS(thebits : TBits_1); inline;
  19769. begin
  19770. if thebits = 0 then
  19771. pTDefRegMap(@Self)^.clr := $00000008
  19772. else
  19773. pTDefRegMap(@Self)^.&set := $00000008;
  19774. end;
  19775. function TI2C1A_I2C1ASTAT.getS : TBits_1; inline;
  19776. begin
  19777. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19778. end;
  19779. procedure TI2C1A_I2C1ASTAT.setP; inline;
  19780. begin
  19781. pTDefRegMap(@Self)^.&set := $00000010;
  19782. end;
  19783. procedure TI2C1A_I2C1ASTAT.clearP; inline;
  19784. begin
  19785. pTDefRegMap(@Self)^.clr := $00000010;
  19786. end;
  19787. procedure TI2C1A_I2C1ASTAT.setP(thebits : TBits_1); inline;
  19788. begin
  19789. if thebits = 0 then
  19790. pTDefRegMap(@Self)^.clr := $00000010
  19791. else
  19792. pTDefRegMap(@Self)^.&set := $00000010;
  19793. end;
  19794. function TI2C1A_I2C1ASTAT.getP : TBits_1; inline;
  19795. begin
  19796. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19797. end;
  19798. procedure TI2C1A_I2C1ASTAT.setD_A; inline;
  19799. begin
  19800. pTDefRegMap(@Self)^.&set := $00000020;
  19801. end;
  19802. procedure TI2C1A_I2C1ASTAT.clearD_A; inline;
  19803. begin
  19804. pTDefRegMap(@Self)^.clr := $00000020;
  19805. end;
  19806. procedure TI2C1A_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  19807. begin
  19808. if thebits = 0 then
  19809. pTDefRegMap(@Self)^.clr := $00000020
  19810. else
  19811. pTDefRegMap(@Self)^.&set := $00000020;
  19812. end;
  19813. function TI2C1A_I2C1ASTAT.getD_A : TBits_1; inline;
  19814. begin
  19815. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19816. end;
  19817. procedure TI2C1A_I2C1ASTAT.setI2COV; inline;
  19818. begin
  19819. pTDefRegMap(@Self)^.&set := $00000040;
  19820. end;
  19821. procedure TI2C1A_I2C1ASTAT.clearI2COV; inline;
  19822. begin
  19823. pTDefRegMap(@Self)^.clr := $00000040;
  19824. end;
  19825. procedure TI2C1A_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  19826. begin
  19827. if thebits = 0 then
  19828. pTDefRegMap(@Self)^.clr := $00000040
  19829. else
  19830. pTDefRegMap(@Self)^.&set := $00000040;
  19831. end;
  19832. function TI2C1A_I2C1ASTAT.getI2COV : TBits_1; inline;
  19833. begin
  19834. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19835. end;
  19836. procedure TI2C1A_I2C1ASTAT.setIWCOL; inline;
  19837. begin
  19838. pTDefRegMap(@Self)^.&set := $00000080;
  19839. end;
  19840. procedure TI2C1A_I2C1ASTAT.clearIWCOL; inline;
  19841. begin
  19842. pTDefRegMap(@Self)^.clr := $00000080;
  19843. end;
  19844. procedure TI2C1A_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  19845. begin
  19846. if thebits = 0 then
  19847. pTDefRegMap(@Self)^.clr := $00000080
  19848. else
  19849. pTDefRegMap(@Self)^.&set := $00000080;
  19850. end;
  19851. function TI2C1A_I2C1ASTAT.getIWCOL : TBits_1; inline;
  19852. begin
  19853. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19854. end;
  19855. procedure TI2C1A_I2C1ASTAT.setADD10; inline;
  19856. begin
  19857. pTDefRegMap(@Self)^.&set := $00000100;
  19858. end;
  19859. procedure TI2C1A_I2C1ASTAT.clearADD10; inline;
  19860. begin
  19861. pTDefRegMap(@Self)^.clr := $00000100;
  19862. end;
  19863. procedure TI2C1A_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  19864. begin
  19865. if thebits = 0 then
  19866. pTDefRegMap(@Self)^.clr := $00000100
  19867. else
  19868. pTDefRegMap(@Self)^.&set := $00000100;
  19869. end;
  19870. function TI2C1A_I2C1ASTAT.getADD10 : TBits_1; inline;
  19871. begin
  19872. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19873. end;
  19874. procedure TI2C1A_I2C1ASTAT.setGCSTAT; inline;
  19875. begin
  19876. pTDefRegMap(@Self)^.&set := $00000200;
  19877. end;
  19878. procedure TI2C1A_I2C1ASTAT.clearGCSTAT; inline;
  19879. begin
  19880. pTDefRegMap(@Self)^.clr := $00000200;
  19881. end;
  19882. procedure TI2C1A_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  19883. begin
  19884. if thebits = 0 then
  19885. pTDefRegMap(@Self)^.clr := $00000200
  19886. else
  19887. pTDefRegMap(@Self)^.&set := $00000200;
  19888. end;
  19889. function TI2C1A_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  19890. begin
  19891. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19892. end;
  19893. procedure TI2C1A_I2C1ASTAT.setBCL; inline;
  19894. begin
  19895. pTDefRegMap(@Self)^.&set := $00000400;
  19896. end;
  19897. procedure TI2C1A_I2C1ASTAT.clearBCL; inline;
  19898. begin
  19899. pTDefRegMap(@Self)^.clr := $00000400;
  19900. end;
  19901. procedure TI2C1A_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  19902. begin
  19903. if thebits = 0 then
  19904. pTDefRegMap(@Self)^.clr := $00000400
  19905. else
  19906. pTDefRegMap(@Self)^.&set := $00000400;
  19907. end;
  19908. function TI2C1A_I2C1ASTAT.getBCL : TBits_1; inline;
  19909. begin
  19910. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19911. end;
  19912. procedure TI2C1A_I2C1ASTAT.setTRSTAT; inline;
  19913. begin
  19914. pTDefRegMap(@Self)^.&set := $00004000;
  19915. end;
  19916. procedure TI2C1A_I2C1ASTAT.clearTRSTAT; inline;
  19917. begin
  19918. pTDefRegMap(@Self)^.clr := $00004000;
  19919. end;
  19920. procedure TI2C1A_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  19921. begin
  19922. if thebits = 0 then
  19923. pTDefRegMap(@Self)^.clr := $00004000
  19924. else
  19925. pTDefRegMap(@Self)^.&set := $00004000;
  19926. end;
  19927. function TI2C1A_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  19928. begin
  19929. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19930. end;
  19931. procedure TI2C1A_I2C1ASTAT.setACKSTAT; inline;
  19932. begin
  19933. pTDefRegMap(@Self)^.&set := $00008000;
  19934. end;
  19935. procedure TI2C1A_I2C1ASTAT.clearACKSTAT; inline;
  19936. begin
  19937. pTDefRegMap(@Self)^.clr := $00008000;
  19938. end;
  19939. procedure TI2C1A_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  19940. begin
  19941. if thebits = 0 then
  19942. pTDefRegMap(@Self)^.clr := $00008000
  19943. else
  19944. pTDefRegMap(@Self)^.&set := $00008000;
  19945. end;
  19946. function TI2C1A_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  19947. begin
  19948. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19949. end;
  19950. procedure TI2C1A_I2C1ASTAT.setI2CPOV; inline;
  19951. begin
  19952. pTDefRegMap(@Self)^.&set := $00000040;
  19953. end;
  19954. procedure TI2C1A_I2C1ASTAT.clearI2CPOV; inline;
  19955. begin
  19956. pTDefRegMap(@Self)^.clr := $00000040;
  19957. end;
  19958. procedure TI2C1A_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  19959. begin
  19960. if thebits = 0 then
  19961. pTDefRegMap(@Self)^.clr := $00000040
  19962. else
  19963. pTDefRegMap(@Self)^.&set := $00000040;
  19964. end;
  19965. function TI2C1A_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  19966. begin
  19967. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19968. end;
  19969. procedure TI2C1A_I2C1ASTAT.setw(thebits : TBits_32); inline;
  19970. begin
  19971. pTDefRegMap(@Self)^.val := thebits;
  19972. end;
  19973. function TI2C1A_I2C1ASTAT.getw : TBits_32; inline;
  19974. begin
  19975. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19976. end;
  19977. procedure TI2C1A_I2C3STAT.setTBF; inline;
  19978. begin
  19979. pTDefRegMap(@Self)^.&set := $00000001;
  19980. end;
  19981. procedure TI2C1A_I2C3STAT.clearTBF; inline;
  19982. begin
  19983. pTDefRegMap(@Self)^.clr := $00000001;
  19984. end;
  19985. procedure TI2C1A_I2C3STAT.setTBF(thebits : TBits_1); inline;
  19986. begin
  19987. if thebits = 0 then
  19988. pTDefRegMap(@Self)^.clr := $00000001
  19989. else
  19990. pTDefRegMap(@Self)^.&set := $00000001;
  19991. end;
  19992. function TI2C1A_I2C3STAT.getTBF : TBits_1; inline;
  19993. begin
  19994. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19995. end;
  19996. procedure TI2C1A_I2C3STAT.setRBF; inline;
  19997. begin
  19998. pTDefRegMap(@Self)^.&set := $00000002;
  19999. end;
  20000. procedure TI2C1A_I2C3STAT.clearRBF; inline;
  20001. begin
  20002. pTDefRegMap(@Self)^.clr := $00000002;
  20003. end;
  20004. procedure TI2C1A_I2C3STAT.setRBF(thebits : TBits_1); inline;
  20005. begin
  20006. if thebits = 0 then
  20007. pTDefRegMap(@Self)^.clr := $00000002
  20008. else
  20009. pTDefRegMap(@Self)^.&set := $00000002;
  20010. end;
  20011. function TI2C1A_I2C3STAT.getRBF : TBits_1; inline;
  20012. begin
  20013. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20014. end;
  20015. procedure TI2C1A_I2C3STAT.setR_W; inline;
  20016. begin
  20017. pTDefRegMap(@Self)^.&set := $00000004;
  20018. end;
  20019. procedure TI2C1A_I2C3STAT.clearR_W; inline;
  20020. begin
  20021. pTDefRegMap(@Self)^.clr := $00000004;
  20022. end;
  20023. procedure TI2C1A_I2C3STAT.setR_W(thebits : TBits_1); inline;
  20024. begin
  20025. if thebits = 0 then
  20026. pTDefRegMap(@Self)^.clr := $00000004
  20027. else
  20028. pTDefRegMap(@Self)^.&set := $00000004;
  20029. end;
  20030. function TI2C1A_I2C3STAT.getR_W : TBits_1; inline;
  20031. begin
  20032. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20033. end;
  20034. procedure TI2C1A_I2C3STAT.setS; inline;
  20035. begin
  20036. pTDefRegMap(@Self)^.&set := $00000008;
  20037. end;
  20038. procedure TI2C1A_I2C3STAT.clearS; inline;
  20039. begin
  20040. pTDefRegMap(@Self)^.clr := $00000008;
  20041. end;
  20042. procedure TI2C1A_I2C3STAT.setS(thebits : TBits_1); inline;
  20043. begin
  20044. if thebits = 0 then
  20045. pTDefRegMap(@Self)^.clr := $00000008
  20046. else
  20047. pTDefRegMap(@Self)^.&set := $00000008;
  20048. end;
  20049. function TI2C1A_I2C3STAT.getS : TBits_1; inline;
  20050. begin
  20051. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20052. end;
  20053. procedure TI2C1A_I2C3STAT.setP; inline;
  20054. begin
  20055. pTDefRegMap(@Self)^.&set := $00000010;
  20056. end;
  20057. procedure TI2C1A_I2C3STAT.clearP; inline;
  20058. begin
  20059. pTDefRegMap(@Self)^.clr := $00000010;
  20060. end;
  20061. procedure TI2C1A_I2C3STAT.setP(thebits : TBits_1); inline;
  20062. begin
  20063. if thebits = 0 then
  20064. pTDefRegMap(@Self)^.clr := $00000010
  20065. else
  20066. pTDefRegMap(@Self)^.&set := $00000010;
  20067. end;
  20068. function TI2C1A_I2C3STAT.getP : TBits_1; inline;
  20069. begin
  20070. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20071. end;
  20072. procedure TI2C1A_I2C3STAT.setD_A; inline;
  20073. begin
  20074. pTDefRegMap(@Self)^.&set := $00000020;
  20075. end;
  20076. procedure TI2C1A_I2C3STAT.clearD_A; inline;
  20077. begin
  20078. pTDefRegMap(@Self)^.clr := $00000020;
  20079. end;
  20080. procedure TI2C1A_I2C3STAT.setD_A(thebits : TBits_1); inline;
  20081. begin
  20082. if thebits = 0 then
  20083. pTDefRegMap(@Self)^.clr := $00000020
  20084. else
  20085. pTDefRegMap(@Self)^.&set := $00000020;
  20086. end;
  20087. function TI2C1A_I2C3STAT.getD_A : TBits_1; inline;
  20088. begin
  20089. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20090. end;
  20091. procedure TI2C1A_I2C3STAT.setI2COV; inline;
  20092. begin
  20093. pTDefRegMap(@Self)^.&set := $00000040;
  20094. end;
  20095. procedure TI2C1A_I2C3STAT.clearI2COV; inline;
  20096. begin
  20097. pTDefRegMap(@Self)^.clr := $00000040;
  20098. end;
  20099. procedure TI2C1A_I2C3STAT.setI2COV(thebits : TBits_1); inline;
  20100. begin
  20101. if thebits = 0 then
  20102. pTDefRegMap(@Self)^.clr := $00000040
  20103. else
  20104. pTDefRegMap(@Self)^.&set := $00000040;
  20105. end;
  20106. function TI2C1A_I2C3STAT.getI2COV : TBits_1; inline;
  20107. begin
  20108. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20109. end;
  20110. procedure TI2C1A_I2C3STAT.setIWCOL; inline;
  20111. begin
  20112. pTDefRegMap(@Self)^.&set := $00000080;
  20113. end;
  20114. procedure TI2C1A_I2C3STAT.clearIWCOL; inline;
  20115. begin
  20116. pTDefRegMap(@Self)^.clr := $00000080;
  20117. end;
  20118. procedure TI2C1A_I2C3STAT.setIWCOL(thebits : TBits_1); inline;
  20119. begin
  20120. if thebits = 0 then
  20121. pTDefRegMap(@Self)^.clr := $00000080
  20122. else
  20123. pTDefRegMap(@Self)^.&set := $00000080;
  20124. end;
  20125. function TI2C1A_I2C3STAT.getIWCOL : TBits_1; inline;
  20126. begin
  20127. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20128. end;
  20129. procedure TI2C1A_I2C3STAT.setADD10; inline;
  20130. begin
  20131. pTDefRegMap(@Self)^.&set := $00000100;
  20132. end;
  20133. procedure TI2C1A_I2C3STAT.clearADD10; inline;
  20134. begin
  20135. pTDefRegMap(@Self)^.clr := $00000100;
  20136. end;
  20137. procedure TI2C1A_I2C3STAT.setADD10(thebits : TBits_1); inline;
  20138. begin
  20139. if thebits = 0 then
  20140. pTDefRegMap(@Self)^.clr := $00000100
  20141. else
  20142. pTDefRegMap(@Self)^.&set := $00000100;
  20143. end;
  20144. function TI2C1A_I2C3STAT.getADD10 : TBits_1; inline;
  20145. begin
  20146. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20147. end;
  20148. procedure TI2C1A_I2C3STAT.setGCSTAT; inline;
  20149. begin
  20150. pTDefRegMap(@Self)^.&set := $00000200;
  20151. end;
  20152. procedure TI2C1A_I2C3STAT.clearGCSTAT; inline;
  20153. begin
  20154. pTDefRegMap(@Self)^.clr := $00000200;
  20155. end;
  20156. procedure TI2C1A_I2C3STAT.setGCSTAT(thebits : TBits_1); inline;
  20157. begin
  20158. if thebits = 0 then
  20159. pTDefRegMap(@Self)^.clr := $00000200
  20160. else
  20161. pTDefRegMap(@Self)^.&set := $00000200;
  20162. end;
  20163. function TI2C1A_I2C3STAT.getGCSTAT : TBits_1; inline;
  20164. begin
  20165. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20166. end;
  20167. procedure TI2C1A_I2C3STAT.setBCL; inline;
  20168. begin
  20169. pTDefRegMap(@Self)^.&set := $00000400;
  20170. end;
  20171. procedure TI2C1A_I2C3STAT.clearBCL; inline;
  20172. begin
  20173. pTDefRegMap(@Self)^.clr := $00000400;
  20174. end;
  20175. procedure TI2C1A_I2C3STAT.setBCL(thebits : TBits_1); inline;
  20176. begin
  20177. if thebits = 0 then
  20178. pTDefRegMap(@Self)^.clr := $00000400
  20179. else
  20180. pTDefRegMap(@Self)^.&set := $00000400;
  20181. end;
  20182. function TI2C1A_I2C3STAT.getBCL : TBits_1; inline;
  20183. begin
  20184. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20185. end;
  20186. procedure TI2C1A_I2C3STAT.setTRSTAT; inline;
  20187. begin
  20188. pTDefRegMap(@Self)^.&set := $00004000;
  20189. end;
  20190. procedure TI2C1A_I2C3STAT.clearTRSTAT; inline;
  20191. begin
  20192. pTDefRegMap(@Self)^.clr := $00004000;
  20193. end;
  20194. procedure TI2C1A_I2C3STAT.setTRSTAT(thebits : TBits_1); inline;
  20195. begin
  20196. if thebits = 0 then
  20197. pTDefRegMap(@Self)^.clr := $00004000
  20198. else
  20199. pTDefRegMap(@Self)^.&set := $00004000;
  20200. end;
  20201. function TI2C1A_I2C3STAT.getTRSTAT : TBits_1; inline;
  20202. begin
  20203. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20204. end;
  20205. procedure TI2C1A_I2C3STAT.setACKSTAT; inline;
  20206. begin
  20207. pTDefRegMap(@Self)^.&set := $00008000;
  20208. end;
  20209. procedure TI2C1A_I2C3STAT.clearACKSTAT; inline;
  20210. begin
  20211. pTDefRegMap(@Self)^.clr := $00008000;
  20212. end;
  20213. procedure TI2C1A_I2C3STAT.setACKSTAT(thebits : TBits_1); inline;
  20214. begin
  20215. if thebits = 0 then
  20216. pTDefRegMap(@Self)^.clr := $00008000
  20217. else
  20218. pTDefRegMap(@Self)^.&set := $00008000;
  20219. end;
  20220. function TI2C1A_I2C3STAT.getACKSTAT : TBits_1; inline;
  20221. begin
  20222. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20223. end;
  20224. procedure TI2C1A_I2C3STAT.setI2CPOV; inline;
  20225. begin
  20226. pTDefRegMap(@Self)^.&set := $00000040;
  20227. end;
  20228. procedure TI2C1A_I2C3STAT.clearI2CPOV; inline;
  20229. begin
  20230. pTDefRegMap(@Self)^.clr := $00000040;
  20231. end;
  20232. procedure TI2C1A_I2C3STAT.setI2CPOV(thebits : TBits_1); inline;
  20233. begin
  20234. if thebits = 0 then
  20235. pTDefRegMap(@Self)^.clr := $00000040
  20236. else
  20237. pTDefRegMap(@Self)^.&set := $00000040;
  20238. end;
  20239. function TI2C1A_I2C3STAT.getI2CPOV : TBits_1; inline;
  20240. begin
  20241. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20242. end;
  20243. procedure TI2C1A_I2C3STAT.setw(thebits : TBits_32); inline;
  20244. begin
  20245. pTDefRegMap(@Self)^.val := thebits;
  20246. end;
  20247. function TI2C1A_I2C3STAT.getw : TBits_32; inline;
  20248. begin
  20249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20250. end;
  20251. procedure TI2C2A_I2C2ACON.setSEN; inline;
  20252. begin
  20253. pTDefRegMap(@Self)^.&set := $00000001;
  20254. end;
  20255. procedure TI2C2A_I2C2ACON.clearSEN; inline;
  20256. begin
  20257. pTDefRegMap(@Self)^.clr := $00000001;
  20258. end;
  20259. procedure TI2C2A_I2C2ACON.setSEN(thebits : TBits_1); inline;
  20260. begin
  20261. if thebits = 0 then
  20262. pTDefRegMap(@Self)^.clr := $00000001
  20263. else
  20264. pTDefRegMap(@Self)^.&set := $00000001;
  20265. end;
  20266. function TI2C2A_I2C2ACON.getSEN : TBits_1; inline;
  20267. begin
  20268. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20269. end;
  20270. procedure TI2C2A_I2C2ACON.setRSEN; inline;
  20271. begin
  20272. pTDefRegMap(@Self)^.&set := $00000002;
  20273. end;
  20274. procedure TI2C2A_I2C2ACON.clearRSEN; inline;
  20275. begin
  20276. pTDefRegMap(@Self)^.clr := $00000002;
  20277. end;
  20278. procedure TI2C2A_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  20279. begin
  20280. if thebits = 0 then
  20281. pTDefRegMap(@Self)^.clr := $00000002
  20282. else
  20283. pTDefRegMap(@Self)^.&set := $00000002;
  20284. end;
  20285. function TI2C2A_I2C2ACON.getRSEN : TBits_1; inline;
  20286. begin
  20287. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20288. end;
  20289. procedure TI2C2A_I2C2ACON.setPEN; inline;
  20290. begin
  20291. pTDefRegMap(@Self)^.&set := $00000004;
  20292. end;
  20293. procedure TI2C2A_I2C2ACON.clearPEN; inline;
  20294. begin
  20295. pTDefRegMap(@Self)^.clr := $00000004;
  20296. end;
  20297. procedure TI2C2A_I2C2ACON.setPEN(thebits : TBits_1); inline;
  20298. begin
  20299. if thebits = 0 then
  20300. pTDefRegMap(@Self)^.clr := $00000004
  20301. else
  20302. pTDefRegMap(@Self)^.&set := $00000004;
  20303. end;
  20304. function TI2C2A_I2C2ACON.getPEN : TBits_1; inline;
  20305. begin
  20306. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20307. end;
  20308. procedure TI2C2A_I2C2ACON.setRCEN; inline;
  20309. begin
  20310. pTDefRegMap(@Self)^.&set := $00000008;
  20311. end;
  20312. procedure TI2C2A_I2C2ACON.clearRCEN; inline;
  20313. begin
  20314. pTDefRegMap(@Self)^.clr := $00000008;
  20315. end;
  20316. procedure TI2C2A_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  20317. begin
  20318. if thebits = 0 then
  20319. pTDefRegMap(@Self)^.clr := $00000008
  20320. else
  20321. pTDefRegMap(@Self)^.&set := $00000008;
  20322. end;
  20323. function TI2C2A_I2C2ACON.getRCEN : TBits_1; inline;
  20324. begin
  20325. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20326. end;
  20327. procedure TI2C2A_I2C2ACON.setACKEN; inline;
  20328. begin
  20329. pTDefRegMap(@Self)^.&set := $00000010;
  20330. end;
  20331. procedure TI2C2A_I2C2ACON.clearACKEN; inline;
  20332. begin
  20333. pTDefRegMap(@Self)^.clr := $00000010;
  20334. end;
  20335. procedure TI2C2A_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  20336. begin
  20337. if thebits = 0 then
  20338. pTDefRegMap(@Self)^.clr := $00000010
  20339. else
  20340. pTDefRegMap(@Self)^.&set := $00000010;
  20341. end;
  20342. function TI2C2A_I2C2ACON.getACKEN : TBits_1; inline;
  20343. begin
  20344. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20345. end;
  20346. procedure TI2C2A_I2C2ACON.setACKDT; inline;
  20347. begin
  20348. pTDefRegMap(@Self)^.&set := $00000020;
  20349. end;
  20350. procedure TI2C2A_I2C2ACON.clearACKDT; inline;
  20351. begin
  20352. pTDefRegMap(@Self)^.clr := $00000020;
  20353. end;
  20354. procedure TI2C2A_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  20355. begin
  20356. if thebits = 0 then
  20357. pTDefRegMap(@Self)^.clr := $00000020
  20358. else
  20359. pTDefRegMap(@Self)^.&set := $00000020;
  20360. end;
  20361. function TI2C2A_I2C2ACON.getACKDT : TBits_1; inline;
  20362. begin
  20363. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20364. end;
  20365. procedure TI2C2A_I2C2ACON.setSTREN; inline;
  20366. begin
  20367. pTDefRegMap(@Self)^.&set := $00000040;
  20368. end;
  20369. procedure TI2C2A_I2C2ACON.clearSTREN; inline;
  20370. begin
  20371. pTDefRegMap(@Self)^.clr := $00000040;
  20372. end;
  20373. procedure TI2C2A_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  20374. begin
  20375. if thebits = 0 then
  20376. pTDefRegMap(@Self)^.clr := $00000040
  20377. else
  20378. pTDefRegMap(@Self)^.&set := $00000040;
  20379. end;
  20380. function TI2C2A_I2C2ACON.getSTREN : TBits_1; inline;
  20381. begin
  20382. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20383. end;
  20384. procedure TI2C2A_I2C2ACON.setGCEN; inline;
  20385. begin
  20386. pTDefRegMap(@Self)^.&set := $00000080;
  20387. end;
  20388. procedure TI2C2A_I2C2ACON.clearGCEN; inline;
  20389. begin
  20390. pTDefRegMap(@Self)^.clr := $00000080;
  20391. end;
  20392. procedure TI2C2A_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  20393. begin
  20394. if thebits = 0 then
  20395. pTDefRegMap(@Self)^.clr := $00000080
  20396. else
  20397. pTDefRegMap(@Self)^.&set := $00000080;
  20398. end;
  20399. function TI2C2A_I2C2ACON.getGCEN : TBits_1; inline;
  20400. begin
  20401. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20402. end;
  20403. procedure TI2C2A_I2C2ACON.setSMEN; inline;
  20404. begin
  20405. pTDefRegMap(@Self)^.&set := $00000100;
  20406. end;
  20407. procedure TI2C2A_I2C2ACON.clearSMEN; inline;
  20408. begin
  20409. pTDefRegMap(@Self)^.clr := $00000100;
  20410. end;
  20411. procedure TI2C2A_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  20412. begin
  20413. if thebits = 0 then
  20414. pTDefRegMap(@Self)^.clr := $00000100
  20415. else
  20416. pTDefRegMap(@Self)^.&set := $00000100;
  20417. end;
  20418. function TI2C2A_I2C2ACON.getSMEN : TBits_1; inline;
  20419. begin
  20420. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20421. end;
  20422. procedure TI2C2A_I2C2ACON.setDISSLW; inline;
  20423. begin
  20424. pTDefRegMap(@Self)^.&set := $00000200;
  20425. end;
  20426. procedure TI2C2A_I2C2ACON.clearDISSLW; inline;
  20427. begin
  20428. pTDefRegMap(@Self)^.clr := $00000200;
  20429. end;
  20430. procedure TI2C2A_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  20431. begin
  20432. if thebits = 0 then
  20433. pTDefRegMap(@Self)^.clr := $00000200
  20434. else
  20435. pTDefRegMap(@Self)^.&set := $00000200;
  20436. end;
  20437. function TI2C2A_I2C2ACON.getDISSLW : TBits_1; inline;
  20438. begin
  20439. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20440. end;
  20441. procedure TI2C2A_I2C2ACON.setA10M; inline;
  20442. begin
  20443. pTDefRegMap(@Self)^.&set := $00000400;
  20444. end;
  20445. procedure TI2C2A_I2C2ACON.clearA10M; inline;
  20446. begin
  20447. pTDefRegMap(@Self)^.clr := $00000400;
  20448. end;
  20449. procedure TI2C2A_I2C2ACON.setA10M(thebits : TBits_1); inline;
  20450. begin
  20451. if thebits = 0 then
  20452. pTDefRegMap(@Self)^.clr := $00000400
  20453. else
  20454. pTDefRegMap(@Self)^.&set := $00000400;
  20455. end;
  20456. function TI2C2A_I2C2ACON.getA10M : TBits_1; inline;
  20457. begin
  20458. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20459. end;
  20460. procedure TI2C2A_I2C2ACON.setSTRICT; inline;
  20461. begin
  20462. pTDefRegMap(@Self)^.&set := $00000800;
  20463. end;
  20464. procedure TI2C2A_I2C2ACON.clearSTRICT; inline;
  20465. begin
  20466. pTDefRegMap(@Self)^.clr := $00000800;
  20467. end;
  20468. procedure TI2C2A_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  20469. begin
  20470. if thebits = 0 then
  20471. pTDefRegMap(@Self)^.clr := $00000800
  20472. else
  20473. pTDefRegMap(@Self)^.&set := $00000800;
  20474. end;
  20475. function TI2C2A_I2C2ACON.getSTRICT : TBits_1; inline;
  20476. begin
  20477. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20478. end;
  20479. procedure TI2C2A_I2C2ACON.setSCLREL; inline;
  20480. begin
  20481. pTDefRegMap(@Self)^.&set := $00001000;
  20482. end;
  20483. procedure TI2C2A_I2C2ACON.clearSCLREL; inline;
  20484. begin
  20485. pTDefRegMap(@Self)^.clr := $00001000;
  20486. end;
  20487. procedure TI2C2A_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  20488. begin
  20489. if thebits = 0 then
  20490. pTDefRegMap(@Self)^.clr := $00001000
  20491. else
  20492. pTDefRegMap(@Self)^.&set := $00001000;
  20493. end;
  20494. function TI2C2A_I2C2ACON.getSCLREL : TBits_1; inline;
  20495. begin
  20496. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20497. end;
  20498. procedure TI2C2A_I2C2ACON.setSIDL; inline;
  20499. begin
  20500. pTDefRegMap(@Self)^.&set := $00002000;
  20501. end;
  20502. procedure TI2C2A_I2C2ACON.clearSIDL; inline;
  20503. begin
  20504. pTDefRegMap(@Self)^.clr := $00002000;
  20505. end;
  20506. procedure TI2C2A_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  20507. begin
  20508. if thebits = 0 then
  20509. pTDefRegMap(@Self)^.clr := $00002000
  20510. else
  20511. pTDefRegMap(@Self)^.&set := $00002000;
  20512. end;
  20513. function TI2C2A_I2C2ACON.getSIDL : TBits_1; inline;
  20514. begin
  20515. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20516. end;
  20517. procedure TI2C2A_I2C2ACON.setON; inline;
  20518. begin
  20519. pTDefRegMap(@Self)^.&set := $00008000;
  20520. end;
  20521. procedure TI2C2A_I2C2ACON.clearON; inline;
  20522. begin
  20523. pTDefRegMap(@Self)^.clr := $00008000;
  20524. end;
  20525. procedure TI2C2A_I2C2ACON.setON(thebits : TBits_1); inline;
  20526. begin
  20527. if thebits = 0 then
  20528. pTDefRegMap(@Self)^.clr := $00008000
  20529. else
  20530. pTDefRegMap(@Self)^.&set := $00008000;
  20531. end;
  20532. function TI2C2A_I2C2ACON.getON : TBits_1; inline;
  20533. begin
  20534. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20535. end;
  20536. procedure TI2C2A_I2C2ACON.setIPMIEN; inline;
  20537. begin
  20538. pTDefRegMap(@Self)^.&set := $00000800;
  20539. end;
  20540. procedure TI2C2A_I2C2ACON.clearIPMIEN; inline;
  20541. begin
  20542. pTDefRegMap(@Self)^.clr := $00000800;
  20543. end;
  20544. procedure TI2C2A_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  20545. begin
  20546. if thebits = 0 then
  20547. pTDefRegMap(@Self)^.clr := $00000800
  20548. else
  20549. pTDefRegMap(@Self)^.&set := $00000800;
  20550. end;
  20551. function TI2C2A_I2C2ACON.getIPMIEN : TBits_1; inline;
  20552. begin
  20553. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20554. end;
  20555. procedure TI2C2A_I2C2ACON.setI2CSIDL; inline;
  20556. begin
  20557. pTDefRegMap(@Self)^.&set := $00002000;
  20558. end;
  20559. procedure TI2C2A_I2C2ACON.clearI2CSIDL; inline;
  20560. begin
  20561. pTDefRegMap(@Self)^.clr := $00002000;
  20562. end;
  20563. procedure TI2C2A_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  20564. begin
  20565. if thebits = 0 then
  20566. pTDefRegMap(@Self)^.clr := $00002000
  20567. else
  20568. pTDefRegMap(@Self)^.&set := $00002000;
  20569. end;
  20570. function TI2C2A_I2C2ACON.getI2CSIDL : TBits_1; inline;
  20571. begin
  20572. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20573. end;
  20574. procedure TI2C2A_I2C2ACON.setI2CEN; inline;
  20575. begin
  20576. pTDefRegMap(@Self)^.&set := $00008000;
  20577. end;
  20578. procedure TI2C2A_I2C2ACON.clearI2CEN; inline;
  20579. begin
  20580. pTDefRegMap(@Self)^.clr := $00008000;
  20581. end;
  20582. procedure TI2C2A_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  20583. begin
  20584. if thebits = 0 then
  20585. pTDefRegMap(@Self)^.clr := $00008000
  20586. else
  20587. pTDefRegMap(@Self)^.&set := $00008000;
  20588. end;
  20589. function TI2C2A_I2C2ACON.getI2CEN : TBits_1; inline;
  20590. begin
  20591. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20592. end;
  20593. procedure TI2C2A_I2C2ACON.setw(thebits : TBits_32); inline;
  20594. begin
  20595. pTDefRegMap(@Self)^.val := thebits;
  20596. end;
  20597. function TI2C2A_I2C2ACON.getw : TBits_32; inline;
  20598. begin
  20599. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20600. end;
  20601. procedure TI2C2A_I2C4CON.setSEN; inline;
  20602. begin
  20603. pTDefRegMap(@Self)^.&set := $00000001;
  20604. end;
  20605. procedure TI2C2A_I2C4CON.clearSEN; inline;
  20606. begin
  20607. pTDefRegMap(@Self)^.clr := $00000001;
  20608. end;
  20609. procedure TI2C2A_I2C4CON.setSEN(thebits : TBits_1); inline;
  20610. begin
  20611. if thebits = 0 then
  20612. pTDefRegMap(@Self)^.clr := $00000001
  20613. else
  20614. pTDefRegMap(@Self)^.&set := $00000001;
  20615. end;
  20616. function TI2C2A_I2C4CON.getSEN : TBits_1; inline;
  20617. begin
  20618. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20619. end;
  20620. procedure TI2C2A_I2C4CON.setRSEN; inline;
  20621. begin
  20622. pTDefRegMap(@Self)^.&set := $00000002;
  20623. end;
  20624. procedure TI2C2A_I2C4CON.clearRSEN; inline;
  20625. begin
  20626. pTDefRegMap(@Self)^.clr := $00000002;
  20627. end;
  20628. procedure TI2C2A_I2C4CON.setRSEN(thebits : TBits_1); inline;
  20629. begin
  20630. if thebits = 0 then
  20631. pTDefRegMap(@Self)^.clr := $00000002
  20632. else
  20633. pTDefRegMap(@Self)^.&set := $00000002;
  20634. end;
  20635. function TI2C2A_I2C4CON.getRSEN : TBits_1; inline;
  20636. begin
  20637. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20638. end;
  20639. procedure TI2C2A_I2C4CON.setPEN; inline;
  20640. begin
  20641. pTDefRegMap(@Self)^.&set := $00000004;
  20642. end;
  20643. procedure TI2C2A_I2C4CON.clearPEN; inline;
  20644. begin
  20645. pTDefRegMap(@Self)^.clr := $00000004;
  20646. end;
  20647. procedure TI2C2A_I2C4CON.setPEN(thebits : TBits_1); inline;
  20648. begin
  20649. if thebits = 0 then
  20650. pTDefRegMap(@Self)^.clr := $00000004
  20651. else
  20652. pTDefRegMap(@Self)^.&set := $00000004;
  20653. end;
  20654. function TI2C2A_I2C4CON.getPEN : TBits_1; inline;
  20655. begin
  20656. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20657. end;
  20658. procedure TI2C2A_I2C4CON.setRCEN; inline;
  20659. begin
  20660. pTDefRegMap(@Self)^.&set := $00000008;
  20661. end;
  20662. procedure TI2C2A_I2C4CON.clearRCEN; inline;
  20663. begin
  20664. pTDefRegMap(@Self)^.clr := $00000008;
  20665. end;
  20666. procedure TI2C2A_I2C4CON.setRCEN(thebits : TBits_1); inline;
  20667. begin
  20668. if thebits = 0 then
  20669. pTDefRegMap(@Self)^.clr := $00000008
  20670. else
  20671. pTDefRegMap(@Self)^.&set := $00000008;
  20672. end;
  20673. function TI2C2A_I2C4CON.getRCEN : TBits_1; inline;
  20674. begin
  20675. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20676. end;
  20677. procedure TI2C2A_I2C4CON.setACKEN; inline;
  20678. begin
  20679. pTDefRegMap(@Self)^.&set := $00000010;
  20680. end;
  20681. procedure TI2C2A_I2C4CON.clearACKEN; inline;
  20682. begin
  20683. pTDefRegMap(@Self)^.clr := $00000010;
  20684. end;
  20685. procedure TI2C2A_I2C4CON.setACKEN(thebits : TBits_1); inline;
  20686. begin
  20687. if thebits = 0 then
  20688. pTDefRegMap(@Self)^.clr := $00000010
  20689. else
  20690. pTDefRegMap(@Self)^.&set := $00000010;
  20691. end;
  20692. function TI2C2A_I2C4CON.getACKEN : TBits_1; inline;
  20693. begin
  20694. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20695. end;
  20696. procedure TI2C2A_I2C4CON.setACKDT; inline;
  20697. begin
  20698. pTDefRegMap(@Self)^.&set := $00000020;
  20699. end;
  20700. procedure TI2C2A_I2C4CON.clearACKDT; inline;
  20701. begin
  20702. pTDefRegMap(@Self)^.clr := $00000020;
  20703. end;
  20704. procedure TI2C2A_I2C4CON.setACKDT(thebits : TBits_1); inline;
  20705. begin
  20706. if thebits = 0 then
  20707. pTDefRegMap(@Self)^.clr := $00000020
  20708. else
  20709. pTDefRegMap(@Self)^.&set := $00000020;
  20710. end;
  20711. function TI2C2A_I2C4CON.getACKDT : TBits_1; inline;
  20712. begin
  20713. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20714. end;
  20715. procedure TI2C2A_I2C4CON.setSTREN; inline;
  20716. begin
  20717. pTDefRegMap(@Self)^.&set := $00000040;
  20718. end;
  20719. procedure TI2C2A_I2C4CON.clearSTREN; inline;
  20720. begin
  20721. pTDefRegMap(@Self)^.clr := $00000040;
  20722. end;
  20723. procedure TI2C2A_I2C4CON.setSTREN(thebits : TBits_1); inline;
  20724. begin
  20725. if thebits = 0 then
  20726. pTDefRegMap(@Self)^.clr := $00000040
  20727. else
  20728. pTDefRegMap(@Self)^.&set := $00000040;
  20729. end;
  20730. function TI2C2A_I2C4CON.getSTREN : TBits_1; inline;
  20731. begin
  20732. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20733. end;
  20734. procedure TI2C2A_I2C4CON.setGCEN; inline;
  20735. begin
  20736. pTDefRegMap(@Self)^.&set := $00000080;
  20737. end;
  20738. procedure TI2C2A_I2C4CON.clearGCEN; inline;
  20739. begin
  20740. pTDefRegMap(@Self)^.clr := $00000080;
  20741. end;
  20742. procedure TI2C2A_I2C4CON.setGCEN(thebits : TBits_1); inline;
  20743. begin
  20744. if thebits = 0 then
  20745. pTDefRegMap(@Self)^.clr := $00000080
  20746. else
  20747. pTDefRegMap(@Self)^.&set := $00000080;
  20748. end;
  20749. function TI2C2A_I2C4CON.getGCEN : TBits_1; inline;
  20750. begin
  20751. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20752. end;
  20753. procedure TI2C2A_I2C4CON.setSMEN; inline;
  20754. begin
  20755. pTDefRegMap(@Self)^.&set := $00000100;
  20756. end;
  20757. procedure TI2C2A_I2C4CON.clearSMEN; inline;
  20758. begin
  20759. pTDefRegMap(@Self)^.clr := $00000100;
  20760. end;
  20761. procedure TI2C2A_I2C4CON.setSMEN(thebits : TBits_1); inline;
  20762. begin
  20763. if thebits = 0 then
  20764. pTDefRegMap(@Self)^.clr := $00000100
  20765. else
  20766. pTDefRegMap(@Self)^.&set := $00000100;
  20767. end;
  20768. function TI2C2A_I2C4CON.getSMEN : TBits_1; inline;
  20769. begin
  20770. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20771. end;
  20772. procedure TI2C2A_I2C4CON.setDISSLW; inline;
  20773. begin
  20774. pTDefRegMap(@Self)^.&set := $00000200;
  20775. end;
  20776. procedure TI2C2A_I2C4CON.clearDISSLW; inline;
  20777. begin
  20778. pTDefRegMap(@Self)^.clr := $00000200;
  20779. end;
  20780. procedure TI2C2A_I2C4CON.setDISSLW(thebits : TBits_1); inline;
  20781. begin
  20782. if thebits = 0 then
  20783. pTDefRegMap(@Self)^.clr := $00000200
  20784. else
  20785. pTDefRegMap(@Self)^.&set := $00000200;
  20786. end;
  20787. function TI2C2A_I2C4CON.getDISSLW : TBits_1; inline;
  20788. begin
  20789. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20790. end;
  20791. procedure TI2C2A_I2C4CON.setA10M; inline;
  20792. begin
  20793. pTDefRegMap(@Self)^.&set := $00000400;
  20794. end;
  20795. procedure TI2C2A_I2C4CON.clearA10M; inline;
  20796. begin
  20797. pTDefRegMap(@Self)^.clr := $00000400;
  20798. end;
  20799. procedure TI2C2A_I2C4CON.setA10M(thebits : TBits_1); inline;
  20800. begin
  20801. if thebits = 0 then
  20802. pTDefRegMap(@Self)^.clr := $00000400
  20803. else
  20804. pTDefRegMap(@Self)^.&set := $00000400;
  20805. end;
  20806. function TI2C2A_I2C4CON.getA10M : TBits_1; inline;
  20807. begin
  20808. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20809. end;
  20810. procedure TI2C2A_I2C4CON.setSTRICT; inline;
  20811. begin
  20812. pTDefRegMap(@Self)^.&set := $00000800;
  20813. end;
  20814. procedure TI2C2A_I2C4CON.clearSTRICT; inline;
  20815. begin
  20816. pTDefRegMap(@Self)^.clr := $00000800;
  20817. end;
  20818. procedure TI2C2A_I2C4CON.setSTRICT(thebits : TBits_1); inline;
  20819. begin
  20820. if thebits = 0 then
  20821. pTDefRegMap(@Self)^.clr := $00000800
  20822. else
  20823. pTDefRegMap(@Self)^.&set := $00000800;
  20824. end;
  20825. function TI2C2A_I2C4CON.getSTRICT : TBits_1; inline;
  20826. begin
  20827. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20828. end;
  20829. procedure TI2C2A_I2C4CON.setSCLREL; inline;
  20830. begin
  20831. pTDefRegMap(@Self)^.&set := $00001000;
  20832. end;
  20833. procedure TI2C2A_I2C4CON.clearSCLREL; inline;
  20834. begin
  20835. pTDefRegMap(@Self)^.clr := $00001000;
  20836. end;
  20837. procedure TI2C2A_I2C4CON.setSCLREL(thebits : TBits_1); inline;
  20838. begin
  20839. if thebits = 0 then
  20840. pTDefRegMap(@Self)^.clr := $00001000
  20841. else
  20842. pTDefRegMap(@Self)^.&set := $00001000;
  20843. end;
  20844. function TI2C2A_I2C4CON.getSCLREL : TBits_1; inline;
  20845. begin
  20846. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20847. end;
  20848. procedure TI2C2A_I2C4CON.setSIDL; inline;
  20849. begin
  20850. pTDefRegMap(@Self)^.&set := $00002000;
  20851. end;
  20852. procedure TI2C2A_I2C4CON.clearSIDL; inline;
  20853. begin
  20854. pTDefRegMap(@Self)^.clr := $00002000;
  20855. end;
  20856. procedure TI2C2A_I2C4CON.setSIDL(thebits : TBits_1); inline;
  20857. begin
  20858. if thebits = 0 then
  20859. pTDefRegMap(@Self)^.clr := $00002000
  20860. else
  20861. pTDefRegMap(@Self)^.&set := $00002000;
  20862. end;
  20863. function TI2C2A_I2C4CON.getSIDL : TBits_1; inline;
  20864. begin
  20865. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20866. end;
  20867. procedure TI2C2A_I2C4CON.setON; inline;
  20868. begin
  20869. pTDefRegMap(@Self)^.&set := $00008000;
  20870. end;
  20871. procedure TI2C2A_I2C4CON.clearON; inline;
  20872. begin
  20873. pTDefRegMap(@Self)^.clr := $00008000;
  20874. end;
  20875. procedure TI2C2A_I2C4CON.setON(thebits : TBits_1); inline;
  20876. begin
  20877. if thebits = 0 then
  20878. pTDefRegMap(@Self)^.clr := $00008000
  20879. else
  20880. pTDefRegMap(@Self)^.&set := $00008000;
  20881. end;
  20882. function TI2C2A_I2C4CON.getON : TBits_1; inline;
  20883. begin
  20884. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20885. end;
  20886. procedure TI2C2A_I2C4CON.setIPMIEN; inline;
  20887. begin
  20888. pTDefRegMap(@Self)^.&set := $00000800;
  20889. end;
  20890. procedure TI2C2A_I2C4CON.clearIPMIEN; inline;
  20891. begin
  20892. pTDefRegMap(@Self)^.clr := $00000800;
  20893. end;
  20894. procedure TI2C2A_I2C4CON.setIPMIEN(thebits : TBits_1); inline;
  20895. begin
  20896. if thebits = 0 then
  20897. pTDefRegMap(@Self)^.clr := $00000800
  20898. else
  20899. pTDefRegMap(@Self)^.&set := $00000800;
  20900. end;
  20901. function TI2C2A_I2C4CON.getIPMIEN : TBits_1; inline;
  20902. begin
  20903. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20904. end;
  20905. procedure TI2C2A_I2C4CON.setI2CSIDL; inline;
  20906. begin
  20907. pTDefRegMap(@Self)^.&set := $00002000;
  20908. end;
  20909. procedure TI2C2A_I2C4CON.clearI2CSIDL; inline;
  20910. begin
  20911. pTDefRegMap(@Self)^.clr := $00002000;
  20912. end;
  20913. procedure TI2C2A_I2C4CON.setI2CSIDL(thebits : TBits_1); inline;
  20914. begin
  20915. if thebits = 0 then
  20916. pTDefRegMap(@Self)^.clr := $00002000
  20917. else
  20918. pTDefRegMap(@Self)^.&set := $00002000;
  20919. end;
  20920. function TI2C2A_I2C4CON.getI2CSIDL : TBits_1; inline;
  20921. begin
  20922. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20923. end;
  20924. procedure TI2C2A_I2C4CON.setI2CEN; inline;
  20925. begin
  20926. pTDefRegMap(@Self)^.&set := $00008000;
  20927. end;
  20928. procedure TI2C2A_I2C4CON.clearI2CEN; inline;
  20929. begin
  20930. pTDefRegMap(@Self)^.clr := $00008000;
  20931. end;
  20932. procedure TI2C2A_I2C4CON.setI2CEN(thebits : TBits_1); inline;
  20933. begin
  20934. if thebits = 0 then
  20935. pTDefRegMap(@Self)^.clr := $00008000
  20936. else
  20937. pTDefRegMap(@Self)^.&set := $00008000;
  20938. end;
  20939. function TI2C2A_I2C4CON.getI2CEN : TBits_1; inline;
  20940. begin
  20941. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20942. end;
  20943. procedure TI2C2A_I2C4CON.setw(thebits : TBits_32); inline;
  20944. begin
  20945. pTDefRegMap(@Self)^.val := thebits;
  20946. end;
  20947. function TI2C2A_I2C4CON.getw : TBits_32; inline;
  20948. begin
  20949. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20950. end;
  20951. procedure TI2C2A_I2C2ASTAT.setTBF; inline;
  20952. begin
  20953. pTDefRegMap(@Self)^.&set := $00000001;
  20954. end;
  20955. procedure TI2C2A_I2C2ASTAT.clearTBF; inline;
  20956. begin
  20957. pTDefRegMap(@Self)^.clr := $00000001;
  20958. end;
  20959. procedure TI2C2A_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  20960. begin
  20961. if thebits = 0 then
  20962. pTDefRegMap(@Self)^.clr := $00000001
  20963. else
  20964. pTDefRegMap(@Self)^.&set := $00000001;
  20965. end;
  20966. function TI2C2A_I2C2ASTAT.getTBF : TBits_1; inline;
  20967. begin
  20968. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20969. end;
  20970. procedure TI2C2A_I2C2ASTAT.setRBF; inline;
  20971. begin
  20972. pTDefRegMap(@Self)^.&set := $00000002;
  20973. end;
  20974. procedure TI2C2A_I2C2ASTAT.clearRBF; inline;
  20975. begin
  20976. pTDefRegMap(@Self)^.clr := $00000002;
  20977. end;
  20978. procedure TI2C2A_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  20979. begin
  20980. if thebits = 0 then
  20981. pTDefRegMap(@Self)^.clr := $00000002
  20982. else
  20983. pTDefRegMap(@Self)^.&set := $00000002;
  20984. end;
  20985. function TI2C2A_I2C2ASTAT.getRBF : TBits_1; inline;
  20986. begin
  20987. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20988. end;
  20989. procedure TI2C2A_I2C2ASTAT.setR_W; inline;
  20990. begin
  20991. pTDefRegMap(@Self)^.&set := $00000004;
  20992. end;
  20993. procedure TI2C2A_I2C2ASTAT.clearR_W; inline;
  20994. begin
  20995. pTDefRegMap(@Self)^.clr := $00000004;
  20996. end;
  20997. procedure TI2C2A_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  20998. begin
  20999. if thebits = 0 then
  21000. pTDefRegMap(@Self)^.clr := $00000004
  21001. else
  21002. pTDefRegMap(@Self)^.&set := $00000004;
  21003. end;
  21004. function TI2C2A_I2C2ASTAT.getR_W : TBits_1; inline;
  21005. begin
  21006. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21007. end;
  21008. procedure TI2C2A_I2C2ASTAT.setS; inline;
  21009. begin
  21010. pTDefRegMap(@Self)^.&set := $00000008;
  21011. end;
  21012. procedure TI2C2A_I2C2ASTAT.clearS; inline;
  21013. begin
  21014. pTDefRegMap(@Self)^.clr := $00000008;
  21015. end;
  21016. procedure TI2C2A_I2C2ASTAT.setS(thebits : TBits_1); inline;
  21017. begin
  21018. if thebits = 0 then
  21019. pTDefRegMap(@Self)^.clr := $00000008
  21020. else
  21021. pTDefRegMap(@Self)^.&set := $00000008;
  21022. end;
  21023. function TI2C2A_I2C2ASTAT.getS : TBits_1; inline;
  21024. begin
  21025. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21026. end;
  21027. procedure TI2C2A_I2C2ASTAT.setP; inline;
  21028. begin
  21029. pTDefRegMap(@Self)^.&set := $00000010;
  21030. end;
  21031. procedure TI2C2A_I2C2ASTAT.clearP; inline;
  21032. begin
  21033. pTDefRegMap(@Self)^.clr := $00000010;
  21034. end;
  21035. procedure TI2C2A_I2C2ASTAT.setP(thebits : TBits_1); inline;
  21036. begin
  21037. if thebits = 0 then
  21038. pTDefRegMap(@Self)^.clr := $00000010
  21039. else
  21040. pTDefRegMap(@Self)^.&set := $00000010;
  21041. end;
  21042. function TI2C2A_I2C2ASTAT.getP : TBits_1; inline;
  21043. begin
  21044. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21045. end;
  21046. procedure TI2C2A_I2C2ASTAT.setD_A; inline;
  21047. begin
  21048. pTDefRegMap(@Self)^.&set := $00000020;
  21049. end;
  21050. procedure TI2C2A_I2C2ASTAT.clearD_A; inline;
  21051. begin
  21052. pTDefRegMap(@Self)^.clr := $00000020;
  21053. end;
  21054. procedure TI2C2A_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  21055. begin
  21056. if thebits = 0 then
  21057. pTDefRegMap(@Self)^.clr := $00000020
  21058. else
  21059. pTDefRegMap(@Self)^.&set := $00000020;
  21060. end;
  21061. function TI2C2A_I2C2ASTAT.getD_A : TBits_1; inline;
  21062. begin
  21063. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21064. end;
  21065. procedure TI2C2A_I2C2ASTAT.setI2COV; inline;
  21066. begin
  21067. pTDefRegMap(@Self)^.&set := $00000040;
  21068. end;
  21069. procedure TI2C2A_I2C2ASTAT.clearI2COV; inline;
  21070. begin
  21071. pTDefRegMap(@Self)^.clr := $00000040;
  21072. end;
  21073. procedure TI2C2A_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  21074. begin
  21075. if thebits = 0 then
  21076. pTDefRegMap(@Self)^.clr := $00000040
  21077. else
  21078. pTDefRegMap(@Self)^.&set := $00000040;
  21079. end;
  21080. function TI2C2A_I2C2ASTAT.getI2COV : TBits_1; inline;
  21081. begin
  21082. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21083. end;
  21084. procedure TI2C2A_I2C2ASTAT.setIWCOL; inline;
  21085. begin
  21086. pTDefRegMap(@Self)^.&set := $00000080;
  21087. end;
  21088. procedure TI2C2A_I2C2ASTAT.clearIWCOL; inline;
  21089. begin
  21090. pTDefRegMap(@Self)^.clr := $00000080;
  21091. end;
  21092. procedure TI2C2A_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  21093. begin
  21094. if thebits = 0 then
  21095. pTDefRegMap(@Self)^.clr := $00000080
  21096. else
  21097. pTDefRegMap(@Self)^.&set := $00000080;
  21098. end;
  21099. function TI2C2A_I2C2ASTAT.getIWCOL : TBits_1; inline;
  21100. begin
  21101. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21102. end;
  21103. procedure TI2C2A_I2C2ASTAT.setADD10; inline;
  21104. begin
  21105. pTDefRegMap(@Self)^.&set := $00000100;
  21106. end;
  21107. procedure TI2C2A_I2C2ASTAT.clearADD10; inline;
  21108. begin
  21109. pTDefRegMap(@Self)^.clr := $00000100;
  21110. end;
  21111. procedure TI2C2A_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  21112. begin
  21113. if thebits = 0 then
  21114. pTDefRegMap(@Self)^.clr := $00000100
  21115. else
  21116. pTDefRegMap(@Self)^.&set := $00000100;
  21117. end;
  21118. function TI2C2A_I2C2ASTAT.getADD10 : TBits_1; inline;
  21119. begin
  21120. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21121. end;
  21122. procedure TI2C2A_I2C2ASTAT.setGCSTAT; inline;
  21123. begin
  21124. pTDefRegMap(@Self)^.&set := $00000200;
  21125. end;
  21126. procedure TI2C2A_I2C2ASTAT.clearGCSTAT; inline;
  21127. begin
  21128. pTDefRegMap(@Self)^.clr := $00000200;
  21129. end;
  21130. procedure TI2C2A_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  21131. begin
  21132. if thebits = 0 then
  21133. pTDefRegMap(@Self)^.clr := $00000200
  21134. else
  21135. pTDefRegMap(@Self)^.&set := $00000200;
  21136. end;
  21137. function TI2C2A_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  21138. begin
  21139. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21140. end;
  21141. procedure TI2C2A_I2C2ASTAT.setBCL; inline;
  21142. begin
  21143. pTDefRegMap(@Self)^.&set := $00000400;
  21144. end;
  21145. procedure TI2C2A_I2C2ASTAT.clearBCL; inline;
  21146. begin
  21147. pTDefRegMap(@Self)^.clr := $00000400;
  21148. end;
  21149. procedure TI2C2A_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  21150. begin
  21151. if thebits = 0 then
  21152. pTDefRegMap(@Self)^.clr := $00000400
  21153. else
  21154. pTDefRegMap(@Self)^.&set := $00000400;
  21155. end;
  21156. function TI2C2A_I2C2ASTAT.getBCL : TBits_1; inline;
  21157. begin
  21158. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21159. end;
  21160. procedure TI2C2A_I2C2ASTAT.setTRSTAT; inline;
  21161. begin
  21162. pTDefRegMap(@Self)^.&set := $00004000;
  21163. end;
  21164. procedure TI2C2A_I2C2ASTAT.clearTRSTAT; inline;
  21165. begin
  21166. pTDefRegMap(@Self)^.clr := $00004000;
  21167. end;
  21168. procedure TI2C2A_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  21169. begin
  21170. if thebits = 0 then
  21171. pTDefRegMap(@Self)^.clr := $00004000
  21172. else
  21173. pTDefRegMap(@Self)^.&set := $00004000;
  21174. end;
  21175. function TI2C2A_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  21176. begin
  21177. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21178. end;
  21179. procedure TI2C2A_I2C2ASTAT.setACKSTAT; inline;
  21180. begin
  21181. pTDefRegMap(@Self)^.&set := $00008000;
  21182. end;
  21183. procedure TI2C2A_I2C2ASTAT.clearACKSTAT; inline;
  21184. begin
  21185. pTDefRegMap(@Self)^.clr := $00008000;
  21186. end;
  21187. procedure TI2C2A_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  21188. begin
  21189. if thebits = 0 then
  21190. pTDefRegMap(@Self)^.clr := $00008000
  21191. else
  21192. pTDefRegMap(@Self)^.&set := $00008000;
  21193. end;
  21194. function TI2C2A_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  21195. begin
  21196. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21197. end;
  21198. procedure TI2C2A_I2C2ASTAT.setI2CPOV; inline;
  21199. begin
  21200. pTDefRegMap(@Self)^.&set := $00000040;
  21201. end;
  21202. procedure TI2C2A_I2C2ASTAT.clearI2CPOV; inline;
  21203. begin
  21204. pTDefRegMap(@Self)^.clr := $00000040;
  21205. end;
  21206. procedure TI2C2A_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  21207. begin
  21208. if thebits = 0 then
  21209. pTDefRegMap(@Self)^.clr := $00000040
  21210. else
  21211. pTDefRegMap(@Self)^.&set := $00000040;
  21212. end;
  21213. function TI2C2A_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  21214. begin
  21215. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21216. end;
  21217. procedure TI2C2A_I2C2ASTAT.setw(thebits : TBits_32); inline;
  21218. begin
  21219. pTDefRegMap(@Self)^.val := thebits;
  21220. end;
  21221. function TI2C2A_I2C2ASTAT.getw : TBits_32; inline;
  21222. begin
  21223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21224. end;
  21225. procedure TI2C2A_I2C4STAT.setTBF; inline;
  21226. begin
  21227. pTDefRegMap(@Self)^.&set := $00000001;
  21228. end;
  21229. procedure TI2C2A_I2C4STAT.clearTBF; inline;
  21230. begin
  21231. pTDefRegMap(@Self)^.clr := $00000001;
  21232. end;
  21233. procedure TI2C2A_I2C4STAT.setTBF(thebits : TBits_1); inline;
  21234. begin
  21235. if thebits = 0 then
  21236. pTDefRegMap(@Self)^.clr := $00000001
  21237. else
  21238. pTDefRegMap(@Self)^.&set := $00000001;
  21239. end;
  21240. function TI2C2A_I2C4STAT.getTBF : TBits_1; inline;
  21241. begin
  21242. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21243. end;
  21244. procedure TI2C2A_I2C4STAT.setRBF; inline;
  21245. begin
  21246. pTDefRegMap(@Self)^.&set := $00000002;
  21247. end;
  21248. procedure TI2C2A_I2C4STAT.clearRBF; inline;
  21249. begin
  21250. pTDefRegMap(@Self)^.clr := $00000002;
  21251. end;
  21252. procedure TI2C2A_I2C4STAT.setRBF(thebits : TBits_1); inline;
  21253. begin
  21254. if thebits = 0 then
  21255. pTDefRegMap(@Self)^.clr := $00000002
  21256. else
  21257. pTDefRegMap(@Self)^.&set := $00000002;
  21258. end;
  21259. function TI2C2A_I2C4STAT.getRBF : TBits_1; inline;
  21260. begin
  21261. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21262. end;
  21263. procedure TI2C2A_I2C4STAT.setR_W; inline;
  21264. begin
  21265. pTDefRegMap(@Self)^.&set := $00000004;
  21266. end;
  21267. procedure TI2C2A_I2C4STAT.clearR_W; inline;
  21268. begin
  21269. pTDefRegMap(@Self)^.clr := $00000004;
  21270. end;
  21271. procedure TI2C2A_I2C4STAT.setR_W(thebits : TBits_1); inline;
  21272. begin
  21273. if thebits = 0 then
  21274. pTDefRegMap(@Self)^.clr := $00000004
  21275. else
  21276. pTDefRegMap(@Self)^.&set := $00000004;
  21277. end;
  21278. function TI2C2A_I2C4STAT.getR_W : TBits_1; inline;
  21279. begin
  21280. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21281. end;
  21282. procedure TI2C2A_I2C4STAT.setS; inline;
  21283. begin
  21284. pTDefRegMap(@Self)^.&set := $00000008;
  21285. end;
  21286. procedure TI2C2A_I2C4STAT.clearS; inline;
  21287. begin
  21288. pTDefRegMap(@Self)^.clr := $00000008;
  21289. end;
  21290. procedure TI2C2A_I2C4STAT.setS(thebits : TBits_1); inline;
  21291. begin
  21292. if thebits = 0 then
  21293. pTDefRegMap(@Self)^.clr := $00000008
  21294. else
  21295. pTDefRegMap(@Self)^.&set := $00000008;
  21296. end;
  21297. function TI2C2A_I2C4STAT.getS : TBits_1; inline;
  21298. begin
  21299. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21300. end;
  21301. procedure TI2C2A_I2C4STAT.setP; inline;
  21302. begin
  21303. pTDefRegMap(@Self)^.&set := $00000010;
  21304. end;
  21305. procedure TI2C2A_I2C4STAT.clearP; inline;
  21306. begin
  21307. pTDefRegMap(@Self)^.clr := $00000010;
  21308. end;
  21309. procedure TI2C2A_I2C4STAT.setP(thebits : TBits_1); inline;
  21310. begin
  21311. if thebits = 0 then
  21312. pTDefRegMap(@Self)^.clr := $00000010
  21313. else
  21314. pTDefRegMap(@Self)^.&set := $00000010;
  21315. end;
  21316. function TI2C2A_I2C4STAT.getP : TBits_1; inline;
  21317. begin
  21318. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21319. end;
  21320. procedure TI2C2A_I2C4STAT.setD_A; inline;
  21321. begin
  21322. pTDefRegMap(@Self)^.&set := $00000020;
  21323. end;
  21324. procedure TI2C2A_I2C4STAT.clearD_A; inline;
  21325. begin
  21326. pTDefRegMap(@Self)^.clr := $00000020;
  21327. end;
  21328. procedure TI2C2A_I2C4STAT.setD_A(thebits : TBits_1); inline;
  21329. begin
  21330. if thebits = 0 then
  21331. pTDefRegMap(@Self)^.clr := $00000020
  21332. else
  21333. pTDefRegMap(@Self)^.&set := $00000020;
  21334. end;
  21335. function TI2C2A_I2C4STAT.getD_A : TBits_1; inline;
  21336. begin
  21337. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21338. end;
  21339. procedure TI2C2A_I2C4STAT.setI2COV; inline;
  21340. begin
  21341. pTDefRegMap(@Self)^.&set := $00000040;
  21342. end;
  21343. procedure TI2C2A_I2C4STAT.clearI2COV; inline;
  21344. begin
  21345. pTDefRegMap(@Self)^.clr := $00000040;
  21346. end;
  21347. procedure TI2C2A_I2C4STAT.setI2COV(thebits : TBits_1); inline;
  21348. begin
  21349. if thebits = 0 then
  21350. pTDefRegMap(@Self)^.clr := $00000040
  21351. else
  21352. pTDefRegMap(@Self)^.&set := $00000040;
  21353. end;
  21354. function TI2C2A_I2C4STAT.getI2COV : TBits_1; inline;
  21355. begin
  21356. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21357. end;
  21358. procedure TI2C2A_I2C4STAT.setIWCOL; inline;
  21359. begin
  21360. pTDefRegMap(@Self)^.&set := $00000080;
  21361. end;
  21362. procedure TI2C2A_I2C4STAT.clearIWCOL; inline;
  21363. begin
  21364. pTDefRegMap(@Self)^.clr := $00000080;
  21365. end;
  21366. procedure TI2C2A_I2C4STAT.setIWCOL(thebits : TBits_1); inline;
  21367. begin
  21368. if thebits = 0 then
  21369. pTDefRegMap(@Self)^.clr := $00000080
  21370. else
  21371. pTDefRegMap(@Self)^.&set := $00000080;
  21372. end;
  21373. function TI2C2A_I2C4STAT.getIWCOL : TBits_1; inline;
  21374. begin
  21375. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21376. end;
  21377. procedure TI2C2A_I2C4STAT.setADD10; inline;
  21378. begin
  21379. pTDefRegMap(@Self)^.&set := $00000100;
  21380. end;
  21381. procedure TI2C2A_I2C4STAT.clearADD10; inline;
  21382. begin
  21383. pTDefRegMap(@Self)^.clr := $00000100;
  21384. end;
  21385. procedure TI2C2A_I2C4STAT.setADD10(thebits : TBits_1); inline;
  21386. begin
  21387. if thebits = 0 then
  21388. pTDefRegMap(@Self)^.clr := $00000100
  21389. else
  21390. pTDefRegMap(@Self)^.&set := $00000100;
  21391. end;
  21392. function TI2C2A_I2C4STAT.getADD10 : TBits_1; inline;
  21393. begin
  21394. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21395. end;
  21396. procedure TI2C2A_I2C4STAT.setGCSTAT; inline;
  21397. begin
  21398. pTDefRegMap(@Self)^.&set := $00000200;
  21399. end;
  21400. procedure TI2C2A_I2C4STAT.clearGCSTAT; inline;
  21401. begin
  21402. pTDefRegMap(@Self)^.clr := $00000200;
  21403. end;
  21404. procedure TI2C2A_I2C4STAT.setGCSTAT(thebits : TBits_1); inline;
  21405. begin
  21406. if thebits = 0 then
  21407. pTDefRegMap(@Self)^.clr := $00000200
  21408. else
  21409. pTDefRegMap(@Self)^.&set := $00000200;
  21410. end;
  21411. function TI2C2A_I2C4STAT.getGCSTAT : TBits_1; inline;
  21412. begin
  21413. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21414. end;
  21415. procedure TI2C2A_I2C4STAT.setBCL; inline;
  21416. begin
  21417. pTDefRegMap(@Self)^.&set := $00000400;
  21418. end;
  21419. procedure TI2C2A_I2C4STAT.clearBCL; inline;
  21420. begin
  21421. pTDefRegMap(@Self)^.clr := $00000400;
  21422. end;
  21423. procedure TI2C2A_I2C4STAT.setBCL(thebits : TBits_1); inline;
  21424. begin
  21425. if thebits = 0 then
  21426. pTDefRegMap(@Self)^.clr := $00000400
  21427. else
  21428. pTDefRegMap(@Self)^.&set := $00000400;
  21429. end;
  21430. function TI2C2A_I2C4STAT.getBCL : TBits_1; inline;
  21431. begin
  21432. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21433. end;
  21434. procedure TI2C2A_I2C4STAT.setTRSTAT; inline;
  21435. begin
  21436. pTDefRegMap(@Self)^.&set := $00004000;
  21437. end;
  21438. procedure TI2C2A_I2C4STAT.clearTRSTAT; inline;
  21439. begin
  21440. pTDefRegMap(@Self)^.clr := $00004000;
  21441. end;
  21442. procedure TI2C2A_I2C4STAT.setTRSTAT(thebits : TBits_1); inline;
  21443. begin
  21444. if thebits = 0 then
  21445. pTDefRegMap(@Self)^.clr := $00004000
  21446. else
  21447. pTDefRegMap(@Self)^.&set := $00004000;
  21448. end;
  21449. function TI2C2A_I2C4STAT.getTRSTAT : TBits_1; inline;
  21450. begin
  21451. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21452. end;
  21453. procedure TI2C2A_I2C4STAT.setACKSTAT; inline;
  21454. begin
  21455. pTDefRegMap(@Self)^.&set := $00008000;
  21456. end;
  21457. procedure TI2C2A_I2C4STAT.clearACKSTAT; inline;
  21458. begin
  21459. pTDefRegMap(@Self)^.clr := $00008000;
  21460. end;
  21461. procedure TI2C2A_I2C4STAT.setACKSTAT(thebits : TBits_1); inline;
  21462. begin
  21463. if thebits = 0 then
  21464. pTDefRegMap(@Self)^.clr := $00008000
  21465. else
  21466. pTDefRegMap(@Self)^.&set := $00008000;
  21467. end;
  21468. function TI2C2A_I2C4STAT.getACKSTAT : TBits_1; inline;
  21469. begin
  21470. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21471. end;
  21472. procedure TI2C2A_I2C4STAT.setI2CPOV; inline;
  21473. begin
  21474. pTDefRegMap(@Self)^.&set := $00000040;
  21475. end;
  21476. procedure TI2C2A_I2C4STAT.clearI2CPOV; inline;
  21477. begin
  21478. pTDefRegMap(@Self)^.clr := $00000040;
  21479. end;
  21480. procedure TI2C2A_I2C4STAT.setI2CPOV(thebits : TBits_1); inline;
  21481. begin
  21482. if thebits = 0 then
  21483. pTDefRegMap(@Self)^.clr := $00000040
  21484. else
  21485. pTDefRegMap(@Self)^.&set := $00000040;
  21486. end;
  21487. function TI2C2A_I2C4STAT.getI2CPOV : TBits_1; inline;
  21488. begin
  21489. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21490. end;
  21491. procedure TI2C2A_I2C4STAT.setw(thebits : TBits_32); inline;
  21492. begin
  21493. pTDefRegMap(@Self)^.val := thebits;
  21494. end;
  21495. function TI2C2A_I2C4STAT.getw : TBits_32; inline;
  21496. begin
  21497. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21498. end;
  21499. procedure TI2C5_I2C3ACON.setSEN; inline;
  21500. begin
  21501. pTDefRegMap(@Self)^.&set := $00000001;
  21502. end;
  21503. procedure TI2C5_I2C3ACON.clearSEN; inline;
  21504. begin
  21505. pTDefRegMap(@Self)^.clr := $00000001;
  21506. end;
  21507. procedure TI2C5_I2C3ACON.setSEN(thebits : TBits_1); inline;
  21508. begin
  21509. if thebits = 0 then
  21510. pTDefRegMap(@Self)^.clr := $00000001
  21511. else
  21512. pTDefRegMap(@Self)^.&set := $00000001;
  21513. end;
  21514. function TI2C5_I2C3ACON.getSEN : TBits_1; inline;
  21515. begin
  21516. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21517. end;
  21518. procedure TI2C5_I2C3ACON.setRSEN; inline;
  21519. begin
  21520. pTDefRegMap(@Self)^.&set := $00000002;
  21521. end;
  21522. procedure TI2C5_I2C3ACON.clearRSEN; inline;
  21523. begin
  21524. pTDefRegMap(@Self)^.clr := $00000002;
  21525. end;
  21526. procedure TI2C5_I2C3ACON.setRSEN(thebits : TBits_1); inline;
  21527. begin
  21528. if thebits = 0 then
  21529. pTDefRegMap(@Self)^.clr := $00000002
  21530. else
  21531. pTDefRegMap(@Self)^.&set := $00000002;
  21532. end;
  21533. function TI2C5_I2C3ACON.getRSEN : TBits_1; inline;
  21534. begin
  21535. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21536. end;
  21537. procedure TI2C5_I2C3ACON.setPEN; inline;
  21538. begin
  21539. pTDefRegMap(@Self)^.&set := $00000004;
  21540. end;
  21541. procedure TI2C5_I2C3ACON.clearPEN; inline;
  21542. begin
  21543. pTDefRegMap(@Self)^.clr := $00000004;
  21544. end;
  21545. procedure TI2C5_I2C3ACON.setPEN(thebits : TBits_1); inline;
  21546. begin
  21547. if thebits = 0 then
  21548. pTDefRegMap(@Self)^.clr := $00000004
  21549. else
  21550. pTDefRegMap(@Self)^.&set := $00000004;
  21551. end;
  21552. function TI2C5_I2C3ACON.getPEN : TBits_1; inline;
  21553. begin
  21554. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21555. end;
  21556. procedure TI2C5_I2C3ACON.setRCEN; inline;
  21557. begin
  21558. pTDefRegMap(@Self)^.&set := $00000008;
  21559. end;
  21560. procedure TI2C5_I2C3ACON.clearRCEN; inline;
  21561. begin
  21562. pTDefRegMap(@Self)^.clr := $00000008;
  21563. end;
  21564. procedure TI2C5_I2C3ACON.setRCEN(thebits : TBits_1); inline;
  21565. begin
  21566. if thebits = 0 then
  21567. pTDefRegMap(@Self)^.clr := $00000008
  21568. else
  21569. pTDefRegMap(@Self)^.&set := $00000008;
  21570. end;
  21571. function TI2C5_I2C3ACON.getRCEN : TBits_1; inline;
  21572. begin
  21573. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21574. end;
  21575. procedure TI2C5_I2C3ACON.setACKEN; inline;
  21576. begin
  21577. pTDefRegMap(@Self)^.&set := $00000010;
  21578. end;
  21579. procedure TI2C5_I2C3ACON.clearACKEN; inline;
  21580. begin
  21581. pTDefRegMap(@Self)^.clr := $00000010;
  21582. end;
  21583. procedure TI2C5_I2C3ACON.setACKEN(thebits : TBits_1); inline;
  21584. begin
  21585. if thebits = 0 then
  21586. pTDefRegMap(@Self)^.clr := $00000010
  21587. else
  21588. pTDefRegMap(@Self)^.&set := $00000010;
  21589. end;
  21590. function TI2C5_I2C3ACON.getACKEN : TBits_1; inline;
  21591. begin
  21592. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21593. end;
  21594. procedure TI2C5_I2C3ACON.setACKDT; inline;
  21595. begin
  21596. pTDefRegMap(@Self)^.&set := $00000020;
  21597. end;
  21598. procedure TI2C5_I2C3ACON.clearACKDT; inline;
  21599. begin
  21600. pTDefRegMap(@Self)^.clr := $00000020;
  21601. end;
  21602. procedure TI2C5_I2C3ACON.setACKDT(thebits : TBits_1); inline;
  21603. begin
  21604. if thebits = 0 then
  21605. pTDefRegMap(@Self)^.clr := $00000020
  21606. else
  21607. pTDefRegMap(@Self)^.&set := $00000020;
  21608. end;
  21609. function TI2C5_I2C3ACON.getACKDT : TBits_1; inline;
  21610. begin
  21611. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21612. end;
  21613. procedure TI2C5_I2C3ACON.setSTREN; inline;
  21614. begin
  21615. pTDefRegMap(@Self)^.&set := $00000040;
  21616. end;
  21617. procedure TI2C5_I2C3ACON.clearSTREN; inline;
  21618. begin
  21619. pTDefRegMap(@Self)^.clr := $00000040;
  21620. end;
  21621. procedure TI2C5_I2C3ACON.setSTREN(thebits : TBits_1); inline;
  21622. begin
  21623. if thebits = 0 then
  21624. pTDefRegMap(@Self)^.clr := $00000040
  21625. else
  21626. pTDefRegMap(@Self)^.&set := $00000040;
  21627. end;
  21628. function TI2C5_I2C3ACON.getSTREN : TBits_1; inline;
  21629. begin
  21630. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21631. end;
  21632. procedure TI2C5_I2C3ACON.setGCEN; inline;
  21633. begin
  21634. pTDefRegMap(@Self)^.&set := $00000080;
  21635. end;
  21636. procedure TI2C5_I2C3ACON.clearGCEN; inline;
  21637. begin
  21638. pTDefRegMap(@Self)^.clr := $00000080;
  21639. end;
  21640. procedure TI2C5_I2C3ACON.setGCEN(thebits : TBits_1); inline;
  21641. begin
  21642. if thebits = 0 then
  21643. pTDefRegMap(@Self)^.clr := $00000080
  21644. else
  21645. pTDefRegMap(@Self)^.&set := $00000080;
  21646. end;
  21647. function TI2C5_I2C3ACON.getGCEN : TBits_1; inline;
  21648. begin
  21649. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21650. end;
  21651. procedure TI2C5_I2C3ACON.setSMEN; inline;
  21652. begin
  21653. pTDefRegMap(@Self)^.&set := $00000100;
  21654. end;
  21655. procedure TI2C5_I2C3ACON.clearSMEN; inline;
  21656. begin
  21657. pTDefRegMap(@Self)^.clr := $00000100;
  21658. end;
  21659. procedure TI2C5_I2C3ACON.setSMEN(thebits : TBits_1); inline;
  21660. begin
  21661. if thebits = 0 then
  21662. pTDefRegMap(@Self)^.clr := $00000100
  21663. else
  21664. pTDefRegMap(@Self)^.&set := $00000100;
  21665. end;
  21666. function TI2C5_I2C3ACON.getSMEN : TBits_1; inline;
  21667. begin
  21668. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21669. end;
  21670. procedure TI2C5_I2C3ACON.setDISSLW; inline;
  21671. begin
  21672. pTDefRegMap(@Self)^.&set := $00000200;
  21673. end;
  21674. procedure TI2C5_I2C3ACON.clearDISSLW; inline;
  21675. begin
  21676. pTDefRegMap(@Self)^.clr := $00000200;
  21677. end;
  21678. procedure TI2C5_I2C3ACON.setDISSLW(thebits : TBits_1); inline;
  21679. begin
  21680. if thebits = 0 then
  21681. pTDefRegMap(@Self)^.clr := $00000200
  21682. else
  21683. pTDefRegMap(@Self)^.&set := $00000200;
  21684. end;
  21685. function TI2C5_I2C3ACON.getDISSLW : TBits_1; inline;
  21686. begin
  21687. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21688. end;
  21689. procedure TI2C5_I2C3ACON.setA10M; inline;
  21690. begin
  21691. pTDefRegMap(@Self)^.&set := $00000400;
  21692. end;
  21693. procedure TI2C5_I2C3ACON.clearA10M; inline;
  21694. begin
  21695. pTDefRegMap(@Self)^.clr := $00000400;
  21696. end;
  21697. procedure TI2C5_I2C3ACON.setA10M(thebits : TBits_1); inline;
  21698. begin
  21699. if thebits = 0 then
  21700. pTDefRegMap(@Self)^.clr := $00000400
  21701. else
  21702. pTDefRegMap(@Self)^.&set := $00000400;
  21703. end;
  21704. function TI2C5_I2C3ACON.getA10M : TBits_1; inline;
  21705. begin
  21706. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21707. end;
  21708. procedure TI2C5_I2C3ACON.setSTRICT; inline;
  21709. begin
  21710. pTDefRegMap(@Self)^.&set := $00000800;
  21711. end;
  21712. procedure TI2C5_I2C3ACON.clearSTRICT; inline;
  21713. begin
  21714. pTDefRegMap(@Self)^.clr := $00000800;
  21715. end;
  21716. procedure TI2C5_I2C3ACON.setSTRICT(thebits : TBits_1); inline;
  21717. begin
  21718. if thebits = 0 then
  21719. pTDefRegMap(@Self)^.clr := $00000800
  21720. else
  21721. pTDefRegMap(@Self)^.&set := $00000800;
  21722. end;
  21723. function TI2C5_I2C3ACON.getSTRICT : TBits_1; inline;
  21724. begin
  21725. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21726. end;
  21727. procedure TI2C5_I2C3ACON.setSCLREL; inline;
  21728. begin
  21729. pTDefRegMap(@Self)^.&set := $00001000;
  21730. end;
  21731. procedure TI2C5_I2C3ACON.clearSCLREL; inline;
  21732. begin
  21733. pTDefRegMap(@Self)^.clr := $00001000;
  21734. end;
  21735. procedure TI2C5_I2C3ACON.setSCLREL(thebits : TBits_1); inline;
  21736. begin
  21737. if thebits = 0 then
  21738. pTDefRegMap(@Self)^.clr := $00001000
  21739. else
  21740. pTDefRegMap(@Self)^.&set := $00001000;
  21741. end;
  21742. function TI2C5_I2C3ACON.getSCLREL : TBits_1; inline;
  21743. begin
  21744. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21745. end;
  21746. procedure TI2C5_I2C3ACON.setSIDL; inline;
  21747. begin
  21748. pTDefRegMap(@Self)^.&set := $00002000;
  21749. end;
  21750. procedure TI2C5_I2C3ACON.clearSIDL; inline;
  21751. begin
  21752. pTDefRegMap(@Self)^.clr := $00002000;
  21753. end;
  21754. procedure TI2C5_I2C3ACON.setSIDL(thebits : TBits_1); inline;
  21755. begin
  21756. if thebits = 0 then
  21757. pTDefRegMap(@Self)^.clr := $00002000
  21758. else
  21759. pTDefRegMap(@Self)^.&set := $00002000;
  21760. end;
  21761. function TI2C5_I2C3ACON.getSIDL : TBits_1; inline;
  21762. begin
  21763. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21764. end;
  21765. procedure TI2C5_I2C3ACON.setON; inline;
  21766. begin
  21767. pTDefRegMap(@Self)^.&set := $00008000;
  21768. end;
  21769. procedure TI2C5_I2C3ACON.clearON; inline;
  21770. begin
  21771. pTDefRegMap(@Self)^.clr := $00008000;
  21772. end;
  21773. procedure TI2C5_I2C3ACON.setON(thebits : TBits_1); inline;
  21774. begin
  21775. if thebits = 0 then
  21776. pTDefRegMap(@Self)^.clr := $00008000
  21777. else
  21778. pTDefRegMap(@Self)^.&set := $00008000;
  21779. end;
  21780. function TI2C5_I2C3ACON.getON : TBits_1; inline;
  21781. begin
  21782. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21783. end;
  21784. procedure TI2C5_I2C3ACON.setIPMIEN; inline;
  21785. begin
  21786. pTDefRegMap(@Self)^.&set := $00000800;
  21787. end;
  21788. procedure TI2C5_I2C3ACON.clearIPMIEN; inline;
  21789. begin
  21790. pTDefRegMap(@Self)^.clr := $00000800;
  21791. end;
  21792. procedure TI2C5_I2C3ACON.setIPMIEN(thebits : TBits_1); inline;
  21793. begin
  21794. if thebits = 0 then
  21795. pTDefRegMap(@Self)^.clr := $00000800
  21796. else
  21797. pTDefRegMap(@Self)^.&set := $00000800;
  21798. end;
  21799. function TI2C5_I2C3ACON.getIPMIEN : TBits_1; inline;
  21800. begin
  21801. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21802. end;
  21803. procedure TI2C5_I2C3ACON.setI2CSIDL; inline;
  21804. begin
  21805. pTDefRegMap(@Self)^.&set := $00002000;
  21806. end;
  21807. procedure TI2C5_I2C3ACON.clearI2CSIDL; inline;
  21808. begin
  21809. pTDefRegMap(@Self)^.clr := $00002000;
  21810. end;
  21811. procedure TI2C5_I2C3ACON.setI2CSIDL(thebits : TBits_1); inline;
  21812. begin
  21813. if thebits = 0 then
  21814. pTDefRegMap(@Self)^.clr := $00002000
  21815. else
  21816. pTDefRegMap(@Self)^.&set := $00002000;
  21817. end;
  21818. function TI2C5_I2C3ACON.getI2CSIDL : TBits_1; inline;
  21819. begin
  21820. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21821. end;
  21822. procedure TI2C5_I2C3ACON.setI2CEN; inline;
  21823. begin
  21824. pTDefRegMap(@Self)^.&set := $00008000;
  21825. end;
  21826. procedure TI2C5_I2C3ACON.clearI2CEN; inline;
  21827. begin
  21828. pTDefRegMap(@Self)^.clr := $00008000;
  21829. end;
  21830. procedure TI2C5_I2C3ACON.setI2CEN(thebits : TBits_1); inline;
  21831. begin
  21832. if thebits = 0 then
  21833. pTDefRegMap(@Self)^.clr := $00008000
  21834. else
  21835. pTDefRegMap(@Self)^.&set := $00008000;
  21836. end;
  21837. function TI2C5_I2C3ACON.getI2CEN : TBits_1; inline;
  21838. begin
  21839. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21840. end;
  21841. procedure TI2C5_I2C3ACON.setw(thebits : TBits_32); inline;
  21842. begin
  21843. pTDefRegMap(@Self)^.val := thebits;
  21844. end;
  21845. function TI2C5_I2C3ACON.getw : TBits_32; inline;
  21846. begin
  21847. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21848. end;
  21849. procedure TI2C5_I2C5CON.setSEN; inline;
  21850. begin
  21851. pTDefRegMap(@Self)^.&set := $00000001;
  21852. end;
  21853. procedure TI2C5_I2C5CON.clearSEN; inline;
  21854. begin
  21855. pTDefRegMap(@Self)^.clr := $00000001;
  21856. end;
  21857. procedure TI2C5_I2C5CON.setSEN(thebits : TBits_1); inline;
  21858. begin
  21859. if thebits = 0 then
  21860. pTDefRegMap(@Self)^.clr := $00000001
  21861. else
  21862. pTDefRegMap(@Self)^.&set := $00000001;
  21863. end;
  21864. function TI2C5_I2C5CON.getSEN : TBits_1; inline;
  21865. begin
  21866. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21867. end;
  21868. procedure TI2C5_I2C5CON.setRSEN; inline;
  21869. begin
  21870. pTDefRegMap(@Self)^.&set := $00000002;
  21871. end;
  21872. procedure TI2C5_I2C5CON.clearRSEN; inline;
  21873. begin
  21874. pTDefRegMap(@Self)^.clr := $00000002;
  21875. end;
  21876. procedure TI2C5_I2C5CON.setRSEN(thebits : TBits_1); inline;
  21877. begin
  21878. if thebits = 0 then
  21879. pTDefRegMap(@Self)^.clr := $00000002
  21880. else
  21881. pTDefRegMap(@Self)^.&set := $00000002;
  21882. end;
  21883. function TI2C5_I2C5CON.getRSEN : TBits_1; inline;
  21884. begin
  21885. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21886. end;
  21887. procedure TI2C5_I2C5CON.setPEN; inline;
  21888. begin
  21889. pTDefRegMap(@Self)^.&set := $00000004;
  21890. end;
  21891. procedure TI2C5_I2C5CON.clearPEN; inline;
  21892. begin
  21893. pTDefRegMap(@Self)^.clr := $00000004;
  21894. end;
  21895. procedure TI2C5_I2C5CON.setPEN(thebits : TBits_1); inline;
  21896. begin
  21897. if thebits = 0 then
  21898. pTDefRegMap(@Self)^.clr := $00000004
  21899. else
  21900. pTDefRegMap(@Self)^.&set := $00000004;
  21901. end;
  21902. function TI2C5_I2C5CON.getPEN : TBits_1; inline;
  21903. begin
  21904. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21905. end;
  21906. procedure TI2C5_I2C5CON.setRCEN; inline;
  21907. begin
  21908. pTDefRegMap(@Self)^.&set := $00000008;
  21909. end;
  21910. procedure TI2C5_I2C5CON.clearRCEN; inline;
  21911. begin
  21912. pTDefRegMap(@Self)^.clr := $00000008;
  21913. end;
  21914. procedure TI2C5_I2C5CON.setRCEN(thebits : TBits_1); inline;
  21915. begin
  21916. if thebits = 0 then
  21917. pTDefRegMap(@Self)^.clr := $00000008
  21918. else
  21919. pTDefRegMap(@Self)^.&set := $00000008;
  21920. end;
  21921. function TI2C5_I2C5CON.getRCEN : TBits_1; inline;
  21922. begin
  21923. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21924. end;
  21925. procedure TI2C5_I2C5CON.setACKEN; inline;
  21926. begin
  21927. pTDefRegMap(@Self)^.&set := $00000010;
  21928. end;
  21929. procedure TI2C5_I2C5CON.clearACKEN; inline;
  21930. begin
  21931. pTDefRegMap(@Self)^.clr := $00000010;
  21932. end;
  21933. procedure TI2C5_I2C5CON.setACKEN(thebits : TBits_1); inline;
  21934. begin
  21935. if thebits = 0 then
  21936. pTDefRegMap(@Self)^.clr := $00000010
  21937. else
  21938. pTDefRegMap(@Self)^.&set := $00000010;
  21939. end;
  21940. function TI2C5_I2C5CON.getACKEN : TBits_1; inline;
  21941. begin
  21942. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21943. end;
  21944. procedure TI2C5_I2C5CON.setACKDT; inline;
  21945. begin
  21946. pTDefRegMap(@Self)^.&set := $00000020;
  21947. end;
  21948. procedure TI2C5_I2C5CON.clearACKDT; inline;
  21949. begin
  21950. pTDefRegMap(@Self)^.clr := $00000020;
  21951. end;
  21952. procedure TI2C5_I2C5CON.setACKDT(thebits : TBits_1); inline;
  21953. begin
  21954. if thebits = 0 then
  21955. pTDefRegMap(@Self)^.clr := $00000020
  21956. else
  21957. pTDefRegMap(@Self)^.&set := $00000020;
  21958. end;
  21959. function TI2C5_I2C5CON.getACKDT : TBits_1; inline;
  21960. begin
  21961. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21962. end;
  21963. procedure TI2C5_I2C5CON.setSTREN; inline;
  21964. begin
  21965. pTDefRegMap(@Self)^.&set := $00000040;
  21966. end;
  21967. procedure TI2C5_I2C5CON.clearSTREN; inline;
  21968. begin
  21969. pTDefRegMap(@Self)^.clr := $00000040;
  21970. end;
  21971. procedure TI2C5_I2C5CON.setSTREN(thebits : TBits_1); inline;
  21972. begin
  21973. if thebits = 0 then
  21974. pTDefRegMap(@Self)^.clr := $00000040
  21975. else
  21976. pTDefRegMap(@Self)^.&set := $00000040;
  21977. end;
  21978. function TI2C5_I2C5CON.getSTREN : TBits_1; inline;
  21979. begin
  21980. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21981. end;
  21982. procedure TI2C5_I2C5CON.setGCEN; inline;
  21983. begin
  21984. pTDefRegMap(@Self)^.&set := $00000080;
  21985. end;
  21986. procedure TI2C5_I2C5CON.clearGCEN; inline;
  21987. begin
  21988. pTDefRegMap(@Self)^.clr := $00000080;
  21989. end;
  21990. procedure TI2C5_I2C5CON.setGCEN(thebits : TBits_1); inline;
  21991. begin
  21992. if thebits = 0 then
  21993. pTDefRegMap(@Self)^.clr := $00000080
  21994. else
  21995. pTDefRegMap(@Self)^.&set := $00000080;
  21996. end;
  21997. function TI2C5_I2C5CON.getGCEN : TBits_1; inline;
  21998. begin
  21999. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22000. end;
  22001. procedure TI2C5_I2C5CON.setSMEN; inline;
  22002. begin
  22003. pTDefRegMap(@Self)^.&set := $00000100;
  22004. end;
  22005. procedure TI2C5_I2C5CON.clearSMEN; inline;
  22006. begin
  22007. pTDefRegMap(@Self)^.clr := $00000100;
  22008. end;
  22009. procedure TI2C5_I2C5CON.setSMEN(thebits : TBits_1); inline;
  22010. begin
  22011. if thebits = 0 then
  22012. pTDefRegMap(@Self)^.clr := $00000100
  22013. else
  22014. pTDefRegMap(@Self)^.&set := $00000100;
  22015. end;
  22016. function TI2C5_I2C5CON.getSMEN : TBits_1; inline;
  22017. begin
  22018. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22019. end;
  22020. procedure TI2C5_I2C5CON.setDISSLW; inline;
  22021. begin
  22022. pTDefRegMap(@Self)^.&set := $00000200;
  22023. end;
  22024. procedure TI2C5_I2C5CON.clearDISSLW; inline;
  22025. begin
  22026. pTDefRegMap(@Self)^.clr := $00000200;
  22027. end;
  22028. procedure TI2C5_I2C5CON.setDISSLW(thebits : TBits_1); inline;
  22029. begin
  22030. if thebits = 0 then
  22031. pTDefRegMap(@Self)^.clr := $00000200
  22032. else
  22033. pTDefRegMap(@Self)^.&set := $00000200;
  22034. end;
  22035. function TI2C5_I2C5CON.getDISSLW : TBits_1; inline;
  22036. begin
  22037. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22038. end;
  22039. procedure TI2C5_I2C5CON.setA10M; inline;
  22040. begin
  22041. pTDefRegMap(@Self)^.&set := $00000400;
  22042. end;
  22043. procedure TI2C5_I2C5CON.clearA10M; inline;
  22044. begin
  22045. pTDefRegMap(@Self)^.clr := $00000400;
  22046. end;
  22047. procedure TI2C5_I2C5CON.setA10M(thebits : TBits_1); inline;
  22048. begin
  22049. if thebits = 0 then
  22050. pTDefRegMap(@Self)^.clr := $00000400
  22051. else
  22052. pTDefRegMap(@Self)^.&set := $00000400;
  22053. end;
  22054. function TI2C5_I2C5CON.getA10M : TBits_1; inline;
  22055. begin
  22056. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22057. end;
  22058. procedure TI2C5_I2C5CON.setSTRICT; inline;
  22059. begin
  22060. pTDefRegMap(@Self)^.&set := $00000800;
  22061. end;
  22062. procedure TI2C5_I2C5CON.clearSTRICT; inline;
  22063. begin
  22064. pTDefRegMap(@Self)^.clr := $00000800;
  22065. end;
  22066. procedure TI2C5_I2C5CON.setSTRICT(thebits : TBits_1); inline;
  22067. begin
  22068. if thebits = 0 then
  22069. pTDefRegMap(@Self)^.clr := $00000800
  22070. else
  22071. pTDefRegMap(@Self)^.&set := $00000800;
  22072. end;
  22073. function TI2C5_I2C5CON.getSTRICT : TBits_1; inline;
  22074. begin
  22075. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22076. end;
  22077. procedure TI2C5_I2C5CON.setSCLREL; inline;
  22078. begin
  22079. pTDefRegMap(@Self)^.&set := $00001000;
  22080. end;
  22081. procedure TI2C5_I2C5CON.clearSCLREL; inline;
  22082. begin
  22083. pTDefRegMap(@Self)^.clr := $00001000;
  22084. end;
  22085. procedure TI2C5_I2C5CON.setSCLREL(thebits : TBits_1); inline;
  22086. begin
  22087. if thebits = 0 then
  22088. pTDefRegMap(@Self)^.clr := $00001000
  22089. else
  22090. pTDefRegMap(@Self)^.&set := $00001000;
  22091. end;
  22092. function TI2C5_I2C5CON.getSCLREL : TBits_1; inline;
  22093. begin
  22094. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22095. end;
  22096. procedure TI2C5_I2C5CON.setSIDL; inline;
  22097. begin
  22098. pTDefRegMap(@Self)^.&set := $00002000;
  22099. end;
  22100. procedure TI2C5_I2C5CON.clearSIDL; inline;
  22101. begin
  22102. pTDefRegMap(@Self)^.clr := $00002000;
  22103. end;
  22104. procedure TI2C5_I2C5CON.setSIDL(thebits : TBits_1); inline;
  22105. begin
  22106. if thebits = 0 then
  22107. pTDefRegMap(@Self)^.clr := $00002000
  22108. else
  22109. pTDefRegMap(@Self)^.&set := $00002000;
  22110. end;
  22111. function TI2C5_I2C5CON.getSIDL : TBits_1; inline;
  22112. begin
  22113. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22114. end;
  22115. procedure TI2C5_I2C5CON.setON; inline;
  22116. begin
  22117. pTDefRegMap(@Self)^.&set := $00008000;
  22118. end;
  22119. procedure TI2C5_I2C5CON.clearON; inline;
  22120. begin
  22121. pTDefRegMap(@Self)^.clr := $00008000;
  22122. end;
  22123. procedure TI2C5_I2C5CON.setON(thebits : TBits_1); inline;
  22124. begin
  22125. if thebits = 0 then
  22126. pTDefRegMap(@Self)^.clr := $00008000
  22127. else
  22128. pTDefRegMap(@Self)^.&set := $00008000;
  22129. end;
  22130. function TI2C5_I2C5CON.getON : TBits_1; inline;
  22131. begin
  22132. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22133. end;
  22134. procedure TI2C5_I2C5CON.setIPMIEN; inline;
  22135. begin
  22136. pTDefRegMap(@Self)^.&set := $00000800;
  22137. end;
  22138. procedure TI2C5_I2C5CON.clearIPMIEN; inline;
  22139. begin
  22140. pTDefRegMap(@Self)^.clr := $00000800;
  22141. end;
  22142. procedure TI2C5_I2C5CON.setIPMIEN(thebits : TBits_1); inline;
  22143. begin
  22144. if thebits = 0 then
  22145. pTDefRegMap(@Self)^.clr := $00000800
  22146. else
  22147. pTDefRegMap(@Self)^.&set := $00000800;
  22148. end;
  22149. function TI2C5_I2C5CON.getIPMIEN : TBits_1; inline;
  22150. begin
  22151. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22152. end;
  22153. procedure TI2C5_I2C5CON.setI2CSIDL; inline;
  22154. begin
  22155. pTDefRegMap(@Self)^.&set := $00002000;
  22156. end;
  22157. procedure TI2C5_I2C5CON.clearI2CSIDL; inline;
  22158. begin
  22159. pTDefRegMap(@Self)^.clr := $00002000;
  22160. end;
  22161. procedure TI2C5_I2C5CON.setI2CSIDL(thebits : TBits_1); inline;
  22162. begin
  22163. if thebits = 0 then
  22164. pTDefRegMap(@Self)^.clr := $00002000
  22165. else
  22166. pTDefRegMap(@Self)^.&set := $00002000;
  22167. end;
  22168. function TI2C5_I2C5CON.getI2CSIDL : TBits_1; inline;
  22169. begin
  22170. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22171. end;
  22172. procedure TI2C5_I2C5CON.setI2CEN; inline;
  22173. begin
  22174. pTDefRegMap(@Self)^.&set := $00008000;
  22175. end;
  22176. procedure TI2C5_I2C5CON.clearI2CEN; inline;
  22177. begin
  22178. pTDefRegMap(@Self)^.clr := $00008000;
  22179. end;
  22180. procedure TI2C5_I2C5CON.setI2CEN(thebits : TBits_1); inline;
  22181. begin
  22182. if thebits = 0 then
  22183. pTDefRegMap(@Self)^.clr := $00008000
  22184. else
  22185. pTDefRegMap(@Self)^.&set := $00008000;
  22186. end;
  22187. function TI2C5_I2C5CON.getI2CEN : TBits_1; inline;
  22188. begin
  22189. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22190. end;
  22191. procedure TI2C5_I2C5CON.setw(thebits : TBits_32); inline;
  22192. begin
  22193. pTDefRegMap(@Self)^.val := thebits;
  22194. end;
  22195. function TI2C5_I2C5CON.getw : TBits_32; inline;
  22196. begin
  22197. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22198. end;
  22199. procedure TI2C5_I2C3ASTAT.setTBF; inline;
  22200. begin
  22201. pTDefRegMap(@Self)^.&set := $00000001;
  22202. end;
  22203. procedure TI2C5_I2C3ASTAT.clearTBF; inline;
  22204. begin
  22205. pTDefRegMap(@Self)^.clr := $00000001;
  22206. end;
  22207. procedure TI2C5_I2C3ASTAT.setTBF(thebits : TBits_1); inline;
  22208. begin
  22209. if thebits = 0 then
  22210. pTDefRegMap(@Self)^.clr := $00000001
  22211. else
  22212. pTDefRegMap(@Self)^.&set := $00000001;
  22213. end;
  22214. function TI2C5_I2C3ASTAT.getTBF : TBits_1; inline;
  22215. begin
  22216. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22217. end;
  22218. procedure TI2C5_I2C3ASTAT.setRBF; inline;
  22219. begin
  22220. pTDefRegMap(@Self)^.&set := $00000002;
  22221. end;
  22222. procedure TI2C5_I2C3ASTAT.clearRBF; inline;
  22223. begin
  22224. pTDefRegMap(@Self)^.clr := $00000002;
  22225. end;
  22226. procedure TI2C5_I2C3ASTAT.setRBF(thebits : TBits_1); inline;
  22227. begin
  22228. if thebits = 0 then
  22229. pTDefRegMap(@Self)^.clr := $00000002
  22230. else
  22231. pTDefRegMap(@Self)^.&set := $00000002;
  22232. end;
  22233. function TI2C5_I2C3ASTAT.getRBF : TBits_1; inline;
  22234. begin
  22235. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22236. end;
  22237. procedure TI2C5_I2C3ASTAT.setR_W; inline;
  22238. begin
  22239. pTDefRegMap(@Self)^.&set := $00000004;
  22240. end;
  22241. procedure TI2C5_I2C3ASTAT.clearR_W; inline;
  22242. begin
  22243. pTDefRegMap(@Self)^.clr := $00000004;
  22244. end;
  22245. procedure TI2C5_I2C3ASTAT.setR_W(thebits : TBits_1); inline;
  22246. begin
  22247. if thebits = 0 then
  22248. pTDefRegMap(@Self)^.clr := $00000004
  22249. else
  22250. pTDefRegMap(@Self)^.&set := $00000004;
  22251. end;
  22252. function TI2C5_I2C3ASTAT.getR_W : TBits_1; inline;
  22253. begin
  22254. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22255. end;
  22256. procedure TI2C5_I2C3ASTAT.setS; inline;
  22257. begin
  22258. pTDefRegMap(@Self)^.&set := $00000008;
  22259. end;
  22260. procedure TI2C5_I2C3ASTAT.clearS; inline;
  22261. begin
  22262. pTDefRegMap(@Self)^.clr := $00000008;
  22263. end;
  22264. procedure TI2C5_I2C3ASTAT.setS(thebits : TBits_1); inline;
  22265. begin
  22266. if thebits = 0 then
  22267. pTDefRegMap(@Self)^.clr := $00000008
  22268. else
  22269. pTDefRegMap(@Self)^.&set := $00000008;
  22270. end;
  22271. function TI2C5_I2C3ASTAT.getS : TBits_1; inline;
  22272. begin
  22273. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22274. end;
  22275. procedure TI2C5_I2C3ASTAT.setP; inline;
  22276. begin
  22277. pTDefRegMap(@Self)^.&set := $00000010;
  22278. end;
  22279. procedure TI2C5_I2C3ASTAT.clearP; inline;
  22280. begin
  22281. pTDefRegMap(@Self)^.clr := $00000010;
  22282. end;
  22283. procedure TI2C5_I2C3ASTAT.setP(thebits : TBits_1); inline;
  22284. begin
  22285. if thebits = 0 then
  22286. pTDefRegMap(@Self)^.clr := $00000010
  22287. else
  22288. pTDefRegMap(@Self)^.&set := $00000010;
  22289. end;
  22290. function TI2C5_I2C3ASTAT.getP : TBits_1; inline;
  22291. begin
  22292. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22293. end;
  22294. procedure TI2C5_I2C3ASTAT.setD_A; inline;
  22295. begin
  22296. pTDefRegMap(@Self)^.&set := $00000020;
  22297. end;
  22298. procedure TI2C5_I2C3ASTAT.clearD_A; inline;
  22299. begin
  22300. pTDefRegMap(@Self)^.clr := $00000020;
  22301. end;
  22302. procedure TI2C5_I2C3ASTAT.setD_A(thebits : TBits_1); inline;
  22303. begin
  22304. if thebits = 0 then
  22305. pTDefRegMap(@Self)^.clr := $00000020
  22306. else
  22307. pTDefRegMap(@Self)^.&set := $00000020;
  22308. end;
  22309. function TI2C5_I2C3ASTAT.getD_A : TBits_1; inline;
  22310. begin
  22311. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22312. end;
  22313. procedure TI2C5_I2C3ASTAT.setI2COV; inline;
  22314. begin
  22315. pTDefRegMap(@Self)^.&set := $00000040;
  22316. end;
  22317. procedure TI2C5_I2C3ASTAT.clearI2COV; inline;
  22318. begin
  22319. pTDefRegMap(@Self)^.clr := $00000040;
  22320. end;
  22321. procedure TI2C5_I2C3ASTAT.setI2COV(thebits : TBits_1); inline;
  22322. begin
  22323. if thebits = 0 then
  22324. pTDefRegMap(@Self)^.clr := $00000040
  22325. else
  22326. pTDefRegMap(@Self)^.&set := $00000040;
  22327. end;
  22328. function TI2C5_I2C3ASTAT.getI2COV : TBits_1; inline;
  22329. begin
  22330. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22331. end;
  22332. procedure TI2C5_I2C3ASTAT.setIWCOL; inline;
  22333. begin
  22334. pTDefRegMap(@Self)^.&set := $00000080;
  22335. end;
  22336. procedure TI2C5_I2C3ASTAT.clearIWCOL; inline;
  22337. begin
  22338. pTDefRegMap(@Self)^.clr := $00000080;
  22339. end;
  22340. procedure TI2C5_I2C3ASTAT.setIWCOL(thebits : TBits_1); inline;
  22341. begin
  22342. if thebits = 0 then
  22343. pTDefRegMap(@Self)^.clr := $00000080
  22344. else
  22345. pTDefRegMap(@Self)^.&set := $00000080;
  22346. end;
  22347. function TI2C5_I2C3ASTAT.getIWCOL : TBits_1; inline;
  22348. begin
  22349. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22350. end;
  22351. procedure TI2C5_I2C3ASTAT.setADD10; inline;
  22352. begin
  22353. pTDefRegMap(@Self)^.&set := $00000100;
  22354. end;
  22355. procedure TI2C5_I2C3ASTAT.clearADD10; inline;
  22356. begin
  22357. pTDefRegMap(@Self)^.clr := $00000100;
  22358. end;
  22359. procedure TI2C5_I2C3ASTAT.setADD10(thebits : TBits_1); inline;
  22360. begin
  22361. if thebits = 0 then
  22362. pTDefRegMap(@Self)^.clr := $00000100
  22363. else
  22364. pTDefRegMap(@Self)^.&set := $00000100;
  22365. end;
  22366. function TI2C5_I2C3ASTAT.getADD10 : TBits_1; inline;
  22367. begin
  22368. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22369. end;
  22370. procedure TI2C5_I2C3ASTAT.setGCSTAT; inline;
  22371. begin
  22372. pTDefRegMap(@Self)^.&set := $00000200;
  22373. end;
  22374. procedure TI2C5_I2C3ASTAT.clearGCSTAT; inline;
  22375. begin
  22376. pTDefRegMap(@Self)^.clr := $00000200;
  22377. end;
  22378. procedure TI2C5_I2C3ASTAT.setGCSTAT(thebits : TBits_1); inline;
  22379. begin
  22380. if thebits = 0 then
  22381. pTDefRegMap(@Self)^.clr := $00000200
  22382. else
  22383. pTDefRegMap(@Self)^.&set := $00000200;
  22384. end;
  22385. function TI2C5_I2C3ASTAT.getGCSTAT : TBits_1; inline;
  22386. begin
  22387. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22388. end;
  22389. procedure TI2C5_I2C3ASTAT.setBCL; inline;
  22390. begin
  22391. pTDefRegMap(@Self)^.&set := $00000400;
  22392. end;
  22393. procedure TI2C5_I2C3ASTAT.clearBCL; inline;
  22394. begin
  22395. pTDefRegMap(@Self)^.clr := $00000400;
  22396. end;
  22397. procedure TI2C5_I2C3ASTAT.setBCL(thebits : TBits_1); inline;
  22398. begin
  22399. if thebits = 0 then
  22400. pTDefRegMap(@Self)^.clr := $00000400
  22401. else
  22402. pTDefRegMap(@Self)^.&set := $00000400;
  22403. end;
  22404. function TI2C5_I2C3ASTAT.getBCL : TBits_1; inline;
  22405. begin
  22406. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22407. end;
  22408. procedure TI2C5_I2C3ASTAT.setTRSTAT; inline;
  22409. begin
  22410. pTDefRegMap(@Self)^.&set := $00004000;
  22411. end;
  22412. procedure TI2C5_I2C3ASTAT.clearTRSTAT; inline;
  22413. begin
  22414. pTDefRegMap(@Self)^.clr := $00004000;
  22415. end;
  22416. procedure TI2C5_I2C3ASTAT.setTRSTAT(thebits : TBits_1); inline;
  22417. begin
  22418. if thebits = 0 then
  22419. pTDefRegMap(@Self)^.clr := $00004000
  22420. else
  22421. pTDefRegMap(@Self)^.&set := $00004000;
  22422. end;
  22423. function TI2C5_I2C3ASTAT.getTRSTAT : TBits_1; inline;
  22424. begin
  22425. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22426. end;
  22427. procedure TI2C5_I2C3ASTAT.setACKSTAT; inline;
  22428. begin
  22429. pTDefRegMap(@Self)^.&set := $00008000;
  22430. end;
  22431. procedure TI2C5_I2C3ASTAT.clearACKSTAT; inline;
  22432. begin
  22433. pTDefRegMap(@Self)^.clr := $00008000;
  22434. end;
  22435. procedure TI2C5_I2C3ASTAT.setACKSTAT(thebits : TBits_1); inline;
  22436. begin
  22437. if thebits = 0 then
  22438. pTDefRegMap(@Self)^.clr := $00008000
  22439. else
  22440. pTDefRegMap(@Self)^.&set := $00008000;
  22441. end;
  22442. function TI2C5_I2C3ASTAT.getACKSTAT : TBits_1; inline;
  22443. begin
  22444. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22445. end;
  22446. procedure TI2C5_I2C3ASTAT.setI2CPOV; inline;
  22447. begin
  22448. pTDefRegMap(@Self)^.&set := $00000040;
  22449. end;
  22450. procedure TI2C5_I2C3ASTAT.clearI2CPOV; inline;
  22451. begin
  22452. pTDefRegMap(@Self)^.clr := $00000040;
  22453. end;
  22454. procedure TI2C5_I2C3ASTAT.setI2CPOV(thebits : TBits_1); inline;
  22455. begin
  22456. if thebits = 0 then
  22457. pTDefRegMap(@Self)^.clr := $00000040
  22458. else
  22459. pTDefRegMap(@Self)^.&set := $00000040;
  22460. end;
  22461. function TI2C5_I2C3ASTAT.getI2CPOV : TBits_1; inline;
  22462. begin
  22463. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22464. end;
  22465. procedure TI2C5_I2C3ASTAT.setw(thebits : TBits_32); inline;
  22466. begin
  22467. pTDefRegMap(@Self)^.val := thebits;
  22468. end;
  22469. function TI2C5_I2C3ASTAT.getw : TBits_32; inline;
  22470. begin
  22471. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22472. end;
  22473. procedure TI2C5_I2C5STAT.setTBF; inline;
  22474. begin
  22475. pTDefRegMap(@Self)^.&set := $00000001;
  22476. end;
  22477. procedure TI2C5_I2C5STAT.clearTBF; inline;
  22478. begin
  22479. pTDefRegMap(@Self)^.clr := $00000001;
  22480. end;
  22481. procedure TI2C5_I2C5STAT.setTBF(thebits : TBits_1); inline;
  22482. begin
  22483. if thebits = 0 then
  22484. pTDefRegMap(@Self)^.clr := $00000001
  22485. else
  22486. pTDefRegMap(@Self)^.&set := $00000001;
  22487. end;
  22488. function TI2C5_I2C5STAT.getTBF : TBits_1; inline;
  22489. begin
  22490. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22491. end;
  22492. procedure TI2C5_I2C5STAT.setRBF; inline;
  22493. begin
  22494. pTDefRegMap(@Self)^.&set := $00000002;
  22495. end;
  22496. procedure TI2C5_I2C5STAT.clearRBF; inline;
  22497. begin
  22498. pTDefRegMap(@Self)^.clr := $00000002;
  22499. end;
  22500. procedure TI2C5_I2C5STAT.setRBF(thebits : TBits_1); inline;
  22501. begin
  22502. if thebits = 0 then
  22503. pTDefRegMap(@Self)^.clr := $00000002
  22504. else
  22505. pTDefRegMap(@Self)^.&set := $00000002;
  22506. end;
  22507. function TI2C5_I2C5STAT.getRBF : TBits_1; inline;
  22508. begin
  22509. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22510. end;
  22511. procedure TI2C5_I2C5STAT.setR_W; inline;
  22512. begin
  22513. pTDefRegMap(@Self)^.&set := $00000004;
  22514. end;
  22515. procedure TI2C5_I2C5STAT.clearR_W; inline;
  22516. begin
  22517. pTDefRegMap(@Self)^.clr := $00000004;
  22518. end;
  22519. procedure TI2C5_I2C5STAT.setR_W(thebits : TBits_1); inline;
  22520. begin
  22521. if thebits = 0 then
  22522. pTDefRegMap(@Self)^.clr := $00000004
  22523. else
  22524. pTDefRegMap(@Self)^.&set := $00000004;
  22525. end;
  22526. function TI2C5_I2C5STAT.getR_W : TBits_1; inline;
  22527. begin
  22528. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22529. end;
  22530. procedure TI2C5_I2C5STAT.setS; inline;
  22531. begin
  22532. pTDefRegMap(@Self)^.&set := $00000008;
  22533. end;
  22534. procedure TI2C5_I2C5STAT.clearS; inline;
  22535. begin
  22536. pTDefRegMap(@Self)^.clr := $00000008;
  22537. end;
  22538. procedure TI2C5_I2C5STAT.setS(thebits : TBits_1); inline;
  22539. begin
  22540. if thebits = 0 then
  22541. pTDefRegMap(@Self)^.clr := $00000008
  22542. else
  22543. pTDefRegMap(@Self)^.&set := $00000008;
  22544. end;
  22545. function TI2C5_I2C5STAT.getS : TBits_1; inline;
  22546. begin
  22547. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22548. end;
  22549. procedure TI2C5_I2C5STAT.setP; inline;
  22550. begin
  22551. pTDefRegMap(@Self)^.&set := $00000010;
  22552. end;
  22553. procedure TI2C5_I2C5STAT.clearP; inline;
  22554. begin
  22555. pTDefRegMap(@Self)^.clr := $00000010;
  22556. end;
  22557. procedure TI2C5_I2C5STAT.setP(thebits : TBits_1); inline;
  22558. begin
  22559. if thebits = 0 then
  22560. pTDefRegMap(@Self)^.clr := $00000010
  22561. else
  22562. pTDefRegMap(@Self)^.&set := $00000010;
  22563. end;
  22564. function TI2C5_I2C5STAT.getP : TBits_1; inline;
  22565. begin
  22566. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22567. end;
  22568. procedure TI2C5_I2C5STAT.setD_A; inline;
  22569. begin
  22570. pTDefRegMap(@Self)^.&set := $00000020;
  22571. end;
  22572. procedure TI2C5_I2C5STAT.clearD_A; inline;
  22573. begin
  22574. pTDefRegMap(@Self)^.clr := $00000020;
  22575. end;
  22576. procedure TI2C5_I2C5STAT.setD_A(thebits : TBits_1); inline;
  22577. begin
  22578. if thebits = 0 then
  22579. pTDefRegMap(@Self)^.clr := $00000020
  22580. else
  22581. pTDefRegMap(@Self)^.&set := $00000020;
  22582. end;
  22583. function TI2C5_I2C5STAT.getD_A : TBits_1; inline;
  22584. begin
  22585. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22586. end;
  22587. procedure TI2C5_I2C5STAT.setI2COV; inline;
  22588. begin
  22589. pTDefRegMap(@Self)^.&set := $00000040;
  22590. end;
  22591. procedure TI2C5_I2C5STAT.clearI2COV; inline;
  22592. begin
  22593. pTDefRegMap(@Self)^.clr := $00000040;
  22594. end;
  22595. procedure TI2C5_I2C5STAT.setI2COV(thebits : TBits_1); inline;
  22596. begin
  22597. if thebits = 0 then
  22598. pTDefRegMap(@Self)^.clr := $00000040
  22599. else
  22600. pTDefRegMap(@Self)^.&set := $00000040;
  22601. end;
  22602. function TI2C5_I2C5STAT.getI2COV : TBits_1; inline;
  22603. begin
  22604. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22605. end;
  22606. procedure TI2C5_I2C5STAT.setIWCOL; inline;
  22607. begin
  22608. pTDefRegMap(@Self)^.&set := $00000080;
  22609. end;
  22610. procedure TI2C5_I2C5STAT.clearIWCOL; inline;
  22611. begin
  22612. pTDefRegMap(@Self)^.clr := $00000080;
  22613. end;
  22614. procedure TI2C5_I2C5STAT.setIWCOL(thebits : TBits_1); inline;
  22615. begin
  22616. if thebits = 0 then
  22617. pTDefRegMap(@Self)^.clr := $00000080
  22618. else
  22619. pTDefRegMap(@Self)^.&set := $00000080;
  22620. end;
  22621. function TI2C5_I2C5STAT.getIWCOL : TBits_1; inline;
  22622. begin
  22623. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22624. end;
  22625. procedure TI2C5_I2C5STAT.setADD10; inline;
  22626. begin
  22627. pTDefRegMap(@Self)^.&set := $00000100;
  22628. end;
  22629. procedure TI2C5_I2C5STAT.clearADD10; inline;
  22630. begin
  22631. pTDefRegMap(@Self)^.clr := $00000100;
  22632. end;
  22633. procedure TI2C5_I2C5STAT.setADD10(thebits : TBits_1); inline;
  22634. begin
  22635. if thebits = 0 then
  22636. pTDefRegMap(@Self)^.clr := $00000100
  22637. else
  22638. pTDefRegMap(@Self)^.&set := $00000100;
  22639. end;
  22640. function TI2C5_I2C5STAT.getADD10 : TBits_1; inline;
  22641. begin
  22642. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22643. end;
  22644. procedure TI2C5_I2C5STAT.setGCSTAT; inline;
  22645. begin
  22646. pTDefRegMap(@Self)^.&set := $00000200;
  22647. end;
  22648. procedure TI2C5_I2C5STAT.clearGCSTAT; inline;
  22649. begin
  22650. pTDefRegMap(@Self)^.clr := $00000200;
  22651. end;
  22652. procedure TI2C5_I2C5STAT.setGCSTAT(thebits : TBits_1); inline;
  22653. begin
  22654. if thebits = 0 then
  22655. pTDefRegMap(@Self)^.clr := $00000200
  22656. else
  22657. pTDefRegMap(@Self)^.&set := $00000200;
  22658. end;
  22659. function TI2C5_I2C5STAT.getGCSTAT : TBits_1; inline;
  22660. begin
  22661. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22662. end;
  22663. procedure TI2C5_I2C5STAT.setBCL; inline;
  22664. begin
  22665. pTDefRegMap(@Self)^.&set := $00000400;
  22666. end;
  22667. procedure TI2C5_I2C5STAT.clearBCL; inline;
  22668. begin
  22669. pTDefRegMap(@Self)^.clr := $00000400;
  22670. end;
  22671. procedure TI2C5_I2C5STAT.setBCL(thebits : TBits_1); inline;
  22672. begin
  22673. if thebits = 0 then
  22674. pTDefRegMap(@Self)^.clr := $00000400
  22675. else
  22676. pTDefRegMap(@Self)^.&set := $00000400;
  22677. end;
  22678. function TI2C5_I2C5STAT.getBCL : TBits_1; inline;
  22679. begin
  22680. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22681. end;
  22682. procedure TI2C5_I2C5STAT.setTRSTAT; inline;
  22683. begin
  22684. pTDefRegMap(@Self)^.&set := $00004000;
  22685. end;
  22686. procedure TI2C5_I2C5STAT.clearTRSTAT; inline;
  22687. begin
  22688. pTDefRegMap(@Self)^.clr := $00004000;
  22689. end;
  22690. procedure TI2C5_I2C5STAT.setTRSTAT(thebits : TBits_1); inline;
  22691. begin
  22692. if thebits = 0 then
  22693. pTDefRegMap(@Self)^.clr := $00004000
  22694. else
  22695. pTDefRegMap(@Self)^.&set := $00004000;
  22696. end;
  22697. function TI2C5_I2C5STAT.getTRSTAT : TBits_1; inline;
  22698. begin
  22699. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22700. end;
  22701. procedure TI2C5_I2C5STAT.setACKSTAT; inline;
  22702. begin
  22703. pTDefRegMap(@Self)^.&set := $00008000;
  22704. end;
  22705. procedure TI2C5_I2C5STAT.clearACKSTAT; inline;
  22706. begin
  22707. pTDefRegMap(@Self)^.clr := $00008000;
  22708. end;
  22709. procedure TI2C5_I2C5STAT.setACKSTAT(thebits : TBits_1); inline;
  22710. begin
  22711. if thebits = 0 then
  22712. pTDefRegMap(@Self)^.clr := $00008000
  22713. else
  22714. pTDefRegMap(@Self)^.&set := $00008000;
  22715. end;
  22716. function TI2C5_I2C5STAT.getACKSTAT : TBits_1; inline;
  22717. begin
  22718. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22719. end;
  22720. procedure TI2C5_I2C5STAT.setI2CPOV; inline;
  22721. begin
  22722. pTDefRegMap(@Self)^.&set := $00000040;
  22723. end;
  22724. procedure TI2C5_I2C5STAT.clearI2CPOV; inline;
  22725. begin
  22726. pTDefRegMap(@Self)^.clr := $00000040;
  22727. end;
  22728. procedure TI2C5_I2C5STAT.setI2CPOV(thebits : TBits_1); inline;
  22729. begin
  22730. if thebits = 0 then
  22731. pTDefRegMap(@Self)^.clr := $00000040
  22732. else
  22733. pTDefRegMap(@Self)^.&set := $00000040;
  22734. end;
  22735. function TI2C5_I2C5STAT.getI2CPOV : TBits_1; inline;
  22736. begin
  22737. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22738. end;
  22739. procedure TI2C5_I2C5STAT.setw(thebits : TBits_32); inline;
  22740. begin
  22741. pTDefRegMap(@Self)^.val := thebits;
  22742. end;
  22743. function TI2C5_I2C5STAT.getw : TBits_32; inline;
  22744. begin
  22745. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22746. end;
  22747. procedure TI2C1_I2C1CON.setSEN; inline;
  22748. begin
  22749. pTDefRegMap(@Self)^.&set := $00000001;
  22750. end;
  22751. procedure TI2C1_I2C1CON.clearSEN; inline;
  22752. begin
  22753. pTDefRegMap(@Self)^.clr := $00000001;
  22754. end;
  22755. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  22756. begin
  22757. if thebits = 0 then
  22758. pTDefRegMap(@Self)^.clr := $00000001
  22759. else
  22760. pTDefRegMap(@Self)^.&set := $00000001;
  22761. end;
  22762. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  22763. begin
  22764. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22765. end;
  22766. procedure TI2C1_I2C1CON.setRSEN; inline;
  22767. begin
  22768. pTDefRegMap(@Self)^.&set := $00000002;
  22769. end;
  22770. procedure TI2C1_I2C1CON.clearRSEN; inline;
  22771. begin
  22772. pTDefRegMap(@Self)^.clr := $00000002;
  22773. end;
  22774. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  22775. begin
  22776. if thebits = 0 then
  22777. pTDefRegMap(@Self)^.clr := $00000002
  22778. else
  22779. pTDefRegMap(@Self)^.&set := $00000002;
  22780. end;
  22781. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  22782. begin
  22783. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22784. end;
  22785. procedure TI2C1_I2C1CON.setPEN; inline;
  22786. begin
  22787. pTDefRegMap(@Self)^.&set := $00000004;
  22788. end;
  22789. procedure TI2C1_I2C1CON.clearPEN; inline;
  22790. begin
  22791. pTDefRegMap(@Self)^.clr := $00000004;
  22792. end;
  22793. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  22794. begin
  22795. if thebits = 0 then
  22796. pTDefRegMap(@Self)^.clr := $00000004
  22797. else
  22798. pTDefRegMap(@Self)^.&set := $00000004;
  22799. end;
  22800. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  22801. begin
  22802. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22803. end;
  22804. procedure TI2C1_I2C1CON.setRCEN; inline;
  22805. begin
  22806. pTDefRegMap(@Self)^.&set := $00000008;
  22807. end;
  22808. procedure TI2C1_I2C1CON.clearRCEN; inline;
  22809. begin
  22810. pTDefRegMap(@Self)^.clr := $00000008;
  22811. end;
  22812. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  22813. begin
  22814. if thebits = 0 then
  22815. pTDefRegMap(@Self)^.clr := $00000008
  22816. else
  22817. pTDefRegMap(@Self)^.&set := $00000008;
  22818. end;
  22819. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  22820. begin
  22821. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22822. end;
  22823. procedure TI2C1_I2C1CON.setACKEN; inline;
  22824. begin
  22825. pTDefRegMap(@Self)^.&set := $00000010;
  22826. end;
  22827. procedure TI2C1_I2C1CON.clearACKEN; inline;
  22828. begin
  22829. pTDefRegMap(@Self)^.clr := $00000010;
  22830. end;
  22831. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  22832. begin
  22833. if thebits = 0 then
  22834. pTDefRegMap(@Self)^.clr := $00000010
  22835. else
  22836. pTDefRegMap(@Self)^.&set := $00000010;
  22837. end;
  22838. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  22839. begin
  22840. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22841. end;
  22842. procedure TI2C1_I2C1CON.setACKDT; inline;
  22843. begin
  22844. pTDefRegMap(@Self)^.&set := $00000020;
  22845. end;
  22846. procedure TI2C1_I2C1CON.clearACKDT; inline;
  22847. begin
  22848. pTDefRegMap(@Self)^.clr := $00000020;
  22849. end;
  22850. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  22851. begin
  22852. if thebits = 0 then
  22853. pTDefRegMap(@Self)^.clr := $00000020
  22854. else
  22855. pTDefRegMap(@Self)^.&set := $00000020;
  22856. end;
  22857. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  22858. begin
  22859. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22860. end;
  22861. procedure TI2C1_I2C1CON.setSTREN; inline;
  22862. begin
  22863. pTDefRegMap(@Self)^.&set := $00000040;
  22864. end;
  22865. procedure TI2C1_I2C1CON.clearSTREN; inline;
  22866. begin
  22867. pTDefRegMap(@Self)^.clr := $00000040;
  22868. end;
  22869. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  22870. begin
  22871. if thebits = 0 then
  22872. pTDefRegMap(@Self)^.clr := $00000040
  22873. else
  22874. pTDefRegMap(@Self)^.&set := $00000040;
  22875. end;
  22876. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  22877. begin
  22878. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22879. end;
  22880. procedure TI2C1_I2C1CON.setGCEN; inline;
  22881. begin
  22882. pTDefRegMap(@Self)^.&set := $00000080;
  22883. end;
  22884. procedure TI2C1_I2C1CON.clearGCEN; inline;
  22885. begin
  22886. pTDefRegMap(@Self)^.clr := $00000080;
  22887. end;
  22888. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  22889. begin
  22890. if thebits = 0 then
  22891. pTDefRegMap(@Self)^.clr := $00000080
  22892. else
  22893. pTDefRegMap(@Self)^.&set := $00000080;
  22894. end;
  22895. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  22896. begin
  22897. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22898. end;
  22899. procedure TI2C1_I2C1CON.setSMEN; inline;
  22900. begin
  22901. pTDefRegMap(@Self)^.&set := $00000100;
  22902. end;
  22903. procedure TI2C1_I2C1CON.clearSMEN; inline;
  22904. begin
  22905. pTDefRegMap(@Self)^.clr := $00000100;
  22906. end;
  22907. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  22908. begin
  22909. if thebits = 0 then
  22910. pTDefRegMap(@Self)^.clr := $00000100
  22911. else
  22912. pTDefRegMap(@Self)^.&set := $00000100;
  22913. end;
  22914. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  22915. begin
  22916. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22917. end;
  22918. procedure TI2C1_I2C1CON.setDISSLW; inline;
  22919. begin
  22920. pTDefRegMap(@Self)^.&set := $00000200;
  22921. end;
  22922. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  22923. begin
  22924. pTDefRegMap(@Self)^.clr := $00000200;
  22925. end;
  22926. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  22927. begin
  22928. if thebits = 0 then
  22929. pTDefRegMap(@Self)^.clr := $00000200
  22930. else
  22931. pTDefRegMap(@Self)^.&set := $00000200;
  22932. end;
  22933. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  22934. begin
  22935. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22936. end;
  22937. procedure TI2C1_I2C1CON.setA10M; inline;
  22938. begin
  22939. pTDefRegMap(@Self)^.&set := $00000400;
  22940. end;
  22941. procedure TI2C1_I2C1CON.clearA10M; inline;
  22942. begin
  22943. pTDefRegMap(@Self)^.clr := $00000400;
  22944. end;
  22945. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  22946. begin
  22947. if thebits = 0 then
  22948. pTDefRegMap(@Self)^.clr := $00000400
  22949. else
  22950. pTDefRegMap(@Self)^.&set := $00000400;
  22951. end;
  22952. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  22953. begin
  22954. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22955. end;
  22956. procedure TI2C1_I2C1CON.setSTRICT; inline;
  22957. begin
  22958. pTDefRegMap(@Self)^.&set := $00000800;
  22959. end;
  22960. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  22961. begin
  22962. pTDefRegMap(@Self)^.clr := $00000800;
  22963. end;
  22964. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  22965. begin
  22966. if thebits = 0 then
  22967. pTDefRegMap(@Self)^.clr := $00000800
  22968. else
  22969. pTDefRegMap(@Self)^.&set := $00000800;
  22970. end;
  22971. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  22972. begin
  22973. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22974. end;
  22975. procedure TI2C1_I2C1CON.setSCLREL; inline;
  22976. begin
  22977. pTDefRegMap(@Self)^.&set := $00001000;
  22978. end;
  22979. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  22980. begin
  22981. pTDefRegMap(@Self)^.clr := $00001000;
  22982. end;
  22983. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  22984. begin
  22985. if thebits = 0 then
  22986. pTDefRegMap(@Self)^.clr := $00001000
  22987. else
  22988. pTDefRegMap(@Self)^.&set := $00001000;
  22989. end;
  22990. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  22991. begin
  22992. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22993. end;
  22994. procedure TI2C1_I2C1CON.setSIDL; inline;
  22995. begin
  22996. pTDefRegMap(@Self)^.&set := $00002000;
  22997. end;
  22998. procedure TI2C1_I2C1CON.clearSIDL; inline;
  22999. begin
  23000. pTDefRegMap(@Self)^.clr := $00002000;
  23001. end;
  23002. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  23003. begin
  23004. if thebits = 0 then
  23005. pTDefRegMap(@Self)^.clr := $00002000
  23006. else
  23007. pTDefRegMap(@Self)^.&set := $00002000;
  23008. end;
  23009. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  23010. begin
  23011. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23012. end;
  23013. procedure TI2C1_I2C1CON.setON; inline;
  23014. begin
  23015. pTDefRegMap(@Self)^.&set := $00008000;
  23016. end;
  23017. procedure TI2C1_I2C1CON.clearON; inline;
  23018. begin
  23019. pTDefRegMap(@Self)^.clr := $00008000;
  23020. end;
  23021. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  23022. begin
  23023. if thebits = 0 then
  23024. pTDefRegMap(@Self)^.clr := $00008000
  23025. else
  23026. pTDefRegMap(@Self)^.&set := $00008000;
  23027. end;
  23028. function TI2C1_I2C1CON.getON : TBits_1; inline;
  23029. begin
  23030. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23031. end;
  23032. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  23033. begin
  23034. pTDefRegMap(@Self)^.&set := $00000800;
  23035. end;
  23036. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  23037. begin
  23038. pTDefRegMap(@Self)^.clr := $00000800;
  23039. end;
  23040. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  23041. begin
  23042. if thebits = 0 then
  23043. pTDefRegMap(@Self)^.clr := $00000800
  23044. else
  23045. pTDefRegMap(@Self)^.&set := $00000800;
  23046. end;
  23047. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  23048. begin
  23049. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23050. end;
  23051. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  23052. begin
  23053. pTDefRegMap(@Self)^.&set := $00002000;
  23054. end;
  23055. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  23056. begin
  23057. pTDefRegMap(@Self)^.clr := $00002000;
  23058. end;
  23059. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  23060. begin
  23061. if thebits = 0 then
  23062. pTDefRegMap(@Self)^.clr := $00002000
  23063. else
  23064. pTDefRegMap(@Self)^.&set := $00002000;
  23065. end;
  23066. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  23067. begin
  23068. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23069. end;
  23070. procedure TI2C1_I2C1CON.setI2CEN; inline;
  23071. begin
  23072. pTDefRegMap(@Self)^.&set := $00008000;
  23073. end;
  23074. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  23075. begin
  23076. pTDefRegMap(@Self)^.clr := $00008000;
  23077. end;
  23078. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  23079. begin
  23080. if thebits = 0 then
  23081. pTDefRegMap(@Self)^.clr := $00008000
  23082. else
  23083. pTDefRegMap(@Self)^.&set := $00008000;
  23084. end;
  23085. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  23086. begin
  23087. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23088. end;
  23089. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  23090. begin
  23091. pTDefRegMap(@Self)^.val := thebits;
  23092. end;
  23093. function TI2C1_I2C1CON.getw : TBits_32; inline;
  23094. begin
  23095. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23096. end;
  23097. procedure TI2C1_I2C1STAT.setTBF; inline;
  23098. begin
  23099. pTDefRegMap(@Self)^.&set := $00000001;
  23100. end;
  23101. procedure TI2C1_I2C1STAT.clearTBF; inline;
  23102. begin
  23103. pTDefRegMap(@Self)^.clr := $00000001;
  23104. end;
  23105. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  23106. begin
  23107. if thebits = 0 then
  23108. pTDefRegMap(@Self)^.clr := $00000001
  23109. else
  23110. pTDefRegMap(@Self)^.&set := $00000001;
  23111. end;
  23112. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  23113. begin
  23114. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23115. end;
  23116. procedure TI2C1_I2C1STAT.setRBF; inline;
  23117. begin
  23118. pTDefRegMap(@Self)^.&set := $00000002;
  23119. end;
  23120. procedure TI2C1_I2C1STAT.clearRBF; inline;
  23121. begin
  23122. pTDefRegMap(@Self)^.clr := $00000002;
  23123. end;
  23124. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  23125. begin
  23126. if thebits = 0 then
  23127. pTDefRegMap(@Self)^.clr := $00000002
  23128. else
  23129. pTDefRegMap(@Self)^.&set := $00000002;
  23130. end;
  23131. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  23132. begin
  23133. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23134. end;
  23135. procedure TI2C1_I2C1STAT.setR_W; inline;
  23136. begin
  23137. pTDefRegMap(@Self)^.&set := $00000004;
  23138. end;
  23139. procedure TI2C1_I2C1STAT.clearR_W; inline;
  23140. begin
  23141. pTDefRegMap(@Self)^.clr := $00000004;
  23142. end;
  23143. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  23144. begin
  23145. if thebits = 0 then
  23146. pTDefRegMap(@Self)^.clr := $00000004
  23147. else
  23148. pTDefRegMap(@Self)^.&set := $00000004;
  23149. end;
  23150. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  23151. begin
  23152. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23153. end;
  23154. procedure TI2C1_I2C1STAT.setS; inline;
  23155. begin
  23156. pTDefRegMap(@Self)^.&set := $00000008;
  23157. end;
  23158. procedure TI2C1_I2C1STAT.clearS; inline;
  23159. begin
  23160. pTDefRegMap(@Self)^.clr := $00000008;
  23161. end;
  23162. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  23163. begin
  23164. if thebits = 0 then
  23165. pTDefRegMap(@Self)^.clr := $00000008
  23166. else
  23167. pTDefRegMap(@Self)^.&set := $00000008;
  23168. end;
  23169. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  23170. begin
  23171. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23172. end;
  23173. procedure TI2C1_I2C1STAT.setP; inline;
  23174. begin
  23175. pTDefRegMap(@Self)^.&set := $00000010;
  23176. end;
  23177. procedure TI2C1_I2C1STAT.clearP; inline;
  23178. begin
  23179. pTDefRegMap(@Self)^.clr := $00000010;
  23180. end;
  23181. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  23182. begin
  23183. if thebits = 0 then
  23184. pTDefRegMap(@Self)^.clr := $00000010
  23185. else
  23186. pTDefRegMap(@Self)^.&set := $00000010;
  23187. end;
  23188. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  23189. begin
  23190. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23191. end;
  23192. procedure TI2C1_I2C1STAT.setD_A; inline;
  23193. begin
  23194. pTDefRegMap(@Self)^.&set := $00000020;
  23195. end;
  23196. procedure TI2C1_I2C1STAT.clearD_A; inline;
  23197. begin
  23198. pTDefRegMap(@Self)^.clr := $00000020;
  23199. end;
  23200. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  23201. begin
  23202. if thebits = 0 then
  23203. pTDefRegMap(@Self)^.clr := $00000020
  23204. else
  23205. pTDefRegMap(@Self)^.&set := $00000020;
  23206. end;
  23207. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  23208. begin
  23209. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23210. end;
  23211. procedure TI2C1_I2C1STAT.setI2COV; inline;
  23212. begin
  23213. pTDefRegMap(@Self)^.&set := $00000040;
  23214. end;
  23215. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  23216. begin
  23217. pTDefRegMap(@Self)^.clr := $00000040;
  23218. end;
  23219. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  23220. begin
  23221. if thebits = 0 then
  23222. pTDefRegMap(@Self)^.clr := $00000040
  23223. else
  23224. pTDefRegMap(@Self)^.&set := $00000040;
  23225. end;
  23226. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  23227. begin
  23228. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23229. end;
  23230. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  23231. begin
  23232. pTDefRegMap(@Self)^.&set := $00000080;
  23233. end;
  23234. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  23235. begin
  23236. pTDefRegMap(@Self)^.clr := $00000080;
  23237. end;
  23238. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  23239. begin
  23240. if thebits = 0 then
  23241. pTDefRegMap(@Self)^.clr := $00000080
  23242. else
  23243. pTDefRegMap(@Self)^.&set := $00000080;
  23244. end;
  23245. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  23246. begin
  23247. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23248. end;
  23249. procedure TI2C1_I2C1STAT.setADD10; inline;
  23250. begin
  23251. pTDefRegMap(@Self)^.&set := $00000100;
  23252. end;
  23253. procedure TI2C1_I2C1STAT.clearADD10; inline;
  23254. begin
  23255. pTDefRegMap(@Self)^.clr := $00000100;
  23256. end;
  23257. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  23258. begin
  23259. if thebits = 0 then
  23260. pTDefRegMap(@Self)^.clr := $00000100
  23261. else
  23262. pTDefRegMap(@Self)^.&set := $00000100;
  23263. end;
  23264. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  23265. begin
  23266. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23267. end;
  23268. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  23269. begin
  23270. pTDefRegMap(@Self)^.&set := $00000200;
  23271. end;
  23272. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  23273. begin
  23274. pTDefRegMap(@Self)^.clr := $00000200;
  23275. end;
  23276. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  23277. begin
  23278. if thebits = 0 then
  23279. pTDefRegMap(@Self)^.clr := $00000200
  23280. else
  23281. pTDefRegMap(@Self)^.&set := $00000200;
  23282. end;
  23283. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  23284. begin
  23285. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23286. end;
  23287. procedure TI2C1_I2C1STAT.setBCL; inline;
  23288. begin
  23289. pTDefRegMap(@Self)^.&set := $00000400;
  23290. end;
  23291. procedure TI2C1_I2C1STAT.clearBCL; inline;
  23292. begin
  23293. pTDefRegMap(@Self)^.clr := $00000400;
  23294. end;
  23295. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  23296. begin
  23297. if thebits = 0 then
  23298. pTDefRegMap(@Self)^.clr := $00000400
  23299. else
  23300. pTDefRegMap(@Self)^.&set := $00000400;
  23301. end;
  23302. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  23303. begin
  23304. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23305. end;
  23306. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  23307. begin
  23308. pTDefRegMap(@Self)^.&set := $00004000;
  23309. end;
  23310. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  23311. begin
  23312. pTDefRegMap(@Self)^.clr := $00004000;
  23313. end;
  23314. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  23315. begin
  23316. if thebits = 0 then
  23317. pTDefRegMap(@Self)^.clr := $00004000
  23318. else
  23319. pTDefRegMap(@Self)^.&set := $00004000;
  23320. end;
  23321. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  23322. begin
  23323. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23324. end;
  23325. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  23326. begin
  23327. pTDefRegMap(@Self)^.&set := $00008000;
  23328. end;
  23329. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  23330. begin
  23331. pTDefRegMap(@Self)^.clr := $00008000;
  23332. end;
  23333. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  23334. begin
  23335. if thebits = 0 then
  23336. pTDefRegMap(@Self)^.clr := $00008000
  23337. else
  23338. pTDefRegMap(@Self)^.&set := $00008000;
  23339. end;
  23340. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  23341. begin
  23342. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23343. end;
  23344. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  23345. begin
  23346. pTDefRegMap(@Self)^.&set := $00000040;
  23347. end;
  23348. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  23349. begin
  23350. pTDefRegMap(@Self)^.clr := $00000040;
  23351. end;
  23352. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  23353. begin
  23354. if thebits = 0 then
  23355. pTDefRegMap(@Self)^.clr := $00000040
  23356. else
  23357. pTDefRegMap(@Self)^.&set := $00000040;
  23358. end;
  23359. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  23360. begin
  23361. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23362. end;
  23363. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  23364. begin
  23365. pTDefRegMap(@Self)^.val := thebits;
  23366. end;
  23367. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  23368. begin
  23369. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23370. end;
  23371. procedure TSPI3_SPI1ACON.setSRXISEL(thebits : TBits_2); inline;
  23372. begin
  23373. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23374. end;
  23375. function TSPI3_SPI1ACON.getSRXISEL : TBits_2; inline;
  23376. begin
  23377. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23378. end;
  23379. procedure TSPI3_SPI1ACON.setSTXISEL(thebits : TBits_2); inline;
  23380. begin
  23381. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  23382. end;
  23383. function TSPI3_SPI1ACON.getSTXISEL : TBits_2; inline;
  23384. begin
  23385. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  23386. end;
  23387. procedure TSPI3_SPI1ACON.setMSTEN; inline;
  23388. begin
  23389. pTDefRegMap(@Self)^.&set := $00000020;
  23390. end;
  23391. procedure TSPI3_SPI1ACON.clearMSTEN; inline;
  23392. begin
  23393. pTDefRegMap(@Self)^.clr := $00000020;
  23394. end;
  23395. procedure TSPI3_SPI1ACON.setMSTEN(thebits : TBits_1); inline;
  23396. begin
  23397. if thebits = 0 then
  23398. pTDefRegMap(@Self)^.clr := $00000020
  23399. else
  23400. pTDefRegMap(@Self)^.&set := $00000020;
  23401. end;
  23402. function TSPI3_SPI1ACON.getMSTEN : TBits_1; inline;
  23403. begin
  23404. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23405. end;
  23406. procedure TSPI3_SPI1ACON.setCKP; inline;
  23407. begin
  23408. pTDefRegMap(@Self)^.&set := $00000040;
  23409. end;
  23410. procedure TSPI3_SPI1ACON.clearCKP; inline;
  23411. begin
  23412. pTDefRegMap(@Self)^.clr := $00000040;
  23413. end;
  23414. procedure TSPI3_SPI1ACON.setCKP(thebits : TBits_1); inline;
  23415. begin
  23416. if thebits = 0 then
  23417. pTDefRegMap(@Self)^.clr := $00000040
  23418. else
  23419. pTDefRegMap(@Self)^.&set := $00000040;
  23420. end;
  23421. function TSPI3_SPI1ACON.getCKP : TBits_1; inline;
  23422. begin
  23423. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23424. end;
  23425. procedure TSPI3_SPI1ACON.setSSEN; inline;
  23426. begin
  23427. pTDefRegMap(@Self)^.&set := $00000080;
  23428. end;
  23429. procedure TSPI3_SPI1ACON.clearSSEN; inline;
  23430. begin
  23431. pTDefRegMap(@Self)^.clr := $00000080;
  23432. end;
  23433. procedure TSPI3_SPI1ACON.setSSEN(thebits : TBits_1); inline;
  23434. begin
  23435. if thebits = 0 then
  23436. pTDefRegMap(@Self)^.clr := $00000080
  23437. else
  23438. pTDefRegMap(@Self)^.&set := $00000080;
  23439. end;
  23440. function TSPI3_SPI1ACON.getSSEN : TBits_1; inline;
  23441. begin
  23442. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23443. end;
  23444. procedure TSPI3_SPI1ACON.setCKE; inline;
  23445. begin
  23446. pTDefRegMap(@Self)^.&set := $00000100;
  23447. end;
  23448. procedure TSPI3_SPI1ACON.clearCKE; inline;
  23449. begin
  23450. pTDefRegMap(@Self)^.clr := $00000100;
  23451. end;
  23452. procedure TSPI3_SPI1ACON.setCKE(thebits : TBits_1); inline;
  23453. begin
  23454. if thebits = 0 then
  23455. pTDefRegMap(@Self)^.clr := $00000100
  23456. else
  23457. pTDefRegMap(@Self)^.&set := $00000100;
  23458. end;
  23459. function TSPI3_SPI1ACON.getCKE : TBits_1; inline;
  23460. begin
  23461. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23462. end;
  23463. procedure TSPI3_SPI1ACON.setSMP; inline;
  23464. begin
  23465. pTDefRegMap(@Self)^.&set := $00000200;
  23466. end;
  23467. procedure TSPI3_SPI1ACON.clearSMP; inline;
  23468. begin
  23469. pTDefRegMap(@Self)^.clr := $00000200;
  23470. end;
  23471. procedure TSPI3_SPI1ACON.setSMP(thebits : TBits_1); inline;
  23472. begin
  23473. if thebits = 0 then
  23474. pTDefRegMap(@Self)^.clr := $00000200
  23475. else
  23476. pTDefRegMap(@Self)^.&set := $00000200;
  23477. end;
  23478. function TSPI3_SPI1ACON.getSMP : TBits_1; inline;
  23479. begin
  23480. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23481. end;
  23482. procedure TSPI3_SPI1ACON.setMODE16; inline;
  23483. begin
  23484. pTDefRegMap(@Self)^.&set := $00000400;
  23485. end;
  23486. procedure TSPI3_SPI1ACON.clearMODE16; inline;
  23487. begin
  23488. pTDefRegMap(@Self)^.clr := $00000400;
  23489. end;
  23490. procedure TSPI3_SPI1ACON.setMODE16(thebits : TBits_1); inline;
  23491. begin
  23492. if thebits = 0 then
  23493. pTDefRegMap(@Self)^.clr := $00000400
  23494. else
  23495. pTDefRegMap(@Self)^.&set := $00000400;
  23496. end;
  23497. function TSPI3_SPI1ACON.getMODE16 : TBits_1; inline;
  23498. begin
  23499. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23500. end;
  23501. procedure TSPI3_SPI1ACON.setMODE32; inline;
  23502. begin
  23503. pTDefRegMap(@Self)^.&set := $00000800;
  23504. end;
  23505. procedure TSPI3_SPI1ACON.clearMODE32; inline;
  23506. begin
  23507. pTDefRegMap(@Self)^.clr := $00000800;
  23508. end;
  23509. procedure TSPI3_SPI1ACON.setMODE32(thebits : TBits_1); inline;
  23510. begin
  23511. if thebits = 0 then
  23512. pTDefRegMap(@Self)^.clr := $00000800
  23513. else
  23514. pTDefRegMap(@Self)^.&set := $00000800;
  23515. end;
  23516. function TSPI3_SPI1ACON.getMODE32 : TBits_1; inline;
  23517. begin
  23518. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23519. end;
  23520. procedure TSPI3_SPI1ACON.setDISSDO; inline;
  23521. begin
  23522. pTDefRegMap(@Self)^.&set := $00001000;
  23523. end;
  23524. procedure TSPI3_SPI1ACON.clearDISSDO; inline;
  23525. begin
  23526. pTDefRegMap(@Self)^.clr := $00001000;
  23527. end;
  23528. procedure TSPI3_SPI1ACON.setDISSDO(thebits : TBits_1); inline;
  23529. begin
  23530. if thebits = 0 then
  23531. pTDefRegMap(@Self)^.clr := $00001000
  23532. else
  23533. pTDefRegMap(@Self)^.&set := $00001000;
  23534. end;
  23535. function TSPI3_SPI1ACON.getDISSDO : TBits_1; inline;
  23536. begin
  23537. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23538. end;
  23539. procedure TSPI3_SPI1ACON.setSIDL; inline;
  23540. begin
  23541. pTDefRegMap(@Self)^.&set := $00002000;
  23542. end;
  23543. procedure TSPI3_SPI1ACON.clearSIDL; inline;
  23544. begin
  23545. pTDefRegMap(@Self)^.clr := $00002000;
  23546. end;
  23547. procedure TSPI3_SPI1ACON.setSIDL(thebits : TBits_1); inline;
  23548. begin
  23549. if thebits = 0 then
  23550. pTDefRegMap(@Self)^.clr := $00002000
  23551. else
  23552. pTDefRegMap(@Self)^.&set := $00002000;
  23553. end;
  23554. function TSPI3_SPI1ACON.getSIDL : TBits_1; inline;
  23555. begin
  23556. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23557. end;
  23558. procedure TSPI3_SPI1ACON.setON; inline;
  23559. begin
  23560. pTDefRegMap(@Self)^.&set := $00008000;
  23561. end;
  23562. procedure TSPI3_SPI1ACON.clearON; inline;
  23563. begin
  23564. pTDefRegMap(@Self)^.clr := $00008000;
  23565. end;
  23566. procedure TSPI3_SPI1ACON.setON(thebits : TBits_1); inline;
  23567. begin
  23568. if thebits = 0 then
  23569. pTDefRegMap(@Self)^.clr := $00008000
  23570. else
  23571. pTDefRegMap(@Self)^.&set := $00008000;
  23572. end;
  23573. function TSPI3_SPI1ACON.getON : TBits_1; inline;
  23574. begin
  23575. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23576. end;
  23577. procedure TSPI3_SPI1ACON.setENHBUF; inline;
  23578. begin
  23579. pTDefRegMap(@Self)^.&set := $00010000;
  23580. end;
  23581. procedure TSPI3_SPI1ACON.clearENHBUF; inline;
  23582. begin
  23583. pTDefRegMap(@Self)^.clr := $00010000;
  23584. end;
  23585. procedure TSPI3_SPI1ACON.setENHBUF(thebits : TBits_1); inline;
  23586. begin
  23587. if thebits = 0 then
  23588. pTDefRegMap(@Self)^.clr := $00010000
  23589. else
  23590. pTDefRegMap(@Self)^.&set := $00010000;
  23591. end;
  23592. function TSPI3_SPI1ACON.getENHBUF : TBits_1; inline;
  23593. begin
  23594. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23595. end;
  23596. procedure TSPI3_SPI1ACON.setSPIFE; inline;
  23597. begin
  23598. pTDefRegMap(@Self)^.&set := $00020000;
  23599. end;
  23600. procedure TSPI3_SPI1ACON.clearSPIFE; inline;
  23601. begin
  23602. pTDefRegMap(@Self)^.clr := $00020000;
  23603. end;
  23604. procedure TSPI3_SPI1ACON.setSPIFE(thebits : TBits_1); inline;
  23605. begin
  23606. if thebits = 0 then
  23607. pTDefRegMap(@Self)^.clr := $00020000
  23608. else
  23609. pTDefRegMap(@Self)^.&set := $00020000;
  23610. end;
  23611. function TSPI3_SPI1ACON.getSPIFE : TBits_1; inline;
  23612. begin
  23613. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23614. end;
  23615. procedure TSPI3_SPI1ACON.setFRMCNT(thebits : TBits_3); inline;
  23616. begin
  23617. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  23618. end;
  23619. function TSPI3_SPI1ACON.getFRMCNT : TBits_3; inline;
  23620. begin
  23621. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  23622. end;
  23623. procedure TSPI3_SPI1ACON.setFRMSYPW; inline;
  23624. begin
  23625. pTDefRegMap(@Self)^.&set := $08000000;
  23626. end;
  23627. procedure TSPI3_SPI1ACON.clearFRMSYPW; inline;
  23628. begin
  23629. pTDefRegMap(@Self)^.clr := $08000000;
  23630. end;
  23631. procedure TSPI3_SPI1ACON.setFRMSYPW(thebits : TBits_1); inline;
  23632. begin
  23633. if thebits = 0 then
  23634. pTDefRegMap(@Self)^.clr := $08000000
  23635. else
  23636. pTDefRegMap(@Self)^.&set := $08000000;
  23637. end;
  23638. function TSPI3_SPI1ACON.getFRMSYPW : TBits_1; inline;
  23639. begin
  23640. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  23641. end;
  23642. procedure TSPI3_SPI1ACON.setMSSEN; inline;
  23643. begin
  23644. pTDefRegMap(@Self)^.&set := $10000000;
  23645. end;
  23646. procedure TSPI3_SPI1ACON.clearMSSEN; inline;
  23647. begin
  23648. pTDefRegMap(@Self)^.clr := $10000000;
  23649. end;
  23650. procedure TSPI3_SPI1ACON.setMSSEN(thebits : TBits_1); inline;
  23651. begin
  23652. if thebits = 0 then
  23653. pTDefRegMap(@Self)^.clr := $10000000
  23654. else
  23655. pTDefRegMap(@Self)^.&set := $10000000;
  23656. end;
  23657. function TSPI3_SPI1ACON.getMSSEN : TBits_1; inline;
  23658. begin
  23659. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  23660. end;
  23661. procedure TSPI3_SPI1ACON.setFRMPOL; inline;
  23662. begin
  23663. pTDefRegMap(@Self)^.&set := $20000000;
  23664. end;
  23665. procedure TSPI3_SPI1ACON.clearFRMPOL; inline;
  23666. begin
  23667. pTDefRegMap(@Self)^.clr := $20000000;
  23668. end;
  23669. procedure TSPI3_SPI1ACON.setFRMPOL(thebits : TBits_1); inline;
  23670. begin
  23671. if thebits = 0 then
  23672. pTDefRegMap(@Self)^.clr := $20000000
  23673. else
  23674. pTDefRegMap(@Self)^.&set := $20000000;
  23675. end;
  23676. function TSPI3_SPI1ACON.getFRMPOL : TBits_1; inline;
  23677. begin
  23678. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  23679. end;
  23680. procedure TSPI3_SPI1ACON.setFRMSYNC; inline;
  23681. begin
  23682. pTDefRegMap(@Self)^.&set := $40000000;
  23683. end;
  23684. procedure TSPI3_SPI1ACON.clearFRMSYNC; inline;
  23685. begin
  23686. pTDefRegMap(@Self)^.clr := $40000000;
  23687. end;
  23688. procedure TSPI3_SPI1ACON.setFRMSYNC(thebits : TBits_1); inline;
  23689. begin
  23690. if thebits = 0 then
  23691. pTDefRegMap(@Self)^.clr := $40000000
  23692. else
  23693. pTDefRegMap(@Self)^.&set := $40000000;
  23694. end;
  23695. function TSPI3_SPI1ACON.getFRMSYNC : TBits_1; inline;
  23696. begin
  23697. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  23698. end;
  23699. procedure TSPI3_SPI1ACON.setFRMEN; inline;
  23700. begin
  23701. pTDefRegMap(@Self)^.&set := $80000000;
  23702. end;
  23703. procedure TSPI3_SPI1ACON.clearFRMEN; inline;
  23704. begin
  23705. pTDefRegMap(@Self)^.clr := $80000000;
  23706. end;
  23707. procedure TSPI3_SPI1ACON.setFRMEN(thebits : TBits_1); inline;
  23708. begin
  23709. if thebits = 0 then
  23710. pTDefRegMap(@Self)^.clr := $80000000
  23711. else
  23712. pTDefRegMap(@Self)^.&set := $80000000;
  23713. end;
  23714. function TSPI3_SPI1ACON.getFRMEN : TBits_1; inline;
  23715. begin
  23716. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  23717. end;
  23718. procedure TSPI3_SPI1ACON.setw(thebits : TBits_32); inline;
  23719. begin
  23720. pTDefRegMap(@Self)^.val := thebits;
  23721. end;
  23722. function TSPI3_SPI1ACON.getw : TBits_32; inline;
  23723. begin
  23724. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23725. end;
  23726. procedure TSPI3_SPI3CON.setSRXISEL(thebits : TBits_2); inline;
  23727. begin
  23728. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23729. end;
  23730. function TSPI3_SPI3CON.getSRXISEL : TBits_2; inline;
  23731. begin
  23732. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23733. end;
  23734. procedure TSPI3_SPI3CON.setSTXISEL(thebits : TBits_2); inline;
  23735. begin
  23736. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  23737. end;
  23738. function TSPI3_SPI3CON.getSTXISEL : TBits_2; inline;
  23739. begin
  23740. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  23741. end;
  23742. procedure TSPI3_SPI3CON.setMSTEN; inline;
  23743. begin
  23744. pTDefRegMap(@Self)^.&set := $00000020;
  23745. end;
  23746. procedure TSPI3_SPI3CON.clearMSTEN; inline;
  23747. begin
  23748. pTDefRegMap(@Self)^.clr := $00000020;
  23749. end;
  23750. procedure TSPI3_SPI3CON.setMSTEN(thebits : TBits_1); inline;
  23751. begin
  23752. if thebits = 0 then
  23753. pTDefRegMap(@Self)^.clr := $00000020
  23754. else
  23755. pTDefRegMap(@Self)^.&set := $00000020;
  23756. end;
  23757. function TSPI3_SPI3CON.getMSTEN : TBits_1; inline;
  23758. begin
  23759. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23760. end;
  23761. procedure TSPI3_SPI3CON.setCKP; inline;
  23762. begin
  23763. pTDefRegMap(@Self)^.&set := $00000040;
  23764. end;
  23765. procedure TSPI3_SPI3CON.clearCKP; inline;
  23766. begin
  23767. pTDefRegMap(@Self)^.clr := $00000040;
  23768. end;
  23769. procedure TSPI3_SPI3CON.setCKP(thebits : TBits_1); inline;
  23770. begin
  23771. if thebits = 0 then
  23772. pTDefRegMap(@Self)^.clr := $00000040
  23773. else
  23774. pTDefRegMap(@Self)^.&set := $00000040;
  23775. end;
  23776. function TSPI3_SPI3CON.getCKP : TBits_1; inline;
  23777. begin
  23778. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23779. end;
  23780. procedure TSPI3_SPI3CON.setSSEN; inline;
  23781. begin
  23782. pTDefRegMap(@Self)^.&set := $00000080;
  23783. end;
  23784. procedure TSPI3_SPI3CON.clearSSEN; inline;
  23785. begin
  23786. pTDefRegMap(@Self)^.clr := $00000080;
  23787. end;
  23788. procedure TSPI3_SPI3CON.setSSEN(thebits : TBits_1); inline;
  23789. begin
  23790. if thebits = 0 then
  23791. pTDefRegMap(@Self)^.clr := $00000080
  23792. else
  23793. pTDefRegMap(@Self)^.&set := $00000080;
  23794. end;
  23795. function TSPI3_SPI3CON.getSSEN : TBits_1; inline;
  23796. begin
  23797. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23798. end;
  23799. procedure TSPI3_SPI3CON.setCKE; inline;
  23800. begin
  23801. pTDefRegMap(@Self)^.&set := $00000100;
  23802. end;
  23803. procedure TSPI3_SPI3CON.clearCKE; inline;
  23804. begin
  23805. pTDefRegMap(@Self)^.clr := $00000100;
  23806. end;
  23807. procedure TSPI3_SPI3CON.setCKE(thebits : TBits_1); inline;
  23808. begin
  23809. if thebits = 0 then
  23810. pTDefRegMap(@Self)^.clr := $00000100
  23811. else
  23812. pTDefRegMap(@Self)^.&set := $00000100;
  23813. end;
  23814. function TSPI3_SPI3CON.getCKE : TBits_1; inline;
  23815. begin
  23816. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23817. end;
  23818. procedure TSPI3_SPI3CON.setSMP; inline;
  23819. begin
  23820. pTDefRegMap(@Self)^.&set := $00000200;
  23821. end;
  23822. procedure TSPI3_SPI3CON.clearSMP; inline;
  23823. begin
  23824. pTDefRegMap(@Self)^.clr := $00000200;
  23825. end;
  23826. procedure TSPI3_SPI3CON.setSMP(thebits : TBits_1); inline;
  23827. begin
  23828. if thebits = 0 then
  23829. pTDefRegMap(@Self)^.clr := $00000200
  23830. else
  23831. pTDefRegMap(@Self)^.&set := $00000200;
  23832. end;
  23833. function TSPI3_SPI3CON.getSMP : TBits_1; inline;
  23834. begin
  23835. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23836. end;
  23837. procedure TSPI3_SPI3CON.setMODE16; inline;
  23838. begin
  23839. pTDefRegMap(@Self)^.&set := $00000400;
  23840. end;
  23841. procedure TSPI3_SPI3CON.clearMODE16; inline;
  23842. begin
  23843. pTDefRegMap(@Self)^.clr := $00000400;
  23844. end;
  23845. procedure TSPI3_SPI3CON.setMODE16(thebits : TBits_1); inline;
  23846. begin
  23847. if thebits = 0 then
  23848. pTDefRegMap(@Self)^.clr := $00000400
  23849. else
  23850. pTDefRegMap(@Self)^.&set := $00000400;
  23851. end;
  23852. function TSPI3_SPI3CON.getMODE16 : TBits_1; inline;
  23853. begin
  23854. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23855. end;
  23856. procedure TSPI3_SPI3CON.setMODE32; inline;
  23857. begin
  23858. pTDefRegMap(@Self)^.&set := $00000800;
  23859. end;
  23860. procedure TSPI3_SPI3CON.clearMODE32; inline;
  23861. begin
  23862. pTDefRegMap(@Self)^.clr := $00000800;
  23863. end;
  23864. procedure TSPI3_SPI3CON.setMODE32(thebits : TBits_1); inline;
  23865. begin
  23866. if thebits = 0 then
  23867. pTDefRegMap(@Self)^.clr := $00000800
  23868. else
  23869. pTDefRegMap(@Self)^.&set := $00000800;
  23870. end;
  23871. function TSPI3_SPI3CON.getMODE32 : TBits_1; inline;
  23872. begin
  23873. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23874. end;
  23875. procedure TSPI3_SPI3CON.setDISSDO; inline;
  23876. begin
  23877. pTDefRegMap(@Self)^.&set := $00001000;
  23878. end;
  23879. procedure TSPI3_SPI3CON.clearDISSDO; inline;
  23880. begin
  23881. pTDefRegMap(@Self)^.clr := $00001000;
  23882. end;
  23883. procedure TSPI3_SPI3CON.setDISSDO(thebits : TBits_1); inline;
  23884. begin
  23885. if thebits = 0 then
  23886. pTDefRegMap(@Self)^.clr := $00001000
  23887. else
  23888. pTDefRegMap(@Self)^.&set := $00001000;
  23889. end;
  23890. function TSPI3_SPI3CON.getDISSDO : TBits_1; inline;
  23891. begin
  23892. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23893. end;
  23894. procedure TSPI3_SPI3CON.setSIDL; inline;
  23895. begin
  23896. pTDefRegMap(@Self)^.&set := $00002000;
  23897. end;
  23898. procedure TSPI3_SPI3CON.clearSIDL; inline;
  23899. begin
  23900. pTDefRegMap(@Self)^.clr := $00002000;
  23901. end;
  23902. procedure TSPI3_SPI3CON.setSIDL(thebits : TBits_1); inline;
  23903. begin
  23904. if thebits = 0 then
  23905. pTDefRegMap(@Self)^.clr := $00002000
  23906. else
  23907. pTDefRegMap(@Self)^.&set := $00002000;
  23908. end;
  23909. function TSPI3_SPI3CON.getSIDL : TBits_1; inline;
  23910. begin
  23911. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23912. end;
  23913. procedure TSPI3_SPI3CON.setON; inline;
  23914. begin
  23915. pTDefRegMap(@Self)^.&set := $00008000;
  23916. end;
  23917. procedure TSPI3_SPI3CON.clearON; inline;
  23918. begin
  23919. pTDefRegMap(@Self)^.clr := $00008000;
  23920. end;
  23921. procedure TSPI3_SPI3CON.setON(thebits : TBits_1); inline;
  23922. begin
  23923. if thebits = 0 then
  23924. pTDefRegMap(@Self)^.clr := $00008000
  23925. else
  23926. pTDefRegMap(@Self)^.&set := $00008000;
  23927. end;
  23928. function TSPI3_SPI3CON.getON : TBits_1; inline;
  23929. begin
  23930. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23931. end;
  23932. procedure TSPI3_SPI3CON.setENHBUF; inline;
  23933. begin
  23934. pTDefRegMap(@Self)^.&set := $00010000;
  23935. end;
  23936. procedure TSPI3_SPI3CON.clearENHBUF; inline;
  23937. begin
  23938. pTDefRegMap(@Self)^.clr := $00010000;
  23939. end;
  23940. procedure TSPI3_SPI3CON.setENHBUF(thebits : TBits_1); inline;
  23941. begin
  23942. if thebits = 0 then
  23943. pTDefRegMap(@Self)^.clr := $00010000
  23944. else
  23945. pTDefRegMap(@Self)^.&set := $00010000;
  23946. end;
  23947. function TSPI3_SPI3CON.getENHBUF : TBits_1; inline;
  23948. begin
  23949. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23950. end;
  23951. procedure TSPI3_SPI3CON.setSPIFE; inline;
  23952. begin
  23953. pTDefRegMap(@Self)^.&set := $00020000;
  23954. end;
  23955. procedure TSPI3_SPI3CON.clearSPIFE; inline;
  23956. begin
  23957. pTDefRegMap(@Self)^.clr := $00020000;
  23958. end;
  23959. procedure TSPI3_SPI3CON.setSPIFE(thebits : TBits_1); inline;
  23960. begin
  23961. if thebits = 0 then
  23962. pTDefRegMap(@Self)^.clr := $00020000
  23963. else
  23964. pTDefRegMap(@Self)^.&set := $00020000;
  23965. end;
  23966. function TSPI3_SPI3CON.getSPIFE : TBits_1; inline;
  23967. begin
  23968. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23969. end;
  23970. procedure TSPI3_SPI3CON.setFRMCNT(thebits : TBits_3); inline;
  23971. begin
  23972. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  23973. end;
  23974. function TSPI3_SPI3CON.getFRMCNT : TBits_3; inline;
  23975. begin
  23976. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  23977. end;
  23978. procedure TSPI3_SPI3CON.setFRMSYPW; inline;
  23979. begin
  23980. pTDefRegMap(@Self)^.&set := $08000000;
  23981. end;
  23982. procedure TSPI3_SPI3CON.clearFRMSYPW; inline;
  23983. begin
  23984. pTDefRegMap(@Self)^.clr := $08000000;
  23985. end;
  23986. procedure TSPI3_SPI3CON.setFRMSYPW(thebits : TBits_1); inline;
  23987. begin
  23988. if thebits = 0 then
  23989. pTDefRegMap(@Self)^.clr := $08000000
  23990. else
  23991. pTDefRegMap(@Self)^.&set := $08000000;
  23992. end;
  23993. function TSPI3_SPI3CON.getFRMSYPW : TBits_1; inline;
  23994. begin
  23995. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  23996. end;
  23997. procedure TSPI3_SPI3CON.setMSSEN; inline;
  23998. begin
  23999. pTDefRegMap(@Self)^.&set := $10000000;
  24000. end;
  24001. procedure TSPI3_SPI3CON.clearMSSEN; inline;
  24002. begin
  24003. pTDefRegMap(@Self)^.clr := $10000000;
  24004. end;
  24005. procedure TSPI3_SPI3CON.setMSSEN(thebits : TBits_1); inline;
  24006. begin
  24007. if thebits = 0 then
  24008. pTDefRegMap(@Self)^.clr := $10000000
  24009. else
  24010. pTDefRegMap(@Self)^.&set := $10000000;
  24011. end;
  24012. function TSPI3_SPI3CON.getMSSEN : TBits_1; inline;
  24013. begin
  24014. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24015. end;
  24016. procedure TSPI3_SPI3CON.setFRMPOL; inline;
  24017. begin
  24018. pTDefRegMap(@Self)^.&set := $20000000;
  24019. end;
  24020. procedure TSPI3_SPI3CON.clearFRMPOL; inline;
  24021. begin
  24022. pTDefRegMap(@Self)^.clr := $20000000;
  24023. end;
  24024. procedure TSPI3_SPI3CON.setFRMPOL(thebits : TBits_1); inline;
  24025. begin
  24026. if thebits = 0 then
  24027. pTDefRegMap(@Self)^.clr := $20000000
  24028. else
  24029. pTDefRegMap(@Self)^.&set := $20000000;
  24030. end;
  24031. function TSPI3_SPI3CON.getFRMPOL : TBits_1; inline;
  24032. begin
  24033. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  24034. end;
  24035. procedure TSPI3_SPI3CON.setFRMSYNC; inline;
  24036. begin
  24037. pTDefRegMap(@Self)^.&set := $40000000;
  24038. end;
  24039. procedure TSPI3_SPI3CON.clearFRMSYNC; inline;
  24040. begin
  24041. pTDefRegMap(@Self)^.clr := $40000000;
  24042. end;
  24043. procedure TSPI3_SPI3CON.setFRMSYNC(thebits : TBits_1); inline;
  24044. begin
  24045. if thebits = 0 then
  24046. pTDefRegMap(@Self)^.clr := $40000000
  24047. else
  24048. pTDefRegMap(@Self)^.&set := $40000000;
  24049. end;
  24050. function TSPI3_SPI3CON.getFRMSYNC : TBits_1; inline;
  24051. begin
  24052. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24053. end;
  24054. procedure TSPI3_SPI3CON.setFRMEN; inline;
  24055. begin
  24056. pTDefRegMap(@Self)^.&set := $80000000;
  24057. end;
  24058. procedure TSPI3_SPI3CON.clearFRMEN; inline;
  24059. begin
  24060. pTDefRegMap(@Self)^.clr := $80000000;
  24061. end;
  24062. procedure TSPI3_SPI3CON.setFRMEN(thebits : TBits_1); inline;
  24063. begin
  24064. if thebits = 0 then
  24065. pTDefRegMap(@Self)^.clr := $80000000
  24066. else
  24067. pTDefRegMap(@Self)^.&set := $80000000;
  24068. end;
  24069. function TSPI3_SPI3CON.getFRMEN : TBits_1; inline;
  24070. begin
  24071. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24072. end;
  24073. procedure TSPI3_SPI3CON.setw(thebits : TBits_32); inline;
  24074. begin
  24075. pTDefRegMap(@Self)^.val := thebits;
  24076. end;
  24077. function TSPI3_SPI3CON.getw : TBits_32; inline;
  24078. begin
  24079. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24080. end;
  24081. procedure TSPI3_SPI1ASTAT.setSPIRBF; inline;
  24082. begin
  24083. pTDefRegMap(@Self)^.&set := $00000001;
  24084. end;
  24085. procedure TSPI3_SPI1ASTAT.clearSPIRBF; inline;
  24086. begin
  24087. pTDefRegMap(@Self)^.clr := $00000001;
  24088. end;
  24089. procedure TSPI3_SPI1ASTAT.setSPIRBF(thebits : TBits_1); inline;
  24090. begin
  24091. if thebits = 0 then
  24092. pTDefRegMap(@Self)^.clr := $00000001
  24093. else
  24094. pTDefRegMap(@Self)^.&set := $00000001;
  24095. end;
  24096. function TSPI3_SPI1ASTAT.getSPIRBF : TBits_1; inline;
  24097. begin
  24098. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24099. end;
  24100. procedure TSPI3_SPI1ASTAT.setSPITBF; inline;
  24101. begin
  24102. pTDefRegMap(@Self)^.&set := $00000002;
  24103. end;
  24104. procedure TSPI3_SPI1ASTAT.clearSPITBF; inline;
  24105. begin
  24106. pTDefRegMap(@Self)^.clr := $00000002;
  24107. end;
  24108. procedure TSPI3_SPI1ASTAT.setSPITBF(thebits : TBits_1); inline;
  24109. begin
  24110. if thebits = 0 then
  24111. pTDefRegMap(@Self)^.clr := $00000002
  24112. else
  24113. pTDefRegMap(@Self)^.&set := $00000002;
  24114. end;
  24115. function TSPI3_SPI1ASTAT.getSPITBF : TBits_1; inline;
  24116. begin
  24117. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24118. end;
  24119. procedure TSPI3_SPI1ASTAT.setSPITBE; inline;
  24120. begin
  24121. pTDefRegMap(@Self)^.&set := $00000008;
  24122. end;
  24123. procedure TSPI3_SPI1ASTAT.clearSPITBE; inline;
  24124. begin
  24125. pTDefRegMap(@Self)^.clr := $00000008;
  24126. end;
  24127. procedure TSPI3_SPI1ASTAT.setSPITBE(thebits : TBits_1); inline;
  24128. begin
  24129. if thebits = 0 then
  24130. pTDefRegMap(@Self)^.clr := $00000008
  24131. else
  24132. pTDefRegMap(@Self)^.&set := $00000008;
  24133. end;
  24134. function TSPI3_SPI1ASTAT.getSPITBE : TBits_1; inline;
  24135. begin
  24136. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24137. end;
  24138. procedure TSPI3_SPI1ASTAT.setSPIRBE; inline;
  24139. begin
  24140. pTDefRegMap(@Self)^.&set := $00000020;
  24141. end;
  24142. procedure TSPI3_SPI1ASTAT.clearSPIRBE; inline;
  24143. begin
  24144. pTDefRegMap(@Self)^.clr := $00000020;
  24145. end;
  24146. procedure TSPI3_SPI1ASTAT.setSPIRBE(thebits : TBits_1); inline;
  24147. begin
  24148. if thebits = 0 then
  24149. pTDefRegMap(@Self)^.clr := $00000020
  24150. else
  24151. pTDefRegMap(@Self)^.&set := $00000020;
  24152. end;
  24153. function TSPI3_SPI1ASTAT.getSPIRBE : TBits_1; inline;
  24154. begin
  24155. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24156. end;
  24157. procedure TSPI3_SPI1ASTAT.setSPIROV; inline;
  24158. begin
  24159. pTDefRegMap(@Self)^.&set := $00000040;
  24160. end;
  24161. procedure TSPI3_SPI1ASTAT.clearSPIROV; inline;
  24162. begin
  24163. pTDefRegMap(@Self)^.clr := $00000040;
  24164. end;
  24165. procedure TSPI3_SPI1ASTAT.setSPIROV(thebits : TBits_1); inline;
  24166. begin
  24167. if thebits = 0 then
  24168. pTDefRegMap(@Self)^.clr := $00000040
  24169. else
  24170. pTDefRegMap(@Self)^.&set := $00000040;
  24171. end;
  24172. function TSPI3_SPI1ASTAT.getSPIROV : TBits_1; inline;
  24173. begin
  24174. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24175. end;
  24176. procedure TSPI3_SPI1ASTAT.setSRMT; inline;
  24177. begin
  24178. pTDefRegMap(@Self)^.&set := $00000080;
  24179. end;
  24180. procedure TSPI3_SPI1ASTAT.clearSRMT; inline;
  24181. begin
  24182. pTDefRegMap(@Self)^.clr := $00000080;
  24183. end;
  24184. procedure TSPI3_SPI1ASTAT.setSRMT(thebits : TBits_1); inline;
  24185. begin
  24186. if thebits = 0 then
  24187. pTDefRegMap(@Self)^.clr := $00000080
  24188. else
  24189. pTDefRegMap(@Self)^.&set := $00000080;
  24190. end;
  24191. function TSPI3_SPI1ASTAT.getSRMT : TBits_1; inline;
  24192. begin
  24193. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24194. end;
  24195. procedure TSPI3_SPI1ASTAT.setSPITUR; inline;
  24196. begin
  24197. pTDefRegMap(@Self)^.&set := $00000100;
  24198. end;
  24199. procedure TSPI3_SPI1ASTAT.clearSPITUR; inline;
  24200. begin
  24201. pTDefRegMap(@Self)^.clr := $00000100;
  24202. end;
  24203. procedure TSPI3_SPI1ASTAT.setSPITUR(thebits : TBits_1); inline;
  24204. begin
  24205. if thebits = 0 then
  24206. pTDefRegMap(@Self)^.clr := $00000100
  24207. else
  24208. pTDefRegMap(@Self)^.&set := $00000100;
  24209. end;
  24210. function TSPI3_SPI1ASTAT.getSPITUR : TBits_1; inline;
  24211. begin
  24212. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24213. end;
  24214. procedure TSPI3_SPI1ASTAT.setSPIBUSY; inline;
  24215. begin
  24216. pTDefRegMap(@Self)^.&set := $00000800;
  24217. end;
  24218. procedure TSPI3_SPI1ASTAT.clearSPIBUSY; inline;
  24219. begin
  24220. pTDefRegMap(@Self)^.clr := $00000800;
  24221. end;
  24222. procedure TSPI3_SPI1ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  24223. begin
  24224. if thebits = 0 then
  24225. pTDefRegMap(@Self)^.clr := $00000800
  24226. else
  24227. pTDefRegMap(@Self)^.&set := $00000800;
  24228. end;
  24229. function TSPI3_SPI1ASTAT.getSPIBUSY : TBits_1; inline;
  24230. begin
  24231. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24232. end;
  24233. procedure TSPI3_SPI1ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  24234. begin
  24235. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  24236. end;
  24237. function TSPI3_SPI1ASTAT.getTXBUFELM : TBits_5; inline;
  24238. begin
  24239. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  24240. end;
  24241. procedure TSPI3_SPI1ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  24242. begin
  24243. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  24244. end;
  24245. function TSPI3_SPI1ASTAT.getRXBUFELM : TBits_5; inline;
  24246. begin
  24247. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  24248. end;
  24249. procedure TSPI3_SPI1ASTAT.setw(thebits : TBits_32); inline;
  24250. begin
  24251. pTDefRegMap(@Self)^.val := thebits;
  24252. end;
  24253. function TSPI3_SPI1ASTAT.getw : TBits_32; inline;
  24254. begin
  24255. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24256. end;
  24257. procedure TSPI3_SPI3STAT.setSPIRBF; inline;
  24258. begin
  24259. pTDefRegMap(@Self)^.&set := $00000001;
  24260. end;
  24261. procedure TSPI3_SPI3STAT.clearSPIRBF; inline;
  24262. begin
  24263. pTDefRegMap(@Self)^.clr := $00000001;
  24264. end;
  24265. procedure TSPI3_SPI3STAT.setSPIRBF(thebits : TBits_1); inline;
  24266. begin
  24267. if thebits = 0 then
  24268. pTDefRegMap(@Self)^.clr := $00000001
  24269. else
  24270. pTDefRegMap(@Self)^.&set := $00000001;
  24271. end;
  24272. function TSPI3_SPI3STAT.getSPIRBF : TBits_1; inline;
  24273. begin
  24274. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24275. end;
  24276. procedure TSPI3_SPI3STAT.setSPITBF; inline;
  24277. begin
  24278. pTDefRegMap(@Self)^.&set := $00000002;
  24279. end;
  24280. procedure TSPI3_SPI3STAT.clearSPITBF; inline;
  24281. begin
  24282. pTDefRegMap(@Self)^.clr := $00000002;
  24283. end;
  24284. procedure TSPI3_SPI3STAT.setSPITBF(thebits : TBits_1); inline;
  24285. begin
  24286. if thebits = 0 then
  24287. pTDefRegMap(@Self)^.clr := $00000002
  24288. else
  24289. pTDefRegMap(@Self)^.&set := $00000002;
  24290. end;
  24291. function TSPI3_SPI3STAT.getSPITBF : TBits_1; inline;
  24292. begin
  24293. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24294. end;
  24295. procedure TSPI3_SPI3STAT.setSPITBE; inline;
  24296. begin
  24297. pTDefRegMap(@Self)^.&set := $00000008;
  24298. end;
  24299. procedure TSPI3_SPI3STAT.clearSPITBE; inline;
  24300. begin
  24301. pTDefRegMap(@Self)^.clr := $00000008;
  24302. end;
  24303. procedure TSPI3_SPI3STAT.setSPITBE(thebits : TBits_1); inline;
  24304. begin
  24305. if thebits = 0 then
  24306. pTDefRegMap(@Self)^.clr := $00000008
  24307. else
  24308. pTDefRegMap(@Self)^.&set := $00000008;
  24309. end;
  24310. function TSPI3_SPI3STAT.getSPITBE : TBits_1; inline;
  24311. begin
  24312. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24313. end;
  24314. procedure TSPI3_SPI3STAT.setSPIRBE; inline;
  24315. begin
  24316. pTDefRegMap(@Self)^.&set := $00000020;
  24317. end;
  24318. procedure TSPI3_SPI3STAT.clearSPIRBE; inline;
  24319. begin
  24320. pTDefRegMap(@Self)^.clr := $00000020;
  24321. end;
  24322. procedure TSPI3_SPI3STAT.setSPIRBE(thebits : TBits_1); inline;
  24323. begin
  24324. if thebits = 0 then
  24325. pTDefRegMap(@Self)^.clr := $00000020
  24326. else
  24327. pTDefRegMap(@Self)^.&set := $00000020;
  24328. end;
  24329. function TSPI3_SPI3STAT.getSPIRBE : TBits_1; inline;
  24330. begin
  24331. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24332. end;
  24333. procedure TSPI3_SPI3STAT.setSPIROV; inline;
  24334. begin
  24335. pTDefRegMap(@Self)^.&set := $00000040;
  24336. end;
  24337. procedure TSPI3_SPI3STAT.clearSPIROV; inline;
  24338. begin
  24339. pTDefRegMap(@Self)^.clr := $00000040;
  24340. end;
  24341. procedure TSPI3_SPI3STAT.setSPIROV(thebits : TBits_1); inline;
  24342. begin
  24343. if thebits = 0 then
  24344. pTDefRegMap(@Self)^.clr := $00000040
  24345. else
  24346. pTDefRegMap(@Self)^.&set := $00000040;
  24347. end;
  24348. function TSPI3_SPI3STAT.getSPIROV : TBits_1; inline;
  24349. begin
  24350. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24351. end;
  24352. procedure TSPI3_SPI3STAT.setSRMT; inline;
  24353. begin
  24354. pTDefRegMap(@Self)^.&set := $00000080;
  24355. end;
  24356. procedure TSPI3_SPI3STAT.clearSRMT; inline;
  24357. begin
  24358. pTDefRegMap(@Self)^.clr := $00000080;
  24359. end;
  24360. procedure TSPI3_SPI3STAT.setSRMT(thebits : TBits_1); inline;
  24361. begin
  24362. if thebits = 0 then
  24363. pTDefRegMap(@Self)^.clr := $00000080
  24364. else
  24365. pTDefRegMap(@Self)^.&set := $00000080;
  24366. end;
  24367. function TSPI3_SPI3STAT.getSRMT : TBits_1; inline;
  24368. begin
  24369. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24370. end;
  24371. procedure TSPI3_SPI3STAT.setSPITUR; inline;
  24372. begin
  24373. pTDefRegMap(@Self)^.&set := $00000100;
  24374. end;
  24375. procedure TSPI3_SPI3STAT.clearSPITUR; inline;
  24376. begin
  24377. pTDefRegMap(@Self)^.clr := $00000100;
  24378. end;
  24379. procedure TSPI3_SPI3STAT.setSPITUR(thebits : TBits_1); inline;
  24380. begin
  24381. if thebits = 0 then
  24382. pTDefRegMap(@Self)^.clr := $00000100
  24383. else
  24384. pTDefRegMap(@Self)^.&set := $00000100;
  24385. end;
  24386. function TSPI3_SPI3STAT.getSPITUR : TBits_1; inline;
  24387. begin
  24388. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24389. end;
  24390. procedure TSPI3_SPI3STAT.setSPIBUSY; inline;
  24391. begin
  24392. pTDefRegMap(@Self)^.&set := $00000800;
  24393. end;
  24394. procedure TSPI3_SPI3STAT.clearSPIBUSY; inline;
  24395. begin
  24396. pTDefRegMap(@Self)^.clr := $00000800;
  24397. end;
  24398. procedure TSPI3_SPI3STAT.setSPIBUSY(thebits : TBits_1); inline;
  24399. begin
  24400. if thebits = 0 then
  24401. pTDefRegMap(@Self)^.clr := $00000800
  24402. else
  24403. pTDefRegMap(@Self)^.&set := $00000800;
  24404. end;
  24405. function TSPI3_SPI3STAT.getSPIBUSY : TBits_1; inline;
  24406. begin
  24407. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24408. end;
  24409. procedure TSPI3_SPI3STAT.setTXBUFELM(thebits : TBits_5); inline;
  24410. begin
  24411. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  24412. end;
  24413. function TSPI3_SPI3STAT.getTXBUFELM : TBits_5; inline;
  24414. begin
  24415. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  24416. end;
  24417. procedure TSPI3_SPI3STAT.setRXBUFELM(thebits : TBits_5); inline;
  24418. begin
  24419. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  24420. end;
  24421. function TSPI3_SPI3STAT.getRXBUFELM : TBits_5; inline;
  24422. begin
  24423. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  24424. end;
  24425. procedure TSPI3_SPI3STAT.setw(thebits : TBits_32); inline;
  24426. begin
  24427. pTDefRegMap(@Self)^.val := thebits;
  24428. end;
  24429. function TSPI3_SPI3STAT.getw : TBits_32; inline;
  24430. begin
  24431. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24432. end;
  24433. procedure TSPI2A_SPI2ACON.setSRXISEL(thebits : TBits_2); inline;
  24434. begin
  24435. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24436. end;
  24437. function TSPI2A_SPI2ACON.getSRXISEL : TBits_2; inline;
  24438. begin
  24439. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24440. end;
  24441. procedure TSPI2A_SPI2ACON.setSTXISEL(thebits : TBits_2); inline;
  24442. begin
  24443. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  24444. end;
  24445. function TSPI2A_SPI2ACON.getSTXISEL : TBits_2; inline;
  24446. begin
  24447. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  24448. end;
  24449. procedure TSPI2A_SPI2ACON.setMSTEN; inline;
  24450. begin
  24451. pTDefRegMap(@Self)^.&set := $00000020;
  24452. end;
  24453. procedure TSPI2A_SPI2ACON.clearMSTEN; inline;
  24454. begin
  24455. pTDefRegMap(@Self)^.clr := $00000020;
  24456. end;
  24457. procedure TSPI2A_SPI2ACON.setMSTEN(thebits : TBits_1); inline;
  24458. begin
  24459. if thebits = 0 then
  24460. pTDefRegMap(@Self)^.clr := $00000020
  24461. else
  24462. pTDefRegMap(@Self)^.&set := $00000020;
  24463. end;
  24464. function TSPI2A_SPI2ACON.getMSTEN : TBits_1; inline;
  24465. begin
  24466. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24467. end;
  24468. procedure TSPI2A_SPI2ACON.setCKP; inline;
  24469. begin
  24470. pTDefRegMap(@Self)^.&set := $00000040;
  24471. end;
  24472. procedure TSPI2A_SPI2ACON.clearCKP; inline;
  24473. begin
  24474. pTDefRegMap(@Self)^.clr := $00000040;
  24475. end;
  24476. procedure TSPI2A_SPI2ACON.setCKP(thebits : TBits_1); inline;
  24477. begin
  24478. if thebits = 0 then
  24479. pTDefRegMap(@Self)^.clr := $00000040
  24480. else
  24481. pTDefRegMap(@Self)^.&set := $00000040;
  24482. end;
  24483. function TSPI2A_SPI2ACON.getCKP : TBits_1; inline;
  24484. begin
  24485. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24486. end;
  24487. procedure TSPI2A_SPI2ACON.setSSEN; inline;
  24488. begin
  24489. pTDefRegMap(@Self)^.&set := $00000080;
  24490. end;
  24491. procedure TSPI2A_SPI2ACON.clearSSEN; inline;
  24492. begin
  24493. pTDefRegMap(@Self)^.clr := $00000080;
  24494. end;
  24495. procedure TSPI2A_SPI2ACON.setSSEN(thebits : TBits_1); inline;
  24496. begin
  24497. if thebits = 0 then
  24498. pTDefRegMap(@Self)^.clr := $00000080
  24499. else
  24500. pTDefRegMap(@Self)^.&set := $00000080;
  24501. end;
  24502. function TSPI2A_SPI2ACON.getSSEN : TBits_1; inline;
  24503. begin
  24504. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24505. end;
  24506. procedure TSPI2A_SPI2ACON.setCKE; inline;
  24507. begin
  24508. pTDefRegMap(@Self)^.&set := $00000100;
  24509. end;
  24510. procedure TSPI2A_SPI2ACON.clearCKE; inline;
  24511. begin
  24512. pTDefRegMap(@Self)^.clr := $00000100;
  24513. end;
  24514. procedure TSPI2A_SPI2ACON.setCKE(thebits : TBits_1); inline;
  24515. begin
  24516. if thebits = 0 then
  24517. pTDefRegMap(@Self)^.clr := $00000100
  24518. else
  24519. pTDefRegMap(@Self)^.&set := $00000100;
  24520. end;
  24521. function TSPI2A_SPI2ACON.getCKE : TBits_1; inline;
  24522. begin
  24523. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24524. end;
  24525. procedure TSPI2A_SPI2ACON.setSMP; inline;
  24526. begin
  24527. pTDefRegMap(@Self)^.&set := $00000200;
  24528. end;
  24529. procedure TSPI2A_SPI2ACON.clearSMP; inline;
  24530. begin
  24531. pTDefRegMap(@Self)^.clr := $00000200;
  24532. end;
  24533. procedure TSPI2A_SPI2ACON.setSMP(thebits : TBits_1); inline;
  24534. begin
  24535. if thebits = 0 then
  24536. pTDefRegMap(@Self)^.clr := $00000200
  24537. else
  24538. pTDefRegMap(@Self)^.&set := $00000200;
  24539. end;
  24540. function TSPI2A_SPI2ACON.getSMP : TBits_1; inline;
  24541. begin
  24542. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24543. end;
  24544. procedure TSPI2A_SPI2ACON.setMODE16; inline;
  24545. begin
  24546. pTDefRegMap(@Self)^.&set := $00000400;
  24547. end;
  24548. procedure TSPI2A_SPI2ACON.clearMODE16; inline;
  24549. begin
  24550. pTDefRegMap(@Self)^.clr := $00000400;
  24551. end;
  24552. procedure TSPI2A_SPI2ACON.setMODE16(thebits : TBits_1); inline;
  24553. begin
  24554. if thebits = 0 then
  24555. pTDefRegMap(@Self)^.clr := $00000400
  24556. else
  24557. pTDefRegMap(@Self)^.&set := $00000400;
  24558. end;
  24559. function TSPI2A_SPI2ACON.getMODE16 : TBits_1; inline;
  24560. begin
  24561. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24562. end;
  24563. procedure TSPI2A_SPI2ACON.setMODE32; inline;
  24564. begin
  24565. pTDefRegMap(@Self)^.&set := $00000800;
  24566. end;
  24567. procedure TSPI2A_SPI2ACON.clearMODE32; inline;
  24568. begin
  24569. pTDefRegMap(@Self)^.clr := $00000800;
  24570. end;
  24571. procedure TSPI2A_SPI2ACON.setMODE32(thebits : TBits_1); inline;
  24572. begin
  24573. if thebits = 0 then
  24574. pTDefRegMap(@Self)^.clr := $00000800
  24575. else
  24576. pTDefRegMap(@Self)^.&set := $00000800;
  24577. end;
  24578. function TSPI2A_SPI2ACON.getMODE32 : TBits_1; inline;
  24579. begin
  24580. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24581. end;
  24582. procedure TSPI2A_SPI2ACON.setDISSDO; inline;
  24583. begin
  24584. pTDefRegMap(@Self)^.&set := $00001000;
  24585. end;
  24586. procedure TSPI2A_SPI2ACON.clearDISSDO; inline;
  24587. begin
  24588. pTDefRegMap(@Self)^.clr := $00001000;
  24589. end;
  24590. procedure TSPI2A_SPI2ACON.setDISSDO(thebits : TBits_1); inline;
  24591. begin
  24592. if thebits = 0 then
  24593. pTDefRegMap(@Self)^.clr := $00001000
  24594. else
  24595. pTDefRegMap(@Self)^.&set := $00001000;
  24596. end;
  24597. function TSPI2A_SPI2ACON.getDISSDO : TBits_1; inline;
  24598. begin
  24599. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24600. end;
  24601. procedure TSPI2A_SPI2ACON.setSIDL; inline;
  24602. begin
  24603. pTDefRegMap(@Self)^.&set := $00002000;
  24604. end;
  24605. procedure TSPI2A_SPI2ACON.clearSIDL; inline;
  24606. begin
  24607. pTDefRegMap(@Self)^.clr := $00002000;
  24608. end;
  24609. procedure TSPI2A_SPI2ACON.setSIDL(thebits : TBits_1); inline;
  24610. begin
  24611. if thebits = 0 then
  24612. pTDefRegMap(@Self)^.clr := $00002000
  24613. else
  24614. pTDefRegMap(@Self)^.&set := $00002000;
  24615. end;
  24616. function TSPI2A_SPI2ACON.getSIDL : TBits_1; inline;
  24617. begin
  24618. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24619. end;
  24620. procedure TSPI2A_SPI2ACON.setON; inline;
  24621. begin
  24622. pTDefRegMap(@Self)^.&set := $00008000;
  24623. end;
  24624. procedure TSPI2A_SPI2ACON.clearON; inline;
  24625. begin
  24626. pTDefRegMap(@Self)^.clr := $00008000;
  24627. end;
  24628. procedure TSPI2A_SPI2ACON.setON(thebits : TBits_1); inline;
  24629. begin
  24630. if thebits = 0 then
  24631. pTDefRegMap(@Self)^.clr := $00008000
  24632. else
  24633. pTDefRegMap(@Self)^.&set := $00008000;
  24634. end;
  24635. function TSPI2A_SPI2ACON.getON : TBits_1; inline;
  24636. begin
  24637. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24638. end;
  24639. procedure TSPI2A_SPI2ACON.setENHBUF; inline;
  24640. begin
  24641. pTDefRegMap(@Self)^.&set := $00010000;
  24642. end;
  24643. procedure TSPI2A_SPI2ACON.clearENHBUF; inline;
  24644. begin
  24645. pTDefRegMap(@Self)^.clr := $00010000;
  24646. end;
  24647. procedure TSPI2A_SPI2ACON.setENHBUF(thebits : TBits_1); inline;
  24648. begin
  24649. if thebits = 0 then
  24650. pTDefRegMap(@Self)^.clr := $00010000
  24651. else
  24652. pTDefRegMap(@Self)^.&set := $00010000;
  24653. end;
  24654. function TSPI2A_SPI2ACON.getENHBUF : TBits_1; inline;
  24655. begin
  24656. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24657. end;
  24658. procedure TSPI2A_SPI2ACON.setSPIFE; inline;
  24659. begin
  24660. pTDefRegMap(@Self)^.&set := $00020000;
  24661. end;
  24662. procedure TSPI2A_SPI2ACON.clearSPIFE; inline;
  24663. begin
  24664. pTDefRegMap(@Self)^.clr := $00020000;
  24665. end;
  24666. procedure TSPI2A_SPI2ACON.setSPIFE(thebits : TBits_1); inline;
  24667. begin
  24668. if thebits = 0 then
  24669. pTDefRegMap(@Self)^.clr := $00020000
  24670. else
  24671. pTDefRegMap(@Self)^.&set := $00020000;
  24672. end;
  24673. function TSPI2A_SPI2ACON.getSPIFE : TBits_1; inline;
  24674. begin
  24675. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24676. end;
  24677. procedure TSPI2A_SPI2ACON.setFRMCNT(thebits : TBits_3); inline;
  24678. begin
  24679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24680. end;
  24681. function TSPI2A_SPI2ACON.getFRMCNT : TBits_3; inline;
  24682. begin
  24683. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24684. end;
  24685. procedure TSPI2A_SPI2ACON.setFRMSYPW; inline;
  24686. begin
  24687. pTDefRegMap(@Self)^.&set := $08000000;
  24688. end;
  24689. procedure TSPI2A_SPI2ACON.clearFRMSYPW; inline;
  24690. begin
  24691. pTDefRegMap(@Self)^.clr := $08000000;
  24692. end;
  24693. procedure TSPI2A_SPI2ACON.setFRMSYPW(thebits : TBits_1); inline;
  24694. begin
  24695. if thebits = 0 then
  24696. pTDefRegMap(@Self)^.clr := $08000000
  24697. else
  24698. pTDefRegMap(@Self)^.&set := $08000000;
  24699. end;
  24700. function TSPI2A_SPI2ACON.getFRMSYPW : TBits_1; inline;
  24701. begin
  24702. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  24703. end;
  24704. procedure TSPI2A_SPI2ACON.setMSSEN; inline;
  24705. begin
  24706. pTDefRegMap(@Self)^.&set := $10000000;
  24707. end;
  24708. procedure TSPI2A_SPI2ACON.clearMSSEN; inline;
  24709. begin
  24710. pTDefRegMap(@Self)^.clr := $10000000;
  24711. end;
  24712. procedure TSPI2A_SPI2ACON.setMSSEN(thebits : TBits_1); inline;
  24713. begin
  24714. if thebits = 0 then
  24715. pTDefRegMap(@Self)^.clr := $10000000
  24716. else
  24717. pTDefRegMap(@Self)^.&set := $10000000;
  24718. end;
  24719. function TSPI2A_SPI2ACON.getMSSEN : TBits_1; inline;
  24720. begin
  24721. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24722. end;
  24723. procedure TSPI2A_SPI2ACON.setFRMPOL; inline;
  24724. begin
  24725. pTDefRegMap(@Self)^.&set := $20000000;
  24726. end;
  24727. procedure TSPI2A_SPI2ACON.clearFRMPOL; inline;
  24728. begin
  24729. pTDefRegMap(@Self)^.clr := $20000000;
  24730. end;
  24731. procedure TSPI2A_SPI2ACON.setFRMPOL(thebits : TBits_1); inline;
  24732. begin
  24733. if thebits = 0 then
  24734. pTDefRegMap(@Self)^.clr := $20000000
  24735. else
  24736. pTDefRegMap(@Self)^.&set := $20000000;
  24737. end;
  24738. function TSPI2A_SPI2ACON.getFRMPOL : TBits_1; inline;
  24739. begin
  24740. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  24741. end;
  24742. procedure TSPI2A_SPI2ACON.setFRMSYNC; inline;
  24743. begin
  24744. pTDefRegMap(@Self)^.&set := $40000000;
  24745. end;
  24746. procedure TSPI2A_SPI2ACON.clearFRMSYNC; inline;
  24747. begin
  24748. pTDefRegMap(@Self)^.clr := $40000000;
  24749. end;
  24750. procedure TSPI2A_SPI2ACON.setFRMSYNC(thebits : TBits_1); inline;
  24751. begin
  24752. if thebits = 0 then
  24753. pTDefRegMap(@Self)^.clr := $40000000
  24754. else
  24755. pTDefRegMap(@Self)^.&set := $40000000;
  24756. end;
  24757. function TSPI2A_SPI2ACON.getFRMSYNC : TBits_1; inline;
  24758. begin
  24759. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24760. end;
  24761. procedure TSPI2A_SPI2ACON.setFRMEN; inline;
  24762. begin
  24763. pTDefRegMap(@Self)^.&set := $80000000;
  24764. end;
  24765. procedure TSPI2A_SPI2ACON.clearFRMEN; inline;
  24766. begin
  24767. pTDefRegMap(@Self)^.clr := $80000000;
  24768. end;
  24769. procedure TSPI2A_SPI2ACON.setFRMEN(thebits : TBits_1); inline;
  24770. begin
  24771. if thebits = 0 then
  24772. pTDefRegMap(@Self)^.clr := $80000000
  24773. else
  24774. pTDefRegMap(@Self)^.&set := $80000000;
  24775. end;
  24776. function TSPI2A_SPI2ACON.getFRMEN : TBits_1; inline;
  24777. begin
  24778. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24779. end;
  24780. procedure TSPI2A_SPI2ACON.setw(thebits : TBits_32); inline;
  24781. begin
  24782. pTDefRegMap(@Self)^.val := thebits;
  24783. end;
  24784. function TSPI2A_SPI2ACON.getw : TBits_32; inline;
  24785. begin
  24786. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24787. end;
  24788. procedure TSPI2A_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  24789. begin
  24790. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24791. end;
  24792. function TSPI2A_SPI2CON.getSRXISEL : TBits_2; inline;
  24793. begin
  24794. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24795. end;
  24796. procedure TSPI2A_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  24797. begin
  24798. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  24799. end;
  24800. function TSPI2A_SPI2CON.getSTXISEL : TBits_2; inline;
  24801. begin
  24802. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  24803. end;
  24804. procedure TSPI2A_SPI2CON.setMSTEN; inline;
  24805. begin
  24806. pTDefRegMap(@Self)^.&set := $00000020;
  24807. end;
  24808. procedure TSPI2A_SPI2CON.clearMSTEN; inline;
  24809. begin
  24810. pTDefRegMap(@Self)^.clr := $00000020;
  24811. end;
  24812. procedure TSPI2A_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  24813. begin
  24814. if thebits = 0 then
  24815. pTDefRegMap(@Self)^.clr := $00000020
  24816. else
  24817. pTDefRegMap(@Self)^.&set := $00000020;
  24818. end;
  24819. function TSPI2A_SPI2CON.getMSTEN : TBits_1; inline;
  24820. begin
  24821. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24822. end;
  24823. procedure TSPI2A_SPI2CON.setCKP; inline;
  24824. begin
  24825. pTDefRegMap(@Self)^.&set := $00000040;
  24826. end;
  24827. procedure TSPI2A_SPI2CON.clearCKP; inline;
  24828. begin
  24829. pTDefRegMap(@Self)^.clr := $00000040;
  24830. end;
  24831. procedure TSPI2A_SPI2CON.setCKP(thebits : TBits_1); inline;
  24832. begin
  24833. if thebits = 0 then
  24834. pTDefRegMap(@Self)^.clr := $00000040
  24835. else
  24836. pTDefRegMap(@Self)^.&set := $00000040;
  24837. end;
  24838. function TSPI2A_SPI2CON.getCKP : TBits_1; inline;
  24839. begin
  24840. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24841. end;
  24842. procedure TSPI2A_SPI2CON.setSSEN; inline;
  24843. begin
  24844. pTDefRegMap(@Self)^.&set := $00000080;
  24845. end;
  24846. procedure TSPI2A_SPI2CON.clearSSEN; inline;
  24847. begin
  24848. pTDefRegMap(@Self)^.clr := $00000080;
  24849. end;
  24850. procedure TSPI2A_SPI2CON.setSSEN(thebits : TBits_1); inline;
  24851. begin
  24852. if thebits = 0 then
  24853. pTDefRegMap(@Self)^.clr := $00000080
  24854. else
  24855. pTDefRegMap(@Self)^.&set := $00000080;
  24856. end;
  24857. function TSPI2A_SPI2CON.getSSEN : TBits_1; inline;
  24858. begin
  24859. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24860. end;
  24861. procedure TSPI2A_SPI2CON.setCKE; inline;
  24862. begin
  24863. pTDefRegMap(@Self)^.&set := $00000100;
  24864. end;
  24865. procedure TSPI2A_SPI2CON.clearCKE; inline;
  24866. begin
  24867. pTDefRegMap(@Self)^.clr := $00000100;
  24868. end;
  24869. procedure TSPI2A_SPI2CON.setCKE(thebits : TBits_1); inline;
  24870. begin
  24871. if thebits = 0 then
  24872. pTDefRegMap(@Self)^.clr := $00000100
  24873. else
  24874. pTDefRegMap(@Self)^.&set := $00000100;
  24875. end;
  24876. function TSPI2A_SPI2CON.getCKE : TBits_1; inline;
  24877. begin
  24878. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24879. end;
  24880. procedure TSPI2A_SPI2CON.setSMP; inline;
  24881. begin
  24882. pTDefRegMap(@Self)^.&set := $00000200;
  24883. end;
  24884. procedure TSPI2A_SPI2CON.clearSMP; inline;
  24885. begin
  24886. pTDefRegMap(@Self)^.clr := $00000200;
  24887. end;
  24888. procedure TSPI2A_SPI2CON.setSMP(thebits : TBits_1); inline;
  24889. begin
  24890. if thebits = 0 then
  24891. pTDefRegMap(@Self)^.clr := $00000200
  24892. else
  24893. pTDefRegMap(@Self)^.&set := $00000200;
  24894. end;
  24895. function TSPI2A_SPI2CON.getSMP : TBits_1; inline;
  24896. begin
  24897. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24898. end;
  24899. procedure TSPI2A_SPI2CON.setMODE16; inline;
  24900. begin
  24901. pTDefRegMap(@Self)^.&set := $00000400;
  24902. end;
  24903. procedure TSPI2A_SPI2CON.clearMODE16; inline;
  24904. begin
  24905. pTDefRegMap(@Self)^.clr := $00000400;
  24906. end;
  24907. procedure TSPI2A_SPI2CON.setMODE16(thebits : TBits_1); inline;
  24908. begin
  24909. if thebits = 0 then
  24910. pTDefRegMap(@Self)^.clr := $00000400
  24911. else
  24912. pTDefRegMap(@Self)^.&set := $00000400;
  24913. end;
  24914. function TSPI2A_SPI2CON.getMODE16 : TBits_1; inline;
  24915. begin
  24916. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24917. end;
  24918. procedure TSPI2A_SPI2CON.setMODE32; inline;
  24919. begin
  24920. pTDefRegMap(@Self)^.&set := $00000800;
  24921. end;
  24922. procedure TSPI2A_SPI2CON.clearMODE32; inline;
  24923. begin
  24924. pTDefRegMap(@Self)^.clr := $00000800;
  24925. end;
  24926. procedure TSPI2A_SPI2CON.setMODE32(thebits : TBits_1); inline;
  24927. begin
  24928. if thebits = 0 then
  24929. pTDefRegMap(@Self)^.clr := $00000800
  24930. else
  24931. pTDefRegMap(@Self)^.&set := $00000800;
  24932. end;
  24933. function TSPI2A_SPI2CON.getMODE32 : TBits_1; inline;
  24934. begin
  24935. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24936. end;
  24937. procedure TSPI2A_SPI2CON.setDISSDO; inline;
  24938. begin
  24939. pTDefRegMap(@Self)^.&set := $00001000;
  24940. end;
  24941. procedure TSPI2A_SPI2CON.clearDISSDO; inline;
  24942. begin
  24943. pTDefRegMap(@Self)^.clr := $00001000;
  24944. end;
  24945. procedure TSPI2A_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  24946. begin
  24947. if thebits = 0 then
  24948. pTDefRegMap(@Self)^.clr := $00001000
  24949. else
  24950. pTDefRegMap(@Self)^.&set := $00001000;
  24951. end;
  24952. function TSPI2A_SPI2CON.getDISSDO : TBits_1; inline;
  24953. begin
  24954. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24955. end;
  24956. procedure TSPI2A_SPI2CON.setSIDL; inline;
  24957. begin
  24958. pTDefRegMap(@Self)^.&set := $00002000;
  24959. end;
  24960. procedure TSPI2A_SPI2CON.clearSIDL; inline;
  24961. begin
  24962. pTDefRegMap(@Self)^.clr := $00002000;
  24963. end;
  24964. procedure TSPI2A_SPI2CON.setSIDL(thebits : TBits_1); inline;
  24965. begin
  24966. if thebits = 0 then
  24967. pTDefRegMap(@Self)^.clr := $00002000
  24968. else
  24969. pTDefRegMap(@Self)^.&set := $00002000;
  24970. end;
  24971. function TSPI2A_SPI2CON.getSIDL : TBits_1; inline;
  24972. begin
  24973. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24974. end;
  24975. procedure TSPI2A_SPI2CON.setON; inline;
  24976. begin
  24977. pTDefRegMap(@Self)^.&set := $00008000;
  24978. end;
  24979. procedure TSPI2A_SPI2CON.clearON; inline;
  24980. begin
  24981. pTDefRegMap(@Self)^.clr := $00008000;
  24982. end;
  24983. procedure TSPI2A_SPI2CON.setON(thebits : TBits_1); inline;
  24984. begin
  24985. if thebits = 0 then
  24986. pTDefRegMap(@Self)^.clr := $00008000
  24987. else
  24988. pTDefRegMap(@Self)^.&set := $00008000;
  24989. end;
  24990. function TSPI2A_SPI2CON.getON : TBits_1; inline;
  24991. begin
  24992. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24993. end;
  24994. procedure TSPI2A_SPI2CON.setENHBUF; inline;
  24995. begin
  24996. pTDefRegMap(@Self)^.&set := $00010000;
  24997. end;
  24998. procedure TSPI2A_SPI2CON.clearENHBUF; inline;
  24999. begin
  25000. pTDefRegMap(@Self)^.clr := $00010000;
  25001. end;
  25002. procedure TSPI2A_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  25003. begin
  25004. if thebits = 0 then
  25005. pTDefRegMap(@Self)^.clr := $00010000
  25006. else
  25007. pTDefRegMap(@Self)^.&set := $00010000;
  25008. end;
  25009. function TSPI2A_SPI2CON.getENHBUF : TBits_1; inline;
  25010. begin
  25011. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25012. end;
  25013. procedure TSPI2A_SPI2CON.setSPIFE; inline;
  25014. begin
  25015. pTDefRegMap(@Self)^.&set := $00020000;
  25016. end;
  25017. procedure TSPI2A_SPI2CON.clearSPIFE; inline;
  25018. begin
  25019. pTDefRegMap(@Self)^.clr := $00020000;
  25020. end;
  25021. procedure TSPI2A_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  25022. begin
  25023. if thebits = 0 then
  25024. pTDefRegMap(@Self)^.clr := $00020000
  25025. else
  25026. pTDefRegMap(@Self)^.&set := $00020000;
  25027. end;
  25028. function TSPI2A_SPI2CON.getSPIFE : TBits_1; inline;
  25029. begin
  25030. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25031. end;
  25032. procedure TSPI2A_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  25033. begin
  25034. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25035. end;
  25036. function TSPI2A_SPI2CON.getFRMCNT : TBits_3; inline;
  25037. begin
  25038. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25039. end;
  25040. procedure TSPI2A_SPI2CON.setFRMSYPW; inline;
  25041. begin
  25042. pTDefRegMap(@Self)^.&set := $08000000;
  25043. end;
  25044. procedure TSPI2A_SPI2CON.clearFRMSYPW; inline;
  25045. begin
  25046. pTDefRegMap(@Self)^.clr := $08000000;
  25047. end;
  25048. procedure TSPI2A_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  25049. begin
  25050. if thebits = 0 then
  25051. pTDefRegMap(@Self)^.clr := $08000000
  25052. else
  25053. pTDefRegMap(@Self)^.&set := $08000000;
  25054. end;
  25055. function TSPI2A_SPI2CON.getFRMSYPW : TBits_1; inline;
  25056. begin
  25057. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25058. end;
  25059. procedure TSPI2A_SPI2CON.setMSSEN; inline;
  25060. begin
  25061. pTDefRegMap(@Self)^.&set := $10000000;
  25062. end;
  25063. procedure TSPI2A_SPI2CON.clearMSSEN; inline;
  25064. begin
  25065. pTDefRegMap(@Self)^.clr := $10000000;
  25066. end;
  25067. procedure TSPI2A_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  25068. begin
  25069. if thebits = 0 then
  25070. pTDefRegMap(@Self)^.clr := $10000000
  25071. else
  25072. pTDefRegMap(@Self)^.&set := $10000000;
  25073. end;
  25074. function TSPI2A_SPI2CON.getMSSEN : TBits_1; inline;
  25075. begin
  25076. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25077. end;
  25078. procedure TSPI2A_SPI2CON.setFRMPOL; inline;
  25079. begin
  25080. pTDefRegMap(@Self)^.&set := $20000000;
  25081. end;
  25082. procedure TSPI2A_SPI2CON.clearFRMPOL; inline;
  25083. begin
  25084. pTDefRegMap(@Self)^.clr := $20000000;
  25085. end;
  25086. procedure TSPI2A_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  25087. begin
  25088. if thebits = 0 then
  25089. pTDefRegMap(@Self)^.clr := $20000000
  25090. else
  25091. pTDefRegMap(@Self)^.&set := $20000000;
  25092. end;
  25093. function TSPI2A_SPI2CON.getFRMPOL : TBits_1; inline;
  25094. begin
  25095. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25096. end;
  25097. procedure TSPI2A_SPI2CON.setFRMSYNC; inline;
  25098. begin
  25099. pTDefRegMap(@Self)^.&set := $40000000;
  25100. end;
  25101. procedure TSPI2A_SPI2CON.clearFRMSYNC; inline;
  25102. begin
  25103. pTDefRegMap(@Self)^.clr := $40000000;
  25104. end;
  25105. procedure TSPI2A_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  25106. begin
  25107. if thebits = 0 then
  25108. pTDefRegMap(@Self)^.clr := $40000000
  25109. else
  25110. pTDefRegMap(@Self)^.&set := $40000000;
  25111. end;
  25112. function TSPI2A_SPI2CON.getFRMSYNC : TBits_1; inline;
  25113. begin
  25114. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25115. end;
  25116. procedure TSPI2A_SPI2CON.setFRMEN; inline;
  25117. begin
  25118. pTDefRegMap(@Self)^.&set := $80000000;
  25119. end;
  25120. procedure TSPI2A_SPI2CON.clearFRMEN; inline;
  25121. begin
  25122. pTDefRegMap(@Self)^.clr := $80000000;
  25123. end;
  25124. procedure TSPI2A_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  25125. begin
  25126. if thebits = 0 then
  25127. pTDefRegMap(@Self)^.clr := $80000000
  25128. else
  25129. pTDefRegMap(@Self)^.&set := $80000000;
  25130. end;
  25131. function TSPI2A_SPI2CON.getFRMEN : TBits_1; inline;
  25132. begin
  25133. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25134. end;
  25135. procedure TSPI2A_SPI2CON.setw(thebits : TBits_32); inline;
  25136. begin
  25137. pTDefRegMap(@Self)^.val := thebits;
  25138. end;
  25139. function TSPI2A_SPI2CON.getw : TBits_32; inline;
  25140. begin
  25141. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25142. end;
  25143. procedure TSPI2A_SPI2ASTAT.setSPIRBF; inline;
  25144. begin
  25145. pTDefRegMap(@Self)^.&set := $00000001;
  25146. end;
  25147. procedure TSPI2A_SPI2ASTAT.clearSPIRBF; inline;
  25148. begin
  25149. pTDefRegMap(@Self)^.clr := $00000001;
  25150. end;
  25151. procedure TSPI2A_SPI2ASTAT.setSPIRBF(thebits : TBits_1); inline;
  25152. begin
  25153. if thebits = 0 then
  25154. pTDefRegMap(@Self)^.clr := $00000001
  25155. else
  25156. pTDefRegMap(@Self)^.&set := $00000001;
  25157. end;
  25158. function TSPI2A_SPI2ASTAT.getSPIRBF : TBits_1; inline;
  25159. begin
  25160. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25161. end;
  25162. procedure TSPI2A_SPI2ASTAT.setSPITBF; inline;
  25163. begin
  25164. pTDefRegMap(@Self)^.&set := $00000002;
  25165. end;
  25166. procedure TSPI2A_SPI2ASTAT.clearSPITBF; inline;
  25167. begin
  25168. pTDefRegMap(@Self)^.clr := $00000002;
  25169. end;
  25170. procedure TSPI2A_SPI2ASTAT.setSPITBF(thebits : TBits_1); inline;
  25171. begin
  25172. if thebits = 0 then
  25173. pTDefRegMap(@Self)^.clr := $00000002
  25174. else
  25175. pTDefRegMap(@Self)^.&set := $00000002;
  25176. end;
  25177. function TSPI2A_SPI2ASTAT.getSPITBF : TBits_1; inline;
  25178. begin
  25179. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25180. end;
  25181. procedure TSPI2A_SPI2ASTAT.setSPITBE; inline;
  25182. begin
  25183. pTDefRegMap(@Self)^.&set := $00000008;
  25184. end;
  25185. procedure TSPI2A_SPI2ASTAT.clearSPITBE; inline;
  25186. begin
  25187. pTDefRegMap(@Self)^.clr := $00000008;
  25188. end;
  25189. procedure TSPI2A_SPI2ASTAT.setSPITBE(thebits : TBits_1); inline;
  25190. begin
  25191. if thebits = 0 then
  25192. pTDefRegMap(@Self)^.clr := $00000008
  25193. else
  25194. pTDefRegMap(@Self)^.&set := $00000008;
  25195. end;
  25196. function TSPI2A_SPI2ASTAT.getSPITBE : TBits_1; inline;
  25197. begin
  25198. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25199. end;
  25200. procedure TSPI2A_SPI2ASTAT.setSPIRBE; inline;
  25201. begin
  25202. pTDefRegMap(@Self)^.&set := $00000020;
  25203. end;
  25204. procedure TSPI2A_SPI2ASTAT.clearSPIRBE; inline;
  25205. begin
  25206. pTDefRegMap(@Self)^.clr := $00000020;
  25207. end;
  25208. procedure TSPI2A_SPI2ASTAT.setSPIRBE(thebits : TBits_1); inline;
  25209. begin
  25210. if thebits = 0 then
  25211. pTDefRegMap(@Self)^.clr := $00000020
  25212. else
  25213. pTDefRegMap(@Self)^.&set := $00000020;
  25214. end;
  25215. function TSPI2A_SPI2ASTAT.getSPIRBE : TBits_1; inline;
  25216. begin
  25217. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25218. end;
  25219. procedure TSPI2A_SPI2ASTAT.setSPIROV; inline;
  25220. begin
  25221. pTDefRegMap(@Self)^.&set := $00000040;
  25222. end;
  25223. procedure TSPI2A_SPI2ASTAT.clearSPIROV; inline;
  25224. begin
  25225. pTDefRegMap(@Self)^.clr := $00000040;
  25226. end;
  25227. procedure TSPI2A_SPI2ASTAT.setSPIROV(thebits : TBits_1); inline;
  25228. begin
  25229. if thebits = 0 then
  25230. pTDefRegMap(@Self)^.clr := $00000040
  25231. else
  25232. pTDefRegMap(@Self)^.&set := $00000040;
  25233. end;
  25234. function TSPI2A_SPI2ASTAT.getSPIROV : TBits_1; inline;
  25235. begin
  25236. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25237. end;
  25238. procedure TSPI2A_SPI2ASTAT.setSRMT; inline;
  25239. begin
  25240. pTDefRegMap(@Self)^.&set := $00000080;
  25241. end;
  25242. procedure TSPI2A_SPI2ASTAT.clearSRMT; inline;
  25243. begin
  25244. pTDefRegMap(@Self)^.clr := $00000080;
  25245. end;
  25246. procedure TSPI2A_SPI2ASTAT.setSRMT(thebits : TBits_1); inline;
  25247. begin
  25248. if thebits = 0 then
  25249. pTDefRegMap(@Self)^.clr := $00000080
  25250. else
  25251. pTDefRegMap(@Self)^.&set := $00000080;
  25252. end;
  25253. function TSPI2A_SPI2ASTAT.getSRMT : TBits_1; inline;
  25254. begin
  25255. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25256. end;
  25257. procedure TSPI2A_SPI2ASTAT.setSPITUR; inline;
  25258. begin
  25259. pTDefRegMap(@Self)^.&set := $00000100;
  25260. end;
  25261. procedure TSPI2A_SPI2ASTAT.clearSPITUR; inline;
  25262. begin
  25263. pTDefRegMap(@Self)^.clr := $00000100;
  25264. end;
  25265. procedure TSPI2A_SPI2ASTAT.setSPITUR(thebits : TBits_1); inline;
  25266. begin
  25267. if thebits = 0 then
  25268. pTDefRegMap(@Self)^.clr := $00000100
  25269. else
  25270. pTDefRegMap(@Self)^.&set := $00000100;
  25271. end;
  25272. function TSPI2A_SPI2ASTAT.getSPITUR : TBits_1; inline;
  25273. begin
  25274. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25275. end;
  25276. procedure TSPI2A_SPI2ASTAT.setSPIBUSY; inline;
  25277. begin
  25278. pTDefRegMap(@Self)^.&set := $00000800;
  25279. end;
  25280. procedure TSPI2A_SPI2ASTAT.clearSPIBUSY; inline;
  25281. begin
  25282. pTDefRegMap(@Self)^.clr := $00000800;
  25283. end;
  25284. procedure TSPI2A_SPI2ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  25285. begin
  25286. if thebits = 0 then
  25287. pTDefRegMap(@Self)^.clr := $00000800
  25288. else
  25289. pTDefRegMap(@Self)^.&set := $00000800;
  25290. end;
  25291. function TSPI2A_SPI2ASTAT.getSPIBUSY : TBits_1; inline;
  25292. begin
  25293. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25294. end;
  25295. procedure TSPI2A_SPI2ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  25296. begin
  25297. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  25298. end;
  25299. function TSPI2A_SPI2ASTAT.getTXBUFELM : TBits_5; inline;
  25300. begin
  25301. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  25302. end;
  25303. procedure TSPI2A_SPI2ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  25304. begin
  25305. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  25306. end;
  25307. function TSPI2A_SPI2ASTAT.getRXBUFELM : TBits_5; inline;
  25308. begin
  25309. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  25310. end;
  25311. procedure TSPI2A_SPI2ASTAT.setw(thebits : TBits_32); inline;
  25312. begin
  25313. pTDefRegMap(@Self)^.val := thebits;
  25314. end;
  25315. function TSPI2A_SPI2ASTAT.getw : TBits_32; inline;
  25316. begin
  25317. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25318. end;
  25319. procedure TSPI2A_SPI2STAT.setSPIRBF; inline;
  25320. begin
  25321. pTDefRegMap(@Self)^.&set := $00000001;
  25322. end;
  25323. procedure TSPI2A_SPI2STAT.clearSPIRBF; inline;
  25324. begin
  25325. pTDefRegMap(@Self)^.clr := $00000001;
  25326. end;
  25327. procedure TSPI2A_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  25328. begin
  25329. if thebits = 0 then
  25330. pTDefRegMap(@Self)^.clr := $00000001
  25331. else
  25332. pTDefRegMap(@Self)^.&set := $00000001;
  25333. end;
  25334. function TSPI2A_SPI2STAT.getSPIRBF : TBits_1; inline;
  25335. begin
  25336. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25337. end;
  25338. procedure TSPI2A_SPI2STAT.setSPITBF; inline;
  25339. begin
  25340. pTDefRegMap(@Self)^.&set := $00000002;
  25341. end;
  25342. procedure TSPI2A_SPI2STAT.clearSPITBF; inline;
  25343. begin
  25344. pTDefRegMap(@Self)^.clr := $00000002;
  25345. end;
  25346. procedure TSPI2A_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  25347. begin
  25348. if thebits = 0 then
  25349. pTDefRegMap(@Self)^.clr := $00000002
  25350. else
  25351. pTDefRegMap(@Self)^.&set := $00000002;
  25352. end;
  25353. function TSPI2A_SPI2STAT.getSPITBF : TBits_1; inline;
  25354. begin
  25355. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25356. end;
  25357. procedure TSPI2A_SPI2STAT.setSPITBE; inline;
  25358. begin
  25359. pTDefRegMap(@Self)^.&set := $00000008;
  25360. end;
  25361. procedure TSPI2A_SPI2STAT.clearSPITBE; inline;
  25362. begin
  25363. pTDefRegMap(@Self)^.clr := $00000008;
  25364. end;
  25365. procedure TSPI2A_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  25366. begin
  25367. if thebits = 0 then
  25368. pTDefRegMap(@Self)^.clr := $00000008
  25369. else
  25370. pTDefRegMap(@Self)^.&set := $00000008;
  25371. end;
  25372. function TSPI2A_SPI2STAT.getSPITBE : TBits_1; inline;
  25373. begin
  25374. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25375. end;
  25376. procedure TSPI2A_SPI2STAT.setSPIRBE; inline;
  25377. begin
  25378. pTDefRegMap(@Self)^.&set := $00000020;
  25379. end;
  25380. procedure TSPI2A_SPI2STAT.clearSPIRBE; inline;
  25381. begin
  25382. pTDefRegMap(@Self)^.clr := $00000020;
  25383. end;
  25384. procedure TSPI2A_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  25385. begin
  25386. if thebits = 0 then
  25387. pTDefRegMap(@Self)^.clr := $00000020
  25388. else
  25389. pTDefRegMap(@Self)^.&set := $00000020;
  25390. end;
  25391. function TSPI2A_SPI2STAT.getSPIRBE : TBits_1; inline;
  25392. begin
  25393. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25394. end;
  25395. procedure TSPI2A_SPI2STAT.setSPIROV; inline;
  25396. begin
  25397. pTDefRegMap(@Self)^.&set := $00000040;
  25398. end;
  25399. procedure TSPI2A_SPI2STAT.clearSPIROV; inline;
  25400. begin
  25401. pTDefRegMap(@Self)^.clr := $00000040;
  25402. end;
  25403. procedure TSPI2A_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  25404. begin
  25405. if thebits = 0 then
  25406. pTDefRegMap(@Self)^.clr := $00000040
  25407. else
  25408. pTDefRegMap(@Self)^.&set := $00000040;
  25409. end;
  25410. function TSPI2A_SPI2STAT.getSPIROV : TBits_1; inline;
  25411. begin
  25412. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25413. end;
  25414. procedure TSPI2A_SPI2STAT.setSRMT; inline;
  25415. begin
  25416. pTDefRegMap(@Self)^.&set := $00000080;
  25417. end;
  25418. procedure TSPI2A_SPI2STAT.clearSRMT; inline;
  25419. begin
  25420. pTDefRegMap(@Self)^.clr := $00000080;
  25421. end;
  25422. procedure TSPI2A_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  25423. begin
  25424. if thebits = 0 then
  25425. pTDefRegMap(@Self)^.clr := $00000080
  25426. else
  25427. pTDefRegMap(@Self)^.&set := $00000080;
  25428. end;
  25429. function TSPI2A_SPI2STAT.getSRMT : TBits_1; inline;
  25430. begin
  25431. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25432. end;
  25433. procedure TSPI2A_SPI2STAT.setSPITUR; inline;
  25434. begin
  25435. pTDefRegMap(@Self)^.&set := $00000100;
  25436. end;
  25437. procedure TSPI2A_SPI2STAT.clearSPITUR; inline;
  25438. begin
  25439. pTDefRegMap(@Self)^.clr := $00000100;
  25440. end;
  25441. procedure TSPI2A_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  25442. begin
  25443. if thebits = 0 then
  25444. pTDefRegMap(@Self)^.clr := $00000100
  25445. else
  25446. pTDefRegMap(@Self)^.&set := $00000100;
  25447. end;
  25448. function TSPI2A_SPI2STAT.getSPITUR : TBits_1; inline;
  25449. begin
  25450. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25451. end;
  25452. procedure TSPI2A_SPI2STAT.setSPIBUSY; inline;
  25453. begin
  25454. pTDefRegMap(@Self)^.&set := $00000800;
  25455. end;
  25456. procedure TSPI2A_SPI2STAT.clearSPIBUSY; inline;
  25457. begin
  25458. pTDefRegMap(@Self)^.clr := $00000800;
  25459. end;
  25460. procedure TSPI2A_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  25461. begin
  25462. if thebits = 0 then
  25463. pTDefRegMap(@Self)^.clr := $00000800
  25464. else
  25465. pTDefRegMap(@Self)^.&set := $00000800;
  25466. end;
  25467. function TSPI2A_SPI2STAT.getSPIBUSY : TBits_1; inline;
  25468. begin
  25469. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25470. end;
  25471. procedure TSPI2A_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  25472. begin
  25473. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  25474. end;
  25475. function TSPI2A_SPI2STAT.getTXBUFELM : TBits_5; inline;
  25476. begin
  25477. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  25478. end;
  25479. procedure TSPI2A_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  25480. begin
  25481. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  25482. end;
  25483. function TSPI2A_SPI2STAT.getRXBUFELM : TBits_5; inline;
  25484. begin
  25485. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  25486. end;
  25487. procedure TSPI2A_SPI2STAT.setw(thebits : TBits_32); inline;
  25488. begin
  25489. pTDefRegMap(@Self)^.val := thebits;
  25490. end;
  25491. function TSPI2A_SPI2STAT.getw : TBits_32; inline;
  25492. begin
  25493. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25494. end;
  25495. procedure TSPI3A_SPI3ACON.setSRXISEL(thebits : TBits_2); inline;
  25496. begin
  25497. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  25498. end;
  25499. function TSPI3A_SPI3ACON.getSRXISEL : TBits_2; inline;
  25500. begin
  25501. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  25502. end;
  25503. procedure TSPI3A_SPI3ACON.setSTXISEL(thebits : TBits_2); inline;
  25504. begin
  25505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  25506. end;
  25507. function TSPI3A_SPI3ACON.getSTXISEL : TBits_2; inline;
  25508. begin
  25509. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  25510. end;
  25511. procedure TSPI3A_SPI3ACON.setMSTEN; inline;
  25512. begin
  25513. pTDefRegMap(@Self)^.&set := $00000020;
  25514. end;
  25515. procedure TSPI3A_SPI3ACON.clearMSTEN; inline;
  25516. begin
  25517. pTDefRegMap(@Self)^.clr := $00000020;
  25518. end;
  25519. procedure TSPI3A_SPI3ACON.setMSTEN(thebits : TBits_1); inline;
  25520. begin
  25521. if thebits = 0 then
  25522. pTDefRegMap(@Self)^.clr := $00000020
  25523. else
  25524. pTDefRegMap(@Self)^.&set := $00000020;
  25525. end;
  25526. function TSPI3A_SPI3ACON.getMSTEN : TBits_1; inline;
  25527. begin
  25528. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25529. end;
  25530. procedure TSPI3A_SPI3ACON.setCKP; inline;
  25531. begin
  25532. pTDefRegMap(@Self)^.&set := $00000040;
  25533. end;
  25534. procedure TSPI3A_SPI3ACON.clearCKP; inline;
  25535. begin
  25536. pTDefRegMap(@Self)^.clr := $00000040;
  25537. end;
  25538. procedure TSPI3A_SPI3ACON.setCKP(thebits : TBits_1); inline;
  25539. begin
  25540. if thebits = 0 then
  25541. pTDefRegMap(@Self)^.clr := $00000040
  25542. else
  25543. pTDefRegMap(@Self)^.&set := $00000040;
  25544. end;
  25545. function TSPI3A_SPI3ACON.getCKP : TBits_1; inline;
  25546. begin
  25547. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25548. end;
  25549. procedure TSPI3A_SPI3ACON.setSSEN; inline;
  25550. begin
  25551. pTDefRegMap(@Self)^.&set := $00000080;
  25552. end;
  25553. procedure TSPI3A_SPI3ACON.clearSSEN; inline;
  25554. begin
  25555. pTDefRegMap(@Self)^.clr := $00000080;
  25556. end;
  25557. procedure TSPI3A_SPI3ACON.setSSEN(thebits : TBits_1); inline;
  25558. begin
  25559. if thebits = 0 then
  25560. pTDefRegMap(@Self)^.clr := $00000080
  25561. else
  25562. pTDefRegMap(@Self)^.&set := $00000080;
  25563. end;
  25564. function TSPI3A_SPI3ACON.getSSEN : TBits_1; inline;
  25565. begin
  25566. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25567. end;
  25568. procedure TSPI3A_SPI3ACON.setCKE; inline;
  25569. begin
  25570. pTDefRegMap(@Self)^.&set := $00000100;
  25571. end;
  25572. procedure TSPI3A_SPI3ACON.clearCKE; inline;
  25573. begin
  25574. pTDefRegMap(@Self)^.clr := $00000100;
  25575. end;
  25576. procedure TSPI3A_SPI3ACON.setCKE(thebits : TBits_1); inline;
  25577. begin
  25578. if thebits = 0 then
  25579. pTDefRegMap(@Self)^.clr := $00000100
  25580. else
  25581. pTDefRegMap(@Self)^.&set := $00000100;
  25582. end;
  25583. function TSPI3A_SPI3ACON.getCKE : TBits_1; inline;
  25584. begin
  25585. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25586. end;
  25587. procedure TSPI3A_SPI3ACON.setSMP; inline;
  25588. begin
  25589. pTDefRegMap(@Self)^.&set := $00000200;
  25590. end;
  25591. procedure TSPI3A_SPI3ACON.clearSMP; inline;
  25592. begin
  25593. pTDefRegMap(@Self)^.clr := $00000200;
  25594. end;
  25595. procedure TSPI3A_SPI3ACON.setSMP(thebits : TBits_1); inline;
  25596. begin
  25597. if thebits = 0 then
  25598. pTDefRegMap(@Self)^.clr := $00000200
  25599. else
  25600. pTDefRegMap(@Self)^.&set := $00000200;
  25601. end;
  25602. function TSPI3A_SPI3ACON.getSMP : TBits_1; inline;
  25603. begin
  25604. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25605. end;
  25606. procedure TSPI3A_SPI3ACON.setMODE16; inline;
  25607. begin
  25608. pTDefRegMap(@Self)^.&set := $00000400;
  25609. end;
  25610. procedure TSPI3A_SPI3ACON.clearMODE16; inline;
  25611. begin
  25612. pTDefRegMap(@Self)^.clr := $00000400;
  25613. end;
  25614. procedure TSPI3A_SPI3ACON.setMODE16(thebits : TBits_1); inline;
  25615. begin
  25616. if thebits = 0 then
  25617. pTDefRegMap(@Self)^.clr := $00000400
  25618. else
  25619. pTDefRegMap(@Self)^.&set := $00000400;
  25620. end;
  25621. function TSPI3A_SPI3ACON.getMODE16 : TBits_1; inline;
  25622. begin
  25623. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25624. end;
  25625. procedure TSPI3A_SPI3ACON.setMODE32; inline;
  25626. begin
  25627. pTDefRegMap(@Self)^.&set := $00000800;
  25628. end;
  25629. procedure TSPI3A_SPI3ACON.clearMODE32; inline;
  25630. begin
  25631. pTDefRegMap(@Self)^.clr := $00000800;
  25632. end;
  25633. procedure TSPI3A_SPI3ACON.setMODE32(thebits : TBits_1); inline;
  25634. begin
  25635. if thebits = 0 then
  25636. pTDefRegMap(@Self)^.clr := $00000800
  25637. else
  25638. pTDefRegMap(@Self)^.&set := $00000800;
  25639. end;
  25640. function TSPI3A_SPI3ACON.getMODE32 : TBits_1; inline;
  25641. begin
  25642. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25643. end;
  25644. procedure TSPI3A_SPI3ACON.setDISSDO; inline;
  25645. begin
  25646. pTDefRegMap(@Self)^.&set := $00001000;
  25647. end;
  25648. procedure TSPI3A_SPI3ACON.clearDISSDO; inline;
  25649. begin
  25650. pTDefRegMap(@Self)^.clr := $00001000;
  25651. end;
  25652. procedure TSPI3A_SPI3ACON.setDISSDO(thebits : TBits_1); inline;
  25653. begin
  25654. if thebits = 0 then
  25655. pTDefRegMap(@Self)^.clr := $00001000
  25656. else
  25657. pTDefRegMap(@Self)^.&set := $00001000;
  25658. end;
  25659. function TSPI3A_SPI3ACON.getDISSDO : TBits_1; inline;
  25660. begin
  25661. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25662. end;
  25663. procedure TSPI3A_SPI3ACON.setSIDL; inline;
  25664. begin
  25665. pTDefRegMap(@Self)^.&set := $00002000;
  25666. end;
  25667. procedure TSPI3A_SPI3ACON.clearSIDL; inline;
  25668. begin
  25669. pTDefRegMap(@Self)^.clr := $00002000;
  25670. end;
  25671. procedure TSPI3A_SPI3ACON.setSIDL(thebits : TBits_1); inline;
  25672. begin
  25673. if thebits = 0 then
  25674. pTDefRegMap(@Self)^.clr := $00002000
  25675. else
  25676. pTDefRegMap(@Self)^.&set := $00002000;
  25677. end;
  25678. function TSPI3A_SPI3ACON.getSIDL : TBits_1; inline;
  25679. begin
  25680. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25681. end;
  25682. procedure TSPI3A_SPI3ACON.setON; inline;
  25683. begin
  25684. pTDefRegMap(@Self)^.&set := $00008000;
  25685. end;
  25686. procedure TSPI3A_SPI3ACON.clearON; inline;
  25687. begin
  25688. pTDefRegMap(@Self)^.clr := $00008000;
  25689. end;
  25690. procedure TSPI3A_SPI3ACON.setON(thebits : TBits_1); inline;
  25691. begin
  25692. if thebits = 0 then
  25693. pTDefRegMap(@Self)^.clr := $00008000
  25694. else
  25695. pTDefRegMap(@Self)^.&set := $00008000;
  25696. end;
  25697. function TSPI3A_SPI3ACON.getON : TBits_1; inline;
  25698. begin
  25699. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25700. end;
  25701. procedure TSPI3A_SPI3ACON.setENHBUF; inline;
  25702. begin
  25703. pTDefRegMap(@Self)^.&set := $00010000;
  25704. end;
  25705. procedure TSPI3A_SPI3ACON.clearENHBUF; inline;
  25706. begin
  25707. pTDefRegMap(@Self)^.clr := $00010000;
  25708. end;
  25709. procedure TSPI3A_SPI3ACON.setENHBUF(thebits : TBits_1); inline;
  25710. begin
  25711. if thebits = 0 then
  25712. pTDefRegMap(@Self)^.clr := $00010000
  25713. else
  25714. pTDefRegMap(@Self)^.&set := $00010000;
  25715. end;
  25716. function TSPI3A_SPI3ACON.getENHBUF : TBits_1; inline;
  25717. begin
  25718. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25719. end;
  25720. procedure TSPI3A_SPI3ACON.setSPIFE; inline;
  25721. begin
  25722. pTDefRegMap(@Self)^.&set := $00020000;
  25723. end;
  25724. procedure TSPI3A_SPI3ACON.clearSPIFE; inline;
  25725. begin
  25726. pTDefRegMap(@Self)^.clr := $00020000;
  25727. end;
  25728. procedure TSPI3A_SPI3ACON.setSPIFE(thebits : TBits_1); inline;
  25729. begin
  25730. if thebits = 0 then
  25731. pTDefRegMap(@Self)^.clr := $00020000
  25732. else
  25733. pTDefRegMap(@Self)^.&set := $00020000;
  25734. end;
  25735. function TSPI3A_SPI3ACON.getSPIFE : TBits_1; inline;
  25736. begin
  25737. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25738. end;
  25739. procedure TSPI3A_SPI3ACON.setFRMCNT(thebits : TBits_3); inline;
  25740. begin
  25741. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25742. end;
  25743. function TSPI3A_SPI3ACON.getFRMCNT : TBits_3; inline;
  25744. begin
  25745. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25746. end;
  25747. procedure TSPI3A_SPI3ACON.setFRMSYPW; inline;
  25748. begin
  25749. pTDefRegMap(@Self)^.&set := $08000000;
  25750. end;
  25751. procedure TSPI3A_SPI3ACON.clearFRMSYPW; inline;
  25752. begin
  25753. pTDefRegMap(@Self)^.clr := $08000000;
  25754. end;
  25755. procedure TSPI3A_SPI3ACON.setFRMSYPW(thebits : TBits_1); inline;
  25756. begin
  25757. if thebits = 0 then
  25758. pTDefRegMap(@Self)^.clr := $08000000
  25759. else
  25760. pTDefRegMap(@Self)^.&set := $08000000;
  25761. end;
  25762. function TSPI3A_SPI3ACON.getFRMSYPW : TBits_1; inline;
  25763. begin
  25764. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25765. end;
  25766. procedure TSPI3A_SPI3ACON.setMSSEN; inline;
  25767. begin
  25768. pTDefRegMap(@Self)^.&set := $10000000;
  25769. end;
  25770. procedure TSPI3A_SPI3ACON.clearMSSEN; inline;
  25771. begin
  25772. pTDefRegMap(@Self)^.clr := $10000000;
  25773. end;
  25774. procedure TSPI3A_SPI3ACON.setMSSEN(thebits : TBits_1); inline;
  25775. begin
  25776. if thebits = 0 then
  25777. pTDefRegMap(@Self)^.clr := $10000000
  25778. else
  25779. pTDefRegMap(@Self)^.&set := $10000000;
  25780. end;
  25781. function TSPI3A_SPI3ACON.getMSSEN : TBits_1; inline;
  25782. begin
  25783. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25784. end;
  25785. procedure TSPI3A_SPI3ACON.setFRMPOL; inline;
  25786. begin
  25787. pTDefRegMap(@Self)^.&set := $20000000;
  25788. end;
  25789. procedure TSPI3A_SPI3ACON.clearFRMPOL; inline;
  25790. begin
  25791. pTDefRegMap(@Self)^.clr := $20000000;
  25792. end;
  25793. procedure TSPI3A_SPI3ACON.setFRMPOL(thebits : TBits_1); inline;
  25794. begin
  25795. if thebits = 0 then
  25796. pTDefRegMap(@Self)^.clr := $20000000
  25797. else
  25798. pTDefRegMap(@Self)^.&set := $20000000;
  25799. end;
  25800. function TSPI3A_SPI3ACON.getFRMPOL : TBits_1; inline;
  25801. begin
  25802. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25803. end;
  25804. procedure TSPI3A_SPI3ACON.setFRMSYNC; inline;
  25805. begin
  25806. pTDefRegMap(@Self)^.&set := $40000000;
  25807. end;
  25808. procedure TSPI3A_SPI3ACON.clearFRMSYNC; inline;
  25809. begin
  25810. pTDefRegMap(@Self)^.clr := $40000000;
  25811. end;
  25812. procedure TSPI3A_SPI3ACON.setFRMSYNC(thebits : TBits_1); inline;
  25813. begin
  25814. if thebits = 0 then
  25815. pTDefRegMap(@Self)^.clr := $40000000
  25816. else
  25817. pTDefRegMap(@Self)^.&set := $40000000;
  25818. end;
  25819. function TSPI3A_SPI3ACON.getFRMSYNC : TBits_1; inline;
  25820. begin
  25821. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25822. end;
  25823. procedure TSPI3A_SPI3ACON.setFRMEN; inline;
  25824. begin
  25825. pTDefRegMap(@Self)^.&set := $80000000;
  25826. end;
  25827. procedure TSPI3A_SPI3ACON.clearFRMEN; inline;
  25828. begin
  25829. pTDefRegMap(@Self)^.clr := $80000000;
  25830. end;
  25831. procedure TSPI3A_SPI3ACON.setFRMEN(thebits : TBits_1); inline;
  25832. begin
  25833. if thebits = 0 then
  25834. pTDefRegMap(@Self)^.clr := $80000000
  25835. else
  25836. pTDefRegMap(@Self)^.&set := $80000000;
  25837. end;
  25838. function TSPI3A_SPI3ACON.getFRMEN : TBits_1; inline;
  25839. begin
  25840. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25841. end;
  25842. procedure TSPI3A_SPI3ACON.setw(thebits : TBits_32); inline;
  25843. begin
  25844. pTDefRegMap(@Self)^.val := thebits;
  25845. end;
  25846. function TSPI3A_SPI3ACON.getw : TBits_32; inline;
  25847. begin
  25848. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25849. end;
  25850. procedure TSPI3A_SPI4CON.setSRXISEL(thebits : TBits_2); inline;
  25851. begin
  25852. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  25853. end;
  25854. function TSPI3A_SPI4CON.getSRXISEL : TBits_2; inline;
  25855. begin
  25856. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  25857. end;
  25858. procedure TSPI3A_SPI4CON.setSTXISEL(thebits : TBits_2); inline;
  25859. begin
  25860. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  25861. end;
  25862. function TSPI3A_SPI4CON.getSTXISEL : TBits_2; inline;
  25863. begin
  25864. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  25865. end;
  25866. procedure TSPI3A_SPI4CON.setMSTEN; inline;
  25867. begin
  25868. pTDefRegMap(@Self)^.&set := $00000020;
  25869. end;
  25870. procedure TSPI3A_SPI4CON.clearMSTEN; inline;
  25871. begin
  25872. pTDefRegMap(@Self)^.clr := $00000020;
  25873. end;
  25874. procedure TSPI3A_SPI4CON.setMSTEN(thebits : TBits_1); inline;
  25875. begin
  25876. if thebits = 0 then
  25877. pTDefRegMap(@Self)^.clr := $00000020
  25878. else
  25879. pTDefRegMap(@Self)^.&set := $00000020;
  25880. end;
  25881. function TSPI3A_SPI4CON.getMSTEN : TBits_1; inline;
  25882. begin
  25883. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25884. end;
  25885. procedure TSPI3A_SPI4CON.setCKP; inline;
  25886. begin
  25887. pTDefRegMap(@Self)^.&set := $00000040;
  25888. end;
  25889. procedure TSPI3A_SPI4CON.clearCKP; inline;
  25890. begin
  25891. pTDefRegMap(@Self)^.clr := $00000040;
  25892. end;
  25893. procedure TSPI3A_SPI4CON.setCKP(thebits : TBits_1); inline;
  25894. begin
  25895. if thebits = 0 then
  25896. pTDefRegMap(@Self)^.clr := $00000040
  25897. else
  25898. pTDefRegMap(@Self)^.&set := $00000040;
  25899. end;
  25900. function TSPI3A_SPI4CON.getCKP : TBits_1; inline;
  25901. begin
  25902. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25903. end;
  25904. procedure TSPI3A_SPI4CON.setSSEN; inline;
  25905. begin
  25906. pTDefRegMap(@Self)^.&set := $00000080;
  25907. end;
  25908. procedure TSPI3A_SPI4CON.clearSSEN; inline;
  25909. begin
  25910. pTDefRegMap(@Self)^.clr := $00000080;
  25911. end;
  25912. procedure TSPI3A_SPI4CON.setSSEN(thebits : TBits_1); inline;
  25913. begin
  25914. if thebits = 0 then
  25915. pTDefRegMap(@Self)^.clr := $00000080
  25916. else
  25917. pTDefRegMap(@Self)^.&set := $00000080;
  25918. end;
  25919. function TSPI3A_SPI4CON.getSSEN : TBits_1; inline;
  25920. begin
  25921. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25922. end;
  25923. procedure TSPI3A_SPI4CON.setCKE; inline;
  25924. begin
  25925. pTDefRegMap(@Self)^.&set := $00000100;
  25926. end;
  25927. procedure TSPI3A_SPI4CON.clearCKE; inline;
  25928. begin
  25929. pTDefRegMap(@Self)^.clr := $00000100;
  25930. end;
  25931. procedure TSPI3A_SPI4CON.setCKE(thebits : TBits_1); inline;
  25932. begin
  25933. if thebits = 0 then
  25934. pTDefRegMap(@Self)^.clr := $00000100
  25935. else
  25936. pTDefRegMap(@Self)^.&set := $00000100;
  25937. end;
  25938. function TSPI3A_SPI4CON.getCKE : TBits_1; inline;
  25939. begin
  25940. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25941. end;
  25942. procedure TSPI3A_SPI4CON.setSMP; inline;
  25943. begin
  25944. pTDefRegMap(@Self)^.&set := $00000200;
  25945. end;
  25946. procedure TSPI3A_SPI4CON.clearSMP; inline;
  25947. begin
  25948. pTDefRegMap(@Self)^.clr := $00000200;
  25949. end;
  25950. procedure TSPI3A_SPI4CON.setSMP(thebits : TBits_1); inline;
  25951. begin
  25952. if thebits = 0 then
  25953. pTDefRegMap(@Self)^.clr := $00000200
  25954. else
  25955. pTDefRegMap(@Self)^.&set := $00000200;
  25956. end;
  25957. function TSPI3A_SPI4CON.getSMP : TBits_1; inline;
  25958. begin
  25959. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25960. end;
  25961. procedure TSPI3A_SPI4CON.setMODE16; inline;
  25962. begin
  25963. pTDefRegMap(@Self)^.&set := $00000400;
  25964. end;
  25965. procedure TSPI3A_SPI4CON.clearMODE16; inline;
  25966. begin
  25967. pTDefRegMap(@Self)^.clr := $00000400;
  25968. end;
  25969. procedure TSPI3A_SPI4CON.setMODE16(thebits : TBits_1); inline;
  25970. begin
  25971. if thebits = 0 then
  25972. pTDefRegMap(@Self)^.clr := $00000400
  25973. else
  25974. pTDefRegMap(@Self)^.&set := $00000400;
  25975. end;
  25976. function TSPI3A_SPI4CON.getMODE16 : TBits_1; inline;
  25977. begin
  25978. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25979. end;
  25980. procedure TSPI3A_SPI4CON.setMODE32; inline;
  25981. begin
  25982. pTDefRegMap(@Self)^.&set := $00000800;
  25983. end;
  25984. procedure TSPI3A_SPI4CON.clearMODE32; inline;
  25985. begin
  25986. pTDefRegMap(@Self)^.clr := $00000800;
  25987. end;
  25988. procedure TSPI3A_SPI4CON.setMODE32(thebits : TBits_1); inline;
  25989. begin
  25990. if thebits = 0 then
  25991. pTDefRegMap(@Self)^.clr := $00000800
  25992. else
  25993. pTDefRegMap(@Self)^.&set := $00000800;
  25994. end;
  25995. function TSPI3A_SPI4CON.getMODE32 : TBits_1; inline;
  25996. begin
  25997. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25998. end;
  25999. procedure TSPI3A_SPI4CON.setDISSDO; inline;
  26000. begin
  26001. pTDefRegMap(@Self)^.&set := $00001000;
  26002. end;
  26003. procedure TSPI3A_SPI4CON.clearDISSDO; inline;
  26004. begin
  26005. pTDefRegMap(@Self)^.clr := $00001000;
  26006. end;
  26007. procedure TSPI3A_SPI4CON.setDISSDO(thebits : TBits_1); inline;
  26008. begin
  26009. if thebits = 0 then
  26010. pTDefRegMap(@Self)^.clr := $00001000
  26011. else
  26012. pTDefRegMap(@Self)^.&set := $00001000;
  26013. end;
  26014. function TSPI3A_SPI4CON.getDISSDO : TBits_1; inline;
  26015. begin
  26016. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26017. end;
  26018. procedure TSPI3A_SPI4CON.setSIDL; inline;
  26019. begin
  26020. pTDefRegMap(@Self)^.&set := $00002000;
  26021. end;
  26022. procedure TSPI3A_SPI4CON.clearSIDL; inline;
  26023. begin
  26024. pTDefRegMap(@Self)^.clr := $00002000;
  26025. end;
  26026. procedure TSPI3A_SPI4CON.setSIDL(thebits : TBits_1); inline;
  26027. begin
  26028. if thebits = 0 then
  26029. pTDefRegMap(@Self)^.clr := $00002000
  26030. else
  26031. pTDefRegMap(@Self)^.&set := $00002000;
  26032. end;
  26033. function TSPI3A_SPI4CON.getSIDL : TBits_1; inline;
  26034. begin
  26035. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26036. end;
  26037. procedure TSPI3A_SPI4CON.setON; inline;
  26038. begin
  26039. pTDefRegMap(@Self)^.&set := $00008000;
  26040. end;
  26041. procedure TSPI3A_SPI4CON.clearON; inline;
  26042. begin
  26043. pTDefRegMap(@Self)^.clr := $00008000;
  26044. end;
  26045. procedure TSPI3A_SPI4CON.setON(thebits : TBits_1); inline;
  26046. begin
  26047. if thebits = 0 then
  26048. pTDefRegMap(@Self)^.clr := $00008000
  26049. else
  26050. pTDefRegMap(@Self)^.&set := $00008000;
  26051. end;
  26052. function TSPI3A_SPI4CON.getON : TBits_1; inline;
  26053. begin
  26054. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26055. end;
  26056. procedure TSPI3A_SPI4CON.setENHBUF; inline;
  26057. begin
  26058. pTDefRegMap(@Self)^.&set := $00010000;
  26059. end;
  26060. procedure TSPI3A_SPI4CON.clearENHBUF; inline;
  26061. begin
  26062. pTDefRegMap(@Self)^.clr := $00010000;
  26063. end;
  26064. procedure TSPI3A_SPI4CON.setENHBUF(thebits : TBits_1); inline;
  26065. begin
  26066. if thebits = 0 then
  26067. pTDefRegMap(@Self)^.clr := $00010000
  26068. else
  26069. pTDefRegMap(@Self)^.&set := $00010000;
  26070. end;
  26071. function TSPI3A_SPI4CON.getENHBUF : TBits_1; inline;
  26072. begin
  26073. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26074. end;
  26075. procedure TSPI3A_SPI4CON.setSPIFE; inline;
  26076. begin
  26077. pTDefRegMap(@Self)^.&set := $00020000;
  26078. end;
  26079. procedure TSPI3A_SPI4CON.clearSPIFE; inline;
  26080. begin
  26081. pTDefRegMap(@Self)^.clr := $00020000;
  26082. end;
  26083. procedure TSPI3A_SPI4CON.setSPIFE(thebits : TBits_1); inline;
  26084. begin
  26085. if thebits = 0 then
  26086. pTDefRegMap(@Self)^.clr := $00020000
  26087. else
  26088. pTDefRegMap(@Self)^.&set := $00020000;
  26089. end;
  26090. function TSPI3A_SPI4CON.getSPIFE : TBits_1; inline;
  26091. begin
  26092. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26093. end;
  26094. procedure TSPI3A_SPI4CON.setFRMCNT(thebits : TBits_3); inline;
  26095. begin
  26096. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26097. end;
  26098. function TSPI3A_SPI4CON.getFRMCNT : TBits_3; inline;
  26099. begin
  26100. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26101. end;
  26102. procedure TSPI3A_SPI4CON.setFRMSYPW; inline;
  26103. begin
  26104. pTDefRegMap(@Self)^.&set := $08000000;
  26105. end;
  26106. procedure TSPI3A_SPI4CON.clearFRMSYPW; inline;
  26107. begin
  26108. pTDefRegMap(@Self)^.clr := $08000000;
  26109. end;
  26110. procedure TSPI3A_SPI4CON.setFRMSYPW(thebits : TBits_1); inline;
  26111. begin
  26112. if thebits = 0 then
  26113. pTDefRegMap(@Self)^.clr := $08000000
  26114. else
  26115. pTDefRegMap(@Self)^.&set := $08000000;
  26116. end;
  26117. function TSPI3A_SPI4CON.getFRMSYPW : TBits_1; inline;
  26118. begin
  26119. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26120. end;
  26121. procedure TSPI3A_SPI4CON.setMSSEN; inline;
  26122. begin
  26123. pTDefRegMap(@Self)^.&set := $10000000;
  26124. end;
  26125. procedure TSPI3A_SPI4CON.clearMSSEN; inline;
  26126. begin
  26127. pTDefRegMap(@Self)^.clr := $10000000;
  26128. end;
  26129. procedure TSPI3A_SPI4CON.setMSSEN(thebits : TBits_1); inline;
  26130. begin
  26131. if thebits = 0 then
  26132. pTDefRegMap(@Self)^.clr := $10000000
  26133. else
  26134. pTDefRegMap(@Self)^.&set := $10000000;
  26135. end;
  26136. function TSPI3A_SPI4CON.getMSSEN : TBits_1; inline;
  26137. begin
  26138. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26139. end;
  26140. procedure TSPI3A_SPI4CON.setFRMPOL; inline;
  26141. begin
  26142. pTDefRegMap(@Self)^.&set := $20000000;
  26143. end;
  26144. procedure TSPI3A_SPI4CON.clearFRMPOL; inline;
  26145. begin
  26146. pTDefRegMap(@Self)^.clr := $20000000;
  26147. end;
  26148. procedure TSPI3A_SPI4CON.setFRMPOL(thebits : TBits_1); inline;
  26149. begin
  26150. if thebits = 0 then
  26151. pTDefRegMap(@Self)^.clr := $20000000
  26152. else
  26153. pTDefRegMap(@Self)^.&set := $20000000;
  26154. end;
  26155. function TSPI3A_SPI4CON.getFRMPOL : TBits_1; inline;
  26156. begin
  26157. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26158. end;
  26159. procedure TSPI3A_SPI4CON.setFRMSYNC; inline;
  26160. begin
  26161. pTDefRegMap(@Self)^.&set := $40000000;
  26162. end;
  26163. procedure TSPI3A_SPI4CON.clearFRMSYNC; inline;
  26164. begin
  26165. pTDefRegMap(@Self)^.clr := $40000000;
  26166. end;
  26167. procedure TSPI3A_SPI4CON.setFRMSYNC(thebits : TBits_1); inline;
  26168. begin
  26169. if thebits = 0 then
  26170. pTDefRegMap(@Self)^.clr := $40000000
  26171. else
  26172. pTDefRegMap(@Self)^.&set := $40000000;
  26173. end;
  26174. function TSPI3A_SPI4CON.getFRMSYNC : TBits_1; inline;
  26175. begin
  26176. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26177. end;
  26178. procedure TSPI3A_SPI4CON.setFRMEN; inline;
  26179. begin
  26180. pTDefRegMap(@Self)^.&set := $80000000;
  26181. end;
  26182. procedure TSPI3A_SPI4CON.clearFRMEN; inline;
  26183. begin
  26184. pTDefRegMap(@Self)^.clr := $80000000;
  26185. end;
  26186. procedure TSPI3A_SPI4CON.setFRMEN(thebits : TBits_1); inline;
  26187. begin
  26188. if thebits = 0 then
  26189. pTDefRegMap(@Self)^.clr := $80000000
  26190. else
  26191. pTDefRegMap(@Self)^.&set := $80000000;
  26192. end;
  26193. function TSPI3A_SPI4CON.getFRMEN : TBits_1; inline;
  26194. begin
  26195. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26196. end;
  26197. procedure TSPI3A_SPI4CON.setw(thebits : TBits_32); inline;
  26198. begin
  26199. pTDefRegMap(@Self)^.val := thebits;
  26200. end;
  26201. function TSPI3A_SPI4CON.getw : TBits_32; inline;
  26202. begin
  26203. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26204. end;
  26205. procedure TSPI3A_SPI3ASTAT.setSPIRBF; inline;
  26206. begin
  26207. pTDefRegMap(@Self)^.&set := $00000001;
  26208. end;
  26209. procedure TSPI3A_SPI3ASTAT.clearSPIRBF; inline;
  26210. begin
  26211. pTDefRegMap(@Self)^.clr := $00000001;
  26212. end;
  26213. procedure TSPI3A_SPI3ASTAT.setSPIRBF(thebits : TBits_1); inline;
  26214. begin
  26215. if thebits = 0 then
  26216. pTDefRegMap(@Self)^.clr := $00000001
  26217. else
  26218. pTDefRegMap(@Self)^.&set := $00000001;
  26219. end;
  26220. function TSPI3A_SPI3ASTAT.getSPIRBF : TBits_1; inline;
  26221. begin
  26222. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26223. end;
  26224. procedure TSPI3A_SPI3ASTAT.setSPITBF; inline;
  26225. begin
  26226. pTDefRegMap(@Self)^.&set := $00000002;
  26227. end;
  26228. procedure TSPI3A_SPI3ASTAT.clearSPITBF; inline;
  26229. begin
  26230. pTDefRegMap(@Self)^.clr := $00000002;
  26231. end;
  26232. procedure TSPI3A_SPI3ASTAT.setSPITBF(thebits : TBits_1); inline;
  26233. begin
  26234. if thebits = 0 then
  26235. pTDefRegMap(@Self)^.clr := $00000002
  26236. else
  26237. pTDefRegMap(@Self)^.&set := $00000002;
  26238. end;
  26239. function TSPI3A_SPI3ASTAT.getSPITBF : TBits_1; inline;
  26240. begin
  26241. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26242. end;
  26243. procedure TSPI3A_SPI3ASTAT.setSPITBE; inline;
  26244. begin
  26245. pTDefRegMap(@Self)^.&set := $00000008;
  26246. end;
  26247. procedure TSPI3A_SPI3ASTAT.clearSPITBE; inline;
  26248. begin
  26249. pTDefRegMap(@Self)^.clr := $00000008;
  26250. end;
  26251. procedure TSPI3A_SPI3ASTAT.setSPITBE(thebits : TBits_1); inline;
  26252. begin
  26253. if thebits = 0 then
  26254. pTDefRegMap(@Self)^.clr := $00000008
  26255. else
  26256. pTDefRegMap(@Self)^.&set := $00000008;
  26257. end;
  26258. function TSPI3A_SPI3ASTAT.getSPITBE : TBits_1; inline;
  26259. begin
  26260. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26261. end;
  26262. procedure TSPI3A_SPI3ASTAT.setSPIRBE; inline;
  26263. begin
  26264. pTDefRegMap(@Self)^.&set := $00000020;
  26265. end;
  26266. procedure TSPI3A_SPI3ASTAT.clearSPIRBE; inline;
  26267. begin
  26268. pTDefRegMap(@Self)^.clr := $00000020;
  26269. end;
  26270. procedure TSPI3A_SPI3ASTAT.setSPIRBE(thebits : TBits_1); inline;
  26271. begin
  26272. if thebits = 0 then
  26273. pTDefRegMap(@Self)^.clr := $00000020
  26274. else
  26275. pTDefRegMap(@Self)^.&set := $00000020;
  26276. end;
  26277. function TSPI3A_SPI3ASTAT.getSPIRBE : TBits_1; inline;
  26278. begin
  26279. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26280. end;
  26281. procedure TSPI3A_SPI3ASTAT.setSPIROV; inline;
  26282. begin
  26283. pTDefRegMap(@Self)^.&set := $00000040;
  26284. end;
  26285. procedure TSPI3A_SPI3ASTAT.clearSPIROV; inline;
  26286. begin
  26287. pTDefRegMap(@Self)^.clr := $00000040;
  26288. end;
  26289. procedure TSPI3A_SPI3ASTAT.setSPIROV(thebits : TBits_1); inline;
  26290. begin
  26291. if thebits = 0 then
  26292. pTDefRegMap(@Self)^.clr := $00000040
  26293. else
  26294. pTDefRegMap(@Self)^.&set := $00000040;
  26295. end;
  26296. function TSPI3A_SPI3ASTAT.getSPIROV : TBits_1; inline;
  26297. begin
  26298. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26299. end;
  26300. procedure TSPI3A_SPI3ASTAT.setSRMT; inline;
  26301. begin
  26302. pTDefRegMap(@Self)^.&set := $00000080;
  26303. end;
  26304. procedure TSPI3A_SPI3ASTAT.clearSRMT; inline;
  26305. begin
  26306. pTDefRegMap(@Self)^.clr := $00000080;
  26307. end;
  26308. procedure TSPI3A_SPI3ASTAT.setSRMT(thebits : TBits_1); inline;
  26309. begin
  26310. if thebits = 0 then
  26311. pTDefRegMap(@Self)^.clr := $00000080
  26312. else
  26313. pTDefRegMap(@Self)^.&set := $00000080;
  26314. end;
  26315. function TSPI3A_SPI3ASTAT.getSRMT : TBits_1; inline;
  26316. begin
  26317. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26318. end;
  26319. procedure TSPI3A_SPI3ASTAT.setSPITUR; inline;
  26320. begin
  26321. pTDefRegMap(@Self)^.&set := $00000100;
  26322. end;
  26323. procedure TSPI3A_SPI3ASTAT.clearSPITUR; inline;
  26324. begin
  26325. pTDefRegMap(@Self)^.clr := $00000100;
  26326. end;
  26327. procedure TSPI3A_SPI3ASTAT.setSPITUR(thebits : TBits_1); inline;
  26328. begin
  26329. if thebits = 0 then
  26330. pTDefRegMap(@Self)^.clr := $00000100
  26331. else
  26332. pTDefRegMap(@Self)^.&set := $00000100;
  26333. end;
  26334. function TSPI3A_SPI3ASTAT.getSPITUR : TBits_1; inline;
  26335. begin
  26336. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26337. end;
  26338. procedure TSPI3A_SPI3ASTAT.setSPIBUSY; inline;
  26339. begin
  26340. pTDefRegMap(@Self)^.&set := $00000800;
  26341. end;
  26342. procedure TSPI3A_SPI3ASTAT.clearSPIBUSY; inline;
  26343. begin
  26344. pTDefRegMap(@Self)^.clr := $00000800;
  26345. end;
  26346. procedure TSPI3A_SPI3ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  26347. begin
  26348. if thebits = 0 then
  26349. pTDefRegMap(@Self)^.clr := $00000800
  26350. else
  26351. pTDefRegMap(@Self)^.&set := $00000800;
  26352. end;
  26353. function TSPI3A_SPI3ASTAT.getSPIBUSY : TBits_1; inline;
  26354. begin
  26355. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26356. end;
  26357. procedure TSPI3A_SPI3ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  26358. begin
  26359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  26360. end;
  26361. function TSPI3A_SPI3ASTAT.getTXBUFELM : TBits_5; inline;
  26362. begin
  26363. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  26364. end;
  26365. procedure TSPI3A_SPI3ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  26366. begin
  26367. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  26368. end;
  26369. function TSPI3A_SPI3ASTAT.getRXBUFELM : TBits_5; inline;
  26370. begin
  26371. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  26372. end;
  26373. procedure TSPI3A_SPI3ASTAT.setw(thebits : TBits_32); inline;
  26374. begin
  26375. pTDefRegMap(@Self)^.val := thebits;
  26376. end;
  26377. function TSPI3A_SPI3ASTAT.getw : TBits_32; inline;
  26378. begin
  26379. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26380. end;
  26381. procedure TSPI3A_SPI4STAT.setSPIRBF; inline;
  26382. begin
  26383. pTDefRegMap(@Self)^.&set := $00000001;
  26384. end;
  26385. procedure TSPI3A_SPI4STAT.clearSPIRBF; inline;
  26386. begin
  26387. pTDefRegMap(@Self)^.clr := $00000001;
  26388. end;
  26389. procedure TSPI3A_SPI4STAT.setSPIRBF(thebits : TBits_1); inline;
  26390. begin
  26391. if thebits = 0 then
  26392. pTDefRegMap(@Self)^.clr := $00000001
  26393. else
  26394. pTDefRegMap(@Self)^.&set := $00000001;
  26395. end;
  26396. function TSPI3A_SPI4STAT.getSPIRBF : TBits_1; inline;
  26397. begin
  26398. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26399. end;
  26400. procedure TSPI3A_SPI4STAT.setSPITBF; inline;
  26401. begin
  26402. pTDefRegMap(@Self)^.&set := $00000002;
  26403. end;
  26404. procedure TSPI3A_SPI4STAT.clearSPITBF; inline;
  26405. begin
  26406. pTDefRegMap(@Self)^.clr := $00000002;
  26407. end;
  26408. procedure TSPI3A_SPI4STAT.setSPITBF(thebits : TBits_1); inline;
  26409. begin
  26410. if thebits = 0 then
  26411. pTDefRegMap(@Self)^.clr := $00000002
  26412. else
  26413. pTDefRegMap(@Self)^.&set := $00000002;
  26414. end;
  26415. function TSPI3A_SPI4STAT.getSPITBF : TBits_1; inline;
  26416. begin
  26417. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26418. end;
  26419. procedure TSPI3A_SPI4STAT.setSPITBE; inline;
  26420. begin
  26421. pTDefRegMap(@Self)^.&set := $00000008;
  26422. end;
  26423. procedure TSPI3A_SPI4STAT.clearSPITBE; inline;
  26424. begin
  26425. pTDefRegMap(@Self)^.clr := $00000008;
  26426. end;
  26427. procedure TSPI3A_SPI4STAT.setSPITBE(thebits : TBits_1); inline;
  26428. begin
  26429. if thebits = 0 then
  26430. pTDefRegMap(@Self)^.clr := $00000008
  26431. else
  26432. pTDefRegMap(@Self)^.&set := $00000008;
  26433. end;
  26434. function TSPI3A_SPI4STAT.getSPITBE : TBits_1; inline;
  26435. begin
  26436. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26437. end;
  26438. procedure TSPI3A_SPI4STAT.setSPIRBE; inline;
  26439. begin
  26440. pTDefRegMap(@Self)^.&set := $00000020;
  26441. end;
  26442. procedure TSPI3A_SPI4STAT.clearSPIRBE; inline;
  26443. begin
  26444. pTDefRegMap(@Self)^.clr := $00000020;
  26445. end;
  26446. procedure TSPI3A_SPI4STAT.setSPIRBE(thebits : TBits_1); inline;
  26447. begin
  26448. if thebits = 0 then
  26449. pTDefRegMap(@Self)^.clr := $00000020
  26450. else
  26451. pTDefRegMap(@Self)^.&set := $00000020;
  26452. end;
  26453. function TSPI3A_SPI4STAT.getSPIRBE : TBits_1; inline;
  26454. begin
  26455. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26456. end;
  26457. procedure TSPI3A_SPI4STAT.setSPIROV; inline;
  26458. begin
  26459. pTDefRegMap(@Self)^.&set := $00000040;
  26460. end;
  26461. procedure TSPI3A_SPI4STAT.clearSPIROV; inline;
  26462. begin
  26463. pTDefRegMap(@Self)^.clr := $00000040;
  26464. end;
  26465. procedure TSPI3A_SPI4STAT.setSPIROV(thebits : TBits_1); inline;
  26466. begin
  26467. if thebits = 0 then
  26468. pTDefRegMap(@Self)^.clr := $00000040
  26469. else
  26470. pTDefRegMap(@Self)^.&set := $00000040;
  26471. end;
  26472. function TSPI3A_SPI4STAT.getSPIROV : TBits_1; inline;
  26473. begin
  26474. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26475. end;
  26476. procedure TSPI3A_SPI4STAT.setSRMT; inline;
  26477. begin
  26478. pTDefRegMap(@Self)^.&set := $00000080;
  26479. end;
  26480. procedure TSPI3A_SPI4STAT.clearSRMT; inline;
  26481. begin
  26482. pTDefRegMap(@Self)^.clr := $00000080;
  26483. end;
  26484. procedure TSPI3A_SPI4STAT.setSRMT(thebits : TBits_1); inline;
  26485. begin
  26486. if thebits = 0 then
  26487. pTDefRegMap(@Self)^.clr := $00000080
  26488. else
  26489. pTDefRegMap(@Self)^.&set := $00000080;
  26490. end;
  26491. function TSPI3A_SPI4STAT.getSRMT : TBits_1; inline;
  26492. begin
  26493. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26494. end;
  26495. procedure TSPI3A_SPI4STAT.setSPITUR; inline;
  26496. begin
  26497. pTDefRegMap(@Self)^.&set := $00000100;
  26498. end;
  26499. procedure TSPI3A_SPI4STAT.clearSPITUR; inline;
  26500. begin
  26501. pTDefRegMap(@Self)^.clr := $00000100;
  26502. end;
  26503. procedure TSPI3A_SPI4STAT.setSPITUR(thebits : TBits_1); inline;
  26504. begin
  26505. if thebits = 0 then
  26506. pTDefRegMap(@Self)^.clr := $00000100
  26507. else
  26508. pTDefRegMap(@Self)^.&set := $00000100;
  26509. end;
  26510. function TSPI3A_SPI4STAT.getSPITUR : TBits_1; inline;
  26511. begin
  26512. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26513. end;
  26514. procedure TSPI3A_SPI4STAT.setSPIBUSY; inline;
  26515. begin
  26516. pTDefRegMap(@Self)^.&set := $00000800;
  26517. end;
  26518. procedure TSPI3A_SPI4STAT.clearSPIBUSY; inline;
  26519. begin
  26520. pTDefRegMap(@Self)^.clr := $00000800;
  26521. end;
  26522. procedure TSPI3A_SPI4STAT.setSPIBUSY(thebits : TBits_1); inline;
  26523. begin
  26524. if thebits = 0 then
  26525. pTDefRegMap(@Self)^.clr := $00000800
  26526. else
  26527. pTDefRegMap(@Self)^.&set := $00000800;
  26528. end;
  26529. function TSPI3A_SPI4STAT.getSPIBUSY : TBits_1; inline;
  26530. begin
  26531. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26532. end;
  26533. procedure TSPI3A_SPI4STAT.setTXBUFELM(thebits : TBits_5); inline;
  26534. begin
  26535. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  26536. end;
  26537. function TSPI3A_SPI4STAT.getTXBUFELM : TBits_5; inline;
  26538. begin
  26539. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  26540. end;
  26541. procedure TSPI3A_SPI4STAT.setRXBUFELM(thebits : TBits_5); inline;
  26542. begin
  26543. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  26544. end;
  26545. function TSPI3A_SPI4STAT.getRXBUFELM : TBits_5; inline;
  26546. begin
  26547. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  26548. end;
  26549. procedure TSPI3A_SPI4STAT.setw(thebits : TBits_32); inline;
  26550. begin
  26551. pTDefRegMap(@Self)^.val := thebits;
  26552. end;
  26553. function TSPI3A_SPI4STAT.getw : TBits_32; inline;
  26554. begin
  26555. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26556. end;
  26557. procedure TUART1A_U1AMODE.setSTSEL; inline;
  26558. begin
  26559. pTDefRegMap(@Self)^.&set := $00000001;
  26560. end;
  26561. procedure TUART1A_U1AMODE.clearSTSEL; inline;
  26562. begin
  26563. pTDefRegMap(@Self)^.clr := $00000001;
  26564. end;
  26565. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getSTSEL : TBits_1; inline;
  26573. begin
  26574. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26575. end;
  26576. procedure TUART1A_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  26577. begin
  26578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  26579. end;
  26580. function TUART1A_U1AMODE.getPDSEL : TBits_2; inline;
  26581. begin
  26582. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  26583. end;
  26584. procedure TUART1A_U1AMODE.setBRGH; inline;
  26585. begin
  26586. pTDefRegMap(@Self)^.&set := $00000008;
  26587. end;
  26588. procedure TUART1A_U1AMODE.clearBRGH; inline;
  26589. begin
  26590. pTDefRegMap(@Self)^.clr := $00000008;
  26591. end;
  26592. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getBRGH : TBits_1; inline;
  26600. begin
  26601. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26602. end;
  26603. procedure TUART1A_U1AMODE.setRXINV; inline;
  26604. begin
  26605. pTDefRegMap(@Self)^.&set := $00000010;
  26606. end;
  26607. procedure TUART1A_U1AMODE.clearRXINV; inline;
  26608. begin
  26609. pTDefRegMap(@Self)^.clr := $00000010;
  26610. end;
  26611. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getRXINV : TBits_1; inline;
  26619. begin
  26620. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26621. end;
  26622. procedure TUART1A_U1AMODE.setABAUD; inline;
  26623. begin
  26624. pTDefRegMap(@Self)^.&set := $00000020;
  26625. end;
  26626. procedure TUART1A_U1AMODE.clearABAUD; inline;
  26627. begin
  26628. pTDefRegMap(@Self)^.clr := $00000020;
  26629. end;
  26630. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getABAUD : TBits_1; inline;
  26638. begin
  26639. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26640. end;
  26641. procedure TUART1A_U1AMODE.setLPBACK; inline;
  26642. begin
  26643. pTDefRegMap(@Self)^.&set := $00000040;
  26644. end;
  26645. procedure TUART1A_U1AMODE.clearLPBACK; inline;
  26646. begin
  26647. pTDefRegMap(@Self)^.clr := $00000040;
  26648. end;
  26649. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getLPBACK : TBits_1; inline;
  26657. begin
  26658. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26659. end;
  26660. procedure TUART1A_U1AMODE.setWAKE; inline;
  26661. begin
  26662. pTDefRegMap(@Self)^.&set := $00000080;
  26663. end;
  26664. procedure TUART1A_U1AMODE.clearWAKE; inline;
  26665. begin
  26666. pTDefRegMap(@Self)^.clr := $00000080;
  26667. end;
  26668. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getWAKE : TBits_1; inline;
  26676. begin
  26677. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26678. end;
  26679. procedure TUART1A_U1AMODE.setUEN(thebits : TBits_2); inline;
  26680. begin
  26681. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  26682. end;
  26683. function TUART1A_U1AMODE.getUEN : TBits_2; inline;
  26684. begin
  26685. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  26686. end;
  26687. procedure TUART1A_U1AMODE.setRTSMD; inline;
  26688. begin
  26689. pTDefRegMap(@Self)^.&set := $00000800;
  26690. end;
  26691. procedure TUART1A_U1AMODE.clearRTSMD; inline;
  26692. begin
  26693. pTDefRegMap(@Self)^.clr := $00000800;
  26694. end;
  26695. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getRTSMD : TBits_1; inline;
  26703. begin
  26704. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26705. end;
  26706. procedure TUART1A_U1AMODE.setIREN; inline;
  26707. begin
  26708. pTDefRegMap(@Self)^.&set := $00001000;
  26709. end;
  26710. procedure TUART1A_U1AMODE.clearIREN; inline;
  26711. begin
  26712. pTDefRegMap(@Self)^.clr := $00001000;
  26713. end;
  26714. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getIREN : TBits_1; inline;
  26722. begin
  26723. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26724. end;
  26725. procedure TUART1A_U1AMODE.setSIDL; inline;
  26726. begin
  26727. pTDefRegMap(@Self)^.&set := $00002000;
  26728. end;
  26729. procedure TUART1A_U1AMODE.clearSIDL; inline;
  26730. begin
  26731. pTDefRegMap(@Self)^.clr := $00002000;
  26732. end;
  26733. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getSIDL : TBits_1; inline;
  26741. begin
  26742. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26743. end;
  26744. procedure TUART1A_U1AMODE.setON; inline;
  26745. begin
  26746. pTDefRegMap(@Self)^.&set := $00008000;
  26747. end;
  26748. procedure TUART1A_U1AMODE.clearON; inline;
  26749. begin
  26750. pTDefRegMap(@Self)^.clr := $00008000;
  26751. end;
  26752. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getON : TBits_1; inline;
  26760. begin
  26761. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26762. end;
  26763. procedure TUART1A_U1AMODE.setPDSEL0; inline;
  26764. begin
  26765. pTDefRegMap(@Self)^.&set := $00000002;
  26766. end;
  26767. procedure TUART1A_U1AMODE.clearPDSEL0; inline;
  26768. begin
  26769. pTDefRegMap(@Self)^.clr := $00000002;
  26770. end;
  26771. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getPDSEL0 : TBits_1; inline;
  26779. begin
  26780. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26781. end;
  26782. procedure TUART1A_U1AMODE.setPDSEL1; inline;
  26783. begin
  26784. pTDefRegMap(@Self)^.&set := $00000004;
  26785. end;
  26786. procedure TUART1A_U1AMODE.clearPDSEL1; inline;
  26787. begin
  26788. pTDefRegMap(@Self)^.clr := $00000004;
  26789. end;
  26790. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getPDSEL1 : TBits_1; inline;
  26798. begin
  26799. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26800. end;
  26801. procedure TUART1A_U1AMODE.setUEN0; inline;
  26802. begin
  26803. pTDefRegMap(@Self)^.&set := $00000100;
  26804. end;
  26805. procedure TUART1A_U1AMODE.clearUEN0; inline;
  26806. begin
  26807. pTDefRegMap(@Self)^.clr := $00000100;
  26808. end;
  26809. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getUEN0 : TBits_1; inline;
  26817. begin
  26818. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26819. end;
  26820. procedure TUART1A_U1AMODE.setUEN1; inline;
  26821. begin
  26822. pTDefRegMap(@Self)^.&set := $00000200;
  26823. end;
  26824. procedure TUART1A_U1AMODE.clearUEN1; inline;
  26825. begin
  26826. pTDefRegMap(@Self)^.clr := $00000200;
  26827. end;
  26828. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getUEN1 : TBits_1; inline;
  26836. begin
  26837. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26838. end;
  26839. procedure TUART1A_U1AMODE.setUSIDL; inline;
  26840. begin
  26841. pTDefRegMap(@Self)^.&set := $00002000;
  26842. end;
  26843. procedure TUART1A_U1AMODE.clearUSIDL; inline;
  26844. begin
  26845. pTDefRegMap(@Self)^.clr := $00002000;
  26846. end;
  26847. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getUSIDL : TBits_1; inline;
  26855. begin
  26856. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26857. end;
  26858. procedure TUART1A_U1AMODE.setUARTEN; inline;
  26859. begin
  26860. pTDefRegMap(@Self)^.&set := $00008000;
  26861. end;
  26862. procedure TUART1A_U1AMODE.clearUARTEN; inline;
  26863. begin
  26864. pTDefRegMap(@Self)^.clr := $00008000;
  26865. end;
  26866. procedure TUART1A_U1AMODE.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 TUART1A_U1AMODE.getUARTEN : TBits_1; inline;
  26874. begin
  26875. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26876. end;
  26877. procedure TUART1A_U1AMODE.setw(thebits : TBits_32); inline;
  26878. begin
  26879. pTDefRegMap(@Self)^.val := thebits;
  26880. end;
  26881. function TUART1A_U1AMODE.getw : TBits_32; inline;
  26882. begin
  26883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26884. end;
  26885. procedure TUART1A_U1MODE.setSTSEL; inline;
  26886. begin
  26887. pTDefRegMap(@Self)^.&set := $00000001;
  26888. end;
  26889. procedure TUART1A_U1MODE.clearSTSEL; inline;
  26890. begin
  26891. pTDefRegMap(@Self)^.clr := $00000001;
  26892. end;
  26893. procedure TUART1A_U1MODE.setSTSEL(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 TUART1A_U1MODE.getSTSEL : TBits_1; inline;
  26901. begin
  26902. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26903. end;
  26904. procedure TUART1A_U1MODE.setPDSEL(thebits : TBits_2); inline;
  26905. begin
  26906. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  26907. end;
  26908. function TUART1A_U1MODE.getPDSEL : TBits_2; inline;
  26909. begin
  26910. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  26911. end;
  26912. procedure TUART1A_U1MODE.setBRGH; inline;
  26913. begin
  26914. pTDefRegMap(@Self)^.&set := $00000008;
  26915. end;
  26916. procedure TUART1A_U1MODE.clearBRGH; inline;
  26917. begin
  26918. pTDefRegMap(@Self)^.clr := $00000008;
  26919. end;
  26920. procedure TUART1A_U1MODE.setBRGH(thebits : TBits_1); inline;
  26921. begin
  26922. if thebits = 0 then
  26923. pTDefRegMap(@Self)^.clr := $00000008
  26924. else
  26925. pTDefRegMap(@Self)^.&set := $00000008;
  26926. end;
  26927. function TUART1A_U1MODE.getBRGH : TBits_1; inline;
  26928. begin
  26929. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26930. end;
  26931. procedure TUART1A_U1MODE.setRXINV; inline;
  26932. begin
  26933. pTDefRegMap(@Self)^.&set := $00000010;
  26934. end;
  26935. procedure TUART1A_U1MODE.clearRXINV; inline;
  26936. begin
  26937. pTDefRegMap(@Self)^.clr := $00000010;
  26938. end;
  26939. procedure TUART1A_U1MODE.setRXINV(thebits : TBits_1); inline;
  26940. begin
  26941. if thebits = 0 then
  26942. pTDefRegMap(@Self)^.clr := $00000010
  26943. else
  26944. pTDefRegMap(@Self)^.&set := $00000010;
  26945. end;
  26946. function TUART1A_U1MODE.getRXINV : TBits_1; inline;
  26947. begin
  26948. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26949. end;
  26950. procedure TUART1A_U1MODE.setABAUD; inline;
  26951. begin
  26952. pTDefRegMap(@Self)^.&set := $00000020;
  26953. end;
  26954. procedure TUART1A_U1MODE.clearABAUD; inline;
  26955. begin
  26956. pTDefRegMap(@Self)^.clr := $00000020;
  26957. end;
  26958. procedure TUART1A_U1MODE.setABAUD(thebits : TBits_1); inline;
  26959. begin
  26960. if thebits = 0 then
  26961. pTDefRegMap(@Self)^.clr := $00000020
  26962. else
  26963. pTDefRegMap(@Self)^.&set := $00000020;
  26964. end;
  26965. function TUART1A_U1MODE.getABAUD : TBits_1; inline;
  26966. begin
  26967. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26968. end;
  26969. procedure TUART1A_U1MODE.setLPBACK; inline;
  26970. begin
  26971. pTDefRegMap(@Self)^.&set := $00000040;
  26972. end;
  26973. procedure TUART1A_U1MODE.clearLPBACK; inline;
  26974. begin
  26975. pTDefRegMap(@Self)^.clr := $00000040;
  26976. end;
  26977. procedure TUART1A_U1MODE.setLPBACK(thebits : TBits_1); inline;
  26978. begin
  26979. if thebits = 0 then
  26980. pTDefRegMap(@Self)^.clr := $00000040
  26981. else
  26982. pTDefRegMap(@Self)^.&set := $00000040;
  26983. end;
  26984. function TUART1A_U1MODE.getLPBACK : TBits_1; inline;
  26985. begin
  26986. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26987. end;
  26988. procedure TUART1A_U1MODE.setWAKE; inline;
  26989. begin
  26990. pTDefRegMap(@Self)^.&set := $00000080;
  26991. end;
  26992. procedure TUART1A_U1MODE.clearWAKE; inline;
  26993. begin
  26994. pTDefRegMap(@Self)^.clr := $00000080;
  26995. end;
  26996. procedure TUART1A_U1MODE.setWAKE(thebits : TBits_1); inline;
  26997. begin
  26998. if thebits = 0 then
  26999. pTDefRegMap(@Self)^.clr := $00000080
  27000. else
  27001. pTDefRegMap(@Self)^.&set := $00000080;
  27002. end;
  27003. function TUART1A_U1MODE.getWAKE : TBits_1; inline;
  27004. begin
  27005. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27006. end;
  27007. procedure TUART1A_U1MODE.setUEN(thebits : TBits_2); inline;
  27008. begin
  27009. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  27010. end;
  27011. function TUART1A_U1MODE.getUEN : TBits_2; inline;
  27012. begin
  27013. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  27014. end;
  27015. procedure TUART1A_U1MODE.setRTSMD; inline;
  27016. begin
  27017. pTDefRegMap(@Self)^.&set := $00000800;
  27018. end;
  27019. procedure TUART1A_U1MODE.clearRTSMD; inline;
  27020. begin
  27021. pTDefRegMap(@Self)^.clr := $00000800;
  27022. end;
  27023. procedure TUART1A_U1MODE.setRTSMD(thebits : TBits_1); inline;
  27024. begin
  27025. if thebits = 0 then
  27026. pTDefRegMap(@Self)^.clr := $00000800
  27027. else
  27028. pTDefRegMap(@Self)^.&set := $00000800;
  27029. end;
  27030. function TUART1A_U1MODE.getRTSMD : TBits_1; inline;
  27031. begin
  27032. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27033. end;
  27034. procedure TUART1A_U1MODE.setIREN; inline;
  27035. begin
  27036. pTDefRegMap(@Self)^.&set := $00001000;
  27037. end;
  27038. procedure TUART1A_U1MODE.clearIREN; inline;
  27039. begin
  27040. pTDefRegMap(@Self)^.clr := $00001000;
  27041. end;
  27042. procedure TUART1A_U1MODE.setIREN(thebits : TBits_1); inline;
  27043. begin
  27044. if thebits = 0 then
  27045. pTDefRegMap(@Self)^.clr := $00001000
  27046. else
  27047. pTDefRegMap(@Self)^.&set := $00001000;
  27048. end;
  27049. function TUART1A_U1MODE.getIREN : TBits_1; inline;
  27050. begin
  27051. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27052. end;
  27053. procedure TUART1A_U1MODE.setSIDL; inline;
  27054. begin
  27055. pTDefRegMap(@Self)^.&set := $00002000;
  27056. end;
  27057. procedure TUART1A_U1MODE.clearSIDL; inline;
  27058. begin
  27059. pTDefRegMap(@Self)^.clr := $00002000;
  27060. end;
  27061. procedure TUART1A_U1MODE.setSIDL(thebits : TBits_1); inline;
  27062. begin
  27063. if thebits = 0 then
  27064. pTDefRegMap(@Self)^.clr := $00002000
  27065. else
  27066. pTDefRegMap(@Self)^.&set := $00002000;
  27067. end;
  27068. function TUART1A_U1MODE.getSIDL : TBits_1; inline;
  27069. begin
  27070. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27071. end;
  27072. procedure TUART1A_U1MODE.setON; inline;
  27073. begin
  27074. pTDefRegMap(@Self)^.&set := $00008000;
  27075. end;
  27076. procedure TUART1A_U1MODE.clearON; inline;
  27077. begin
  27078. pTDefRegMap(@Self)^.clr := $00008000;
  27079. end;
  27080. procedure TUART1A_U1MODE.setON(thebits : TBits_1); inline;
  27081. begin
  27082. if thebits = 0 then
  27083. pTDefRegMap(@Self)^.clr := $00008000
  27084. else
  27085. pTDefRegMap(@Self)^.&set := $00008000;
  27086. end;
  27087. function TUART1A_U1MODE.getON : TBits_1; inline;
  27088. begin
  27089. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27090. end;
  27091. procedure TUART1A_U1MODE.setPDSEL0; inline;
  27092. begin
  27093. pTDefRegMap(@Self)^.&set := $00000002;
  27094. end;
  27095. procedure TUART1A_U1MODE.clearPDSEL0; inline;
  27096. begin
  27097. pTDefRegMap(@Self)^.clr := $00000002;
  27098. end;
  27099. procedure TUART1A_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  27100. begin
  27101. if thebits = 0 then
  27102. pTDefRegMap(@Self)^.clr := $00000002
  27103. else
  27104. pTDefRegMap(@Self)^.&set := $00000002;
  27105. end;
  27106. function TUART1A_U1MODE.getPDSEL0 : TBits_1; inline;
  27107. begin
  27108. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27109. end;
  27110. procedure TUART1A_U1MODE.setPDSEL1; inline;
  27111. begin
  27112. pTDefRegMap(@Self)^.&set := $00000004;
  27113. end;
  27114. procedure TUART1A_U1MODE.clearPDSEL1; inline;
  27115. begin
  27116. pTDefRegMap(@Self)^.clr := $00000004;
  27117. end;
  27118. procedure TUART1A_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  27119. begin
  27120. if thebits = 0 then
  27121. pTDefRegMap(@Self)^.clr := $00000004
  27122. else
  27123. pTDefRegMap(@Self)^.&set := $00000004;
  27124. end;
  27125. function TUART1A_U1MODE.getPDSEL1 : TBits_1; inline;
  27126. begin
  27127. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27128. end;
  27129. procedure TUART1A_U1MODE.setUEN0; inline;
  27130. begin
  27131. pTDefRegMap(@Self)^.&set := $00000100;
  27132. end;
  27133. procedure TUART1A_U1MODE.clearUEN0; inline;
  27134. begin
  27135. pTDefRegMap(@Self)^.clr := $00000100;
  27136. end;
  27137. procedure TUART1A_U1MODE.setUEN0(thebits : TBits_1); inline;
  27138. begin
  27139. if thebits = 0 then
  27140. pTDefRegMap(@Self)^.clr := $00000100
  27141. else
  27142. pTDefRegMap(@Self)^.&set := $00000100;
  27143. end;
  27144. function TUART1A_U1MODE.getUEN0 : TBits_1; inline;
  27145. begin
  27146. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27147. end;
  27148. procedure TUART1A_U1MODE.setUEN1; inline;
  27149. begin
  27150. pTDefRegMap(@Self)^.&set := $00000200;
  27151. end;
  27152. procedure TUART1A_U1MODE.clearUEN1; inline;
  27153. begin
  27154. pTDefRegMap(@Self)^.clr := $00000200;
  27155. end;
  27156. procedure TUART1A_U1MODE.setUEN1(thebits : TBits_1); inline;
  27157. begin
  27158. if thebits = 0 then
  27159. pTDefRegMap(@Self)^.clr := $00000200
  27160. else
  27161. pTDefRegMap(@Self)^.&set := $00000200;
  27162. end;
  27163. function TUART1A_U1MODE.getUEN1 : TBits_1; inline;
  27164. begin
  27165. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27166. end;
  27167. procedure TUART1A_U1MODE.setUSIDL; inline;
  27168. begin
  27169. pTDefRegMap(@Self)^.&set := $00002000;
  27170. end;
  27171. procedure TUART1A_U1MODE.clearUSIDL; inline;
  27172. begin
  27173. pTDefRegMap(@Self)^.clr := $00002000;
  27174. end;
  27175. procedure TUART1A_U1MODE.setUSIDL(thebits : TBits_1); inline;
  27176. begin
  27177. if thebits = 0 then
  27178. pTDefRegMap(@Self)^.clr := $00002000
  27179. else
  27180. pTDefRegMap(@Self)^.&set := $00002000;
  27181. end;
  27182. function TUART1A_U1MODE.getUSIDL : TBits_1; inline;
  27183. begin
  27184. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27185. end;
  27186. procedure TUART1A_U1MODE.setUARTEN; inline;
  27187. begin
  27188. pTDefRegMap(@Self)^.&set := $00008000;
  27189. end;
  27190. procedure TUART1A_U1MODE.clearUARTEN; inline;
  27191. begin
  27192. pTDefRegMap(@Self)^.clr := $00008000;
  27193. end;
  27194. procedure TUART1A_U1MODE.setUARTEN(thebits : TBits_1); inline;
  27195. begin
  27196. if thebits = 0 then
  27197. pTDefRegMap(@Self)^.clr := $00008000
  27198. else
  27199. pTDefRegMap(@Self)^.&set := $00008000;
  27200. end;
  27201. function TUART1A_U1MODE.getUARTEN : TBits_1; inline;
  27202. begin
  27203. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27204. end;
  27205. procedure TUART1A_U1MODE.setw(thebits : TBits_32); inline;
  27206. begin
  27207. pTDefRegMap(@Self)^.val := thebits;
  27208. end;
  27209. function TUART1A_U1MODE.getw : TBits_32; inline;
  27210. begin
  27211. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27212. end;
  27213. procedure TUART1A_U1ASTA.setURXDA; inline;
  27214. begin
  27215. pTDefRegMap(@Self)^.&set := $00000001;
  27216. end;
  27217. procedure TUART1A_U1ASTA.clearURXDA; inline;
  27218. begin
  27219. pTDefRegMap(@Self)^.clr := $00000001;
  27220. end;
  27221. procedure TUART1A_U1ASTA.setURXDA(thebits : TBits_1); inline;
  27222. begin
  27223. if thebits = 0 then
  27224. pTDefRegMap(@Self)^.clr := $00000001
  27225. else
  27226. pTDefRegMap(@Self)^.&set := $00000001;
  27227. end;
  27228. function TUART1A_U1ASTA.getURXDA : TBits_1; inline;
  27229. begin
  27230. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27231. end;
  27232. procedure TUART1A_U1ASTA.setOERR; inline;
  27233. begin
  27234. pTDefRegMap(@Self)^.&set := $00000002;
  27235. end;
  27236. procedure TUART1A_U1ASTA.clearOERR; inline;
  27237. begin
  27238. pTDefRegMap(@Self)^.clr := $00000002;
  27239. end;
  27240. procedure TUART1A_U1ASTA.setOERR(thebits : TBits_1); inline;
  27241. begin
  27242. if thebits = 0 then
  27243. pTDefRegMap(@Self)^.clr := $00000002
  27244. else
  27245. pTDefRegMap(@Self)^.&set := $00000002;
  27246. end;
  27247. function TUART1A_U1ASTA.getOERR : TBits_1; inline;
  27248. begin
  27249. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27250. end;
  27251. procedure TUART1A_U1ASTA.setFERR; inline;
  27252. begin
  27253. pTDefRegMap(@Self)^.&set := $00000004;
  27254. end;
  27255. procedure TUART1A_U1ASTA.clearFERR; inline;
  27256. begin
  27257. pTDefRegMap(@Self)^.clr := $00000004;
  27258. end;
  27259. procedure TUART1A_U1ASTA.setFERR(thebits : TBits_1); inline;
  27260. begin
  27261. if thebits = 0 then
  27262. pTDefRegMap(@Self)^.clr := $00000004
  27263. else
  27264. pTDefRegMap(@Self)^.&set := $00000004;
  27265. end;
  27266. function TUART1A_U1ASTA.getFERR : TBits_1; inline;
  27267. begin
  27268. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27269. end;
  27270. procedure TUART1A_U1ASTA.setPERR; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.&set := $00000008;
  27273. end;
  27274. procedure TUART1A_U1ASTA.clearPERR; inline;
  27275. begin
  27276. pTDefRegMap(@Self)^.clr := $00000008;
  27277. end;
  27278. procedure TUART1A_U1ASTA.setPERR(thebits : TBits_1); inline;
  27279. begin
  27280. if thebits = 0 then
  27281. pTDefRegMap(@Self)^.clr := $00000008
  27282. else
  27283. pTDefRegMap(@Self)^.&set := $00000008;
  27284. end;
  27285. function TUART1A_U1ASTA.getPERR : TBits_1; inline;
  27286. begin
  27287. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27288. end;
  27289. procedure TUART1A_U1ASTA.setRIDLE; inline;
  27290. begin
  27291. pTDefRegMap(@Self)^.&set := $00000010;
  27292. end;
  27293. procedure TUART1A_U1ASTA.clearRIDLE; inline;
  27294. begin
  27295. pTDefRegMap(@Self)^.clr := $00000010;
  27296. end;
  27297. procedure TUART1A_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  27298. begin
  27299. if thebits = 0 then
  27300. pTDefRegMap(@Self)^.clr := $00000010
  27301. else
  27302. pTDefRegMap(@Self)^.&set := $00000010;
  27303. end;
  27304. function TUART1A_U1ASTA.getRIDLE : TBits_1; inline;
  27305. begin
  27306. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27307. end;
  27308. procedure TUART1A_U1ASTA.setADDEN; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.&set := $00000020;
  27311. end;
  27312. procedure TUART1A_U1ASTA.clearADDEN; inline;
  27313. begin
  27314. pTDefRegMap(@Self)^.clr := $00000020;
  27315. end;
  27316. procedure TUART1A_U1ASTA.setADDEN(thebits : TBits_1); inline;
  27317. begin
  27318. if thebits = 0 then
  27319. pTDefRegMap(@Self)^.clr := $00000020
  27320. else
  27321. pTDefRegMap(@Self)^.&set := $00000020;
  27322. end;
  27323. function TUART1A_U1ASTA.getADDEN : TBits_1; inline;
  27324. begin
  27325. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27326. end;
  27327. procedure TUART1A_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  27330. end;
  27331. function TUART1A_U1ASTA.getURXISEL : TBits_2; inline;
  27332. begin
  27333. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  27334. end;
  27335. procedure TUART1A_U1ASTA.setTRMT; inline;
  27336. begin
  27337. pTDefRegMap(@Self)^.&set := $00000100;
  27338. end;
  27339. procedure TUART1A_U1ASTA.clearTRMT; inline;
  27340. begin
  27341. pTDefRegMap(@Self)^.clr := $00000100;
  27342. end;
  27343. procedure TUART1A_U1ASTA.setTRMT(thebits : TBits_1); inline;
  27344. begin
  27345. if thebits = 0 then
  27346. pTDefRegMap(@Self)^.clr := $00000100
  27347. else
  27348. pTDefRegMap(@Self)^.&set := $00000100;
  27349. end;
  27350. function TUART1A_U1ASTA.getTRMT : TBits_1; inline;
  27351. begin
  27352. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27353. end;
  27354. procedure TUART1A_U1ASTA.setUTXBF; inline;
  27355. begin
  27356. pTDefRegMap(@Self)^.&set := $00000200;
  27357. end;
  27358. procedure TUART1A_U1ASTA.clearUTXBF; inline;
  27359. begin
  27360. pTDefRegMap(@Self)^.clr := $00000200;
  27361. end;
  27362. procedure TUART1A_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  27363. begin
  27364. if thebits = 0 then
  27365. pTDefRegMap(@Self)^.clr := $00000200
  27366. else
  27367. pTDefRegMap(@Self)^.&set := $00000200;
  27368. end;
  27369. function TUART1A_U1ASTA.getUTXBF : TBits_1; inline;
  27370. begin
  27371. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27372. end;
  27373. procedure TUART1A_U1ASTA.setUTXEN; inline;
  27374. begin
  27375. pTDefRegMap(@Self)^.&set := $00000400;
  27376. end;
  27377. procedure TUART1A_U1ASTA.clearUTXEN; inline;
  27378. begin
  27379. pTDefRegMap(@Self)^.clr := $00000400;
  27380. end;
  27381. procedure TUART1A_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  27382. begin
  27383. if thebits = 0 then
  27384. pTDefRegMap(@Self)^.clr := $00000400
  27385. else
  27386. pTDefRegMap(@Self)^.&set := $00000400;
  27387. end;
  27388. function TUART1A_U1ASTA.getUTXEN : TBits_1; inline;
  27389. begin
  27390. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27391. end;
  27392. procedure TUART1A_U1ASTA.setUTXBRK; inline;
  27393. begin
  27394. pTDefRegMap(@Self)^.&set := $00000800;
  27395. end;
  27396. procedure TUART1A_U1ASTA.clearUTXBRK; inline;
  27397. begin
  27398. pTDefRegMap(@Self)^.clr := $00000800;
  27399. end;
  27400. procedure TUART1A_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  27401. begin
  27402. if thebits = 0 then
  27403. pTDefRegMap(@Self)^.clr := $00000800
  27404. else
  27405. pTDefRegMap(@Self)^.&set := $00000800;
  27406. end;
  27407. function TUART1A_U1ASTA.getUTXBRK : TBits_1; inline;
  27408. begin
  27409. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27410. end;
  27411. procedure TUART1A_U1ASTA.setURXEN; inline;
  27412. begin
  27413. pTDefRegMap(@Self)^.&set := $00001000;
  27414. end;
  27415. procedure TUART1A_U1ASTA.clearURXEN; inline;
  27416. begin
  27417. pTDefRegMap(@Self)^.clr := $00001000;
  27418. end;
  27419. procedure TUART1A_U1ASTA.setURXEN(thebits : TBits_1); inline;
  27420. begin
  27421. if thebits = 0 then
  27422. pTDefRegMap(@Self)^.clr := $00001000
  27423. else
  27424. pTDefRegMap(@Self)^.&set := $00001000;
  27425. end;
  27426. function TUART1A_U1ASTA.getURXEN : TBits_1; inline;
  27427. begin
  27428. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27429. end;
  27430. procedure TUART1A_U1ASTA.setUTXINV; inline;
  27431. begin
  27432. pTDefRegMap(@Self)^.&set := $00002000;
  27433. end;
  27434. procedure TUART1A_U1ASTA.clearUTXINV; inline;
  27435. begin
  27436. pTDefRegMap(@Self)^.clr := $00002000;
  27437. end;
  27438. procedure TUART1A_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  27439. begin
  27440. if thebits = 0 then
  27441. pTDefRegMap(@Self)^.clr := $00002000
  27442. else
  27443. pTDefRegMap(@Self)^.&set := $00002000;
  27444. end;
  27445. function TUART1A_U1ASTA.getUTXINV : TBits_1; inline;
  27446. begin
  27447. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27448. end;
  27449. procedure TUART1A_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  27450. begin
  27451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27452. end;
  27453. function TUART1A_U1ASTA.getUTXISEL : TBits_2; inline;
  27454. begin
  27455. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27456. end;
  27457. procedure TUART1A_U1ASTA.setADDR(thebits : TBits_8); inline;
  27458. begin
  27459. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  27460. end;
  27461. function TUART1A_U1ASTA.getADDR : TBits_8; inline;
  27462. begin
  27463. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  27464. end;
  27465. procedure TUART1A_U1ASTA.setADM_EN; inline;
  27466. begin
  27467. pTDefRegMap(@Self)^.&set := $01000000;
  27468. end;
  27469. procedure TUART1A_U1ASTA.clearADM_EN; inline;
  27470. begin
  27471. pTDefRegMap(@Self)^.clr := $01000000;
  27472. end;
  27473. procedure TUART1A_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  27474. begin
  27475. if thebits = 0 then
  27476. pTDefRegMap(@Self)^.clr := $01000000
  27477. else
  27478. pTDefRegMap(@Self)^.&set := $01000000;
  27479. end;
  27480. function TUART1A_U1ASTA.getADM_EN : TBits_1; inline;
  27481. begin
  27482. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27483. end;
  27484. procedure TUART1A_U1ASTA.setURXISEL0; inline;
  27485. begin
  27486. pTDefRegMap(@Self)^.&set := $00000040;
  27487. end;
  27488. procedure TUART1A_U1ASTA.clearURXISEL0; inline;
  27489. begin
  27490. pTDefRegMap(@Self)^.clr := $00000040;
  27491. end;
  27492. procedure TUART1A_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  27493. begin
  27494. if thebits = 0 then
  27495. pTDefRegMap(@Self)^.clr := $00000040
  27496. else
  27497. pTDefRegMap(@Self)^.&set := $00000040;
  27498. end;
  27499. function TUART1A_U1ASTA.getURXISEL0 : TBits_1; inline;
  27500. begin
  27501. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27502. end;
  27503. procedure TUART1A_U1ASTA.setURXISEL1; inline;
  27504. begin
  27505. pTDefRegMap(@Self)^.&set := $00000080;
  27506. end;
  27507. procedure TUART1A_U1ASTA.clearURXISEL1; inline;
  27508. begin
  27509. pTDefRegMap(@Self)^.clr := $00000080;
  27510. end;
  27511. procedure TUART1A_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  27512. begin
  27513. if thebits = 0 then
  27514. pTDefRegMap(@Self)^.clr := $00000080
  27515. else
  27516. pTDefRegMap(@Self)^.&set := $00000080;
  27517. end;
  27518. function TUART1A_U1ASTA.getURXISEL1 : TBits_1; inline;
  27519. begin
  27520. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27521. end;
  27522. procedure TUART1A_U1ASTA.setUTXISEL0; inline;
  27523. begin
  27524. pTDefRegMap(@Self)^.&set := $00004000;
  27525. end;
  27526. procedure TUART1A_U1ASTA.clearUTXISEL0; inline;
  27527. begin
  27528. pTDefRegMap(@Self)^.clr := $00004000;
  27529. end;
  27530. procedure TUART1A_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  27531. begin
  27532. if thebits = 0 then
  27533. pTDefRegMap(@Self)^.clr := $00004000
  27534. else
  27535. pTDefRegMap(@Self)^.&set := $00004000;
  27536. end;
  27537. function TUART1A_U1ASTA.getUTXISEL0 : TBits_1; inline;
  27538. begin
  27539. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27540. end;
  27541. procedure TUART1A_U1ASTA.setUTXISEL1; inline;
  27542. begin
  27543. pTDefRegMap(@Self)^.&set := $00008000;
  27544. end;
  27545. procedure TUART1A_U1ASTA.clearUTXISEL1; inline;
  27546. begin
  27547. pTDefRegMap(@Self)^.clr := $00008000;
  27548. end;
  27549. procedure TUART1A_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  27550. begin
  27551. if thebits = 0 then
  27552. pTDefRegMap(@Self)^.clr := $00008000
  27553. else
  27554. pTDefRegMap(@Self)^.&set := $00008000;
  27555. end;
  27556. function TUART1A_U1ASTA.getUTXISEL1 : TBits_1; inline;
  27557. begin
  27558. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27559. end;
  27560. procedure TUART1A_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  27561. begin
  27562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27563. end;
  27564. function TUART1A_U1ASTA.getUTXSEL : TBits_2; inline;
  27565. begin
  27566. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27567. end;
  27568. procedure TUART1A_U1ASTA.setw(thebits : TBits_32); inline;
  27569. begin
  27570. pTDefRegMap(@Self)^.val := thebits;
  27571. end;
  27572. function TUART1A_U1ASTA.getw : TBits_32; inline;
  27573. begin
  27574. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27575. end;
  27576. procedure TUART1A_U1STA.setURXDA; inline;
  27577. begin
  27578. pTDefRegMap(@Self)^.&set := $00000001;
  27579. end;
  27580. procedure TUART1A_U1STA.clearURXDA; inline;
  27581. begin
  27582. pTDefRegMap(@Self)^.clr := $00000001;
  27583. end;
  27584. procedure TUART1A_U1STA.setURXDA(thebits : TBits_1); inline;
  27585. begin
  27586. if thebits = 0 then
  27587. pTDefRegMap(@Self)^.clr := $00000001
  27588. else
  27589. pTDefRegMap(@Self)^.&set := $00000001;
  27590. end;
  27591. function TUART1A_U1STA.getURXDA : TBits_1; inline;
  27592. begin
  27593. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27594. end;
  27595. procedure TUART1A_U1STA.setOERR; inline;
  27596. begin
  27597. pTDefRegMap(@Self)^.&set := $00000002;
  27598. end;
  27599. procedure TUART1A_U1STA.clearOERR; inline;
  27600. begin
  27601. pTDefRegMap(@Self)^.clr := $00000002;
  27602. end;
  27603. procedure TUART1A_U1STA.setOERR(thebits : TBits_1); inline;
  27604. begin
  27605. if thebits = 0 then
  27606. pTDefRegMap(@Self)^.clr := $00000002
  27607. else
  27608. pTDefRegMap(@Self)^.&set := $00000002;
  27609. end;
  27610. function TUART1A_U1STA.getOERR : TBits_1; inline;
  27611. begin
  27612. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27613. end;
  27614. procedure TUART1A_U1STA.setFERR; inline;
  27615. begin
  27616. pTDefRegMap(@Self)^.&set := $00000004;
  27617. end;
  27618. procedure TUART1A_U1STA.clearFERR; inline;
  27619. begin
  27620. pTDefRegMap(@Self)^.clr := $00000004;
  27621. end;
  27622. procedure TUART1A_U1STA.setFERR(thebits : TBits_1); inline;
  27623. begin
  27624. if thebits = 0 then
  27625. pTDefRegMap(@Self)^.clr := $00000004
  27626. else
  27627. pTDefRegMap(@Self)^.&set := $00000004;
  27628. end;
  27629. function TUART1A_U1STA.getFERR : TBits_1; inline;
  27630. begin
  27631. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27632. end;
  27633. procedure TUART1A_U1STA.setPERR; inline;
  27634. begin
  27635. pTDefRegMap(@Self)^.&set := $00000008;
  27636. end;
  27637. procedure TUART1A_U1STA.clearPERR; inline;
  27638. begin
  27639. pTDefRegMap(@Self)^.clr := $00000008;
  27640. end;
  27641. procedure TUART1A_U1STA.setPERR(thebits : TBits_1); inline;
  27642. begin
  27643. if thebits = 0 then
  27644. pTDefRegMap(@Self)^.clr := $00000008
  27645. else
  27646. pTDefRegMap(@Self)^.&set := $00000008;
  27647. end;
  27648. function TUART1A_U1STA.getPERR : TBits_1; inline;
  27649. begin
  27650. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27651. end;
  27652. procedure TUART1A_U1STA.setRIDLE; inline;
  27653. begin
  27654. pTDefRegMap(@Self)^.&set := $00000010;
  27655. end;
  27656. procedure TUART1A_U1STA.clearRIDLE; inline;
  27657. begin
  27658. pTDefRegMap(@Self)^.clr := $00000010;
  27659. end;
  27660. procedure TUART1A_U1STA.setRIDLE(thebits : TBits_1); inline;
  27661. begin
  27662. if thebits = 0 then
  27663. pTDefRegMap(@Self)^.clr := $00000010
  27664. else
  27665. pTDefRegMap(@Self)^.&set := $00000010;
  27666. end;
  27667. function TUART1A_U1STA.getRIDLE : TBits_1; inline;
  27668. begin
  27669. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27670. end;
  27671. procedure TUART1A_U1STA.setADDEN; inline;
  27672. begin
  27673. pTDefRegMap(@Self)^.&set := $00000020;
  27674. end;
  27675. procedure TUART1A_U1STA.clearADDEN; inline;
  27676. begin
  27677. pTDefRegMap(@Self)^.clr := $00000020;
  27678. end;
  27679. procedure TUART1A_U1STA.setADDEN(thebits : TBits_1); inline;
  27680. begin
  27681. if thebits = 0 then
  27682. pTDefRegMap(@Self)^.clr := $00000020
  27683. else
  27684. pTDefRegMap(@Self)^.&set := $00000020;
  27685. end;
  27686. function TUART1A_U1STA.getADDEN : TBits_1; inline;
  27687. begin
  27688. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27689. end;
  27690. procedure TUART1A_U1STA.setURXISEL(thebits : TBits_2); inline;
  27691. begin
  27692. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  27693. end;
  27694. function TUART1A_U1STA.getURXISEL : TBits_2; inline;
  27695. begin
  27696. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  27697. end;
  27698. procedure TUART1A_U1STA.setTRMT; inline;
  27699. begin
  27700. pTDefRegMap(@Self)^.&set := $00000100;
  27701. end;
  27702. procedure TUART1A_U1STA.clearTRMT; inline;
  27703. begin
  27704. pTDefRegMap(@Self)^.clr := $00000100;
  27705. end;
  27706. procedure TUART1A_U1STA.setTRMT(thebits : TBits_1); inline;
  27707. begin
  27708. if thebits = 0 then
  27709. pTDefRegMap(@Self)^.clr := $00000100
  27710. else
  27711. pTDefRegMap(@Self)^.&set := $00000100;
  27712. end;
  27713. function TUART1A_U1STA.getTRMT : TBits_1; inline;
  27714. begin
  27715. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27716. end;
  27717. procedure TUART1A_U1STA.setUTXBF; inline;
  27718. begin
  27719. pTDefRegMap(@Self)^.&set := $00000200;
  27720. end;
  27721. procedure TUART1A_U1STA.clearUTXBF; inline;
  27722. begin
  27723. pTDefRegMap(@Self)^.clr := $00000200;
  27724. end;
  27725. procedure TUART1A_U1STA.setUTXBF(thebits : TBits_1); inline;
  27726. begin
  27727. if thebits = 0 then
  27728. pTDefRegMap(@Self)^.clr := $00000200
  27729. else
  27730. pTDefRegMap(@Self)^.&set := $00000200;
  27731. end;
  27732. function TUART1A_U1STA.getUTXBF : TBits_1; inline;
  27733. begin
  27734. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27735. end;
  27736. procedure TUART1A_U1STA.setUTXEN; inline;
  27737. begin
  27738. pTDefRegMap(@Self)^.&set := $00000400;
  27739. end;
  27740. procedure TUART1A_U1STA.clearUTXEN; inline;
  27741. begin
  27742. pTDefRegMap(@Self)^.clr := $00000400;
  27743. end;
  27744. procedure TUART1A_U1STA.setUTXEN(thebits : TBits_1); inline;
  27745. begin
  27746. if thebits = 0 then
  27747. pTDefRegMap(@Self)^.clr := $00000400
  27748. else
  27749. pTDefRegMap(@Self)^.&set := $00000400;
  27750. end;
  27751. function TUART1A_U1STA.getUTXEN : TBits_1; inline;
  27752. begin
  27753. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27754. end;
  27755. procedure TUART1A_U1STA.setUTXBRK; inline;
  27756. begin
  27757. pTDefRegMap(@Self)^.&set := $00000800;
  27758. end;
  27759. procedure TUART1A_U1STA.clearUTXBRK; inline;
  27760. begin
  27761. pTDefRegMap(@Self)^.clr := $00000800;
  27762. end;
  27763. procedure TUART1A_U1STA.setUTXBRK(thebits : TBits_1); inline;
  27764. begin
  27765. if thebits = 0 then
  27766. pTDefRegMap(@Self)^.clr := $00000800
  27767. else
  27768. pTDefRegMap(@Self)^.&set := $00000800;
  27769. end;
  27770. function TUART1A_U1STA.getUTXBRK : TBits_1; inline;
  27771. begin
  27772. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27773. end;
  27774. procedure TUART1A_U1STA.setURXEN; inline;
  27775. begin
  27776. pTDefRegMap(@Self)^.&set := $00001000;
  27777. end;
  27778. procedure TUART1A_U1STA.clearURXEN; inline;
  27779. begin
  27780. pTDefRegMap(@Self)^.clr := $00001000;
  27781. end;
  27782. procedure TUART1A_U1STA.setURXEN(thebits : TBits_1); inline;
  27783. begin
  27784. if thebits = 0 then
  27785. pTDefRegMap(@Self)^.clr := $00001000
  27786. else
  27787. pTDefRegMap(@Self)^.&set := $00001000;
  27788. end;
  27789. function TUART1A_U1STA.getURXEN : TBits_1; inline;
  27790. begin
  27791. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27792. end;
  27793. procedure TUART1A_U1STA.setUTXINV; inline;
  27794. begin
  27795. pTDefRegMap(@Self)^.&set := $00002000;
  27796. end;
  27797. procedure TUART1A_U1STA.clearUTXINV; inline;
  27798. begin
  27799. pTDefRegMap(@Self)^.clr := $00002000;
  27800. end;
  27801. procedure TUART1A_U1STA.setUTXINV(thebits : TBits_1); inline;
  27802. begin
  27803. if thebits = 0 then
  27804. pTDefRegMap(@Self)^.clr := $00002000
  27805. else
  27806. pTDefRegMap(@Self)^.&set := $00002000;
  27807. end;
  27808. function TUART1A_U1STA.getUTXINV : TBits_1; inline;
  27809. begin
  27810. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27811. end;
  27812. procedure TUART1A_U1STA.setUTXISEL(thebits : TBits_2); inline;
  27813. begin
  27814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27815. end;
  27816. function TUART1A_U1STA.getUTXISEL : TBits_2; inline;
  27817. begin
  27818. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27819. end;
  27820. procedure TUART1A_U1STA.setADDR(thebits : TBits_8); inline;
  27821. begin
  27822. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  27823. end;
  27824. function TUART1A_U1STA.getADDR : TBits_8; inline;
  27825. begin
  27826. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  27827. end;
  27828. procedure TUART1A_U1STA.setADM_EN; inline;
  27829. begin
  27830. pTDefRegMap(@Self)^.&set := $01000000;
  27831. end;
  27832. procedure TUART1A_U1STA.clearADM_EN; inline;
  27833. begin
  27834. pTDefRegMap(@Self)^.clr := $01000000;
  27835. end;
  27836. procedure TUART1A_U1STA.setADM_EN(thebits : TBits_1); inline;
  27837. begin
  27838. if thebits = 0 then
  27839. pTDefRegMap(@Self)^.clr := $01000000
  27840. else
  27841. pTDefRegMap(@Self)^.&set := $01000000;
  27842. end;
  27843. function TUART1A_U1STA.getADM_EN : TBits_1; inline;
  27844. begin
  27845. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27846. end;
  27847. procedure TUART1A_U1STA.setURXISEL0; inline;
  27848. begin
  27849. pTDefRegMap(@Self)^.&set := $00000040;
  27850. end;
  27851. procedure TUART1A_U1STA.clearURXISEL0; inline;
  27852. begin
  27853. pTDefRegMap(@Self)^.clr := $00000040;
  27854. end;
  27855. procedure TUART1A_U1STA.setURXISEL0(thebits : TBits_1); inline;
  27856. begin
  27857. if thebits = 0 then
  27858. pTDefRegMap(@Self)^.clr := $00000040
  27859. else
  27860. pTDefRegMap(@Self)^.&set := $00000040;
  27861. end;
  27862. function TUART1A_U1STA.getURXISEL0 : TBits_1; inline;
  27863. begin
  27864. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27865. end;
  27866. procedure TUART1A_U1STA.setURXISEL1; inline;
  27867. begin
  27868. pTDefRegMap(@Self)^.&set := $00000080;
  27869. end;
  27870. procedure TUART1A_U1STA.clearURXISEL1; inline;
  27871. begin
  27872. pTDefRegMap(@Self)^.clr := $00000080;
  27873. end;
  27874. procedure TUART1A_U1STA.setURXISEL1(thebits : TBits_1); inline;
  27875. begin
  27876. if thebits = 0 then
  27877. pTDefRegMap(@Self)^.clr := $00000080
  27878. else
  27879. pTDefRegMap(@Self)^.&set := $00000080;
  27880. end;
  27881. function TUART1A_U1STA.getURXISEL1 : TBits_1; inline;
  27882. begin
  27883. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27884. end;
  27885. procedure TUART1A_U1STA.setUTXISEL0; inline;
  27886. begin
  27887. pTDefRegMap(@Self)^.&set := $00004000;
  27888. end;
  27889. procedure TUART1A_U1STA.clearUTXISEL0; inline;
  27890. begin
  27891. pTDefRegMap(@Self)^.clr := $00004000;
  27892. end;
  27893. procedure TUART1A_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  27894. begin
  27895. if thebits = 0 then
  27896. pTDefRegMap(@Self)^.clr := $00004000
  27897. else
  27898. pTDefRegMap(@Self)^.&set := $00004000;
  27899. end;
  27900. function TUART1A_U1STA.getUTXISEL0 : TBits_1; inline;
  27901. begin
  27902. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27903. end;
  27904. procedure TUART1A_U1STA.setUTXISEL1; inline;
  27905. begin
  27906. pTDefRegMap(@Self)^.&set := $00008000;
  27907. end;
  27908. procedure TUART1A_U1STA.clearUTXISEL1; inline;
  27909. begin
  27910. pTDefRegMap(@Self)^.clr := $00008000;
  27911. end;
  27912. procedure TUART1A_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  27913. begin
  27914. if thebits = 0 then
  27915. pTDefRegMap(@Self)^.clr := $00008000
  27916. else
  27917. pTDefRegMap(@Self)^.&set := $00008000;
  27918. end;
  27919. function TUART1A_U1STA.getUTXISEL1 : TBits_1; inline;
  27920. begin
  27921. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27922. end;
  27923. procedure TUART1A_U1STA.setUTXSEL(thebits : TBits_2); inline;
  27924. begin
  27925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27926. end;
  27927. function TUART1A_U1STA.getUTXSEL : TBits_2; inline;
  27928. begin
  27929. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27930. end;
  27931. procedure TUART1A_U1STA.setw(thebits : TBits_32); inline;
  27932. begin
  27933. pTDefRegMap(@Self)^.val := thebits;
  27934. end;
  27935. function TUART1A_U1STA.getw : TBits_32; inline;
  27936. begin
  27937. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27938. end;
  27939. procedure TUART4_U1BMODE.setSTSEL; inline;
  27940. begin
  27941. pTDefRegMap(@Self)^.&set := $00000001;
  27942. end;
  27943. procedure TUART4_U1BMODE.clearSTSEL; inline;
  27944. begin
  27945. pTDefRegMap(@Self)^.clr := $00000001;
  27946. end;
  27947. procedure TUART4_U1BMODE.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 TUART4_U1BMODE.getSTSEL : TBits_1; inline;
  27955. begin
  27956. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27957. end;
  27958. procedure TUART4_U1BMODE.setPDSEL(thebits : TBits_2); inline;
  27959. begin
  27960. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  27961. end;
  27962. function TUART4_U1BMODE.getPDSEL : TBits_2; inline;
  27963. begin
  27964. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  27965. end;
  27966. procedure TUART4_U1BMODE.setBRGH; inline;
  27967. begin
  27968. pTDefRegMap(@Self)^.&set := $00000008;
  27969. end;
  27970. procedure TUART4_U1BMODE.clearBRGH; inline;
  27971. begin
  27972. pTDefRegMap(@Self)^.clr := $00000008;
  27973. end;
  27974. procedure TUART4_U1BMODE.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 TUART4_U1BMODE.getBRGH : TBits_1; inline;
  27982. begin
  27983. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27984. end;
  27985. procedure TUART4_U1BMODE.setRXINV; inline;
  27986. begin
  27987. pTDefRegMap(@Self)^.&set := $00000010;
  27988. end;
  27989. procedure TUART4_U1BMODE.clearRXINV; inline;
  27990. begin
  27991. pTDefRegMap(@Self)^.clr := $00000010;
  27992. end;
  27993. procedure TUART4_U1BMODE.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 TUART4_U1BMODE.getRXINV : TBits_1; inline;
  28001. begin
  28002. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28003. end;
  28004. procedure TUART4_U1BMODE.setABAUD; inline;
  28005. begin
  28006. pTDefRegMap(@Self)^.&set := $00000020;
  28007. end;
  28008. procedure TUART4_U1BMODE.clearABAUD; inline;
  28009. begin
  28010. pTDefRegMap(@Self)^.clr := $00000020;
  28011. end;
  28012. procedure TUART4_U1BMODE.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 TUART4_U1BMODE.getABAUD : TBits_1; inline;
  28020. begin
  28021. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28022. end;
  28023. procedure TUART4_U1BMODE.setLPBACK; inline;
  28024. begin
  28025. pTDefRegMap(@Self)^.&set := $00000040;
  28026. end;
  28027. procedure TUART4_U1BMODE.clearLPBACK; inline;
  28028. begin
  28029. pTDefRegMap(@Self)^.clr := $00000040;
  28030. end;
  28031. procedure TUART4_U1BMODE.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 TUART4_U1BMODE.getLPBACK : TBits_1; inline;
  28039. begin
  28040. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28041. end;
  28042. procedure TUART4_U1BMODE.setWAKE; inline;
  28043. begin
  28044. pTDefRegMap(@Self)^.&set := $00000080;
  28045. end;
  28046. procedure TUART4_U1BMODE.clearWAKE; inline;
  28047. begin
  28048. pTDefRegMap(@Self)^.clr := $00000080;
  28049. end;
  28050. procedure TUART4_U1BMODE.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 TUART4_U1BMODE.getWAKE : TBits_1; inline;
  28058. begin
  28059. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28060. end;
  28061. procedure TUART4_U1BMODE.setIREN; inline;
  28062. begin
  28063. pTDefRegMap(@Self)^.&set := $00001000;
  28064. end;
  28065. procedure TUART4_U1BMODE.clearIREN; inline;
  28066. begin
  28067. pTDefRegMap(@Self)^.clr := $00001000;
  28068. end;
  28069. procedure TUART4_U1BMODE.setIREN(thebits : TBits_1); inline;
  28070. begin
  28071. if thebits = 0 then
  28072. pTDefRegMap(@Self)^.clr := $00001000
  28073. else
  28074. pTDefRegMap(@Self)^.&set := $00001000;
  28075. end;
  28076. function TUART4_U1BMODE.getIREN : TBits_1; inline;
  28077. begin
  28078. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28079. end;
  28080. procedure TUART4_U1BMODE.setSIDL; inline;
  28081. begin
  28082. pTDefRegMap(@Self)^.&set := $00002000;
  28083. end;
  28084. procedure TUART4_U1BMODE.clearSIDL; inline;
  28085. begin
  28086. pTDefRegMap(@Self)^.clr := $00002000;
  28087. end;
  28088. procedure TUART4_U1BMODE.setSIDL(thebits : TBits_1); inline;
  28089. begin
  28090. if thebits = 0 then
  28091. pTDefRegMap(@Self)^.clr := $00002000
  28092. else
  28093. pTDefRegMap(@Self)^.&set := $00002000;
  28094. end;
  28095. function TUART4_U1BMODE.getSIDL : TBits_1; inline;
  28096. begin
  28097. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28098. end;
  28099. procedure TUART4_U1BMODE.setON; inline;
  28100. begin
  28101. pTDefRegMap(@Self)^.&set := $00008000;
  28102. end;
  28103. procedure TUART4_U1BMODE.clearON; inline;
  28104. begin
  28105. pTDefRegMap(@Self)^.clr := $00008000;
  28106. end;
  28107. procedure TUART4_U1BMODE.setON(thebits : TBits_1); inline;
  28108. begin
  28109. if thebits = 0 then
  28110. pTDefRegMap(@Self)^.clr := $00008000
  28111. else
  28112. pTDefRegMap(@Self)^.&set := $00008000;
  28113. end;
  28114. function TUART4_U1BMODE.getON : TBits_1; inline;
  28115. begin
  28116. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28117. end;
  28118. procedure TUART4_U1BMODE.setPDSEL0; inline;
  28119. begin
  28120. pTDefRegMap(@Self)^.&set := $00000002;
  28121. end;
  28122. procedure TUART4_U1BMODE.clearPDSEL0; inline;
  28123. begin
  28124. pTDefRegMap(@Self)^.clr := $00000002;
  28125. end;
  28126. procedure TUART4_U1BMODE.setPDSEL0(thebits : TBits_1); inline;
  28127. begin
  28128. if thebits = 0 then
  28129. pTDefRegMap(@Self)^.clr := $00000002
  28130. else
  28131. pTDefRegMap(@Self)^.&set := $00000002;
  28132. end;
  28133. function TUART4_U1BMODE.getPDSEL0 : TBits_1; inline;
  28134. begin
  28135. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28136. end;
  28137. procedure TUART4_U1BMODE.setPDSEL1; inline;
  28138. begin
  28139. pTDefRegMap(@Self)^.&set := $00000004;
  28140. end;
  28141. procedure TUART4_U1BMODE.clearPDSEL1; inline;
  28142. begin
  28143. pTDefRegMap(@Self)^.clr := $00000004;
  28144. end;
  28145. procedure TUART4_U1BMODE.setPDSEL1(thebits : TBits_1); inline;
  28146. begin
  28147. if thebits = 0 then
  28148. pTDefRegMap(@Self)^.clr := $00000004
  28149. else
  28150. pTDefRegMap(@Self)^.&set := $00000004;
  28151. end;
  28152. function TUART4_U1BMODE.getPDSEL1 : TBits_1; inline;
  28153. begin
  28154. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28155. end;
  28156. procedure TUART4_U1BMODE.setUSIDL; inline;
  28157. begin
  28158. pTDefRegMap(@Self)^.&set := $00002000;
  28159. end;
  28160. procedure TUART4_U1BMODE.clearUSIDL; inline;
  28161. begin
  28162. pTDefRegMap(@Self)^.clr := $00002000;
  28163. end;
  28164. procedure TUART4_U1BMODE.setUSIDL(thebits : TBits_1); inline;
  28165. begin
  28166. if thebits = 0 then
  28167. pTDefRegMap(@Self)^.clr := $00002000
  28168. else
  28169. pTDefRegMap(@Self)^.&set := $00002000;
  28170. end;
  28171. function TUART4_U1BMODE.getUSIDL : TBits_1; inline;
  28172. begin
  28173. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28174. end;
  28175. procedure TUART4_U1BMODE.setUARTEN; inline;
  28176. begin
  28177. pTDefRegMap(@Self)^.&set := $00008000;
  28178. end;
  28179. procedure TUART4_U1BMODE.clearUARTEN; inline;
  28180. begin
  28181. pTDefRegMap(@Self)^.clr := $00008000;
  28182. end;
  28183. procedure TUART4_U1BMODE.setUARTEN(thebits : TBits_1); inline;
  28184. begin
  28185. if thebits = 0 then
  28186. pTDefRegMap(@Self)^.clr := $00008000
  28187. else
  28188. pTDefRegMap(@Self)^.&set := $00008000;
  28189. end;
  28190. function TUART4_U1BMODE.getUARTEN : TBits_1; inline;
  28191. begin
  28192. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28193. end;
  28194. procedure TUART4_U1BMODE.setw(thebits : TBits_32); inline;
  28195. begin
  28196. pTDefRegMap(@Self)^.val := thebits;
  28197. end;
  28198. function TUART4_U1BMODE.getw : TBits_32; inline;
  28199. begin
  28200. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28201. end;
  28202. procedure TUART4_U4MODE.setSTSEL; inline;
  28203. begin
  28204. pTDefRegMap(@Self)^.&set := $00000001;
  28205. end;
  28206. procedure TUART4_U4MODE.clearSTSEL; inline;
  28207. begin
  28208. pTDefRegMap(@Self)^.clr := $00000001;
  28209. end;
  28210. procedure TUART4_U4MODE.setSTSEL(thebits : TBits_1); inline;
  28211. begin
  28212. if thebits = 0 then
  28213. pTDefRegMap(@Self)^.clr := $00000001
  28214. else
  28215. pTDefRegMap(@Self)^.&set := $00000001;
  28216. end;
  28217. function TUART4_U4MODE.getSTSEL : TBits_1; inline;
  28218. begin
  28219. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28220. end;
  28221. procedure TUART4_U4MODE.setPDSEL(thebits : TBits_2); inline;
  28222. begin
  28223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  28224. end;
  28225. function TUART4_U4MODE.getPDSEL : TBits_2; inline;
  28226. begin
  28227. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  28228. end;
  28229. procedure TUART4_U4MODE.setBRGH; inline;
  28230. begin
  28231. pTDefRegMap(@Self)^.&set := $00000008;
  28232. end;
  28233. procedure TUART4_U4MODE.clearBRGH; inline;
  28234. begin
  28235. pTDefRegMap(@Self)^.clr := $00000008;
  28236. end;
  28237. procedure TUART4_U4MODE.setBRGH(thebits : TBits_1); inline;
  28238. begin
  28239. if thebits = 0 then
  28240. pTDefRegMap(@Self)^.clr := $00000008
  28241. else
  28242. pTDefRegMap(@Self)^.&set := $00000008;
  28243. end;
  28244. function TUART4_U4MODE.getBRGH : TBits_1; inline;
  28245. begin
  28246. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28247. end;
  28248. procedure TUART4_U4MODE.setRXINV; inline;
  28249. begin
  28250. pTDefRegMap(@Self)^.&set := $00000010;
  28251. end;
  28252. procedure TUART4_U4MODE.clearRXINV; inline;
  28253. begin
  28254. pTDefRegMap(@Self)^.clr := $00000010;
  28255. end;
  28256. procedure TUART4_U4MODE.setRXINV(thebits : TBits_1); inline;
  28257. begin
  28258. if thebits = 0 then
  28259. pTDefRegMap(@Self)^.clr := $00000010
  28260. else
  28261. pTDefRegMap(@Self)^.&set := $00000010;
  28262. end;
  28263. function TUART4_U4MODE.getRXINV : TBits_1; inline;
  28264. begin
  28265. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28266. end;
  28267. procedure TUART4_U4MODE.setABAUD; inline;
  28268. begin
  28269. pTDefRegMap(@Self)^.&set := $00000020;
  28270. end;
  28271. procedure TUART4_U4MODE.clearABAUD; inline;
  28272. begin
  28273. pTDefRegMap(@Self)^.clr := $00000020;
  28274. end;
  28275. procedure TUART4_U4MODE.setABAUD(thebits : TBits_1); inline;
  28276. begin
  28277. if thebits = 0 then
  28278. pTDefRegMap(@Self)^.clr := $00000020
  28279. else
  28280. pTDefRegMap(@Self)^.&set := $00000020;
  28281. end;
  28282. function TUART4_U4MODE.getABAUD : TBits_1; inline;
  28283. begin
  28284. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28285. end;
  28286. procedure TUART4_U4MODE.setLPBACK; inline;
  28287. begin
  28288. pTDefRegMap(@Self)^.&set := $00000040;
  28289. end;
  28290. procedure TUART4_U4MODE.clearLPBACK; inline;
  28291. begin
  28292. pTDefRegMap(@Self)^.clr := $00000040;
  28293. end;
  28294. procedure TUART4_U4MODE.setLPBACK(thebits : TBits_1); inline;
  28295. begin
  28296. if thebits = 0 then
  28297. pTDefRegMap(@Self)^.clr := $00000040
  28298. else
  28299. pTDefRegMap(@Self)^.&set := $00000040;
  28300. end;
  28301. function TUART4_U4MODE.getLPBACK : TBits_1; inline;
  28302. begin
  28303. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28304. end;
  28305. procedure TUART4_U4MODE.setWAKE; inline;
  28306. begin
  28307. pTDefRegMap(@Self)^.&set := $00000080;
  28308. end;
  28309. procedure TUART4_U4MODE.clearWAKE; inline;
  28310. begin
  28311. pTDefRegMap(@Self)^.clr := $00000080;
  28312. end;
  28313. procedure TUART4_U4MODE.setWAKE(thebits : TBits_1); inline;
  28314. begin
  28315. if thebits = 0 then
  28316. pTDefRegMap(@Self)^.clr := $00000080
  28317. else
  28318. pTDefRegMap(@Self)^.&set := $00000080;
  28319. end;
  28320. function TUART4_U4MODE.getWAKE : TBits_1; inline;
  28321. begin
  28322. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28323. end;
  28324. procedure TUART4_U4MODE.setIREN; inline;
  28325. begin
  28326. pTDefRegMap(@Self)^.&set := $00001000;
  28327. end;
  28328. procedure TUART4_U4MODE.clearIREN; inline;
  28329. begin
  28330. pTDefRegMap(@Self)^.clr := $00001000;
  28331. end;
  28332. procedure TUART4_U4MODE.setIREN(thebits : TBits_1); inline;
  28333. begin
  28334. if thebits = 0 then
  28335. pTDefRegMap(@Self)^.clr := $00001000
  28336. else
  28337. pTDefRegMap(@Self)^.&set := $00001000;
  28338. end;
  28339. function TUART4_U4MODE.getIREN : TBits_1; inline;
  28340. begin
  28341. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28342. end;
  28343. procedure TUART4_U4MODE.setSIDL; inline;
  28344. begin
  28345. pTDefRegMap(@Self)^.&set := $00002000;
  28346. end;
  28347. procedure TUART4_U4MODE.clearSIDL; inline;
  28348. begin
  28349. pTDefRegMap(@Self)^.clr := $00002000;
  28350. end;
  28351. procedure TUART4_U4MODE.setSIDL(thebits : TBits_1); inline;
  28352. begin
  28353. if thebits = 0 then
  28354. pTDefRegMap(@Self)^.clr := $00002000
  28355. else
  28356. pTDefRegMap(@Self)^.&set := $00002000;
  28357. end;
  28358. function TUART4_U4MODE.getSIDL : TBits_1; inline;
  28359. begin
  28360. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28361. end;
  28362. procedure TUART4_U4MODE.setON; inline;
  28363. begin
  28364. pTDefRegMap(@Self)^.&set := $00008000;
  28365. end;
  28366. procedure TUART4_U4MODE.clearON; inline;
  28367. begin
  28368. pTDefRegMap(@Self)^.clr := $00008000;
  28369. end;
  28370. procedure TUART4_U4MODE.setON(thebits : TBits_1); inline;
  28371. begin
  28372. if thebits = 0 then
  28373. pTDefRegMap(@Self)^.clr := $00008000
  28374. else
  28375. pTDefRegMap(@Self)^.&set := $00008000;
  28376. end;
  28377. function TUART4_U4MODE.getON : TBits_1; inline;
  28378. begin
  28379. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28380. end;
  28381. procedure TUART4_U4MODE.setPDSEL0; inline;
  28382. begin
  28383. pTDefRegMap(@Self)^.&set := $00000002;
  28384. end;
  28385. procedure TUART4_U4MODE.clearPDSEL0; inline;
  28386. begin
  28387. pTDefRegMap(@Self)^.clr := $00000002;
  28388. end;
  28389. procedure TUART4_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  28390. begin
  28391. if thebits = 0 then
  28392. pTDefRegMap(@Self)^.clr := $00000002
  28393. else
  28394. pTDefRegMap(@Self)^.&set := $00000002;
  28395. end;
  28396. function TUART4_U4MODE.getPDSEL0 : TBits_1; inline;
  28397. begin
  28398. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28399. end;
  28400. procedure TUART4_U4MODE.setPDSEL1; inline;
  28401. begin
  28402. pTDefRegMap(@Self)^.&set := $00000004;
  28403. end;
  28404. procedure TUART4_U4MODE.clearPDSEL1; inline;
  28405. begin
  28406. pTDefRegMap(@Self)^.clr := $00000004;
  28407. end;
  28408. procedure TUART4_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  28409. begin
  28410. if thebits = 0 then
  28411. pTDefRegMap(@Self)^.clr := $00000004
  28412. else
  28413. pTDefRegMap(@Self)^.&set := $00000004;
  28414. end;
  28415. function TUART4_U4MODE.getPDSEL1 : TBits_1; inline;
  28416. begin
  28417. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28418. end;
  28419. procedure TUART4_U4MODE.setUSIDL; inline;
  28420. begin
  28421. pTDefRegMap(@Self)^.&set := $00002000;
  28422. end;
  28423. procedure TUART4_U4MODE.clearUSIDL; inline;
  28424. begin
  28425. pTDefRegMap(@Self)^.clr := $00002000;
  28426. end;
  28427. procedure TUART4_U4MODE.setUSIDL(thebits : TBits_1); inline;
  28428. begin
  28429. if thebits = 0 then
  28430. pTDefRegMap(@Self)^.clr := $00002000
  28431. else
  28432. pTDefRegMap(@Self)^.&set := $00002000;
  28433. end;
  28434. function TUART4_U4MODE.getUSIDL : TBits_1; inline;
  28435. begin
  28436. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28437. end;
  28438. procedure TUART4_U4MODE.setUARTEN; inline;
  28439. begin
  28440. pTDefRegMap(@Self)^.&set := $00008000;
  28441. end;
  28442. procedure TUART4_U4MODE.clearUARTEN; inline;
  28443. begin
  28444. pTDefRegMap(@Self)^.clr := $00008000;
  28445. end;
  28446. procedure TUART4_U4MODE.setUARTEN(thebits : TBits_1); inline;
  28447. begin
  28448. if thebits = 0 then
  28449. pTDefRegMap(@Self)^.clr := $00008000
  28450. else
  28451. pTDefRegMap(@Self)^.&set := $00008000;
  28452. end;
  28453. function TUART4_U4MODE.getUARTEN : TBits_1; inline;
  28454. begin
  28455. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28456. end;
  28457. procedure TUART4_U4MODE.setw(thebits : TBits_32); inline;
  28458. begin
  28459. pTDefRegMap(@Self)^.val := thebits;
  28460. end;
  28461. function TUART4_U4MODE.getw : TBits_32; inline;
  28462. begin
  28463. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28464. end;
  28465. procedure TUART4_U1BSTA.setURXDA; inline;
  28466. begin
  28467. pTDefRegMap(@Self)^.&set := $00000001;
  28468. end;
  28469. procedure TUART4_U1BSTA.clearURXDA; inline;
  28470. begin
  28471. pTDefRegMap(@Self)^.clr := $00000001;
  28472. end;
  28473. procedure TUART4_U1BSTA.setURXDA(thebits : TBits_1); inline;
  28474. begin
  28475. if thebits = 0 then
  28476. pTDefRegMap(@Self)^.clr := $00000001
  28477. else
  28478. pTDefRegMap(@Self)^.&set := $00000001;
  28479. end;
  28480. function TUART4_U1BSTA.getURXDA : TBits_1; inline;
  28481. begin
  28482. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28483. end;
  28484. procedure TUART4_U1BSTA.setOERR; inline;
  28485. begin
  28486. pTDefRegMap(@Self)^.&set := $00000002;
  28487. end;
  28488. procedure TUART4_U1BSTA.clearOERR; inline;
  28489. begin
  28490. pTDefRegMap(@Self)^.clr := $00000002;
  28491. end;
  28492. procedure TUART4_U1BSTA.setOERR(thebits : TBits_1); inline;
  28493. begin
  28494. if thebits = 0 then
  28495. pTDefRegMap(@Self)^.clr := $00000002
  28496. else
  28497. pTDefRegMap(@Self)^.&set := $00000002;
  28498. end;
  28499. function TUART4_U1BSTA.getOERR : TBits_1; inline;
  28500. begin
  28501. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28502. end;
  28503. procedure TUART4_U1BSTA.setFERR; inline;
  28504. begin
  28505. pTDefRegMap(@Self)^.&set := $00000004;
  28506. end;
  28507. procedure TUART4_U1BSTA.clearFERR; inline;
  28508. begin
  28509. pTDefRegMap(@Self)^.clr := $00000004;
  28510. end;
  28511. procedure TUART4_U1BSTA.setFERR(thebits : TBits_1); inline;
  28512. begin
  28513. if thebits = 0 then
  28514. pTDefRegMap(@Self)^.clr := $00000004
  28515. else
  28516. pTDefRegMap(@Self)^.&set := $00000004;
  28517. end;
  28518. function TUART4_U1BSTA.getFERR : TBits_1; inline;
  28519. begin
  28520. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28521. end;
  28522. procedure TUART4_U1BSTA.setPERR; inline;
  28523. begin
  28524. pTDefRegMap(@Self)^.&set := $00000008;
  28525. end;
  28526. procedure TUART4_U1BSTA.clearPERR; inline;
  28527. begin
  28528. pTDefRegMap(@Self)^.clr := $00000008;
  28529. end;
  28530. procedure TUART4_U1BSTA.setPERR(thebits : TBits_1); inline;
  28531. begin
  28532. if thebits = 0 then
  28533. pTDefRegMap(@Self)^.clr := $00000008
  28534. else
  28535. pTDefRegMap(@Self)^.&set := $00000008;
  28536. end;
  28537. function TUART4_U1BSTA.getPERR : TBits_1; inline;
  28538. begin
  28539. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28540. end;
  28541. procedure TUART4_U1BSTA.setRIDLE; inline;
  28542. begin
  28543. pTDefRegMap(@Self)^.&set := $00000010;
  28544. end;
  28545. procedure TUART4_U1BSTA.clearRIDLE; inline;
  28546. begin
  28547. pTDefRegMap(@Self)^.clr := $00000010;
  28548. end;
  28549. procedure TUART4_U1BSTA.setRIDLE(thebits : TBits_1); inline;
  28550. begin
  28551. if thebits = 0 then
  28552. pTDefRegMap(@Self)^.clr := $00000010
  28553. else
  28554. pTDefRegMap(@Self)^.&set := $00000010;
  28555. end;
  28556. function TUART4_U1BSTA.getRIDLE : TBits_1; inline;
  28557. begin
  28558. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28559. end;
  28560. procedure TUART4_U1BSTA.setADDEN; inline;
  28561. begin
  28562. pTDefRegMap(@Self)^.&set := $00000020;
  28563. end;
  28564. procedure TUART4_U1BSTA.clearADDEN; inline;
  28565. begin
  28566. pTDefRegMap(@Self)^.clr := $00000020;
  28567. end;
  28568. procedure TUART4_U1BSTA.setADDEN(thebits : TBits_1); inline;
  28569. begin
  28570. if thebits = 0 then
  28571. pTDefRegMap(@Self)^.clr := $00000020
  28572. else
  28573. pTDefRegMap(@Self)^.&set := $00000020;
  28574. end;
  28575. function TUART4_U1BSTA.getADDEN : TBits_1; inline;
  28576. begin
  28577. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28578. end;
  28579. procedure TUART4_U1BSTA.setURXISEL(thebits : TBits_2); inline;
  28580. begin
  28581. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  28582. end;
  28583. function TUART4_U1BSTA.getURXISEL : TBits_2; inline;
  28584. begin
  28585. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  28586. end;
  28587. procedure TUART4_U1BSTA.setTRMT; inline;
  28588. begin
  28589. pTDefRegMap(@Self)^.&set := $00000100;
  28590. end;
  28591. procedure TUART4_U1BSTA.clearTRMT; inline;
  28592. begin
  28593. pTDefRegMap(@Self)^.clr := $00000100;
  28594. end;
  28595. procedure TUART4_U1BSTA.setTRMT(thebits : TBits_1); inline;
  28596. begin
  28597. if thebits = 0 then
  28598. pTDefRegMap(@Self)^.clr := $00000100
  28599. else
  28600. pTDefRegMap(@Self)^.&set := $00000100;
  28601. end;
  28602. function TUART4_U1BSTA.getTRMT : TBits_1; inline;
  28603. begin
  28604. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28605. end;
  28606. procedure TUART4_U1BSTA.setUTXBF; inline;
  28607. begin
  28608. pTDefRegMap(@Self)^.&set := $00000200;
  28609. end;
  28610. procedure TUART4_U1BSTA.clearUTXBF; inline;
  28611. begin
  28612. pTDefRegMap(@Self)^.clr := $00000200;
  28613. end;
  28614. procedure TUART4_U1BSTA.setUTXBF(thebits : TBits_1); inline;
  28615. begin
  28616. if thebits = 0 then
  28617. pTDefRegMap(@Self)^.clr := $00000200
  28618. else
  28619. pTDefRegMap(@Self)^.&set := $00000200;
  28620. end;
  28621. function TUART4_U1BSTA.getUTXBF : TBits_1; inline;
  28622. begin
  28623. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28624. end;
  28625. procedure TUART4_U1BSTA.setUTXEN; inline;
  28626. begin
  28627. pTDefRegMap(@Self)^.&set := $00000400;
  28628. end;
  28629. procedure TUART4_U1BSTA.clearUTXEN; inline;
  28630. begin
  28631. pTDefRegMap(@Self)^.clr := $00000400;
  28632. end;
  28633. procedure TUART4_U1BSTA.setUTXEN(thebits : TBits_1); inline;
  28634. begin
  28635. if thebits = 0 then
  28636. pTDefRegMap(@Self)^.clr := $00000400
  28637. else
  28638. pTDefRegMap(@Self)^.&set := $00000400;
  28639. end;
  28640. function TUART4_U1BSTA.getUTXEN : TBits_1; inline;
  28641. begin
  28642. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28643. end;
  28644. procedure TUART4_U1BSTA.setUTXBRK; inline;
  28645. begin
  28646. pTDefRegMap(@Self)^.&set := $00000800;
  28647. end;
  28648. procedure TUART4_U1BSTA.clearUTXBRK; inline;
  28649. begin
  28650. pTDefRegMap(@Self)^.clr := $00000800;
  28651. end;
  28652. procedure TUART4_U1BSTA.setUTXBRK(thebits : TBits_1); inline;
  28653. begin
  28654. if thebits = 0 then
  28655. pTDefRegMap(@Self)^.clr := $00000800
  28656. else
  28657. pTDefRegMap(@Self)^.&set := $00000800;
  28658. end;
  28659. function TUART4_U1BSTA.getUTXBRK : TBits_1; inline;
  28660. begin
  28661. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28662. end;
  28663. procedure TUART4_U1BSTA.setURXEN; inline;
  28664. begin
  28665. pTDefRegMap(@Self)^.&set := $00001000;
  28666. end;
  28667. procedure TUART4_U1BSTA.clearURXEN; inline;
  28668. begin
  28669. pTDefRegMap(@Self)^.clr := $00001000;
  28670. end;
  28671. procedure TUART4_U1BSTA.setURXEN(thebits : TBits_1); inline;
  28672. begin
  28673. if thebits = 0 then
  28674. pTDefRegMap(@Self)^.clr := $00001000
  28675. else
  28676. pTDefRegMap(@Self)^.&set := $00001000;
  28677. end;
  28678. function TUART4_U1BSTA.getURXEN : TBits_1; inline;
  28679. begin
  28680. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28681. end;
  28682. procedure TUART4_U1BSTA.setUTXINV; inline;
  28683. begin
  28684. pTDefRegMap(@Self)^.&set := $00002000;
  28685. end;
  28686. procedure TUART4_U1BSTA.clearUTXINV; inline;
  28687. begin
  28688. pTDefRegMap(@Self)^.clr := $00002000;
  28689. end;
  28690. procedure TUART4_U1BSTA.setUTXINV(thebits : TBits_1); inline;
  28691. begin
  28692. if thebits = 0 then
  28693. pTDefRegMap(@Self)^.clr := $00002000
  28694. else
  28695. pTDefRegMap(@Self)^.&set := $00002000;
  28696. end;
  28697. function TUART4_U1BSTA.getUTXINV : TBits_1; inline;
  28698. begin
  28699. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28700. end;
  28701. procedure TUART4_U1BSTA.setUTXISEL(thebits : TBits_2); inline;
  28702. begin
  28703. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28704. end;
  28705. function TUART4_U1BSTA.getUTXISEL : TBits_2; inline;
  28706. begin
  28707. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28708. end;
  28709. procedure TUART4_U1BSTA.setADDR(thebits : TBits_8); inline;
  28710. begin
  28711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  28712. end;
  28713. function TUART4_U1BSTA.getADDR : TBits_8; inline;
  28714. begin
  28715. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  28716. end;
  28717. procedure TUART4_U1BSTA.setADM_EN; inline;
  28718. begin
  28719. pTDefRegMap(@Self)^.&set := $01000000;
  28720. end;
  28721. procedure TUART4_U1BSTA.clearADM_EN; inline;
  28722. begin
  28723. pTDefRegMap(@Self)^.clr := $01000000;
  28724. end;
  28725. procedure TUART4_U1BSTA.setADM_EN(thebits : TBits_1); inline;
  28726. begin
  28727. if thebits = 0 then
  28728. pTDefRegMap(@Self)^.clr := $01000000
  28729. else
  28730. pTDefRegMap(@Self)^.&set := $01000000;
  28731. end;
  28732. function TUART4_U1BSTA.getADM_EN : TBits_1; inline;
  28733. begin
  28734. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28735. end;
  28736. procedure TUART4_U1BSTA.setURXISEL0; inline;
  28737. begin
  28738. pTDefRegMap(@Self)^.&set := $00000040;
  28739. end;
  28740. procedure TUART4_U1BSTA.clearURXISEL0; inline;
  28741. begin
  28742. pTDefRegMap(@Self)^.clr := $00000040;
  28743. end;
  28744. procedure TUART4_U1BSTA.setURXISEL0(thebits : TBits_1); inline;
  28745. begin
  28746. if thebits = 0 then
  28747. pTDefRegMap(@Self)^.clr := $00000040
  28748. else
  28749. pTDefRegMap(@Self)^.&set := $00000040;
  28750. end;
  28751. function TUART4_U1BSTA.getURXISEL0 : TBits_1; inline;
  28752. begin
  28753. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28754. end;
  28755. procedure TUART4_U1BSTA.setURXISEL1; inline;
  28756. begin
  28757. pTDefRegMap(@Self)^.&set := $00000080;
  28758. end;
  28759. procedure TUART4_U1BSTA.clearURXISEL1; inline;
  28760. begin
  28761. pTDefRegMap(@Self)^.clr := $00000080;
  28762. end;
  28763. procedure TUART4_U1BSTA.setURXISEL1(thebits : TBits_1); inline;
  28764. begin
  28765. if thebits = 0 then
  28766. pTDefRegMap(@Self)^.clr := $00000080
  28767. else
  28768. pTDefRegMap(@Self)^.&set := $00000080;
  28769. end;
  28770. function TUART4_U1BSTA.getURXISEL1 : TBits_1; inline;
  28771. begin
  28772. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28773. end;
  28774. procedure TUART4_U1BSTA.setUTXISEL0; inline;
  28775. begin
  28776. pTDefRegMap(@Self)^.&set := $00004000;
  28777. end;
  28778. procedure TUART4_U1BSTA.clearUTXISEL0; inline;
  28779. begin
  28780. pTDefRegMap(@Self)^.clr := $00004000;
  28781. end;
  28782. procedure TUART4_U1BSTA.setUTXISEL0(thebits : TBits_1); inline;
  28783. begin
  28784. if thebits = 0 then
  28785. pTDefRegMap(@Self)^.clr := $00004000
  28786. else
  28787. pTDefRegMap(@Self)^.&set := $00004000;
  28788. end;
  28789. function TUART4_U1BSTA.getUTXISEL0 : TBits_1; inline;
  28790. begin
  28791. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28792. end;
  28793. procedure TUART4_U1BSTA.setUTXISEL1; inline;
  28794. begin
  28795. pTDefRegMap(@Self)^.&set := $00008000;
  28796. end;
  28797. procedure TUART4_U1BSTA.clearUTXISEL1; inline;
  28798. begin
  28799. pTDefRegMap(@Self)^.clr := $00008000;
  28800. end;
  28801. procedure TUART4_U1BSTA.setUTXISEL1(thebits : TBits_1); inline;
  28802. begin
  28803. if thebits = 0 then
  28804. pTDefRegMap(@Self)^.clr := $00008000
  28805. else
  28806. pTDefRegMap(@Self)^.&set := $00008000;
  28807. end;
  28808. function TUART4_U1BSTA.getUTXISEL1 : TBits_1; inline;
  28809. begin
  28810. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28811. end;
  28812. procedure TUART4_U1BSTA.setUTXSEL(thebits : TBits_2); inline;
  28813. begin
  28814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  28815. end;
  28816. function TUART4_U1BSTA.getUTXSEL : TBits_2; inline;
  28817. begin
  28818. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  28819. end;
  28820. procedure TUART4_U1BSTA.setw(thebits : TBits_32); inline;
  28821. begin
  28822. pTDefRegMap(@Self)^.val := thebits;
  28823. end;
  28824. function TUART4_U1BSTA.getw : TBits_32; inline;
  28825. begin
  28826. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28827. end;
  28828. procedure TUART4_U4STA.setURXDA; inline;
  28829. begin
  28830. pTDefRegMap(@Self)^.&set := $00000001;
  28831. end;
  28832. procedure TUART4_U4STA.clearURXDA; inline;
  28833. begin
  28834. pTDefRegMap(@Self)^.clr := $00000001;
  28835. end;
  28836. procedure TUART4_U4STA.setURXDA(thebits : TBits_1); inline;
  28837. begin
  28838. if thebits = 0 then
  28839. pTDefRegMap(@Self)^.clr := $00000001
  28840. else
  28841. pTDefRegMap(@Self)^.&set := $00000001;
  28842. end;
  28843. function TUART4_U4STA.getURXDA : TBits_1; inline;
  28844. begin
  28845. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28846. end;
  28847. procedure TUART4_U4STA.setOERR; inline;
  28848. begin
  28849. pTDefRegMap(@Self)^.&set := $00000002;
  28850. end;
  28851. procedure TUART4_U4STA.clearOERR; inline;
  28852. begin
  28853. pTDefRegMap(@Self)^.clr := $00000002;
  28854. end;
  28855. procedure TUART4_U4STA.setOERR(thebits : TBits_1); inline;
  28856. begin
  28857. if thebits = 0 then
  28858. pTDefRegMap(@Self)^.clr := $00000002
  28859. else
  28860. pTDefRegMap(@Self)^.&set := $00000002;
  28861. end;
  28862. function TUART4_U4STA.getOERR : TBits_1; inline;
  28863. begin
  28864. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28865. end;
  28866. procedure TUART4_U4STA.setFERR; inline;
  28867. begin
  28868. pTDefRegMap(@Self)^.&set := $00000004;
  28869. end;
  28870. procedure TUART4_U4STA.clearFERR; inline;
  28871. begin
  28872. pTDefRegMap(@Self)^.clr := $00000004;
  28873. end;
  28874. procedure TUART4_U4STA.setFERR(thebits : TBits_1); inline;
  28875. begin
  28876. if thebits = 0 then
  28877. pTDefRegMap(@Self)^.clr := $00000004
  28878. else
  28879. pTDefRegMap(@Self)^.&set := $00000004;
  28880. end;
  28881. function TUART4_U4STA.getFERR : TBits_1; inline;
  28882. begin
  28883. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28884. end;
  28885. procedure TUART4_U4STA.setPERR; inline;
  28886. begin
  28887. pTDefRegMap(@Self)^.&set := $00000008;
  28888. end;
  28889. procedure TUART4_U4STA.clearPERR; inline;
  28890. begin
  28891. pTDefRegMap(@Self)^.clr := $00000008;
  28892. end;
  28893. procedure TUART4_U4STA.setPERR(thebits : TBits_1); inline;
  28894. begin
  28895. if thebits = 0 then
  28896. pTDefRegMap(@Self)^.clr := $00000008
  28897. else
  28898. pTDefRegMap(@Self)^.&set := $00000008;
  28899. end;
  28900. function TUART4_U4STA.getPERR : TBits_1; inline;
  28901. begin
  28902. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28903. end;
  28904. procedure TUART4_U4STA.setRIDLE; inline;
  28905. begin
  28906. pTDefRegMap(@Self)^.&set := $00000010;
  28907. end;
  28908. procedure TUART4_U4STA.clearRIDLE; inline;
  28909. begin
  28910. pTDefRegMap(@Self)^.clr := $00000010;
  28911. end;
  28912. procedure TUART4_U4STA.setRIDLE(thebits : TBits_1); inline;
  28913. begin
  28914. if thebits = 0 then
  28915. pTDefRegMap(@Self)^.clr := $00000010
  28916. else
  28917. pTDefRegMap(@Self)^.&set := $00000010;
  28918. end;
  28919. function TUART4_U4STA.getRIDLE : TBits_1; inline;
  28920. begin
  28921. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28922. end;
  28923. procedure TUART4_U4STA.setADDEN; inline;
  28924. begin
  28925. pTDefRegMap(@Self)^.&set := $00000020;
  28926. end;
  28927. procedure TUART4_U4STA.clearADDEN; inline;
  28928. begin
  28929. pTDefRegMap(@Self)^.clr := $00000020;
  28930. end;
  28931. procedure TUART4_U4STA.setADDEN(thebits : TBits_1); inline;
  28932. begin
  28933. if thebits = 0 then
  28934. pTDefRegMap(@Self)^.clr := $00000020
  28935. else
  28936. pTDefRegMap(@Self)^.&set := $00000020;
  28937. end;
  28938. function TUART4_U4STA.getADDEN : TBits_1; inline;
  28939. begin
  28940. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28941. end;
  28942. procedure TUART4_U4STA.setURXISEL(thebits : TBits_2); inline;
  28943. begin
  28944. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  28945. end;
  28946. function TUART4_U4STA.getURXISEL : TBits_2; inline;
  28947. begin
  28948. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  28949. end;
  28950. procedure TUART4_U4STA.setTRMT; inline;
  28951. begin
  28952. pTDefRegMap(@Self)^.&set := $00000100;
  28953. end;
  28954. procedure TUART4_U4STA.clearTRMT; inline;
  28955. begin
  28956. pTDefRegMap(@Self)^.clr := $00000100;
  28957. end;
  28958. procedure TUART4_U4STA.setTRMT(thebits : TBits_1); inline;
  28959. begin
  28960. if thebits = 0 then
  28961. pTDefRegMap(@Self)^.clr := $00000100
  28962. else
  28963. pTDefRegMap(@Self)^.&set := $00000100;
  28964. end;
  28965. function TUART4_U4STA.getTRMT : TBits_1; inline;
  28966. begin
  28967. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28968. end;
  28969. procedure TUART4_U4STA.setUTXBF; inline;
  28970. begin
  28971. pTDefRegMap(@Self)^.&set := $00000200;
  28972. end;
  28973. procedure TUART4_U4STA.clearUTXBF; inline;
  28974. begin
  28975. pTDefRegMap(@Self)^.clr := $00000200;
  28976. end;
  28977. procedure TUART4_U4STA.setUTXBF(thebits : TBits_1); inline;
  28978. begin
  28979. if thebits = 0 then
  28980. pTDefRegMap(@Self)^.clr := $00000200
  28981. else
  28982. pTDefRegMap(@Self)^.&set := $00000200;
  28983. end;
  28984. function TUART4_U4STA.getUTXBF : TBits_1; inline;
  28985. begin
  28986. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28987. end;
  28988. procedure TUART4_U4STA.setUTXEN; inline;
  28989. begin
  28990. pTDefRegMap(@Self)^.&set := $00000400;
  28991. end;
  28992. procedure TUART4_U4STA.clearUTXEN; inline;
  28993. begin
  28994. pTDefRegMap(@Self)^.clr := $00000400;
  28995. end;
  28996. procedure TUART4_U4STA.setUTXEN(thebits : TBits_1); inline;
  28997. begin
  28998. if thebits = 0 then
  28999. pTDefRegMap(@Self)^.clr := $00000400
  29000. else
  29001. pTDefRegMap(@Self)^.&set := $00000400;
  29002. end;
  29003. function TUART4_U4STA.getUTXEN : TBits_1; inline;
  29004. begin
  29005. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29006. end;
  29007. procedure TUART4_U4STA.setUTXBRK; inline;
  29008. begin
  29009. pTDefRegMap(@Self)^.&set := $00000800;
  29010. end;
  29011. procedure TUART4_U4STA.clearUTXBRK; inline;
  29012. begin
  29013. pTDefRegMap(@Self)^.clr := $00000800;
  29014. end;
  29015. procedure TUART4_U4STA.setUTXBRK(thebits : TBits_1); inline;
  29016. begin
  29017. if thebits = 0 then
  29018. pTDefRegMap(@Self)^.clr := $00000800
  29019. else
  29020. pTDefRegMap(@Self)^.&set := $00000800;
  29021. end;
  29022. function TUART4_U4STA.getUTXBRK : TBits_1; inline;
  29023. begin
  29024. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29025. end;
  29026. procedure TUART4_U4STA.setURXEN; inline;
  29027. begin
  29028. pTDefRegMap(@Self)^.&set := $00001000;
  29029. end;
  29030. procedure TUART4_U4STA.clearURXEN; inline;
  29031. begin
  29032. pTDefRegMap(@Self)^.clr := $00001000;
  29033. end;
  29034. procedure TUART4_U4STA.setURXEN(thebits : TBits_1); inline;
  29035. begin
  29036. if thebits = 0 then
  29037. pTDefRegMap(@Self)^.clr := $00001000
  29038. else
  29039. pTDefRegMap(@Self)^.&set := $00001000;
  29040. end;
  29041. function TUART4_U4STA.getURXEN : TBits_1; inline;
  29042. begin
  29043. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29044. end;
  29045. procedure TUART4_U4STA.setUTXINV; inline;
  29046. begin
  29047. pTDefRegMap(@Self)^.&set := $00002000;
  29048. end;
  29049. procedure TUART4_U4STA.clearUTXINV; inline;
  29050. begin
  29051. pTDefRegMap(@Self)^.clr := $00002000;
  29052. end;
  29053. procedure TUART4_U4STA.setUTXINV(thebits : TBits_1); inline;
  29054. begin
  29055. if thebits = 0 then
  29056. pTDefRegMap(@Self)^.clr := $00002000
  29057. else
  29058. pTDefRegMap(@Self)^.&set := $00002000;
  29059. end;
  29060. function TUART4_U4STA.getUTXINV : TBits_1; inline;
  29061. begin
  29062. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29063. end;
  29064. procedure TUART4_U4STA.setUTXISEL(thebits : TBits_2); inline;
  29065. begin
  29066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29067. end;
  29068. function TUART4_U4STA.getUTXISEL : TBits_2; inline;
  29069. begin
  29070. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29071. end;
  29072. procedure TUART4_U4STA.setADDR(thebits : TBits_8); inline;
  29073. begin
  29074. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29075. end;
  29076. function TUART4_U4STA.getADDR : TBits_8; inline;
  29077. begin
  29078. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29079. end;
  29080. procedure TUART4_U4STA.setADM_EN; inline;
  29081. begin
  29082. pTDefRegMap(@Self)^.&set := $01000000;
  29083. end;
  29084. procedure TUART4_U4STA.clearADM_EN; inline;
  29085. begin
  29086. pTDefRegMap(@Self)^.clr := $01000000;
  29087. end;
  29088. procedure TUART4_U4STA.setADM_EN(thebits : TBits_1); inline;
  29089. begin
  29090. if thebits = 0 then
  29091. pTDefRegMap(@Self)^.clr := $01000000
  29092. else
  29093. pTDefRegMap(@Self)^.&set := $01000000;
  29094. end;
  29095. function TUART4_U4STA.getADM_EN : TBits_1; inline;
  29096. begin
  29097. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29098. end;
  29099. procedure TUART4_U4STA.setURXISEL0; inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.&set := $00000040;
  29102. end;
  29103. procedure TUART4_U4STA.clearURXISEL0; inline;
  29104. begin
  29105. pTDefRegMap(@Self)^.clr := $00000040;
  29106. end;
  29107. procedure TUART4_U4STA.setURXISEL0(thebits : TBits_1); inline;
  29108. begin
  29109. if thebits = 0 then
  29110. pTDefRegMap(@Self)^.clr := $00000040
  29111. else
  29112. pTDefRegMap(@Self)^.&set := $00000040;
  29113. end;
  29114. function TUART4_U4STA.getURXISEL0 : TBits_1; inline;
  29115. begin
  29116. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29117. end;
  29118. procedure TUART4_U4STA.setURXISEL1; inline;
  29119. begin
  29120. pTDefRegMap(@Self)^.&set := $00000080;
  29121. end;
  29122. procedure TUART4_U4STA.clearURXISEL1; inline;
  29123. begin
  29124. pTDefRegMap(@Self)^.clr := $00000080;
  29125. end;
  29126. procedure TUART4_U4STA.setURXISEL1(thebits : TBits_1); inline;
  29127. begin
  29128. if thebits = 0 then
  29129. pTDefRegMap(@Self)^.clr := $00000080
  29130. else
  29131. pTDefRegMap(@Self)^.&set := $00000080;
  29132. end;
  29133. function TUART4_U4STA.getURXISEL1 : TBits_1; inline;
  29134. begin
  29135. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29136. end;
  29137. procedure TUART4_U4STA.setUTXISEL0; inline;
  29138. begin
  29139. pTDefRegMap(@Self)^.&set := $00004000;
  29140. end;
  29141. procedure TUART4_U4STA.clearUTXISEL0; inline;
  29142. begin
  29143. pTDefRegMap(@Self)^.clr := $00004000;
  29144. end;
  29145. procedure TUART4_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  29146. begin
  29147. if thebits = 0 then
  29148. pTDefRegMap(@Self)^.clr := $00004000
  29149. else
  29150. pTDefRegMap(@Self)^.&set := $00004000;
  29151. end;
  29152. function TUART4_U4STA.getUTXISEL0 : TBits_1; inline;
  29153. begin
  29154. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29155. end;
  29156. procedure TUART4_U4STA.setUTXISEL1; inline;
  29157. begin
  29158. pTDefRegMap(@Self)^.&set := $00008000;
  29159. end;
  29160. procedure TUART4_U4STA.clearUTXISEL1; inline;
  29161. begin
  29162. pTDefRegMap(@Self)^.clr := $00008000;
  29163. end;
  29164. procedure TUART4_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  29165. begin
  29166. if thebits = 0 then
  29167. pTDefRegMap(@Self)^.clr := $00008000
  29168. else
  29169. pTDefRegMap(@Self)^.&set := $00008000;
  29170. end;
  29171. function TUART4_U4STA.getUTXISEL1 : TBits_1; inline;
  29172. begin
  29173. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29174. end;
  29175. procedure TUART4_U4STA.setUTXSEL(thebits : TBits_2); inline;
  29176. begin
  29177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29178. end;
  29179. function TUART4_U4STA.getUTXSEL : TBits_2; inline;
  29180. begin
  29181. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29182. end;
  29183. procedure TUART4_U4STA.setw(thebits : TBits_32); inline;
  29184. begin
  29185. pTDefRegMap(@Self)^.val := thebits;
  29186. end;
  29187. function TUART4_U4STA.getw : TBits_32; inline;
  29188. begin
  29189. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29190. end;
  29191. procedure TUART2A_U2AMODE.setSTSEL; inline;
  29192. begin
  29193. pTDefRegMap(@Self)^.&set := $00000001;
  29194. end;
  29195. procedure TUART2A_U2AMODE.clearSTSEL; inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.clr := $00000001;
  29198. end;
  29199. procedure TUART2A_U2AMODE.setSTSEL(thebits : TBits_1); inline;
  29200. begin
  29201. if thebits = 0 then
  29202. pTDefRegMap(@Self)^.clr := $00000001
  29203. else
  29204. pTDefRegMap(@Self)^.&set := $00000001;
  29205. end;
  29206. function TUART2A_U2AMODE.getSTSEL : TBits_1; inline;
  29207. begin
  29208. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29209. end;
  29210. procedure TUART2A_U2AMODE.setPDSEL(thebits : TBits_2); inline;
  29211. begin
  29212. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  29213. end;
  29214. function TUART2A_U2AMODE.getPDSEL : TBits_2; inline;
  29215. begin
  29216. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  29217. end;
  29218. procedure TUART2A_U2AMODE.setBRGH; inline;
  29219. begin
  29220. pTDefRegMap(@Self)^.&set := $00000008;
  29221. end;
  29222. procedure TUART2A_U2AMODE.clearBRGH; inline;
  29223. begin
  29224. pTDefRegMap(@Self)^.clr := $00000008;
  29225. end;
  29226. procedure TUART2A_U2AMODE.setBRGH(thebits : TBits_1); inline;
  29227. begin
  29228. if thebits = 0 then
  29229. pTDefRegMap(@Self)^.clr := $00000008
  29230. else
  29231. pTDefRegMap(@Self)^.&set := $00000008;
  29232. end;
  29233. function TUART2A_U2AMODE.getBRGH : TBits_1; inline;
  29234. begin
  29235. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29236. end;
  29237. procedure TUART2A_U2AMODE.setRXINV; inline;
  29238. begin
  29239. pTDefRegMap(@Self)^.&set := $00000010;
  29240. end;
  29241. procedure TUART2A_U2AMODE.clearRXINV; inline;
  29242. begin
  29243. pTDefRegMap(@Self)^.clr := $00000010;
  29244. end;
  29245. procedure TUART2A_U2AMODE.setRXINV(thebits : TBits_1); inline;
  29246. begin
  29247. if thebits = 0 then
  29248. pTDefRegMap(@Self)^.clr := $00000010
  29249. else
  29250. pTDefRegMap(@Self)^.&set := $00000010;
  29251. end;
  29252. function TUART2A_U2AMODE.getRXINV : TBits_1; inline;
  29253. begin
  29254. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29255. end;
  29256. procedure TUART2A_U2AMODE.setABAUD; inline;
  29257. begin
  29258. pTDefRegMap(@Self)^.&set := $00000020;
  29259. end;
  29260. procedure TUART2A_U2AMODE.clearABAUD; inline;
  29261. begin
  29262. pTDefRegMap(@Self)^.clr := $00000020;
  29263. end;
  29264. procedure TUART2A_U2AMODE.setABAUD(thebits : TBits_1); inline;
  29265. begin
  29266. if thebits = 0 then
  29267. pTDefRegMap(@Self)^.clr := $00000020
  29268. else
  29269. pTDefRegMap(@Self)^.&set := $00000020;
  29270. end;
  29271. function TUART2A_U2AMODE.getABAUD : TBits_1; inline;
  29272. begin
  29273. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29274. end;
  29275. procedure TUART2A_U2AMODE.setLPBACK; inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.&set := $00000040;
  29278. end;
  29279. procedure TUART2A_U2AMODE.clearLPBACK; inline;
  29280. begin
  29281. pTDefRegMap(@Self)^.clr := $00000040;
  29282. end;
  29283. procedure TUART2A_U2AMODE.setLPBACK(thebits : TBits_1); inline;
  29284. begin
  29285. if thebits = 0 then
  29286. pTDefRegMap(@Self)^.clr := $00000040
  29287. else
  29288. pTDefRegMap(@Self)^.&set := $00000040;
  29289. end;
  29290. function TUART2A_U2AMODE.getLPBACK : TBits_1; inline;
  29291. begin
  29292. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29293. end;
  29294. procedure TUART2A_U2AMODE.setWAKE; inline;
  29295. begin
  29296. pTDefRegMap(@Self)^.&set := $00000080;
  29297. end;
  29298. procedure TUART2A_U2AMODE.clearWAKE; inline;
  29299. begin
  29300. pTDefRegMap(@Self)^.clr := $00000080;
  29301. end;
  29302. procedure TUART2A_U2AMODE.setWAKE(thebits : TBits_1); inline;
  29303. begin
  29304. if thebits = 0 then
  29305. pTDefRegMap(@Self)^.clr := $00000080
  29306. else
  29307. pTDefRegMap(@Self)^.&set := $00000080;
  29308. end;
  29309. function TUART2A_U2AMODE.getWAKE : TBits_1; inline;
  29310. begin
  29311. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29312. end;
  29313. procedure TUART2A_U2AMODE.setUEN(thebits : TBits_2); inline;
  29314. begin
  29315. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29316. end;
  29317. function TUART2A_U2AMODE.getUEN : TBits_2; inline;
  29318. begin
  29319. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29320. end;
  29321. procedure TUART2A_U2AMODE.setRTSMD; inline;
  29322. begin
  29323. pTDefRegMap(@Self)^.&set := $00000800;
  29324. end;
  29325. procedure TUART2A_U2AMODE.clearRTSMD; inline;
  29326. begin
  29327. pTDefRegMap(@Self)^.clr := $00000800;
  29328. end;
  29329. procedure TUART2A_U2AMODE.setRTSMD(thebits : TBits_1); inline;
  29330. begin
  29331. if thebits = 0 then
  29332. pTDefRegMap(@Self)^.clr := $00000800
  29333. else
  29334. pTDefRegMap(@Self)^.&set := $00000800;
  29335. end;
  29336. function TUART2A_U2AMODE.getRTSMD : TBits_1; inline;
  29337. begin
  29338. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29339. end;
  29340. procedure TUART2A_U2AMODE.setIREN; inline;
  29341. begin
  29342. pTDefRegMap(@Self)^.&set := $00001000;
  29343. end;
  29344. procedure TUART2A_U2AMODE.clearIREN; inline;
  29345. begin
  29346. pTDefRegMap(@Self)^.clr := $00001000;
  29347. end;
  29348. procedure TUART2A_U2AMODE.setIREN(thebits : TBits_1); inline;
  29349. begin
  29350. if thebits = 0 then
  29351. pTDefRegMap(@Self)^.clr := $00001000
  29352. else
  29353. pTDefRegMap(@Self)^.&set := $00001000;
  29354. end;
  29355. function TUART2A_U2AMODE.getIREN : TBits_1; inline;
  29356. begin
  29357. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29358. end;
  29359. procedure TUART2A_U2AMODE.setSIDL; inline;
  29360. begin
  29361. pTDefRegMap(@Self)^.&set := $00002000;
  29362. end;
  29363. procedure TUART2A_U2AMODE.clearSIDL; inline;
  29364. begin
  29365. pTDefRegMap(@Self)^.clr := $00002000;
  29366. end;
  29367. procedure TUART2A_U2AMODE.setSIDL(thebits : TBits_1); inline;
  29368. begin
  29369. if thebits = 0 then
  29370. pTDefRegMap(@Self)^.clr := $00002000
  29371. else
  29372. pTDefRegMap(@Self)^.&set := $00002000;
  29373. end;
  29374. function TUART2A_U2AMODE.getSIDL : TBits_1; inline;
  29375. begin
  29376. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29377. end;
  29378. procedure TUART2A_U2AMODE.setON; inline;
  29379. begin
  29380. pTDefRegMap(@Self)^.&set := $00008000;
  29381. end;
  29382. procedure TUART2A_U2AMODE.clearON; inline;
  29383. begin
  29384. pTDefRegMap(@Self)^.clr := $00008000;
  29385. end;
  29386. procedure TUART2A_U2AMODE.setON(thebits : TBits_1); inline;
  29387. begin
  29388. if thebits = 0 then
  29389. pTDefRegMap(@Self)^.clr := $00008000
  29390. else
  29391. pTDefRegMap(@Self)^.&set := $00008000;
  29392. end;
  29393. function TUART2A_U2AMODE.getON : TBits_1; inline;
  29394. begin
  29395. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29396. end;
  29397. procedure TUART2A_U2AMODE.setPDSEL0; inline;
  29398. begin
  29399. pTDefRegMap(@Self)^.&set := $00000002;
  29400. end;
  29401. procedure TUART2A_U2AMODE.clearPDSEL0; inline;
  29402. begin
  29403. pTDefRegMap(@Self)^.clr := $00000002;
  29404. end;
  29405. procedure TUART2A_U2AMODE.setPDSEL0(thebits : TBits_1); inline;
  29406. begin
  29407. if thebits = 0 then
  29408. pTDefRegMap(@Self)^.clr := $00000002
  29409. else
  29410. pTDefRegMap(@Self)^.&set := $00000002;
  29411. end;
  29412. function TUART2A_U2AMODE.getPDSEL0 : TBits_1; inline;
  29413. begin
  29414. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29415. end;
  29416. procedure TUART2A_U2AMODE.setPDSEL1; inline;
  29417. begin
  29418. pTDefRegMap(@Self)^.&set := $00000004;
  29419. end;
  29420. procedure TUART2A_U2AMODE.clearPDSEL1; inline;
  29421. begin
  29422. pTDefRegMap(@Self)^.clr := $00000004;
  29423. end;
  29424. procedure TUART2A_U2AMODE.setPDSEL1(thebits : TBits_1); inline;
  29425. begin
  29426. if thebits = 0 then
  29427. pTDefRegMap(@Self)^.clr := $00000004
  29428. else
  29429. pTDefRegMap(@Self)^.&set := $00000004;
  29430. end;
  29431. function TUART2A_U2AMODE.getPDSEL1 : TBits_1; inline;
  29432. begin
  29433. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29434. end;
  29435. procedure TUART2A_U2AMODE.setUEN0; inline;
  29436. begin
  29437. pTDefRegMap(@Self)^.&set := $00000100;
  29438. end;
  29439. procedure TUART2A_U2AMODE.clearUEN0; inline;
  29440. begin
  29441. pTDefRegMap(@Self)^.clr := $00000100;
  29442. end;
  29443. procedure TUART2A_U2AMODE.setUEN0(thebits : TBits_1); inline;
  29444. begin
  29445. if thebits = 0 then
  29446. pTDefRegMap(@Self)^.clr := $00000100
  29447. else
  29448. pTDefRegMap(@Self)^.&set := $00000100;
  29449. end;
  29450. function TUART2A_U2AMODE.getUEN0 : TBits_1; inline;
  29451. begin
  29452. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29453. end;
  29454. procedure TUART2A_U2AMODE.setUEN1; inline;
  29455. begin
  29456. pTDefRegMap(@Self)^.&set := $00000200;
  29457. end;
  29458. procedure TUART2A_U2AMODE.clearUEN1; inline;
  29459. begin
  29460. pTDefRegMap(@Self)^.clr := $00000200;
  29461. end;
  29462. procedure TUART2A_U2AMODE.setUEN1(thebits : TBits_1); inline;
  29463. begin
  29464. if thebits = 0 then
  29465. pTDefRegMap(@Self)^.clr := $00000200
  29466. else
  29467. pTDefRegMap(@Self)^.&set := $00000200;
  29468. end;
  29469. function TUART2A_U2AMODE.getUEN1 : TBits_1; inline;
  29470. begin
  29471. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29472. end;
  29473. procedure TUART2A_U2AMODE.setUSIDL; inline;
  29474. begin
  29475. pTDefRegMap(@Self)^.&set := $00002000;
  29476. end;
  29477. procedure TUART2A_U2AMODE.clearUSIDL; inline;
  29478. begin
  29479. pTDefRegMap(@Self)^.clr := $00002000;
  29480. end;
  29481. procedure TUART2A_U2AMODE.setUSIDL(thebits : TBits_1); inline;
  29482. begin
  29483. if thebits = 0 then
  29484. pTDefRegMap(@Self)^.clr := $00002000
  29485. else
  29486. pTDefRegMap(@Self)^.&set := $00002000;
  29487. end;
  29488. function TUART2A_U2AMODE.getUSIDL : TBits_1; inline;
  29489. begin
  29490. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29491. end;
  29492. procedure TUART2A_U2AMODE.setUARTEN; inline;
  29493. begin
  29494. pTDefRegMap(@Self)^.&set := $00008000;
  29495. end;
  29496. procedure TUART2A_U2AMODE.clearUARTEN; inline;
  29497. begin
  29498. pTDefRegMap(@Self)^.clr := $00008000;
  29499. end;
  29500. procedure TUART2A_U2AMODE.setUARTEN(thebits : TBits_1); inline;
  29501. begin
  29502. if thebits = 0 then
  29503. pTDefRegMap(@Self)^.clr := $00008000
  29504. else
  29505. pTDefRegMap(@Self)^.&set := $00008000;
  29506. end;
  29507. function TUART2A_U2AMODE.getUARTEN : TBits_1; inline;
  29508. begin
  29509. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29510. end;
  29511. procedure TUART2A_U2AMODE.setw(thebits : TBits_32); inline;
  29512. begin
  29513. pTDefRegMap(@Self)^.val := thebits;
  29514. end;
  29515. function TUART2A_U2AMODE.getw : TBits_32; inline;
  29516. begin
  29517. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29518. end;
  29519. procedure TUART2A_U3MODE.setSTSEL; inline;
  29520. begin
  29521. pTDefRegMap(@Self)^.&set := $00000001;
  29522. end;
  29523. procedure TUART2A_U3MODE.clearSTSEL; inline;
  29524. begin
  29525. pTDefRegMap(@Self)^.clr := $00000001;
  29526. end;
  29527. procedure TUART2A_U3MODE.setSTSEL(thebits : TBits_1); inline;
  29528. begin
  29529. if thebits = 0 then
  29530. pTDefRegMap(@Self)^.clr := $00000001
  29531. else
  29532. pTDefRegMap(@Self)^.&set := $00000001;
  29533. end;
  29534. function TUART2A_U3MODE.getSTSEL : TBits_1; inline;
  29535. begin
  29536. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29537. end;
  29538. procedure TUART2A_U3MODE.setPDSEL(thebits : TBits_2); inline;
  29539. begin
  29540. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  29541. end;
  29542. function TUART2A_U3MODE.getPDSEL : TBits_2; inline;
  29543. begin
  29544. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  29545. end;
  29546. procedure TUART2A_U3MODE.setBRGH; inline;
  29547. begin
  29548. pTDefRegMap(@Self)^.&set := $00000008;
  29549. end;
  29550. procedure TUART2A_U3MODE.clearBRGH; inline;
  29551. begin
  29552. pTDefRegMap(@Self)^.clr := $00000008;
  29553. end;
  29554. procedure TUART2A_U3MODE.setBRGH(thebits : TBits_1); inline;
  29555. begin
  29556. if thebits = 0 then
  29557. pTDefRegMap(@Self)^.clr := $00000008
  29558. else
  29559. pTDefRegMap(@Self)^.&set := $00000008;
  29560. end;
  29561. function TUART2A_U3MODE.getBRGH : TBits_1; inline;
  29562. begin
  29563. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29564. end;
  29565. procedure TUART2A_U3MODE.setRXINV; inline;
  29566. begin
  29567. pTDefRegMap(@Self)^.&set := $00000010;
  29568. end;
  29569. procedure TUART2A_U3MODE.clearRXINV; inline;
  29570. begin
  29571. pTDefRegMap(@Self)^.clr := $00000010;
  29572. end;
  29573. procedure TUART2A_U3MODE.setRXINV(thebits : TBits_1); inline;
  29574. begin
  29575. if thebits = 0 then
  29576. pTDefRegMap(@Self)^.clr := $00000010
  29577. else
  29578. pTDefRegMap(@Self)^.&set := $00000010;
  29579. end;
  29580. function TUART2A_U3MODE.getRXINV : TBits_1; inline;
  29581. begin
  29582. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29583. end;
  29584. procedure TUART2A_U3MODE.setABAUD; inline;
  29585. begin
  29586. pTDefRegMap(@Self)^.&set := $00000020;
  29587. end;
  29588. procedure TUART2A_U3MODE.clearABAUD; inline;
  29589. begin
  29590. pTDefRegMap(@Self)^.clr := $00000020;
  29591. end;
  29592. procedure TUART2A_U3MODE.setABAUD(thebits : TBits_1); inline;
  29593. begin
  29594. if thebits = 0 then
  29595. pTDefRegMap(@Self)^.clr := $00000020
  29596. else
  29597. pTDefRegMap(@Self)^.&set := $00000020;
  29598. end;
  29599. function TUART2A_U3MODE.getABAUD : TBits_1; inline;
  29600. begin
  29601. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29602. end;
  29603. procedure TUART2A_U3MODE.setLPBACK; inline;
  29604. begin
  29605. pTDefRegMap(@Self)^.&set := $00000040;
  29606. end;
  29607. procedure TUART2A_U3MODE.clearLPBACK; inline;
  29608. begin
  29609. pTDefRegMap(@Self)^.clr := $00000040;
  29610. end;
  29611. procedure TUART2A_U3MODE.setLPBACK(thebits : TBits_1); inline;
  29612. begin
  29613. if thebits = 0 then
  29614. pTDefRegMap(@Self)^.clr := $00000040
  29615. else
  29616. pTDefRegMap(@Self)^.&set := $00000040;
  29617. end;
  29618. function TUART2A_U3MODE.getLPBACK : TBits_1; inline;
  29619. begin
  29620. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29621. end;
  29622. procedure TUART2A_U3MODE.setWAKE; inline;
  29623. begin
  29624. pTDefRegMap(@Self)^.&set := $00000080;
  29625. end;
  29626. procedure TUART2A_U3MODE.clearWAKE; inline;
  29627. begin
  29628. pTDefRegMap(@Self)^.clr := $00000080;
  29629. end;
  29630. procedure TUART2A_U3MODE.setWAKE(thebits : TBits_1); inline;
  29631. begin
  29632. if thebits = 0 then
  29633. pTDefRegMap(@Self)^.clr := $00000080
  29634. else
  29635. pTDefRegMap(@Self)^.&set := $00000080;
  29636. end;
  29637. function TUART2A_U3MODE.getWAKE : TBits_1; inline;
  29638. begin
  29639. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29640. end;
  29641. procedure TUART2A_U3MODE.setUEN(thebits : TBits_2); inline;
  29642. begin
  29643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29644. end;
  29645. function TUART2A_U3MODE.getUEN : TBits_2; inline;
  29646. begin
  29647. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29648. end;
  29649. procedure TUART2A_U3MODE.setRTSMD; inline;
  29650. begin
  29651. pTDefRegMap(@Self)^.&set := $00000800;
  29652. end;
  29653. procedure TUART2A_U3MODE.clearRTSMD; inline;
  29654. begin
  29655. pTDefRegMap(@Self)^.clr := $00000800;
  29656. end;
  29657. procedure TUART2A_U3MODE.setRTSMD(thebits : TBits_1); inline;
  29658. begin
  29659. if thebits = 0 then
  29660. pTDefRegMap(@Self)^.clr := $00000800
  29661. else
  29662. pTDefRegMap(@Self)^.&set := $00000800;
  29663. end;
  29664. function TUART2A_U3MODE.getRTSMD : TBits_1; inline;
  29665. begin
  29666. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29667. end;
  29668. procedure TUART2A_U3MODE.setIREN; inline;
  29669. begin
  29670. pTDefRegMap(@Self)^.&set := $00001000;
  29671. end;
  29672. procedure TUART2A_U3MODE.clearIREN; inline;
  29673. begin
  29674. pTDefRegMap(@Self)^.clr := $00001000;
  29675. end;
  29676. procedure TUART2A_U3MODE.setIREN(thebits : TBits_1); inline;
  29677. begin
  29678. if thebits = 0 then
  29679. pTDefRegMap(@Self)^.clr := $00001000
  29680. else
  29681. pTDefRegMap(@Self)^.&set := $00001000;
  29682. end;
  29683. function TUART2A_U3MODE.getIREN : TBits_1; inline;
  29684. begin
  29685. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29686. end;
  29687. procedure TUART2A_U3MODE.setSIDL; inline;
  29688. begin
  29689. pTDefRegMap(@Self)^.&set := $00002000;
  29690. end;
  29691. procedure TUART2A_U3MODE.clearSIDL; inline;
  29692. begin
  29693. pTDefRegMap(@Self)^.clr := $00002000;
  29694. end;
  29695. procedure TUART2A_U3MODE.setSIDL(thebits : TBits_1); inline;
  29696. begin
  29697. if thebits = 0 then
  29698. pTDefRegMap(@Self)^.clr := $00002000
  29699. else
  29700. pTDefRegMap(@Self)^.&set := $00002000;
  29701. end;
  29702. function TUART2A_U3MODE.getSIDL : TBits_1; inline;
  29703. begin
  29704. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29705. end;
  29706. procedure TUART2A_U3MODE.setON; inline;
  29707. begin
  29708. pTDefRegMap(@Self)^.&set := $00008000;
  29709. end;
  29710. procedure TUART2A_U3MODE.clearON; inline;
  29711. begin
  29712. pTDefRegMap(@Self)^.clr := $00008000;
  29713. end;
  29714. procedure TUART2A_U3MODE.setON(thebits : TBits_1); inline;
  29715. begin
  29716. if thebits = 0 then
  29717. pTDefRegMap(@Self)^.clr := $00008000
  29718. else
  29719. pTDefRegMap(@Self)^.&set := $00008000;
  29720. end;
  29721. function TUART2A_U3MODE.getON : TBits_1; inline;
  29722. begin
  29723. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29724. end;
  29725. procedure TUART2A_U3MODE.setPDSEL0; inline;
  29726. begin
  29727. pTDefRegMap(@Self)^.&set := $00000002;
  29728. end;
  29729. procedure TUART2A_U3MODE.clearPDSEL0; inline;
  29730. begin
  29731. pTDefRegMap(@Self)^.clr := $00000002;
  29732. end;
  29733. procedure TUART2A_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  29734. begin
  29735. if thebits = 0 then
  29736. pTDefRegMap(@Self)^.clr := $00000002
  29737. else
  29738. pTDefRegMap(@Self)^.&set := $00000002;
  29739. end;
  29740. function TUART2A_U3MODE.getPDSEL0 : TBits_1; inline;
  29741. begin
  29742. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29743. end;
  29744. procedure TUART2A_U3MODE.setPDSEL1; inline;
  29745. begin
  29746. pTDefRegMap(@Self)^.&set := $00000004;
  29747. end;
  29748. procedure TUART2A_U3MODE.clearPDSEL1; inline;
  29749. begin
  29750. pTDefRegMap(@Self)^.clr := $00000004;
  29751. end;
  29752. procedure TUART2A_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  29753. begin
  29754. if thebits = 0 then
  29755. pTDefRegMap(@Self)^.clr := $00000004
  29756. else
  29757. pTDefRegMap(@Self)^.&set := $00000004;
  29758. end;
  29759. function TUART2A_U3MODE.getPDSEL1 : TBits_1; inline;
  29760. begin
  29761. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29762. end;
  29763. procedure TUART2A_U3MODE.setUEN0; inline;
  29764. begin
  29765. pTDefRegMap(@Self)^.&set := $00000100;
  29766. end;
  29767. procedure TUART2A_U3MODE.clearUEN0; inline;
  29768. begin
  29769. pTDefRegMap(@Self)^.clr := $00000100;
  29770. end;
  29771. procedure TUART2A_U3MODE.setUEN0(thebits : TBits_1); inline;
  29772. begin
  29773. if thebits = 0 then
  29774. pTDefRegMap(@Self)^.clr := $00000100
  29775. else
  29776. pTDefRegMap(@Self)^.&set := $00000100;
  29777. end;
  29778. function TUART2A_U3MODE.getUEN0 : TBits_1; inline;
  29779. begin
  29780. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29781. end;
  29782. procedure TUART2A_U3MODE.setUEN1; inline;
  29783. begin
  29784. pTDefRegMap(@Self)^.&set := $00000200;
  29785. end;
  29786. procedure TUART2A_U3MODE.clearUEN1; inline;
  29787. begin
  29788. pTDefRegMap(@Self)^.clr := $00000200;
  29789. end;
  29790. procedure TUART2A_U3MODE.setUEN1(thebits : TBits_1); inline;
  29791. begin
  29792. if thebits = 0 then
  29793. pTDefRegMap(@Self)^.clr := $00000200
  29794. else
  29795. pTDefRegMap(@Self)^.&set := $00000200;
  29796. end;
  29797. function TUART2A_U3MODE.getUEN1 : TBits_1; inline;
  29798. begin
  29799. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29800. end;
  29801. procedure TUART2A_U3MODE.setUSIDL; inline;
  29802. begin
  29803. pTDefRegMap(@Self)^.&set := $00002000;
  29804. end;
  29805. procedure TUART2A_U3MODE.clearUSIDL; inline;
  29806. begin
  29807. pTDefRegMap(@Self)^.clr := $00002000;
  29808. end;
  29809. procedure TUART2A_U3MODE.setUSIDL(thebits : TBits_1); inline;
  29810. begin
  29811. if thebits = 0 then
  29812. pTDefRegMap(@Self)^.clr := $00002000
  29813. else
  29814. pTDefRegMap(@Self)^.&set := $00002000;
  29815. end;
  29816. function TUART2A_U3MODE.getUSIDL : TBits_1; inline;
  29817. begin
  29818. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29819. end;
  29820. procedure TUART2A_U3MODE.setUARTEN; inline;
  29821. begin
  29822. pTDefRegMap(@Self)^.&set := $00008000;
  29823. end;
  29824. procedure TUART2A_U3MODE.clearUARTEN; inline;
  29825. begin
  29826. pTDefRegMap(@Self)^.clr := $00008000;
  29827. end;
  29828. procedure TUART2A_U3MODE.setUARTEN(thebits : TBits_1); inline;
  29829. begin
  29830. if thebits = 0 then
  29831. pTDefRegMap(@Self)^.clr := $00008000
  29832. else
  29833. pTDefRegMap(@Self)^.&set := $00008000;
  29834. end;
  29835. function TUART2A_U3MODE.getUARTEN : TBits_1; inline;
  29836. begin
  29837. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29838. end;
  29839. procedure TUART2A_U3MODE.setw(thebits : TBits_32); inline;
  29840. begin
  29841. pTDefRegMap(@Self)^.val := thebits;
  29842. end;
  29843. function TUART2A_U3MODE.getw : TBits_32; inline;
  29844. begin
  29845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29846. end;
  29847. procedure TUART2A_U2ASTA.setURXDA; inline;
  29848. begin
  29849. pTDefRegMap(@Self)^.&set := $00000001;
  29850. end;
  29851. procedure TUART2A_U2ASTA.clearURXDA; inline;
  29852. begin
  29853. pTDefRegMap(@Self)^.clr := $00000001;
  29854. end;
  29855. procedure TUART2A_U2ASTA.setURXDA(thebits : TBits_1); inline;
  29856. begin
  29857. if thebits = 0 then
  29858. pTDefRegMap(@Self)^.clr := $00000001
  29859. else
  29860. pTDefRegMap(@Self)^.&set := $00000001;
  29861. end;
  29862. function TUART2A_U2ASTA.getURXDA : TBits_1; inline;
  29863. begin
  29864. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29865. end;
  29866. procedure TUART2A_U2ASTA.setOERR; inline;
  29867. begin
  29868. pTDefRegMap(@Self)^.&set := $00000002;
  29869. end;
  29870. procedure TUART2A_U2ASTA.clearOERR; inline;
  29871. begin
  29872. pTDefRegMap(@Self)^.clr := $00000002;
  29873. end;
  29874. procedure TUART2A_U2ASTA.setOERR(thebits : TBits_1); inline;
  29875. begin
  29876. if thebits = 0 then
  29877. pTDefRegMap(@Self)^.clr := $00000002
  29878. else
  29879. pTDefRegMap(@Self)^.&set := $00000002;
  29880. end;
  29881. function TUART2A_U2ASTA.getOERR : TBits_1; inline;
  29882. begin
  29883. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29884. end;
  29885. procedure TUART2A_U2ASTA.setFERR; inline;
  29886. begin
  29887. pTDefRegMap(@Self)^.&set := $00000004;
  29888. end;
  29889. procedure TUART2A_U2ASTA.clearFERR; inline;
  29890. begin
  29891. pTDefRegMap(@Self)^.clr := $00000004;
  29892. end;
  29893. procedure TUART2A_U2ASTA.setFERR(thebits : TBits_1); inline;
  29894. begin
  29895. if thebits = 0 then
  29896. pTDefRegMap(@Self)^.clr := $00000004
  29897. else
  29898. pTDefRegMap(@Self)^.&set := $00000004;
  29899. end;
  29900. function TUART2A_U2ASTA.getFERR : TBits_1; inline;
  29901. begin
  29902. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29903. end;
  29904. procedure TUART2A_U2ASTA.setPERR; inline;
  29905. begin
  29906. pTDefRegMap(@Self)^.&set := $00000008;
  29907. end;
  29908. procedure TUART2A_U2ASTA.clearPERR; inline;
  29909. begin
  29910. pTDefRegMap(@Self)^.clr := $00000008;
  29911. end;
  29912. procedure TUART2A_U2ASTA.setPERR(thebits : TBits_1); inline;
  29913. begin
  29914. if thebits = 0 then
  29915. pTDefRegMap(@Self)^.clr := $00000008
  29916. else
  29917. pTDefRegMap(@Self)^.&set := $00000008;
  29918. end;
  29919. function TUART2A_U2ASTA.getPERR : TBits_1; inline;
  29920. begin
  29921. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29922. end;
  29923. procedure TUART2A_U2ASTA.setRIDLE; inline;
  29924. begin
  29925. pTDefRegMap(@Self)^.&set := $00000010;
  29926. end;
  29927. procedure TUART2A_U2ASTA.clearRIDLE; inline;
  29928. begin
  29929. pTDefRegMap(@Self)^.clr := $00000010;
  29930. end;
  29931. procedure TUART2A_U2ASTA.setRIDLE(thebits : TBits_1); inline;
  29932. begin
  29933. if thebits = 0 then
  29934. pTDefRegMap(@Self)^.clr := $00000010
  29935. else
  29936. pTDefRegMap(@Self)^.&set := $00000010;
  29937. end;
  29938. function TUART2A_U2ASTA.getRIDLE : TBits_1; inline;
  29939. begin
  29940. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29941. end;
  29942. procedure TUART2A_U2ASTA.setADDEN; inline;
  29943. begin
  29944. pTDefRegMap(@Self)^.&set := $00000020;
  29945. end;
  29946. procedure TUART2A_U2ASTA.clearADDEN; inline;
  29947. begin
  29948. pTDefRegMap(@Self)^.clr := $00000020;
  29949. end;
  29950. procedure TUART2A_U2ASTA.setADDEN(thebits : TBits_1); inline;
  29951. begin
  29952. if thebits = 0 then
  29953. pTDefRegMap(@Self)^.clr := $00000020
  29954. else
  29955. pTDefRegMap(@Self)^.&set := $00000020;
  29956. end;
  29957. function TUART2A_U2ASTA.getADDEN : TBits_1; inline;
  29958. begin
  29959. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29960. end;
  29961. procedure TUART2A_U2ASTA.setURXISEL(thebits : TBits_2); inline;
  29962. begin
  29963. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29964. end;
  29965. function TUART2A_U2ASTA.getURXISEL : TBits_2; inline;
  29966. begin
  29967. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29968. end;
  29969. procedure TUART2A_U2ASTA.setTRMT; inline;
  29970. begin
  29971. pTDefRegMap(@Self)^.&set := $00000100;
  29972. end;
  29973. procedure TUART2A_U2ASTA.clearTRMT; inline;
  29974. begin
  29975. pTDefRegMap(@Self)^.clr := $00000100;
  29976. end;
  29977. procedure TUART2A_U2ASTA.setTRMT(thebits : TBits_1); inline;
  29978. begin
  29979. if thebits = 0 then
  29980. pTDefRegMap(@Self)^.clr := $00000100
  29981. else
  29982. pTDefRegMap(@Self)^.&set := $00000100;
  29983. end;
  29984. function TUART2A_U2ASTA.getTRMT : TBits_1; inline;
  29985. begin
  29986. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29987. end;
  29988. procedure TUART2A_U2ASTA.setUTXBF; inline;
  29989. begin
  29990. pTDefRegMap(@Self)^.&set := $00000200;
  29991. end;
  29992. procedure TUART2A_U2ASTA.clearUTXBF; inline;
  29993. begin
  29994. pTDefRegMap(@Self)^.clr := $00000200;
  29995. end;
  29996. procedure TUART2A_U2ASTA.setUTXBF(thebits : TBits_1); inline;
  29997. begin
  29998. if thebits = 0 then
  29999. pTDefRegMap(@Self)^.clr := $00000200
  30000. else
  30001. pTDefRegMap(@Self)^.&set := $00000200;
  30002. end;
  30003. function TUART2A_U2ASTA.getUTXBF : TBits_1; inline;
  30004. begin
  30005. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30006. end;
  30007. procedure TUART2A_U2ASTA.setUTXEN; inline;
  30008. begin
  30009. pTDefRegMap(@Self)^.&set := $00000400;
  30010. end;
  30011. procedure TUART2A_U2ASTA.clearUTXEN; inline;
  30012. begin
  30013. pTDefRegMap(@Self)^.clr := $00000400;
  30014. end;
  30015. procedure TUART2A_U2ASTA.setUTXEN(thebits : TBits_1); inline;
  30016. begin
  30017. if thebits = 0 then
  30018. pTDefRegMap(@Self)^.clr := $00000400
  30019. else
  30020. pTDefRegMap(@Self)^.&set := $00000400;
  30021. end;
  30022. function TUART2A_U2ASTA.getUTXEN : TBits_1; inline;
  30023. begin
  30024. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30025. end;
  30026. procedure TUART2A_U2ASTA.setUTXBRK; inline;
  30027. begin
  30028. pTDefRegMap(@Self)^.&set := $00000800;
  30029. end;
  30030. procedure TUART2A_U2ASTA.clearUTXBRK; inline;
  30031. begin
  30032. pTDefRegMap(@Self)^.clr := $00000800;
  30033. end;
  30034. procedure TUART2A_U2ASTA.setUTXBRK(thebits : TBits_1); inline;
  30035. begin
  30036. if thebits = 0 then
  30037. pTDefRegMap(@Self)^.clr := $00000800
  30038. else
  30039. pTDefRegMap(@Self)^.&set := $00000800;
  30040. end;
  30041. function TUART2A_U2ASTA.getUTXBRK : TBits_1; inline;
  30042. begin
  30043. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30044. end;
  30045. procedure TUART2A_U2ASTA.setURXEN; inline;
  30046. begin
  30047. pTDefRegMap(@Self)^.&set := $00001000;
  30048. end;
  30049. procedure TUART2A_U2ASTA.clearURXEN; inline;
  30050. begin
  30051. pTDefRegMap(@Self)^.clr := $00001000;
  30052. end;
  30053. procedure TUART2A_U2ASTA.setURXEN(thebits : TBits_1); inline;
  30054. begin
  30055. if thebits = 0 then
  30056. pTDefRegMap(@Self)^.clr := $00001000
  30057. else
  30058. pTDefRegMap(@Self)^.&set := $00001000;
  30059. end;
  30060. function TUART2A_U2ASTA.getURXEN : TBits_1; inline;
  30061. begin
  30062. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30063. end;
  30064. procedure TUART2A_U2ASTA.setUTXINV; inline;
  30065. begin
  30066. pTDefRegMap(@Self)^.&set := $00002000;
  30067. end;
  30068. procedure TUART2A_U2ASTA.clearUTXINV; inline;
  30069. begin
  30070. pTDefRegMap(@Self)^.clr := $00002000;
  30071. end;
  30072. procedure TUART2A_U2ASTA.setUTXINV(thebits : TBits_1); inline;
  30073. begin
  30074. if thebits = 0 then
  30075. pTDefRegMap(@Self)^.clr := $00002000
  30076. else
  30077. pTDefRegMap(@Self)^.&set := $00002000;
  30078. end;
  30079. function TUART2A_U2ASTA.getUTXINV : TBits_1; inline;
  30080. begin
  30081. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30082. end;
  30083. procedure TUART2A_U2ASTA.setUTXISEL(thebits : TBits_2); inline;
  30084. begin
  30085. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30086. end;
  30087. function TUART2A_U2ASTA.getUTXISEL : TBits_2; inline;
  30088. begin
  30089. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30090. end;
  30091. procedure TUART2A_U2ASTA.setADDR(thebits : TBits_8); inline;
  30092. begin
  30093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30094. end;
  30095. function TUART2A_U2ASTA.getADDR : TBits_8; inline;
  30096. begin
  30097. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30098. end;
  30099. procedure TUART2A_U2ASTA.setADM_EN; inline;
  30100. begin
  30101. pTDefRegMap(@Self)^.&set := $01000000;
  30102. end;
  30103. procedure TUART2A_U2ASTA.clearADM_EN; inline;
  30104. begin
  30105. pTDefRegMap(@Self)^.clr := $01000000;
  30106. end;
  30107. procedure TUART2A_U2ASTA.setADM_EN(thebits : TBits_1); inline;
  30108. begin
  30109. if thebits = 0 then
  30110. pTDefRegMap(@Self)^.clr := $01000000
  30111. else
  30112. pTDefRegMap(@Self)^.&set := $01000000;
  30113. end;
  30114. function TUART2A_U2ASTA.getADM_EN : TBits_1; inline;
  30115. begin
  30116. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30117. end;
  30118. procedure TUART2A_U2ASTA.setURXISEL0; inline;
  30119. begin
  30120. pTDefRegMap(@Self)^.&set := $00000040;
  30121. end;
  30122. procedure TUART2A_U2ASTA.clearURXISEL0; inline;
  30123. begin
  30124. pTDefRegMap(@Self)^.clr := $00000040;
  30125. end;
  30126. procedure TUART2A_U2ASTA.setURXISEL0(thebits : TBits_1); inline;
  30127. begin
  30128. if thebits = 0 then
  30129. pTDefRegMap(@Self)^.clr := $00000040
  30130. else
  30131. pTDefRegMap(@Self)^.&set := $00000040;
  30132. end;
  30133. function TUART2A_U2ASTA.getURXISEL0 : TBits_1; inline;
  30134. begin
  30135. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30136. end;
  30137. procedure TUART2A_U2ASTA.setURXISEL1; inline;
  30138. begin
  30139. pTDefRegMap(@Self)^.&set := $00000080;
  30140. end;
  30141. procedure TUART2A_U2ASTA.clearURXISEL1; inline;
  30142. begin
  30143. pTDefRegMap(@Self)^.clr := $00000080;
  30144. end;
  30145. procedure TUART2A_U2ASTA.setURXISEL1(thebits : TBits_1); inline;
  30146. begin
  30147. if thebits = 0 then
  30148. pTDefRegMap(@Self)^.clr := $00000080
  30149. else
  30150. pTDefRegMap(@Self)^.&set := $00000080;
  30151. end;
  30152. function TUART2A_U2ASTA.getURXISEL1 : TBits_1; inline;
  30153. begin
  30154. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30155. end;
  30156. procedure TUART2A_U2ASTA.setUTXISEL0; inline;
  30157. begin
  30158. pTDefRegMap(@Self)^.&set := $00004000;
  30159. end;
  30160. procedure TUART2A_U2ASTA.clearUTXISEL0; inline;
  30161. begin
  30162. pTDefRegMap(@Self)^.clr := $00004000;
  30163. end;
  30164. procedure TUART2A_U2ASTA.setUTXISEL0(thebits : TBits_1); inline;
  30165. begin
  30166. if thebits = 0 then
  30167. pTDefRegMap(@Self)^.clr := $00004000
  30168. else
  30169. pTDefRegMap(@Self)^.&set := $00004000;
  30170. end;
  30171. function TUART2A_U2ASTA.getUTXISEL0 : TBits_1; inline;
  30172. begin
  30173. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30174. end;
  30175. procedure TUART2A_U2ASTA.setUTXISEL1; inline;
  30176. begin
  30177. pTDefRegMap(@Self)^.&set := $00008000;
  30178. end;
  30179. procedure TUART2A_U2ASTA.clearUTXISEL1; inline;
  30180. begin
  30181. pTDefRegMap(@Self)^.clr := $00008000;
  30182. end;
  30183. procedure TUART2A_U2ASTA.setUTXISEL1(thebits : TBits_1); inline;
  30184. begin
  30185. if thebits = 0 then
  30186. pTDefRegMap(@Self)^.clr := $00008000
  30187. else
  30188. pTDefRegMap(@Self)^.&set := $00008000;
  30189. end;
  30190. function TUART2A_U2ASTA.getUTXISEL1 : TBits_1; inline;
  30191. begin
  30192. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30193. end;
  30194. procedure TUART2A_U2ASTA.setUTXSEL(thebits : TBits_2); inline;
  30195. begin
  30196. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30197. end;
  30198. function TUART2A_U2ASTA.getUTXSEL : TBits_2; inline;
  30199. begin
  30200. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30201. end;
  30202. procedure TUART2A_U2ASTA.setw(thebits : TBits_32); inline;
  30203. begin
  30204. pTDefRegMap(@Self)^.val := thebits;
  30205. end;
  30206. function TUART2A_U2ASTA.getw : TBits_32; inline;
  30207. begin
  30208. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30209. end;
  30210. procedure TUART2A_U3STA.setURXDA; inline;
  30211. begin
  30212. pTDefRegMap(@Self)^.&set := $00000001;
  30213. end;
  30214. procedure TUART2A_U3STA.clearURXDA; inline;
  30215. begin
  30216. pTDefRegMap(@Self)^.clr := $00000001;
  30217. end;
  30218. procedure TUART2A_U3STA.setURXDA(thebits : TBits_1); inline;
  30219. begin
  30220. if thebits = 0 then
  30221. pTDefRegMap(@Self)^.clr := $00000001
  30222. else
  30223. pTDefRegMap(@Self)^.&set := $00000001;
  30224. end;
  30225. function TUART2A_U3STA.getURXDA : TBits_1; inline;
  30226. begin
  30227. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30228. end;
  30229. procedure TUART2A_U3STA.setOERR; inline;
  30230. begin
  30231. pTDefRegMap(@Self)^.&set := $00000002;
  30232. end;
  30233. procedure TUART2A_U3STA.clearOERR; inline;
  30234. begin
  30235. pTDefRegMap(@Self)^.clr := $00000002;
  30236. end;
  30237. procedure TUART2A_U3STA.setOERR(thebits : TBits_1); inline;
  30238. begin
  30239. if thebits = 0 then
  30240. pTDefRegMap(@Self)^.clr := $00000002
  30241. else
  30242. pTDefRegMap(@Self)^.&set := $00000002;
  30243. end;
  30244. function TUART2A_U3STA.getOERR : TBits_1; inline;
  30245. begin
  30246. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30247. end;
  30248. procedure TUART2A_U3STA.setFERR; inline;
  30249. begin
  30250. pTDefRegMap(@Self)^.&set := $00000004;
  30251. end;
  30252. procedure TUART2A_U3STA.clearFERR; inline;
  30253. begin
  30254. pTDefRegMap(@Self)^.clr := $00000004;
  30255. end;
  30256. procedure TUART2A_U3STA.setFERR(thebits : TBits_1); inline;
  30257. begin
  30258. if thebits = 0 then
  30259. pTDefRegMap(@Self)^.clr := $00000004
  30260. else
  30261. pTDefRegMap(@Self)^.&set := $00000004;
  30262. end;
  30263. function TUART2A_U3STA.getFERR : TBits_1; inline;
  30264. begin
  30265. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30266. end;
  30267. procedure TUART2A_U3STA.setPERR; inline;
  30268. begin
  30269. pTDefRegMap(@Self)^.&set := $00000008;
  30270. end;
  30271. procedure TUART2A_U3STA.clearPERR; inline;
  30272. begin
  30273. pTDefRegMap(@Self)^.clr := $00000008;
  30274. end;
  30275. procedure TUART2A_U3STA.setPERR(thebits : TBits_1); inline;
  30276. begin
  30277. if thebits = 0 then
  30278. pTDefRegMap(@Self)^.clr := $00000008
  30279. else
  30280. pTDefRegMap(@Self)^.&set := $00000008;
  30281. end;
  30282. function TUART2A_U3STA.getPERR : TBits_1; inline;
  30283. begin
  30284. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30285. end;
  30286. procedure TUART2A_U3STA.setRIDLE; inline;
  30287. begin
  30288. pTDefRegMap(@Self)^.&set := $00000010;
  30289. end;
  30290. procedure TUART2A_U3STA.clearRIDLE; inline;
  30291. begin
  30292. pTDefRegMap(@Self)^.clr := $00000010;
  30293. end;
  30294. procedure TUART2A_U3STA.setRIDLE(thebits : TBits_1); inline;
  30295. begin
  30296. if thebits = 0 then
  30297. pTDefRegMap(@Self)^.clr := $00000010
  30298. else
  30299. pTDefRegMap(@Self)^.&set := $00000010;
  30300. end;
  30301. function TUART2A_U3STA.getRIDLE : TBits_1; inline;
  30302. begin
  30303. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30304. end;
  30305. procedure TUART2A_U3STA.setADDEN; inline;
  30306. begin
  30307. pTDefRegMap(@Self)^.&set := $00000020;
  30308. end;
  30309. procedure TUART2A_U3STA.clearADDEN; inline;
  30310. begin
  30311. pTDefRegMap(@Self)^.clr := $00000020;
  30312. end;
  30313. procedure TUART2A_U3STA.setADDEN(thebits : TBits_1); inline;
  30314. begin
  30315. if thebits = 0 then
  30316. pTDefRegMap(@Self)^.clr := $00000020
  30317. else
  30318. pTDefRegMap(@Self)^.&set := $00000020;
  30319. end;
  30320. function TUART2A_U3STA.getADDEN : TBits_1; inline;
  30321. begin
  30322. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30323. end;
  30324. procedure TUART2A_U3STA.setURXISEL(thebits : TBits_2); inline;
  30325. begin
  30326. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  30327. end;
  30328. function TUART2A_U3STA.getURXISEL : TBits_2; inline;
  30329. begin
  30330. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  30331. end;
  30332. procedure TUART2A_U3STA.setTRMT; inline;
  30333. begin
  30334. pTDefRegMap(@Self)^.&set := $00000100;
  30335. end;
  30336. procedure TUART2A_U3STA.clearTRMT; inline;
  30337. begin
  30338. pTDefRegMap(@Self)^.clr := $00000100;
  30339. end;
  30340. procedure TUART2A_U3STA.setTRMT(thebits : TBits_1); inline;
  30341. begin
  30342. if thebits = 0 then
  30343. pTDefRegMap(@Self)^.clr := $00000100
  30344. else
  30345. pTDefRegMap(@Self)^.&set := $00000100;
  30346. end;
  30347. function TUART2A_U3STA.getTRMT : TBits_1; inline;
  30348. begin
  30349. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30350. end;
  30351. procedure TUART2A_U3STA.setUTXBF; inline;
  30352. begin
  30353. pTDefRegMap(@Self)^.&set := $00000200;
  30354. end;
  30355. procedure TUART2A_U3STA.clearUTXBF; inline;
  30356. begin
  30357. pTDefRegMap(@Self)^.clr := $00000200;
  30358. end;
  30359. procedure TUART2A_U3STA.setUTXBF(thebits : TBits_1); inline;
  30360. begin
  30361. if thebits = 0 then
  30362. pTDefRegMap(@Self)^.clr := $00000200
  30363. else
  30364. pTDefRegMap(@Self)^.&set := $00000200;
  30365. end;
  30366. function TUART2A_U3STA.getUTXBF : TBits_1; inline;
  30367. begin
  30368. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30369. end;
  30370. procedure TUART2A_U3STA.setUTXEN; inline;
  30371. begin
  30372. pTDefRegMap(@Self)^.&set := $00000400;
  30373. end;
  30374. procedure TUART2A_U3STA.clearUTXEN; inline;
  30375. begin
  30376. pTDefRegMap(@Self)^.clr := $00000400;
  30377. end;
  30378. procedure TUART2A_U3STA.setUTXEN(thebits : TBits_1); inline;
  30379. begin
  30380. if thebits = 0 then
  30381. pTDefRegMap(@Self)^.clr := $00000400
  30382. else
  30383. pTDefRegMap(@Self)^.&set := $00000400;
  30384. end;
  30385. function TUART2A_U3STA.getUTXEN : TBits_1; inline;
  30386. begin
  30387. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30388. end;
  30389. procedure TUART2A_U3STA.setUTXBRK; inline;
  30390. begin
  30391. pTDefRegMap(@Self)^.&set := $00000800;
  30392. end;
  30393. procedure TUART2A_U3STA.clearUTXBRK; inline;
  30394. begin
  30395. pTDefRegMap(@Self)^.clr := $00000800;
  30396. end;
  30397. procedure TUART2A_U3STA.setUTXBRK(thebits : TBits_1); inline;
  30398. begin
  30399. if thebits = 0 then
  30400. pTDefRegMap(@Self)^.clr := $00000800
  30401. else
  30402. pTDefRegMap(@Self)^.&set := $00000800;
  30403. end;
  30404. function TUART2A_U3STA.getUTXBRK : TBits_1; inline;
  30405. begin
  30406. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30407. end;
  30408. procedure TUART2A_U3STA.setURXEN; inline;
  30409. begin
  30410. pTDefRegMap(@Self)^.&set := $00001000;
  30411. end;
  30412. procedure TUART2A_U3STA.clearURXEN; inline;
  30413. begin
  30414. pTDefRegMap(@Self)^.clr := $00001000;
  30415. end;
  30416. procedure TUART2A_U3STA.setURXEN(thebits : TBits_1); inline;
  30417. begin
  30418. if thebits = 0 then
  30419. pTDefRegMap(@Self)^.clr := $00001000
  30420. else
  30421. pTDefRegMap(@Self)^.&set := $00001000;
  30422. end;
  30423. function TUART2A_U3STA.getURXEN : TBits_1; inline;
  30424. begin
  30425. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30426. end;
  30427. procedure TUART2A_U3STA.setUTXINV; inline;
  30428. begin
  30429. pTDefRegMap(@Self)^.&set := $00002000;
  30430. end;
  30431. procedure TUART2A_U3STA.clearUTXINV; inline;
  30432. begin
  30433. pTDefRegMap(@Self)^.clr := $00002000;
  30434. end;
  30435. procedure TUART2A_U3STA.setUTXINV(thebits : TBits_1); inline;
  30436. begin
  30437. if thebits = 0 then
  30438. pTDefRegMap(@Self)^.clr := $00002000
  30439. else
  30440. pTDefRegMap(@Self)^.&set := $00002000;
  30441. end;
  30442. function TUART2A_U3STA.getUTXINV : TBits_1; inline;
  30443. begin
  30444. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30445. end;
  30446. procedure TUART2A_U3STA.setUTXISEL(thebits : TBits_2); inline;
  30447. begin
  30448. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30449. end;
  30450. function TUART2A_U3STA.getUTXISEL : TBits_2; inline;
  30451. begin
  30452. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30453. end;
  30454. procedure TUART2A_U3STA.setADDR(thebits : TBits_8); inline;
  30455. begin
  30456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30457. end;
  30458. function TUART2A_U3STA.getADDR : TBits_8; inline;
  30459. begin
  30460. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30461. end;
  30462. procedure TUART2A_U3STA.setADM_EN; inline;
  30463. begin
  30464. pTDefRegMap(@Self)^.&set := $01000000;
  30465. end;
  30466. procedure TUART2A_U3STA.clearADM_EN; inline;
  30467. begin
  30468. pTDefRegMap(@Self)^.clr := $01000000;
  30469. end;
  30470. procedure TUART2A_U3STA.setADM_EN(thebits : TBits_1); inline;
  30471. begin
  30472. if thebits = 0 then
  30473. pTDefRegMap(@Self)^.clr := $01000000
  30474. else
  30475. pTDefRegMap(@Self)^.&set := $01000000;
  30476. end;
  30477. function TUART2A_U3STA.getADM_EN : TBits_1; inline;
  30478. begin
  30479. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30480. end;
  30481. procedure TUART2A_U3STA.setURXISEL0; inline;
  30482. begin
  30483. pTDefRegMap(@Self)^.&set := $00000040;
  30484. end;
  30485. procedure TUART2A_U3STA.clearURXISEL0; inline;
  30486. begin
  30487. pTDefRegMap(@Self)^.clr := $00000040;
  30488. end;
  30489. procedure TUART2A_U3STA.setURXISEL0(thebits : TBits_1); inline;
  30490. begin
  30491. if thebits = 0 then
  30492. pTDefRegMap(@Self)^.clr := $00000040
  30493. else
  30494. pTDefRegMap(@Self)^.&set := $00000040;
  30495. end;
  30496. function TUART2A_U3STA.getURXISEL0 : TBits_1; inline;
  30497. begin
  30498. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30499. end;
  30500. procedure TUART2A_U3STA.setURXISEL1; inline;
  30501. begin
  30502. pTDefRegMap(@Self)^.&set := $00000080;
  30503. end;
  30504. procedure TUART2A_U3STA.clearURXISEL1; inline;
  30505. begin
  30506. pTDefRegMap(@Self)^.clr := $00000080;
  30507. end;
  30508. procedure TUART2A_U3STA.setURXISEL1(thebits : TBits_1); inline;
  30509. begin
  30510. if thebits = 0 then
  30511. pTDefRegMap(@Self)^.clr := $00000080
  30512. else
  30513. pTDefRegMap(@Self)^.&set := $00000080;
  30514. end;
  30515. function TUART2A_U3STA.getURXISEL1 : TBits_1; inline;
  30516. begin
  30517. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30518. end;
  30519. procedure TUART2A_U3STA.setUTXISEL0; inline;
  30520. begin
  30521. pTDefRegMap(@Self)^.&set := $00004000;
  30522. end;
  30523. procedure TUART2A_U3STA.clearUTXISEL0; inline;
  30524. begin
  30525. pTDefRegMap(@Self)^.clr := $00004000;
  30526. end;
  30527. procedure TUART2A_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  30528. begin
  30529. if thebits = 0 then
  30530. pTDefRegMap(@Self)^.clr := $00004000
  30531. else
  30532. pTDefRegMap(@Self)^.&set := $00004000;
  30533. end;
  30534. function TUART2A_U3STA.getUTXISEL0 : TBits_1; inline;
  30535. begin
  30536. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30537. end;
  30538. procedure TUART2A_U3STA.setUTXISEL1; inline;
  30539. begin
  30540. pTDefRegMap(@Self)^.&set := $00008000;
  30541. end;
  30542. procedure TUART2A_U3STA.clearUTXISEL1; inline;
  30543. begin
  30544. pTDefRegMap(@Self)^.clr := $00008000;
  30545. end;
  30546. procedure TUART2A_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  30547. begin
  30548. if thebits = 0 then
  30549. pTDefRegMap(@Self)^.clr := $00008000
  30550. else
  30551. pTDefRegMap(@Self)^.&set := $00008000;
  30552. end;
  30553. function TUART2A_U3STA.getUTXISEL1 : TBits_1; inline;
  30554. begin
  30555. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30556. end;
  30557. procedure TUART2A_U3STA.setUTXSEL(thebits : TBits_2); inline;
  30558. begin
  30559. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30560. end;
  30561. function TUART2A_U3STA.getUTXSEL : TBits_2; inline;
  30562. begin
  30563. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30564. end;
  30565. procedure TUART2A_U3STA.setw(thebits : TBits_32); inline;
  30566. begin
  30567. pTDefRegMap(@Self)^.val := thebits;
  30568. end;
  30569. function TUART2A_U3STA.getw : TBits_32; inline;
  30570. begin
  30571. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30572. end;
  30573. procedure TUART6_U2BMODE.setSTSEL; inline;
  30574. begin
  30575. pTDefRegMap(@Self)^.&set := $00000001;
  30576. end;
  30577. procedure TUART6_U2BMODE.clearSTSEL; inline;
  30578. begin
  30579. pTDefRegMap(@Self)^.clr := $00000001;
  30580. end;
  30581. procedure TUART6_U2BMODE.setSTSEL(thebits : TBits_1); inline;
  30582. begin
  30583. if thebits = 0 then
  30584. pTDefRegMap(@Self)^.clr := $00000001
  30585. else
  30586. pTDefRegMap(@Self)^.&set := $00000001;
  30587. end;
  30588. function TUART6_U2BMODE.getSTSEL : TBits_1; inline;
  30589. begin
  30590. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30591. end;
  30592. procedure TUART6_U2BMODE.setPDSEL(thebits : TBits_2); inline;
  30593. begin
  30594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30595. end;
  30596. function TUART6_U2BMODE.getPDSEL : TBits_2; inline;
  30597. begin
  30598. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30599. end;
  30600. procedure TUART6_U2BMODE.setBRGH; inline;
  30601. begin
  30602. pTDefRegMap(@Self)^.&set := $00000008;
  30603. end;
  30604. procedure TUART6_U2BMODE.clearBRGH; inline;
  30605. begin
  30606. pTDefRegMap(@Self)^.clr := $00000008;
  30607. end;
  30608. procedure TUART6_U2BMODE.setBRGH(thebits : TBits_1); inline;
  30609. begin
  30610. if thebits = 0 then
  30611. pTDefRegMap(@Self)^.clr := $00000008
  30612. else
  30613. pTDefRegMap(@Self)^.&set := $00000008;
  30614. end;
  30615. function TUART6_U2BMODE.getBRGH : TBits_1; inline;
  30616. begin
  30617. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30618. end;
  30619. procedure TUART6_U2BMODE.setRXINV; inline;
  30620. begin
  30621. pTDefRegMap(@Self)^.&set := $00000010;
  30622. end;
  30623. procedure TUART6_U2BMODE.clearRXINV; inline;
  30624. begin
  30625. pTDefRegMap(@Self)^.clr := $00000010;
  30626. end;
  30627. procedure TUART6_U2BMODE.setRXINV(thebits : TBits_1); inline;
  30628. begin
  30629. if thebits = 0 then
  30630. pTDefRegMap(@Self)^.clr := $00000010
  30631. else
  30632. pTDefRegMap(@Self)^.&set := $00000010;
  30633. end;
  30634. function TUART6_U2BMODE.getRXINV : TBits_1; inline;
  30635. begin
  30636. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30637. end;
  30638. procedure TUART6_U2BMODE.setABAUD; inline;
  30639. begin
  30640. pTDefRegMap(@Self)^.&set := $00000020;
  30641. end;
  30642. procedure TUART6_U2BMODE.clearABAUD; inline;
  30643. begin
  30644. pTDefRegMap(@Self)^.clr := $00000020;
  30645. end;
  30646. procedure TUART6_U2BMODE.setABAUD(thebits : TBits_1); inline;
  30647. begin
  30648. if thebits = 0 then
  30649. pTDefRegMap(@Self)^.clr := $00000020
  30650. else
  30651. pTDefRegMap(@Self)^.&set := $00000020;
  30652. end;
  30653. function TUART6_U2BMODE.getABAUD : TBits_1; inline;
  30654. begin
  30655. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30656. end;
  30657. procedure TUART6_U2BMODE.setLPBACK; inline;
  30658. begin
  30659. pTDefRegMap(@Self)^.&set := $00000040;
  30660. end;
  30661. procedure TUART6_U2BMODE.clearLPBACK; inline;
  30662. begin
  30663. pTDefRegMap(@Self)^.clr := $00000040;
  30664. end;
  30665. procedure TUART6_U2BMODE.setLPBACK(thebits : TBits_1); inline;
  30666. begin
  30667. if thebits = 0 then
  30668. pTDefRegMap(@Self)^.clr := $00000040
  30669. else
  30670. pTDefRegMap(@Self)^.&set := $00000040;
  30671. end;
  30672. function TUART6_U2BMODE.getLPBACK : TBits_1; inline;
  30673. begin
  30674. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30675. end;
  30676. procedure TUART6_U2BMODE.setWAKE; inline;
  30677. begin
  30678. pTDefRegMap(@Self)^.&set := $00000080;
  30679. end;
  30680. procedure TUART6_U2BMODE.clearWAKE; inline;
  30681. begin
  30682. pTDefRegMap(@Self)^.clr := $00000080;
  30683. end;
  30684. procedure TUART6_U2BMODE.setWAKE(thebits : TBits_1); inline;
  30685. begin
  30686. if thebits = 0 then
  30687. pTDefRegMap(@Self)^.clr := $00000080
  30688. else
  30689. pTDefRegMap(@Self)^.&set := $00000080;
  30690. end;
  30691. function TUART6_U2BMODE.getWAKE : TBits_1; inline;
  30692. begin
  30693. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30694. end;
  30695. procedure TUART6_U2BMODE.setIREN; inline;
  30696. begin
  30697. pTDefRegMap(@Self)^.&set := $00001000;
  30698. end;
  30699. procedure TUART6_U2BMODE.clearIREN; inline;
  30700. begin
  30701. pTDefRegMap(@Self)^.clr := $00001000;
  30702. end;
  30703. procedure TUART6_U2BMODE.setIREN(thebits : TBits_1); inline;
  30704. begin
  30705. if thebits = 0 then
  30706. pTDefRegMap(@Self)^.clr := $00001000
  30707. else
  30708. pTDefRegMap(@Self)^.&set := $00001000;
  30709. end;
  30710. function TUART6_U2BMODE.getIREN : TBits_1; inline;
  30711. begin
  30712. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30713. end;
  30714. procedure TUART6_U2BMODE.setSIDL; inline;
  30715. begin
  30716. pTDefRegMap(@Self)^.&set := $00002000;
  30717. end;
  30718. procedure TUART6_U2BMODE.clearSIDL; inline;
  30719. begin
  30720. pTDefRegMap(@Self)^.clr := $00002000;
  30721. end;
  30722. procedure TUART6_U2BMODE.setSIDL(thebits : TBits_1); inline;
  30723. begin
  30724. if thebits = 0 then
  30725. pTDefRegMap(@Self)^.clr := $00002000
  30726. else
  30727. pTDefRegMap(@Self)^.&set := $00002000;
  30728. end;
  30729. function TUART6_U2BMODE.getSIDL : TBits_1; inline;
  30730. begin
  30731. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30732. end;
  30733. procedure TUART6_U2BMODE.setON; inline;
  30734. begin
  30735. pTDefRegMap(@Self)^.&set := $00008000;
  30736. end;
  30737. procedure TUART6_U2BMODE.clearON; inline;
  30738. begin
  30739. pTDefRegMap(@Self)^.clr := $00008000;
  30740. end;
  30741. procedure TUART6_U2BMODE.setON(thebits : TBits_1); inline;
  30742. begin
  30743. if thebits = 0 then
  30744. pTDefRegMap(@Self)^.clr := $00008000
  30745. else
  30746. pTDefRegMap(@Self)^.&set := $00008000;
  30747. end;
  30748. function TUART6_U2BMODE.getON : TBits_1; inline;
  30749. begin
  30750. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30751. end;
  30752. procedure TUART6_U2BMODE.setPDSEL0; inline;
  30753. begin
  30754. pTDefRegMap(@Self)^.&set := $00000002;
  30755. end;
  30756. procedure TUART6_U2BMODE.clearPDSEL0; inline;
  30757. begin
  30758. pTDefRegMap(@Self)^.clr := $00000002;
  30759. end;
  30760. procedure TUART6_U2BMODE.setPDSEL0(thebits : TBits_1); inline;
  30761. begin
  30762. if thebits = 0 then
  30763. pTDefRegMap(@Self)^.clr := $00000002
  30764. else
  30765. pTDefRegMap(@Self)^.&set := $00000002;
  30766. end;
  30767. function TUART6_U2BMODE.getPDSEL0 : TBits_1; inline;
  30768. begin
  30769. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30770. end;
  30771. procedure TUART6_U2BMODE.setPDSEL1; inline;
  30772. begin
  30773. pTDefRegMap(@Self)^.&set := $00000004;
  30774. end;
  30775. procedure TUART6_U2BMODE.clearPDSEL1; inline;
  30776. begin
  30777. pTDefRegMap(@Self)^.clr := $00000004;
  30778. end;
  30779. procedure TUART6_U2BMODE.setPDSEL1(thebits : TBits_1); inline;
  30780. begin
  30781. if thebits = 0 then
  30782. pTDefRegMap(@Self)^.clr := $00000004
  30783. else
  30784. pTDefRegMap(@Self)^.&set := $00000004;
  30785. end;
  30786. function TUART6_U2BMODE.getPDSEL1 : TBits_1; inline;
  30787. begin
  30788. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30789. end;
  30790. procedure TUART6_U2BMODE.setUSIDL; inline;
  30791. begin
  30792. pTDefRegMap(@Self)^.&set := $00002000;
  30793. end;
  30794. procedure TUART6_U2BMODE.clearUSIDL; inline;
  30795. begin
  30796. pTDefRegMap(@Self)^.clr := $00002000;
  30797. end;
  30798. procedure TUART6_U2BMODE.setUSIDL(thebits : TBits_1); inline;
  30799. begin
  30800. if thebits = 0 then
  30801. pTDefRegMap(@Self)^.clr := $00002000
  30802. else
  30803. pTDefRegMap(@Self)^.&set := $00002000;
  30804. end;
  30805. function TUART6_U2BMODE.getUSIDL : TBits_1; inline;
  30806. begin
  30807. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30808. end;
  30809. procedure TUART6_U2BMODE.setUARTEN; inline;
  30810. begin
  30811. pTDefRegMap(@Self)^.&set := $00008000;
  30812. end;
  30813. procedure TUART6_U2BMODE.clearUARTEN; inline;
  30814. begin
  30815. pTDefRegMap(@Self)^.clr := $00008000;
  30816. end;
  30817. procedure TUART6_U2BMODE.setUARTEN(thebits : TBits_1); inline;
  30818. begin
  30819. if thebits = 0 then
  30820. pTDefRegMap(@Self)^.clr := $00008000
  30821. else
  30822. pTDefRegMap(@Self)^.&set := $00008000;
  30823. end;
  30824. function TUART6_U2BMODE.getUARTEN : TBits_1; inline;
  30825. begin
  30826. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30827. end;
  30828. procedure TUART6_U2BMODE.setw(thebits : TBits_32); inline;
  30829. begin
  30830. pTDefRegMap(@Self)^.val := thebits;
  30831. end;
  30832. function TUART6_U2BMODE.getw : TBits_32; inline;
  30833. begin
  30834. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30835. end;
  30836. procedure TUART6_U6MODE.setSTSEL; inline;
  30837. begin
  30838. pTDefRegMap(@Self)^.&set := $00000001;
  30839. end;
  30840. procedure TUART6_U6MODE.clearSTSEL; inline;
  30841. begin
  30842. pTDefRegMap(@Self)^.clr := $00000001;
  30843. end;
  30844. procedure TUART6_U6MODE.setSTSEL(thebits : TBits_1); inline;
  30845. begin
  30846. if thebits = 0 then
  30847. pTDefRegMap(@Self)^.clr := $00000001
  30848. else
  30849. pTDefRegMap(@Self)^.&set := $00000001;
  30850. end;
  30851. function TUART6_U6MODE.getSTSEL : TBits_1; inline;
  30852. begin
  30853. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30854. end;
  30855. procedure TUART6_U6MODE.setPDSEL(thebits : TBits_2); inline;
  30856. begin
  30857. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30858. end;
  30859. function TUART6_U6MODE.getPDSEL : TBits_2; inline;
  30860. begin
  30861. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30862. end;
  30863. procedure TUART6_U6MODE.setBRGH; inline;
  30864. begin
  30865. pTDefRegMap(@Self)^.&set := $00000008;
  30866. end;
  30867. procedure TUART6_U6MODE.clearBRGH; inline;
  30868. begin
  30869. pTDefRegMap(@Self)^.clr := $00000008;
  30870. end;
  30871. procedure TUART6_U6MODE.setBRGH(thebits : TBits_1); inline;
  30872. begin
  30873. if thebits = 0 then
  30874. pTDefRegMap(@Self)^.clr := $00000008
  30875. else
  30876. pTDefRegMap(@Self)^.&set := $00000008;
  30877. end;
  30878. function TUART6_U6MODE.getBRGH : TBits_1; inline;
  30879. begin
  30880. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30881. end;
  30882. procedure TUART6_U6MODE.setRXINV; inline;
  30883. begin
  30884. pTDefRegMap(@Self)^.&set := $00000010;
  30885. end;
  30886. procedure TUART6_U6MODE.clearRXINV; inline;
  30887. begin
  30888. pTDefRegMap(@Self)^.clr := $00000010;
  30889. end;
  30890. procedure TUART6_U6MODE.setRXINV(thebits : TBits_1); inline;
  30891. begin
  30892. if thebits = 0 then
  30893. pTDefRegMap(@Self)^.clr := $00000010
  30894. else
  30895. pTDefRegMap(@Self)^.&set := $00000010;
  30896. end;
  30897. function TUART6_U6MODE.getRXINV : TBits_1; inline;
  30898. begin
  30899. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30900. end;
  30901. procedure TUART6_U6MODE.setABAUD; inline;
  30902. begin
  30903. pTDefRegMap(@Self)^.&set := $00000020;
  30904. end;
  30905. procedure TUART6_U6MODE.clearABAUD; inline;
  30906. begin
  30907. pTDefRegMap(@Self)^.clr := $00000020;
  30908. end;
  30909. procedure TUART6_U6MODE.setABAUD(thebits : TBits_1); inline;
  30910. begin
  30911. if thebits = 0 then
  30912. pTDefRegMap(@Self)^.clr := $00000020
  30913. else
  30914. pTDefRegMap(@Self)^.&set := $00000020;
  30915. end;
  30916. function TUART6_U6MODE.getABAUD : TBits_1; inline;
  30917. begin
  30918. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30919. end;
  30920. procedure TUART6_U6MODE.setLPBACK; inline;
  30921. begin
  30922. pTDefRegMap(@Self)^.&set := $00000040;
  30923. end;
  30924. procedure TUART6_U6MODE.clearLPBACK; inline;
  30925. begin
  30926. pTDefRegMap(@Self)^.clr := $00000040;
  30927. end;
  30928. procedure TUART6_U6MODE.setLPBACK(thebits : TBits_1); inline;
  30929. begin
  30930. if thebits = 0 then
  30931. pTDefRegMap(@Self)^.clr := $00000040
  30932. else
  30933. pTDefRegMap(@Self)^.&set := $00000040;
  30934. end;
  30935. function TUART6_U6MODE.getLPBACK : TBits_1; inline;
  30936. begin
  30937. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30938. end;
  30939. procedure TUART6_U6MODE.setWAKE; inline;
  30940. begin
  30941. pTDefRegMap(@Self)^.&set := $00000080;
  30942. end;
  30943. procedure TUART6_U6MODE.clearWAKE; inline;
  30944. begin
  30945. pTDefRegMap(@Self)^.clr := $00000080;
  30946. end;
  30947. procedure TUART6_U6MODE.setWAKE(thebits : TBits_1); inline;
  30948. begin
  30949. if thebits = 0 then
  30950. pTDefRegMap(@Self)^.clr := $00000080
  30951. else
  30952. pTDefRegMap(@Self)^.&set := $00000080;
  30953. end;
  30954. function TUART6_U6MODE.getWAKE : TBits_1; inline;
  30955. begin
  30956. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30957. end;
  30958. procedure TUART6_U6MODE.setIREN; inline;
  30959. begin
  30960. pTDefRegMap(@Self)^.&set := $00001000;
  30961. end;
  30962. procedure TUART6_U6MODE.clearIREN; inline;
  30963. begin
  30964. pTDefRegMap(@Self)^.clr := $00001000;
  30965. end;
  30966. procedure TUART6_U6MODE.setIREN(thebits : TBits_1); inline;
  30967. begin
  30968. if thebits = 0 then
  30969. pTDefRegMap(@Self)^.clr := $00001000
  30970. else
  30971. pTDefRegMap(@Self)^.&set := $00001000;
  30972. end;
  30973. function TUART6_U6MODE.getIREN : TBits_1; inline;
  30974. begin
  30975. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30976. end;
  30977. procedure TUART6_U6MODE.setSIDL; inline;
  30978. begin
  30979. pTDefRegMap(@Self)^.&set := $00002000;
  30980. end;
  30981. procedure TUART6_U6MODE.clearSIDL; inline;
  30982. begin
  30983. pTDefRegMap(@Self)^.clr := $00002000;
  30984. end;
  30985. procedure TUART6_U6MODE.setSIDL(thebits : TBits_1); inline;
  30986. begin
  30987. if thebits = 0 then
  30988. pTDefRegMap(@Self)^.clr := $00002000
  30989. else
  30990. pTDefRegMap(@Self)^.&set := $00002000;
  30991. end;
  30992. function TUART6_U6MODE.getSIDL : TBits_1; inline;
  30993. begin
  30994. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30995. end;
  30996. procedure TUART6_U6MODE.setON; inline;
  30997. begin
  30998. pTDefRegMap(@Self)^.&set := $00008000;
  30999. end;
  31000. procedure TUART6_U6MODE.clearON; inline;
  31001. begin
  31002. pTDefRegMap(@Self)^.clr := $00008000;
  31003. end;
  31004. procedure TUART6_U6MODE.setON(thebits : TBits_1); inline;
  31005. begin
  31006. if thebits = 0 then
  31007. pTDefRegMap(@Self)^.clr := $00008000
  31008. else
  31009. pTDefRegMap(@Self)^.&set := $00008000;
  31010. end;
  31011. function TUART6_U6MODE.getON : TBits_1; inline;
  31012. begin
  31013. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31014. end;
  31015. procedure TUART6_U6MODE.setPDSEL0; inline;
  31016. begin
  31017. pTDefRegMap(@Self)^.&set := $00000002;
  31018. end;
  31019. procedure TUART6_U6MODE.clearPDSEL0; inline;
  31020. begin
  31021. pTDefRegMap(@Self)^.clr := $00000002;
  31022. end;
  31023. procedure TUART6_U6MODE.setPDSEL0(thebits : TBits_1); inline;
  31024. begin
  31025. if thebits = 0 then
  31026. pTDefRegMap(@Self)^.clr := $00000002
  31027. else
  31028. pTDefRegMap(@Self)^.&set := $00000002;
  31029. end;
  31030. function TUART6_U6MODE.getPDSEL0 : TBits_1; inline;
  31031. begin
  31032. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31033. end;
  31034. procedure TUART6_U6MODE.setPDSEL1; inline;
  31035. begin
  31036. pTDefRegMap(@Self)^.&set := $00000004;
  31037. end;
  31038. procedure TUART6_U6MODE.clearPDSEL1; inline;
  31039. begin
  31040. pTDefRegMap(@Self)^.clr := $00000004;
  31041. end;
  31042. procedure TUART6_U6MODE.setPDSEL1(thebits : TBits_1); inline;
  31043. begin
  31044. if thebits = 0 then
  31045. pTDefRegMap(@Self)^.clr := $00000004
  31046. else
  31047. pTDefRegMap(@Self)^.&set := $00000004;
  31048. end;
  31049. function TUART6_U6MODE.getPDSEL1 : TBits_1; inline;
  31050. begin
  31051. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31052. end;
  31053. procedure TUART6_U6MODE.setUSIDL; inline;
  31054. begin
  31055. pTDefRegMap(@Self)^.&set := $00002000;
  31056. end;
  31057. procedure TUART6_U6MODE.clearUSIDL; inline;
  31058. begin
  31059. pTDefRegMap(@Self)^.clr := $00002000;
  31060. end;
  31061. procedure TUART6_U6MODE.setUSIDL(thebits : TBits_1); inline;
  31062. begin
  31063. if thebits = 0 then
  31064. pTDefRegMap(@Self)^.clr := $00002000
  31065. else
  31066. pTDefRegMap(@Self)^.&set := $00002000;
  31067. end;
  31068. function TUART6_U6MODE.getUSIDL : TBits_1; inline;
  31069. begin
  31070. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31071. end;
  31072. procedure TUART6_U6MODE.setUARTEN; inline;
  31073. begin
  31074. pTDefRegMap(@Self)^.&set := $00008000;
  31075. end;
  31076. procedure TUART6_U6MODE.clearUARTEN; inline;
  31077. begin
  31078. pTDefRegMap(@Self)^.clr := $00008000;
  31079. end;
  31080. procedure TUART6_U6MODE.setUARTEN(thebits : TBits_1); inline;
  31081. begin
  31082. if thebits = 0 then
  31083. pTDefRegMap(@Self)^.clr := $00008000
  31084. else
  31085. pTDefRegMap(@Self)^.&set := $00008000;
  31086. end;
  31087. function TUART6_U6MODE.getUARTEN : TBits_1; inline;
  31088. begin
  31089. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31090. end;
  31091. procedure TUART6_U6MODE.setw(thebits : TBits_32); inline;
  31092. begin
  31093. pTDefRegMap(@Self)^.val := thebits;
  31094. end;
  31095. function TUART6_U6MODE.getw : TBits_32; inline;
  31096. begin
  31097. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31098. end;
  31099. procedure TUART6_U2BSTA.setURXDA; inline;
  31100. begin
  31101. pTDefRegMap(@Self)^.&set := $00000001;
  31102. end;
  31103. procedure TUART6_U2BSTA.clearURXDA; inline;
  31104. begin
  31105. pTDefRegMap(@Self)^.clr := $00000001;
  31106. end;
  31107. procedure TUART6_U2BSTA.setURXDA(thebits : TBits_1); inline;
  31108. begin
  31109. if thebits = 0 then
  31110. pTDefRegMap(@Self)^.clr := $00000001
  31111. else
  31112. pTDefRegMap(@Self)^.&set := $00000001;
  31113. end;
  31114. function TUART6_U2BSTA.getURXDA : TBits_1; inline;
  31115. begin
  31116. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31117. end;
  31118. procedure TUART6_U2BSTA.setOERR; inline;
  31119. begin
  31120. pTDefRegMap(@Self)^.&set := $00000002;
  31121. end;
  31122. procedure TUART6_U2BSTA.clearOERR; inline;
  31123. begin
  31124. pTDefRegMap(@Self)^.clr := $00000002;
  31125. end;
  31126. procedure TUART6_U2BSTA.setOERR(thebits : TBits_1); inline;
  31127. begin
  31128. if thebits = 0 then
  31129. pTDefRegMap(@Self)^.clr := $00000002
  31130. else
  31131. pTDefRegMap(@Self)^.&set := $00000002;
  31132. end;
  31133. function TUART6_U2BSTA.getOERR : TBits_1; inline;
  31134. begin
  31135. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31136. end;
  31137. procedure TUART6_U2BSTA.setFERR; inline;
  31138. begin
  31139. pTDefRegMap(@Self)^.&set := $00000004;
  31140. end;
  31141. procedure TUART6_U2BSTA.clearFERR; inline;
  31142. begin
  31143. pTDefRegMap(@Self)^.clr := $00000004;
  31144. end;
  31145. procedure TUART6_U2BSTA.setFERR(thebits : TBits_1); inline;
  31146. begin
  31147. if thebits = 0 then
  31148. pTDefRegMap(@Self)^.clr := $00000004
  31149. else
  31150. pTDefRegMap(@Self)^.&set := $00000004;
  31151. end;
  31152. function TUART6_U2BSTA.getFERR : TBits_1; inline;
  31153. begin
  31154. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31155. end;
  31156. procedure TUART6_U2BSTA.setPERR; inline;
  31157. begin
  31158. pTDefRegMap(@Self)^.&set := $00000008;
  31159. end;
  31160. procedure TUART6_U2BSTA.clearPERR; inline;
  31161. begin
  31162. pTDefRegMap(@Self)^.clr := $00000008;
  31163. end;
  31164. procedure TUART6_U2BSTA.setPERR(thebits : TBits_1); inline;
  31165. begin
  31166. if thebits = 0 then
  31167. pTDefRegMap(@Self)^.clr := $00000008
  31168. else
  31169. pTDefRegMap(@Self)^.&set := $00000008;
  31170. end;
  31171. function TUART6_U2BSTA.getPERR : TBits_1; inline;
  31172. begin
  31173. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31174. end;
  31175. procedure TUART6_U2BSTA.setRIDLE; inline;
  31176. begin
  31177. pTDefRegMap(@Self)^.&set := $00000010;
  31178. end;
  31179. procedure TUART6_U2BSTA.clearRIDLE; inline;
  31180. begin
  31181. pTDefRegMap(@Self)^.clr := $00000010;
  31182. end;
  31183. procedure TUART6_U2BSTA.setRIDLE(thebits : TBits_1); inline;
  31184. begin
  31185. if thebits = 0 then
  31186. pTDefRegMap(@Self)^.clr := $00000010
  31187. else
  31188. pTDefRegMap(@Self)^.&set := $00000010;
  31189. end;
  31190. function TUART6_U2BSTA.getRIDLE : TBits_1; inline;
  31191. begin
  31192. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31193. end;
  31194. procedure TUART6_U2BSTA.setADDEN; inline;
  31195. begin
  31196. pTDefRegMap(@Self)^.&set := $00000020;
  31197. end;
  31198. procedure TUART6_U2BSTA.clearADDEN; inline;
  31199. begin
  31200. pTDefRegMap(@Self)^.clr := $00000020;
  31201. end;
  31202. procedure TUART6_U2BSTA.setADDEN(thebits : TBits_1); inline;
  31203. begin
  31204. if thebits = 0 then
  31205. pTDefRegMap(@Self)^.clr := $00000020
  31206. else
  31207. pTDefRegMap(@Self)^.&set := $00000020;
  31208. end;
  31209. function TUART6_U2BSTA.getADDEN : TBits_1; inline;
  31210. begin
  31211. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31212. end;
  31213. procedure TUART6_U2BSTA.setURXISEL(thebits : TBits_2); inline;
  31214. begin
  31215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31216. end;
  31217. function TUART6_U2BSTA.getURXISEL : TBits_2; inline;
  31218. begin
  31219. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31220. end;
  31221. procedure TUART6_U2BSTA.setTRMT; inline;
  31222. begin
  31223. pTDefRegMap(@Self)^.&set := $00000100;
  31224. end;
  31225. procedure TUART6_U2BSTA.clearTRMT; inline;
  31226. begin
  31227. pTDefRegMap(@Self)^.clr := $00000100;
  31228. end;
  31229. procedure TUART6_U2BSTA.setTRMT(thebits : TBits_1); inline;
  31230. begin
  31231. if thebits = 0 then
  31232. pTDefRegMap(@Self)^.clr := $00000100
  31233. else
  31234. pTDefRegMap(@Self)^.&set := $00000100;
  31235. end;
  31236. function TUART6_U2BSTA.getTRMT : TBits_1; inline;
  31237. begin
  31238. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31239. end;
  31240. procedure TUART6_U2BSTA.setUTXBF; inline;
  31241. begin
  31242. pTDefRegMap(@Self)^.&set := $00000200;
  31243. end;
  31244. procedure TUART6_U2BSTA.clearUTXBF; inline;
  31245. begin
  31246. pTDefRegMap(@Self)^.clr := $00000200;
  31247. end;
  31248. procedure TUART6_U2BSTA.setUTXBF(thebits : TBits_1); inline;
  31249. begin
  31250. if thebits = 0 then
  31251. pTDefRegMap(@Self)^.clr := $00000200
  31252. else
  31253. pTDefRegMap(@Self)^.&set := $00000200;
  31254. end;
  31255. function TUART6_U2BSTA.getUTXBF : TBits_1; inline;
  31256. begin
  31257. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31258. end;
  31259. procedure TUART6_U2BSTA.setUTXEN; inline;
  31260. begin
  31261. pTDefRegMap(@Self)^.&set := $00000400;
  31262. end;
  31263. procedure TUART6_U2BSTA.clearUTXEN; inline;
  31264. begin
  31265. pTDefRegMap(@Self)^.clr := $00000400;
  31266. end;
  31267. procedure TUART6_U2BSTA.setUTXEN(thebits : TBits_1); inline;
  31268. begin
  31269. if thebits = 0 then
  31270. pTDefRegMap(@Self)^.clr := $00000400
  31271. else
  31272. pTDefRegMap(@Self)^.&set := $00000400;
  31273. end;
  31274. function TUART6_U2BSTA.getUTXEN : TBits_1; inline;
  31275. begin
  31276. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31277. end;
  31278. procedure TUART6_U2BSTA.setUTXBRK; inline;
  31279. begin
  31280. pTDefRegMap(@Self)^.&set := $00000800;
  31281. end;
  31282. procedure TUART6_U2BSTA.clearUTXBRK; inline;
  31283. begin
  31284. pTDefRegMap(@Self)^.clr := $00000800;
  31285. end;
  31286. procedure TUART6_U2BSTA.setUTXBRK(thebits : TBits_1); inline;
  31287. begin
  31288. if thebits = 0 then
  31289. pTDefRegMap(@Self)^.clr := $00000800
  31290. else
  31291. pTDefRegMap(@Self)^.&set := $00000800;
  31292. end;
  31293. function TUART6_U2BSTA.getUTXBRK : TBits_1; inline;
  31294. begin
  31295. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31296. end;
  31297. procedure TUART6_U2BSTA.setURXEN; inline;
  31298. begin
  31299. pTDefRegMap(@Self)^.&set := $00001000;
  31300. end;
  31301. procedure TUART6_U2BSTA.clearURXEN; inline;
  31302. begin
  31303. pTDefRegMap(@Self)^.clr := $00001000;
  31304. end;
  31305. procedure TUART6_U2BSTA.setURXEN(thebits : TBits_1); inline;
  31306. begin
  31307. if thebits = 0 then
  31308. pTDefRegMap(@Self)^.clr := $00001000
  31309. else
  31310. pTDefRegMap(@Self)^.&set := $00001000;
  31311. end;
  31312. function TUART6_U2BSTA.getURXEN : TBits_1; inline;
  31313. begin
  31314. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31315. end;
  31316. procedure TUART6_U2BSTA.setUTXINV; inline;
  31317. begin
  31318. pTDefRegMap(@Self)^.&set := $00002000;
  31319. end;
  31320. procedure TUART6_U2BSTA.clearUTXINV; inline;
  31321. begin
  31322. pTDefRegMap(@Self)^.clr := $00002000;
  31323. end;
  31324. procedure TUART6_U2BSTA.setUTXINV(thebits : TBits_1); inline;
  31325. begin
  31326. if thebits = 0 then
  31327. pTDefRegMap(@Self)^.clr := $00002000
  31328. else
  31329. pTDefRegMap(@Self)^.&set := $00002000;
  31330. end;
  31331. function TUART6_U2BSTA.getUTXINV : TBits_1; inline;
  31332. begin
  31333. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31334. end;
  31335. procedure TUART6_U2BSTA.setUTXISEL(thebits : TBits_2); inline;
  31336. begin
  31337. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31338. end;
  31339. function TUART6_U2BSTA.getUTXISEL : TBits_2; inline;
  31340. begin
  31341. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31342. end;
  31343. procedure TUART6_U2BSTA.setADDR(thebits : TBits_8); inline;
  31344. begin
  31345. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31346. end;
  31347. function TUART6_U2BSTA.getADDR : TBits_8; inline;
  31348. begin
  31349. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31350. end;
  31351. procedure TUART6_U2BSTA.setADM_EN; inline;
  31352. begin
  31353. pTDefRegMap(@Self)^.&set := $01000000;
  31354. end;
  31355. procedure TUART6_U2BSTA.clearADM_EN; inline;
  31356. begin
  31357. pTDefRegMap(@Self)^.clr := $01000000;
  31358. end;
  31359. procedure TUART6_U2BSTA.setADM_EN(thebits : TBits_1); inline;
  31360. begin
  31361. if thebits = 0 then
  31362. pTDefRegMap(@Self)^.clr := $01000000
  31363. else
  31364. pTDefRegMap(@Self)^.&set := $01000000;
  31365. end;
  31366. function TUART6_U2BSTA.getADM_EN : TBits_1; inline;
  31367. begin
  31368. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31369. end;
  31370. procedure TUART6_U2BSTA.setURXISEL0; inline;
  31371. begin
  31372. pTDefRegMap(@Self)^.&set := $00000040;
  31373. end;
  31374. procedure TUART6_U2BSTA.clearURXISEL0; inline;
  31375. begin
  31376. pTDefRegMap(@Self)^.clr := $00000040;
  31377. end;
  31378. procedure TUART6_U2BSTA.setURXISEL0(thebits : TBits_1); inline;
  31379. begin
  31380. if thebits = 0 then
  31381. pTDefRegMap(@Self)^.clr := $00000040
  31382. else
  31383. pTDefRegMap(@Self)^.&set := $00000040;
  31384. end;
  31385. function TUART6_U2BSTA.getURXISEL0 : TBits_1; inline;
  31386. begin
  31387. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31388. end;
  31389. procedure TUART6_U2BSTA.setURXISEL1; inline;
  31390. begin
  31391. pTDefRegMap(@Self)^.&set := $00000080;
  31392. end;
  31393. procedure TUART6_U2BSTA.clearURXISEL1; inline;
  31394. begin
  31395. pTDefRegMap(@Self)^.clr := $00000080;
  31396. end;
  31397. procedure TUART6_U2BSTA.setURXISEL1(thebits : TBits_1); inline;
  31398. begin
  31399. if thebits = 0 then
  31400. pTDefRegMap(@Self)^.clr := $00000080
  31401. else
  31402. pTDefRegMap(@Self)^.&set := $00000080;
  31403. end;
  31404. function TUART6_U2BSTA.getURXISEL1 : TBits_1; inline;
  31405. begin
  31406. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31407. end;
  31408. procedure TUART6_U2BSTA.setUTXISEL0; inline;
  31409. begin
  31410. pTDefRegMap(@Self)^.&set := $00004000;
  31411. end;
  31412. procedure TUART6_U2BSTA.clearUTXISEL0; inline;
  31413. begin
  31414. pTDefRegMap(@Self)^.clr := $00004000;
  31415. end;
  31416. procedure TUART6_U2BSTA.setUTXISEL0(thebits : TBits_1); inline;
  31417. begin
  31418. if thebits = 0 then
  31419. pTDefRegMap(@Self)^.clr := $00004000
  31420. else
  31421. pTDefRegMap(@Self)^.&set := $00004000;
  31422. end;
  31423. function TUART6_U2BSTA.getUTXISEL0 : TBits_1; inline;
  31424. begin
  31425. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31426. end;
  31427. procedure TUART6_U2BSTA.setUTXISEL1; inline;
  31428. begin
  31429. pTDefRegMap(@Self)^.&set := $00008000;
  31430. end;
  31431. procedure TUART6_U2BSTA.clearUTXISEL1; inline;
  31432. begin
  31433. pTDefRegMap(@Self)^.clr := $00008000;
  31434. end;
  31435. procedure TUART6_U2BSTA.setUTXISEL1(thebits : TBits_1); inline;
  31436. begin
  31437. if thebits = 0 then
  31438. pTDefRegMap(@Self)^.clr := $00008000
  31439. else
  31440. pTDefRegMap(@Self)^.&set := $00008000;
  31441. end;
  31442. function TUART6_U2BSTA.getUTXISEL1 : TBits_1; inline;
  31443. begin
  31444. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31445. end;
  31446. procedure TUART6_U2BSTA.setUTXSEL(thebits : TBits_2); inline;
  31447. begin
  31448. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31449. end;
  31450. function TUART6_U2BSTA.getUTXSEL : TBits_2; inline;
  31451. begin
  31452. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31453. end;
  31454. procedure TUART6_U2BSTA.setw(thebits : TBits_32); inline;
  31455. begin
  31456. pTDefRegMap(@Self)^.val := thebits;
  31457. end;
  31458. function TUART6_U2BSTA.getw : TBits_32; inline;
  31459. begin
  31460. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31461. end;
  31462. procedure TUART6_U6STA.setURXDA; inline;
  31463. begin
  31464. pTDefRegMap(@Self)^.&set := $00000001;
  31465. end;
  31466. procedure TUART6_U6STA.clearURXDA; inline;
  31467. begin
  31468. pTDefRegMap(@Self)^.clr := $00000001;
  31469. end;
  31470. procedure TUART6_U6STA.setURXDA(thebits : TBits_1); inline;
  31471. begin
  31472. if thebits = 0 then
  31473. pTDefRegMap(@Self)^.clr := $00000001
  31474. else
  31475. pTDefRegMap(@Self)^.&set := $00000001;
  31476. end;
  31477. function TUART6_U6STA.getURXDA : TBits_1; inline;
  31478. begin
  31479. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31480. end;
  31481. procedure TUART6_U6STA.setOERR; inline;
  31482. begin
  31483. pTDefRegMap(@Self)^.&set := $00000002;
  31484. end;
  31485. procedure TUART6_U6STA.clearOERR; inline;
  31486. begin
  31487. pTDefRegMap(@Self)^.clr := $00000002;
  31488. end;
  31489. procedure TUART6_U6STA.setOERR(thebits : TBits_1); inline;
  31490. begin
  31491. if thebits = 0 then
  31492. pTDefRegMap(@Self)^.clr := $00000002
  31493. else
  31494. pTDefRegMap(@Self)^.&set := $00000002;
  31495. end;
  31496. function TUART6_U6STA.getOERR : TBits_1; inline;
  31497. begin
  31498. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31499. end;
  31500. procedure TUART6_U6STA.setFERR; inline;
  31501. begin
  31502. pTDefRegMap(@Self)^.&set := $00000004;
  31503. end;
  31504. procedure TUART6_U6STA.clearFERR; inline;
  31505. begin
  31506. pTDefRegMap(@Self)^.clr := $00000004;
  31507. end;
  31508. procedure TUART6_U6STA.setFERR(thebits : TBits_1); inline;
  31509. begin
  31510. if thebits = 0 then
  31511. pTDefRegMap(@Self)^.clr := $00000004
  31512. else
  31513. pTDefRegMap(@Self)^.&set := $00000004;
  31514. end;
  31515. function TUART6_U6STA.getFERR : TBits_1; inline;
  31516. begin
  31517. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31518. end;
  31519. procedure TUART6_U6STA.setPERR; inline;
  31520. begin
  31521. pTDefRegMap(@Self)^.&set := $00000008;
  31522. end;
  31523. procedure TUART6_U6STA.clearPERR; inline;
  31524. begin
  31525. pTDefRegMap(@Self)^.clr := $00000008;
  31526. end;
  31527. procedure TUART6_U6STA.setPERR(thebits : TBits_1); inline;
  31528. begin
  31529. if thebits = 0 then
  31530. pTDefRegMap(@Self)^.clr := $00000008
  31531. else
  31532. pTDefRegMap(@Self)^.&set := $00000008;
  31533. end;
  31534. function TUART6_U6STA.getPERR : TBits_1; inline;
  31535. begin
  31536. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31537. end;
  31538. procedure TUART6_U6STA.setRIDLE; inline;
  31539. begin
  31540. pTDefRegMap(@Self)^.&set := $00000010;
  31541. end;
  31542. procedure TUART6_U6STA.clearRIDLE; inline;
  31543. begin
  31544. pTDefRegMap(@Self)^.clr := $00000010;
  31545. end;
  31546. procedure TUART6_U6STA.setRIDLE(thebits : TBits_1); inline;
  31547. begin
  31548. if thebits = 0 then
  31549. pTDefRegMap(@Self)^.clr := $00000010
  31550. else
  31551. pTDefRegMap(@Self)^.&set := $00000010;
  31552. end;
  31553. function TUART6_U6STA.getRIDLE : TBits_1; inline;
  31554. begin
  31555. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31556. end;
  31557. procedure TUART6_U6STA.setADDEN; inline;
  31558. begin
  31559. pTDefRegMap(@Self)^.&set := $00000020;
  31560. end;
  31561. procedure TUART6_U6STA.clearADDEN; inline;
  31562. begin
  31563. pTDefRegMap(@Self)^.clr := $00000020;
  31564. end;
  31565. procedure TUART6_U6STA.setADDEN(thebits : TBits_1); inline;
  31566. begin
  31567. if thebits = 0 then
  31568. pTDefRegMap(@Self)^.clr := $00000020
  31569. else
  31570. pTDefRegMap(@Self)^.&set := $00000020;
  31571. end;
  31572. function TUART6_U6STA.getADDEN : TBits_1; inline;
  31573. begin
  31574. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31575. end;
  31576. procedure TUART6_U6STA.setURXISEL(thebits : TBits_2); inline;
  31577. begin
  31578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31579. end;
  31580. function TUART6_U6STA.getURXISEL : TBits_2; inline;
  31581. begin
  31582. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31583. end;
  31584. procedure TUART6_U6STA.setTRMT; inline;
  31585. begin
  31586. pTDefRegMap(@Self)^.&set := $00000100;
  31587. end;
  31588. procedure TUART6_U6STA.clearTRMT; inline;
  31589. begin
  31590. pTDefRegMap(@Self)^.clr := $00000100;
  31591. end;
  31592. procedure TUART6_U6STA.setTRMT(thebits : TBits_1); inline;
  31593. begin
  31594. if thebits = 0 then
  31595. pTDefRegMap(@Self)^.clr := $00000100
  31596. else
  31597. pTDefRegMap(@Self)^.&set := $00000100;
  31598. end;
  31599. function TUART6_U6STA.getTRMT : TBits_1; inline;
  31600. begin
  31601. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31602. end;
  31603. procedure TUART6_U6STA.setUTXBF; inline;
  31604. begin
  31605. pTDefRegMap(@Self)^.&set := $00000200;
  31606. end;
  31607. procedure TUART6_U6STA.clearUTXBF; inline;
  31608. begin
  31609. pTDefRegMap(@Self)^.clr := $00000200;
  31610. end;
  31611. procedure TUART6_U6STA.setUTXBF(thebits : TBits_1); inline;
  31612. begin
  31613. if thebits = 0 then
  31614. pTDefRegMap(@Self)^.clr := $00000200
  31615. else
  31616. pTDefRegMap(@Self)^.&set := $00000200;
  31617. end;
  31618. function TUART6_U6STA.getUTXBF : TBits_1; inline;
  31619. begin
  31620. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31621. end;
  31622. procedure TUART6_U6STA.setUTXEN; inline;
  31623. begin
  31624. pTDefRegMap(@Self)^.&set := $00000400;
  31625. end;
  31626. procedure TUART6_U6STA.clearUTXEN; inline;
  31627. begin
  31628. pTDefRegMap(@Self)^.clr := $00000400;
  31629. end;
  31630. procedure TUART6_U6STA.setUTXEN(thebits : TBits_1); inline;
  31631. begin
  31632. if thebits = 0 then
  31633. pTDefRegMap(@Self)^.clr := $00000400
  31634. else
  31635. pTDefRegMap(@Self)^.&set := $00000400;
  31636. end;
  31637. function TUART6_U6STA.getUTXEN : TBits_1; inline;
  31638. begin
  31639. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31640. end;
  31641. procedure TUART6_U6STA.setUTXBRK; inline;
  31642. begin
  31643. pTDefRegMap(@Self)^.&set := $00000800;
  31644. end;
  31645. procedure TUART6_U6STA.clearUTXBRK; inline;
  31646. begin
  31647. pTDefRegMap(@Self)^.clr := $00000800;
  31648. end;
  31649. procedure TUART6_U6STA.setUTXBRK(thebits : TBits_1); inline;
  31650. begin
  31651. if thebits = 0 then
  31652. pTDefRegMap(@Self)^.clr := $00000800
  31653. else
  31654. pTDefRegMap(@Self)^.&set := $00000800;
  31655. end;
  31656. function TUART6_U6STA.getUTXBRK : TBits_1; inline;
  31657. begin
  31658. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31659. end;
  31660. procedure TUART6_U6STA.setURXEN; inline;
  31661. begin
  31662. pTDefRegMap(@Self)^.&set := $00001000;
  31663. end;
  31664. procedure TUART6_U6STA.clearURXEN; inline;
  31665. begin
  31666. pTDefRegMap(@Self)^.clr := $00001000;
  31667. end;
  31668. procedure TUART6_U6STA.setURXEN(thebits : TBits_1); inline;
  31669. begin
  31670. if thebits = 0 then
  31671. pTDefRegMap(@Self)^.clr := $00001000
  31672. else
  31673. pTDefRegMap(@Self)^.&set := $00001000;
  31674. end;
  31675. function TUART6_U6STA.getURXEN : TBits_1; inline;
  31676. begin
  31677. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31678. end;
  31679. procedure TUART6_U6STA.setUTXINV; inline;
  31680. begin
  31681. pTDefRegMap(@Self)^.&set := $00002000;
  31682. end;
  31683. procedure TUART6_U6STA.clearUTXINV; inline;
  31684. begin
  31685. pTDefRegMap(@Self)^.clr := $00002000;
  31686. end;
  31687. procedure TUART6_U6STA.setUTXINV(thebits : TBits_1); inline;
  31688. begin
  31689. if thebits = 0 then
  31690. pTDefRegMap(@Self)^.clr := $00002000
  31691. else
  31692. pTDefRegMap(@Self)^.&set := $00002000;
  31693. end;
  31694. function TUART6_U6STA.getUTXINV : TBits_1; inline;
  31695. begin
  31696. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31697. end;
  31698. procedure TUART6_U6STA.setUTXISEL(thebits : TBits_2); inline;
  31699. begin
  31700. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31701. end;
  31702. function TUART6_U6STA.getUTXISEL : TBits_2; inline;
  31703. begin
  31704. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31705. end;
  31706. procedure TUART6_U6STA.setADDR(thebits : TBits_8); inline;
  31707. begin
  31708. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31709. end;
  31710. function TUART6_U6STA.getADDR : TBits_8; inline;
  31711. begin
  31712. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31713. end;
  31714. procedure TUART6_U6STA.setADM_EN; inline;
  31715. begin
  31716. pTDefRegMap(@Self)^.&set := $01000000;
  31717. end;
  31718. procedure TUART6_U6STA.clearADM_EN; inline;
  31719. begin
  31720. pTDefRegMap(@Self)^.clr := $01000000;
  31721. end;
  31722. procedure TUART6_U6STA.setADM_EN(thebits : TBits_1); inline;
  31723. begin
  31724. if thebits = 0 then
  31725. pTDefRegMap(@Self)^.clr := $01000000
  31726. else
  31727. pTDefRegMap(@Self)^.&set := $01000000;
  31728. end;
  31729. function TUART6_U6STA.getADM_EN : TBits_1; inline;
  31730. begin
  31731. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31732. end;
  31733. procedure TUART6_U6STA.setURXISEL0; inline;
  31734. begin
  31735. pTDefRegMap(@Self)^.&set := $00000040;
  31736. end;
  31737. procedure TUART6_U6STA.clearURXISEL0; inline;
  31738. begin
  31739. pTDefRegMap(@Self)^.clr := $00000040;
  31740. end;
  31741. procedure TUART6_U6STA.setURXISEL0(thebits : TBits_1); inline;
  31742. begin
  31743. if thebits = 0 then
  31744. pTDefRegMap(@Self)^.clr := $00000040
  31745. else
  31746. pTDefRegMap(@Self)^.&set := $00000040;
  31747. end;
  31748. function TUART6_U6STA.getURXISEL0 : TBits_1; inline;
  31749. begin
  31750. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31751. end;
  31752. procedure TUART6_U6STA.setURXISEL1; inline;
  31753. begin
  31754. pTDefRegMap(@Self)^.&set := $00000080;
  31755. end;
  31756. procedure TUART6_U6STA.clearURXISEL1; inline;
  31757. begin
  31758. pTDefRegMap(@Self)^.clr := $00000080;
  31759. end;
  31760. procedure TUART6_U6STA.setURXISEL1(thebits : TBits_1); inline;
  31761. begin
  31762. if thebits = 0 then
  31763. pTDefRegMap(@Self)^.clr := $00000080
  31764. else
  31765. pTDefRegMap(@Self)^.&set := $00000080;
  31766. end;
  31767. function TUART6_U6STA.getURXISEL1 : TBits_1; inline;
  31768. begin
  31769. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31770. end;
  31771. procedure TUART6_U6STA.setUTXISEL0; inline;
  31772. begin
  31773. pTDefRegMap(@Self)^.&set := $00004000;
  31774. end;
  31775. procedure TUART6_U6STA.clearUTXISEL0; inline;
  31776. begin
  31777. pTDefRegMap(@Self)^.clr := $00004000;
  31778. end;
  31779. procedure TUART6_U6STA.setUTXISEL0(thebits : TBits_1); inline;
  31780. begin
  31781. if thebits = 0 then
  31782. pTDefRegMap(@Self)^.clr := $00004000
  31783. else
  31784. pTDefRegMap(@Self)^.&set := $00004000;
  31785. end;
  31786. function TUART6_U6STA.getUTXISEL0 : TBits_1; inline;
  31787. begin
  31788. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31789. end;
  31790. procedure TUART6_U6STA.setUTXISEL1; inline;
  31791. begin
  31792. pTDefRegMap(@Self)^.&set := $00008000;
  31793. end;
  31794. procedure TUART6_U6STA.clearUTXISEL1; inline;
  31795. begin
  31796. pTDefRegMap(@Self)^.clr := $00008000;
  31797. end;
  31798. procedure TUART6_U6STA.setUTXISEL1(thebits : TBits_1); inline;
  31799. begin
  31800. if thebits = 0 then
  31801. pTDefRegMap(@Self)^.clr := $00008000
  31802. else
  31803. pTDefRegMap(@Self)^.&set := $00008000;
  31804. end;
  31805. function TUART6_U6STA.getUTXISEL1 : TBits_1; inline;
  31806. begin
  31807. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31808. end;
  31809. procedure TUART6_U6STA.setUTXSEL(thebits : TBits_2); inline;
  31810. begin
  31811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31812. end;
  31813. function TUART6_U6STA.getUTXSEL : TBits_2; inline;
  31814. begin
  31815. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31816. end;
  31817. procedure TUART6_U6STA.setw(thebits : TBits_32); inline;
  31818. begin
  31819. pTDefRegMap(@Self)^.val := thebits;
  31820. end;
  31821. function TUART6_U6STA.getw : TBits_32; inline;
  31822. begin
  31823. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31824. end;
  31825. procedure TUART2_U2MODE.setSTSEL; inline;
  31826. begin
  31827. pTDefRegMap(@Self)^.&set := $00000001;
  31828. end;
  31829. procedure TUART2_U2MODE.clearSTSEL; inline;
  31830. begin
  31831. pTDefRegMap(@Self)^.clr := $00000001;
  31832. end;
  31833. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  31834. begin
  31835. if thebits = 0 then
  31836. pTDefRegMap(@Self)^.clr := $00000001
  31837. else
  31838. pTDefRegMap(@Self)^.&set := $00000001;
  31839. end;
  31840. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  31841. begin
  31842. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31843. end;
  31844. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  31845. begin
  31846. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31847. end;
  31848. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  31849. begin
  31850. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31851. end;
  31852. procedure TUART2_U2MODE.setBRGH; inline;
  31853. begin
  31854. pTDefRegMap(@Self)^.&set := $00000008;
  31855. end;
  31856. procedure TUART2_U2MODE.clearBRGH; inline;
  31857. begin
  31858. pTDefRegMap(@Self)^.clr := $00000008;
  31859. end;
  31860. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  31861. begin
  31862. if thebits = 0 then
  31863. pTDefRegMap(@Self)^.clr := $00000008
  31864. else
  31865. pTDefRegMap(@Self)^.&set := $00000008;
  31866. end;
  31867. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  31868. begin
  31869. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31870. end;
  31871. procedure TUART2_U2MODE.setRXINV; inline;
  31872. begin
  31873. pTDefRegMap(@Self)^.&set := $00000010;
  31874. end;
  31875. procedure TUART2_U2MODE.clearRXINV; inline;
  31876. begin
  31877. pTDefRegMap(@Self)^.clr := $00000010;
  31878. end;
  31879. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  31880. begin
  31881. if thebits = 0 then
  31882. pTDefRegMap(@Self)^.clr := $00000010
  31883. else
  31884. pTDefRegMap(@Self)^.&set := $00000010;
  31885. end;
  31886. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  31887. begin
  31888. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31889. end;
  31890. procedure TUART2_U2MODE.setABAUD; inline;
  31891. begin
  31892. pTDefRegMap(@Self)^.&set := $00000020;
  31893. end;
  31894. procedure TUART2_U2MODE.clearABAUD; inline;
  31895. begin
  31896. pTDefRegMap(@Self)^.clr := $00000020;
  31897. end;
  31898. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  31899. begin
  31900. if thebits = 0 then
  31901. pTDefRegMap(@Self)^.clr := $00000020
  31902. else
  31903. pTDefRegMap(@Self)^.&set := $00000020;
  31904. end;
  31905. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  31906. begin
  31907. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31908. end;
  31909. procedure TUART2_U2MODE.setLPBACK; inline;
  31910. begin
  31911. pTDefRegMap(@Self)^.&set := $00000040;
  31912. end;
  31913. procedure TUART2_U2MODE.clearLPBACK; inline;
  31914. begin
  31915. pTDefRegMap(@Self)^.clr := $00000040;
  31916. end;
  31917. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  31918. begin
  31919. if thebits = 0 then
  31920. pTDefRegMap(@Self)^.clr := $00000040
  31921. else
  31922. pTDefRegMap(@Self)^.&set := $00000040;
  31923. end;
  31924. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  31925. begin
  31926. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31927. end;
  31928. procedure TUART2_U2MODE.setWAKE; inline;
  31929. begin
  31930. pTDefRegMap(@Self)^.&set := $00000080;
  31931. end;
  31932. procedure TUART2_U2MODE.clearWAKE; inline;
  31933. begin
  31934. pTDefRegMap(@Self)^.clr := $00000080;
  31935. end;
  31936. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  31937. begin
  31938. if thebits = 0 then
  31939. pTDefRegMap(@Self)^.clr := $00000080
  31940. else
  31941. pTDefRegMap(@Self)^.&set := $00000080;
  31942. end;
  31943. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  31944. begin
  31945. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31946. end;
  31947. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  31948. begin
  31949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  31950. end;
  31951. function TUART2_U2MODE.getUEN : TBits_2; inline;
  31952. begin
  31953. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  31954. end;
  31955. procedure TUART2_U2MODE.setRTSMD; inline;
  31956. begin
  31957. pTDefRegMap(@Self)^.&set := $00000800;
  31958. end;
  31959. procedure TUART2_U2MODE.clearRTSMD; inline;
  31960. begin
  31961. pTDefRegMap(@Self)^.clr := $00000800;
  31962. end;
  31963. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  31964. begin
  31965. if thebits = 0 then
  31966. pTDefRegMap(@Self)^.clr := $00000800
  31967. else
  31968. pTDefRegMap(@Self)^.&set := $00000800;
  31969. end;
  31970. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  31971. begin
  31972. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31973. end;
  31974. procedure TUART2_U2MODE.setIREN; inline;
  31975. begin
  31976. pTDefRegMap(@Self)^.&set := $00001000;
  31977. end;
  31978. procedure TUART2_U2MODE.clearIREN; inline;
  31979. begin
  31980. pTDefRegMap(@Self)^.clr := $00001000;
  31981. end;
  31982. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  31983. begin
  31984. if thebits = 0 then
  31985. pTDefRegMap(@Self)^.clr := $00001000
  31986. else
  31987. pTDefRegMap(@Self)^.&set := $00001000;
  31988. end;
  31989. function TUART2_U2MODE.getIREN : TBits_1; inline;
  31990. begin
  31991. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31992. end;
  31993. procedure TUART2_U2MODE.setSIDL; inline;
  31994. begin
  31995. pTDefRegMap(@Self)^.&set := $00002000;
  31996. end;
  31997. procedure TUART2_U2MODE.clearSIDL; inline;
  31998. begin
  31999. pTDefRegMap(@Self)^.clr := $00002000;
  32000. end;
  32001. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  32002. begin
  32003. if thebits = 0 then
  32004. pTDefRegMap(@Self)^.clr := $00002000
  32005. else
  32006. pTDefRegMap(@Self)^.&set := $00002000;
  32007. end;
  32008. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  32009. begin
  32010. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32011. end;
  32012. procedure TUART2_U2MODE.setON; inline;
  32013. begin
  32014. pTDefRegMap(@Self)^.&set := $00008000;
  32015. end;
  32016. procedure TUART2_U2MODE.clearON; inline;
  32017. begin
  32018. pTDefRegMap(@Self)^.clr := $00008000;
  32019. end;
  32020. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  32021. begin
  32022. if thebits = 0 then
  32023. pTDefRegMap(@Self)^.clr := $00008000
  32024. else
  32025. pTDefRegMap(@Self)^.&set := $00008000;
  32026. end;
  32027. function TUART2_U2MODE.getON : TBits_1; inline;
  32028. begin
  32029. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32030. end;
  32031. procedure TUART2_U2MODE.setPDSEL0; inline;
  32032. begin
  32033. pTDefRegMap(@Self)^.&set := $00000002;
  32034. end;
  32035. procedure TUART2_U2MODE.clearPDSEL0; inline;
  32036. begin
  32037. pTDefRegMap(@Self)^.clr := $00000002;
  32038. end;
  32039. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  32040. begin
  32041. if thebits = 0 then
  32042. pTDefRegMap(@Self)^.clr := $00000002
  32043. else
  32044. pTDefRegMap(@Self)^.&set := $00000002;
  32045. end;
  32046. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  32047. begin
  32048. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32049. end;
  32050. procedure TUART2_U2MODE.setPDSEL1; inline;
  32051. begin
  32052. pTDefRegMap(@Self)^.&set := $00000004;
  32053. end;
  32054. procedure TUART2_U2MODE.clearPDSEL1; inline;
  32055. begin
  32056. pTDefRegMap(@Self)^.clr := $00000004;
  32057. end;
  32058. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  32059. begin
  32060. if thebits = 0 then
  32061. pTDefRegMap(@Self)^.clr := $00000004
  32062. else
  32063. pTDefRegMap(@Self)^.&set := $00000004;
  32064. end;
  32065. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  32066. begin
  32067. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32068. end;
  32069. procedure TUART2_U2MODE.setUEN0; inline;
  32070. begin
  32071. pTDefRegMap(@Self)^.&set := $00000100;
  32072. end;
  32073. procedure TUART2_U2MODE.clearUEN0; inline;
  32074. begin
  32075. pTDefRegMap(@Self)^.clr := $00000100;
  32076. end;
  32077. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  32078. begin
  32079. if thebits = 0 then
  32080. pTDefRegMap(@Self)^.clr := $00000100
  32081. else
  32082. pTDefRegMap(@Self)^.&set := $00000100;
  32083. end;
  32084. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  32085. begin
  32086. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32087. end;
  32088. procedure TUART2_U2MODE.setUEN1; inline;
  32089. begin
  32090. pTDefRegMap(@Self)^.&set := $00000200;
  32091. end;
  32092. procedure TUART2_U2MODE.clearUEN1; inline;
  32093. begin
  32094. pTDefRegMap(@Self)^.clr := $00000200;
  32095. end;
  32096. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  32097. begin
  32098. if thebits = 0 then
  32099. pTDefRegMap(@Self)^.clr := $00000200
  32100. else
  32101. pTDefRegMap(@Self)^.&set := $00000200;
  32102. end;
  32103. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  32104. begin
  32105. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32106. end;
  32107. procedure TUART2_U2MODE.setUSIDL; inline;
  32108. begin
  32109. pTDefRegMap(@Self)^.&set := $00002000;
  32110. end;
  32111. procedure TUART2_U2MODE.clearUSIDL; inline;
  32112. begin
  32113. pTDefRegMap(@Self)^.clr := $00002000;
  32114. end;
  32115. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  32116. begin
  32117. if thebits = 0 then
  32118. pTDefRegMap(@Self)^.clr := $00002000
  32119. else
  32120. pTDefRegMap(@Self)^.&set := $00002000;
  32121. end;
  32122. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  32123. begin
  32124. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32125. end;
  32126. procedure TUART2_U2MODE.setUARTEN; inline;
  32127. begin
  32128. pTDefRegMap(@Self)^.&set := $00008000;
  32129. end;
  32130. procedure TUART2_U2MODE.clearUARTEN; inline;
  32131. begin
  32132. pTDefRegMap(@Self)^.clr := $00008000;
  32133. end;
  32134. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  32135. begin
  32136. if thebits = 0 then
  32137. pTDefRegMap(@Self)^.clr := $00008000
  32138. else
  32139. pTDefRegMap(@Self)^.&set := $00008000;
  32140. end;
  32141. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  32142. begin
  32143. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32144. end;
  32145. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  32146. begin
  32147. pTDefRegMap(@Self)^.val := thebits;
  32148. end;
  32149. function TUART2_U2MODE.getw : TBits_32; inline;
  32150. begin
  32151. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32152. end;
  32153. procedure TUART2_U3AMODE.setSTSEL; inline;
  32154. begin
  32155. pTDefRegMap(@Self)^.&set := $00000001;
  32156. end;
  32157. procedure TUART2_U3AMODE.clearSTSEL; inline;
  32158. begin
  32159. pTDefRegMap(@Self)^.clr := $00000001;
  32160. end;
  32161. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  32162. begin
  32163. if thebits = 0 then
  32164. pTDefRegMap(@Self)^.clr := $00000001
  32165. else
  32166. pTDefRegMap(@Self)^.&set := $00000001;
  32167. end;
  32168. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  32169. begin
  32170. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32171. end;
  32172. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  32173. begin
  32174. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  32175. end;
  32176. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  32177. begin
  32178. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  32179. end;
  32180. procedure TUART2_U3AMODE.setBRGH; inline;
  32181. begin
  32182. pTDefRegMap(@Self)^.&set := $00000008;
  32183. end;
  32184. procedure TUART2_U3AMODE.clearBRGH; inline;
  32185. begin
  32186. pTDefRegMap(@Self)^.clr := $00000008;
  32187. end;
  32188. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  32189. begin
  32190. if thebits = 0 then
  32191. pTDefRegMap(@Self)^.clr := $00000008
  32192. else
  32193. pTDefRegMap(@Self)^.&set := $00000008;
  32194. end;
  32195. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  32196. begin
  32197. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32198. end;
  32199. procedure TUART2_U3AMODE.setRXINV; inline;
  32200. begin
  32201. pTDefRegMap(@Self)^.&set := $00000010;
  32202. end;
  32203. procedure TUART2_U3AMODE.clearRXINV; inline;
  32204. begin
  32205. pTDefRegMap(@Self)^.clr := $00000010;
  32206. end;
  32207. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  32208. begin
  32209. if thebits = 0 then
  32210. pTDefRegMap(@Self)^.clr := $00000010
  32211. else
  32212. pTDefRegMap(@Self)^.&set := $00000010;
  32213. end;
  32214. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  32215. begin
  32216. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32217. end;
  32218. procedure TUART2_U3AMODE.setABAUD; inline;
  32219. begin
  32220. pTDefRegMap(@Self)^.&set := $00000020;
  32221. end;
  32222. procedure TUART2_U3AMODE.clearABAUD; inline;
  32223. begin
  32224. pTDefRegMap(@Self)^.clr := $00000020;
  32225. end;
  32226. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  32227. begin
  32228. if thebits = 0 then
  32229. pTDefRegMap(@Self)^.clr := $00000020
  32230. else
  32231. pTDefRegMap(@Self)^.&set := $00000020;
  32232. end;
  32233. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  32234. begin
  32235. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32236. end;
  32237. procedure TUART2_U3AMODE.setLPBACK; inline;
  32238. begin
  32239. pTDefRegMap(@Self)^.&set := $00000040;
  32240. end;
  32241. procedure TUART2_U3AMODE.clearLPBACK; inline;
  32242. begin
  32243. pTDefRegMap(@Self)^.clr := $00000040;
  32244. end;
  32245. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  32246. begin
  32247. if thebits = 0 then
  32248. pTDefRegMap(@Self)^.clr := $00000040
  32249. else
  32250. pTDefRegMap(@Self)^.&set := $00000040;
  32251. end;
  32252. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  32253. begin
  32254. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32255. end;
  32256. procedure TUART2_U3AMODE.setWAKE; inline;
  32257. begin
  32258. pTDefRegMap(@Self)^.&set := $00000080;
  32259. end;
  32260. procedure TUART2_U3AMODE.clearWAKE; inline;
  32261. begin
  32262. pTDefRegMap(@Self)^.clr := $00000080;
  32263. end;
  32264. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  32265. begin
  32266. if thebits = 0 then
  32267. pTDefRegMap(@Self)^.clr := $00000080
  32268. else
  32269. pTDefRegMap(@Self)^.&set := $00000080;
  32270. end;
  32271. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  32272. begin
  32273. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32274. end;
  32275. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  32276. begin
  32277. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  32278. end;
  32279. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  32280. begin
  32281. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  32282. end;
  32283. procedure TUART2_U3AMODE.setRTSMD; inline;
  32284. begin
  32285. pTDefRegMap(@Self)^.&set := $00000800;
  32286. end;
  32287. procedure TUART2_U3AMODE.clearRTSMD; inline;
  32288. begin
  32289. pTDefRegMap(@Self)^.clr := $00000800;
  32290. end;
  32291. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  32292. begin
  32293. if thebits = 0 then
  32294. pTDefRegMap(@Self)^.clr := $00000800
  32295. else
  32296. pTDefRegMap(@Self)^.&set := $00000800;
  32297. end;
  32298. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  32299. begin
  32300. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32301. end;
  32302. procedure TUART2_U3AMODE.setIREN; inline;
  32303. begin
  32304. pTDefRegMap(@Self)^.&set := $00001000;
  32305. end;
  32306. procedure TUART2_U3AMODE.clearIREN; inline;
  32307. begin
  32308. pTDefRegMap(@Self)^.clr := $00001000;
  32309. end;
  32310. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  32311. begin
  32312. if thebits = 0 then
  32313. pTDefRegMap(@Self)^.clr := $00001000
  32314. else
  32315. pTDefRegMap(@Self)^.&set := $00001000;
  32316. end;
  32317. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  32318. begin
  32319. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32320. end;
  32321. procedure TUART2_U3AMODE.setSIDL; inline;
  32322. begin
  32323. pTDefRegMap(@Self)^.&set := $00002000;
  32324. end;
  32325. procedure TUART2_U3AMODE.clearSIDL; inline;
  32326. begin
  32327. pTDefRegMap(@Self)^.clr := $00002000;
  32328. end;
  32329. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  32330. begin
  32331. if thebits = 0 then
  32332. pTDefRegMap(@Self)^.clr := $00002000
  32333. else
  32334. pTDefRegMap(@Self)^.&set := $00002000;
  32335. end;
  32336. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  32337. begin
  32338. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32339. end;
  32340. procedure TUART2_U3AMODE.setON; inline;
  32341. begin
  32342. pTDefRegMap(@Self)^.&set := $00008000;
  32343. end;
  32344. procedure TUART2_U3AMODE.clearON; inline;
  32345. begin
  32346. pTDefRegMap(@Self)^.clr := $00008000;
  32347. end;
  32348. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  32349. begin
  32350. if thebits = 0 then
  32351. pTDefRegMap(@Self)^.clr := $00008000
  32352. else
  32353. pTDefRegMap(@Self)^.&set := $00008000;
  32354. end;
  32355. function TUART2_U3AMODE.getON : TBits_1; inline;
  32356. begin
  32357. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32358. end;
  32359. procedure TUART2_U3AMODE.setPDSEL0; inline;
  32360. begin
  32361. pTDefRegMap(@Self)^.&set := $00000002;
  32362. end;
  32363. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  32364. begin
  32365. pTDefRegMap(@Self)^.clr := $00000002;
  32366. end;
  32367. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  32368. begin
  32369. if thebits = 0 then
  32370. pTDefRegMap(@Self)^.clr := $00000002
  32371. else
  32372. pTDefRegMap(@Self)^.&set := $00000002;
  32373. end;
  32374. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  32375. begin
  32376. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32377. end;
  32378. procedure TUART2_U3AMODE.setPDSEL1; inline;
  32379. begin
  32380. pTDefRegMap(@Self)^.&set := $00000004;
  32381. end;
  32382. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  32383. begin
  32384. pTDefRegMap(@Self)^.clr := $00000004;
  32385. end;
  32386. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  32387. begin
  32388. if thebits = 0 then
  32389. pTDefRegMap(@Self)^.clr := $00000004
  32390. else
  32391. pTDefRegMap(@Self)^.&set := $00000004;
  32392. end;
  32393. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  32394. begin
  32395. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32396. end;
  32397. procedure TUART2_U3AMODE.setUEN0; inline;
  32398. begin
  32399. pTDefRegMap(@Self)^.&set := $00000100;
  32400. end;
  32401. procedure TUART2_U3AMODE.clearUEN0; inline;
  32402. begin
  32403. pTDefRegMap(@Self)^.clr := $00000100;
  32404. end;
  32405. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  32406. begin
  32407. if thebits = 0 then
  32408. pTDefRegMap(@Self)^.clr := $00000100
  32409. else
  32410. pTDefRegMap(@Self)^.&set := $00000100;
  32411. end;
  32412. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  32413. begin
  32414. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32415. end;
  32416. procedure TUART2_U3AMODE.setUEN1; inline;
  32417. begin
  32418. pTDefRegMap(@Self)^.&set := $00000200;
  32419. end;
  32420. procedure TUART2_U3AMODE.clearUEN1; inline;
  32421. begin
  32422. pTDefRegMap(@Self)^.clr := $00000200;
  32423. end;
  32424. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  32425. begin
  32426. if thebits = 0 then
  32427. pTDefRegMap(@Self)^.clr := $00000200
  32428. else
  32429. pTDefRegMap(@Self)^.&set := $00000200;
  32430. end;
  32431. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  32432. begin
  32433. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32434. end;
  32435. procedure TUART2_U3AMODE.setUSIDL; inline;
  32436. begin
  32437. pTDefRegMap(@Self)^.&set := $00002000;
  32438. end;
  32439. procedure TUART2_U3AMODE.clearUSIDL; inline;
  32440. begin
  32441. pTDefRegMap(@Self)^.clr := $00002000;
  32442. end;
  32443. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  32444. begin
  32445. if thebits = 0 then
  32446. pTDefRegMap(@Self)^.clr := $00002000
  32447. else
  32448. pTDefRegMap(@Self)^.&set := $00002000;
  32449. end;
  32450. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  32451. begin
  32452. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32453. end;
  32454. procedure TUART2_U3AMODE.setUARTEN; inline;
  32455. begin
  32456. pTDefRegMap(@Self)^.&set := $00008000;
  32457. end;
  32458. procedure TUART2_U3AMODE.clearUARTEN; inline;
  32459. begin
  32460. pTDefRegMap(@Self)^.clr := $00008000;
  32461. end;
  32462. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  32463. begin
  32464. if thebits = 0 then
  32465. pTDefRegMap(@Self)^.clr := $00008000
  32466. else
  32467. pTDefRegMap(@Self)^.&set := $00008000;
  32468. end;
  32469. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  32470. begin
  32471. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32472. end;
  32473. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  32474. begin
  32475. pTDefRegMap(@Self)^.val := thebits;
  32476. end;
  32477. function TUART2_U3AMODE.getw : TBits_32; inline;
  32478. begin
  32479. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32480. end;
  32481. procedure TUART2_U2STA.setURXDA; inline;
  32482. begin
  32483. pTDefRegMap(@Self)^.&set := $00000001;
  32484. end;
  32485. procedure TUART2_U2STA.clearURXDA; inline;
  32486. begin
  32487. pTDefRegMap(@Self)^.clr := $00000001;
  32488. end;
  32489. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  32490. begin
  32491. if thebits = 0 then
  32492. pTDefRegMap(@Self)^.clr := $00000001
  32493. else
  32494. pTDefRegMap(@Self)^.&set := $00000001;
  32495. end;
  32496. function TUART2_U2STA.getURXDA : TBits_1; inline;
  32497. begin
  32498. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32499. end;
  32500. procedure TUART2_U2STA.setOERR; inline;
  32501. begin
  32502. pTDefRegMap(@Self)^.&set := $00000002;
  32503. end;
  32504. procedure TUART2_U2STA.clearOERR; inline;
  32505. begin
  32506. pTDefRegMap(@Self)^.clr := $00000002;
  32507. end;
  32508. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  32509. begin
  32510. if thebits = 0 then
  32511. pTDefRegMap(@Self)^.clr := $00000002
  32512. else
  32513. pTDefRegMap(@Self)^.&set := $00000002;
  32514. end;
  32515. function TUART2_U2STA.getOERR : TBits_1; inline;
  32516. begin
  32517. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32518. end;
  32519. procedure TUART2_U2STA.setFERR; inline;
  32520. begin
  32521. pTDefRegMap(@Self)^.&set := $00000004;
  32522. end;
  32523. procedure TUART2_U2STA.clearFERR; inline;
  32524. begin
  32525. pTDefRegMap(@Self)^.clr := $00000004;
  32526. end;
  32527. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  32528. begin
  32529. if thebits = 0 then
  32530. pTDefRegMap(@Self)^.clr := $00000004
  32531. else
  32532. pTDefRegMap(@Self)^.&set := $00000004;
  32533. end;
  32534. function TUART2_U2STA.getFERR : TBits_1; inline;
  32535. begin
  32536. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32537. end;
  32538. procedure TUART2_U2STA.setPERR; inline;
  32539. begin
  32540. pTDefRegMap(@Self)^.&set := $00000008;
  32541. end;
  32542. procedure TUART2_U2STA.clearPERR; inline;
  32543. begin
  32544. pTDefRegMap(@Self)^.clr := $00000008;
  32545. end;
  32546. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  32547. begin
  32548. if thebits = 0 then
  32549. pTDefRegMap(@Self)^.clr := $00000008
  32550. else
  32551. pTDefRegMap(@Self)^.&set := $00000008;
  32552. end;
  32553. function TUART2_U2STA.getPERR : TBits_1; inline;
  32554. begin
  32555. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32556. end;
  32557. procedure TUART2_U2STA.setRIDLE; inline;
  32558. begin
  32559. pTDefRegMap(@Self)^.&set := $00000010;
  32560. end;
  32561. procedure TUART2_U2STA.clearRIDLE; inline;
  32562. begin
  32563. pTDefRegMap(@Self)^.clr := $00000010;
  32564. end;
  32565. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  32566. begin
  32567. if thebits = 0 then
  32568. pTDefRegMap(@Self)^.clr := $00000010
  32569. else
  32570. pTDefRegMap(@Self)^.&set := $00000010;
  32571. end;
  32572. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  32573. begin
  32574. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32575. end;
  32576. procedure TUART2_U2STA.setADDEN; inline;
  32577. begin
  32578. pTDefRegMap(@Self)^.&set := $00000020;
  32579. end;
  32580. procedure TUART2_U2STA.clearADDEN; inline;
  32581. begin
  32582. pTDefRegMap(@Self)^.clr := $00000020;
  32583. end;
  32584. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  32585. begin
  32586. if thebits = 0 then
  32587. pTDefRegMap(@Self)^.clr := $00000020
  32588. else
  32589. pTDefRegMap(@Self)^.&set := $00000020;
  32590. end;
  32591. function TUART2_U2STA.getADDEN : TBits_1; inline;
  32592. begin
  32593. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32594. end;
  32595. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  32596. begin
  32597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32598. end;
  32599. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  32600. begin
  32601. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32602. end;
  32603. procedure TUART2_U2STA.setTRMT; inline;
  32604. begin
  32605. pTDefRegMap(@Self)^.&set := $00000100;
  32606. end;
  32607. procedure TUART2_U2STA.clearTRMT; inline;
  32608. begin
  32609. pTDefRegMap(@Self)^.clr := $00000100;
  32610. end;
  32611. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  32612. begin
  32613. if thebits = 0 then
  32614. pTDefRegMap(@Self)^.clr := $00000100
  32615. else
  32616. pTDefRegMap(@Self)^.&set := $00000100;
  32617. end;
  32618. function TUART2_U2STA.getTRMT : TBits_1; inline;
  32619. begin
  32620. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32621. end;
  32622. procedure TUART2_U2STA.setUTXBF; inline;
  32623. begin
  32624. pTDefRegMap(@Self)^.&set := $00000200;
  32625. end;
  32626. procedure TUART2_U2STA.clearUTXBF; inline;
  32627. begin
  32628. pTDefRegMap(@Self)^.clr := $00000200;
  32629. end;
  32630. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  32631. begin
  32632. if thebits = 0 then
  32633. pTDefRegMap(@Self)^.clr := $00000200
  32634. else
  32635. pTDefRegMap(@Self)^.&set := $00000200;
  32636. end;
  32637. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  32638. begin
  32639. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32640. end;
  32641. procedure TUART2_U2STA.setUTXEN; inline;
  32642. begin
  32643. pTDefRegMap(@Self)^.&set := $00000400;
  32644. end;
  32645. procedure TUART2_U2STA.clearUTXEN; inline;
  32646. begin
  32647. pTDefRegMap(@Self)^.clr := $00000400;
  32648. end;
  32649. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  32650. begin
  32651. if thebits = 0 then
  32652. pTDefRegMap(@Self)^.clr := $00000400
  32653. else
  32654. pTDefRegMap(@Self)^.&set := $00000400;
  32655. end;
  32656. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  32657. begin
  32658. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32659. end;
  32660. procedure TUART2_U2STA.setUTXBRK; inline;
  32661. begin
  32662. pTDefRegMap(@Self)^.&set := $00000800;
  32663. end;
  32664. procedure TUART2_U2STA.clearUTXBRK; inline;
  32665. begin
  32666. pTDefRegMap(@Self)^.clr := $00000800;
  32667. end;
  32668. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  32669. begin
  32670. if thebits = 0 then
  32671. pTDefRegMap(@Self)^.clr := $00000800
  32672. else
  32673. pTDefRegMap(@Self)^.&set := $00000800;
  32674. end;
  32675. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  32676. begin
  32677. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32678. end;
  32679. procedure TUART2_U2STA.setURXEN; inline;
  32680. begin
  32681. pTDefRegMap(@Self)^.&set := $00001000;
  32682. end;
  32683. procedure TUART2_U2STA.clearURXEN; inline;
  32684. begin
  32685. pTDefRegMap(@Self)^.clr := $00001000;
  32686. end;
  32687. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  32688. begin
  32689. if thebits = 0 then
  32690. pTDefRegMap(@Self)^.clr := $00001000
  32691. else
  32692. pTDefRegMap(@Self)^.&set := $00001000;
  32693. end;
  32694. function TUART2_U2STA.getURXEN : TBits_1; inline;
  32695. begin
  32696. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32697. end;
  32698. procedure TUART2_U2STA.setUTXINV; inline;
  32699. begin
  32700. pTDefRegMap(@Self)^.&set := $00002000;
  32701. end;
  32702. procedure TUART2_U2STA.clearUTXINV; inline;
  32703. begin
  32704. pTDefRegMap(@Self)^.clr := $00002000;
  32705. end;
  32706. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  32707. begin
  32708. if thebits = 0 then
  32709. pTDefRegMap(@Self)^.clr := $00002000
  32710. else
  32711. pTDefRegMap(@Self)^.&set := $00002000;
  32712. end;
  32713. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  32714. begin
  32715. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32716. end;
  32717. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  32718. begin
  32719. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32720. end;
  32721. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  32722. begin
  32723. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32724. end;
  32725. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  32726. begin
  32727. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32728. end;
  32729. function TUART2_U2STA.getADDR : TBits_8; inline;
  32730. begin
  32731. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32732. end;
  32733. procedure TUART2_U2STA.setADM_EN; inline;
  32734. begin
  32735. pTDefRegMap(@Self)^.&set := $01000000;
  32736. end;
  32737. procedure TUART2_U2STA.clearADM_EN; inline;
  32738. begin
  32739. pTDefRegMap(@Self)^.clr := $01000000;
  32740. end;
  32741. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  32742. begin
  32743. if thebits = 0 then
  32744. pTDefRegMap(@Self)^.clr := $01000000
  32745. else
  32746. pTDefRegMap(@Self)^.&set := $01000000;
  32747. end;
  32748. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  32749. begin
  32750. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32751. end;
  32752. procedure TUART2_U2STA.setURXISEL0; inline;
  32753. begin
  32754. pTDefRegMap(@Self)^.&set := $00000040;
  32755. end;
  32756. procedure TUART2_U2STA.clearURXISEL0; inline;
  32757. begin
  32758. pTDefRegMap(@Self)^.clr := $00000040;
  32759. end;
  32760. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  32761. begin
  32762. if thebits = 0 then
  32763. pTDefRegMap(@Self)^.clr := $00000040
  32764. else
  32765. pTDefRegMap(@Self)^.&set := $00000040;
  32766. end;
  32767. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  32768. begin
  32769. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32770. end;
  32771. procedure TUART2_U2STA.setURXISEL1; inline;
  32772. begin
  32773. pTDefRegMap(@Self)^.&set := $00000080;
  32774. end;
  32775. procedure TUART2_U2STA.clearURXISEL1; inline;
  32776. begin
  32777. pTDefRegMap(@Self)^.clr := $00000080;
  32778. end;
  32779. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  32780. begin
  32781. if thebits = 0 then
  32782. pTDefRegMap(@Self)^.clr := $00000080
  32783. else
  32784. pTDefRegMap(@Self)^.&set := $00000080;
  32785. end;
  32786. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  32787. begin
  32788. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32789. end;
  32790. procedure TUART2_U2STA.setUTXISEL0; inline;
  32791. begin
  32792. pTDefRegMap(@Self)^.&set := $00004000;
  32793. end;
  32794. procedure TUART2_U2STA.clearUTXISEL0; inline;
  32795. begin
  32796. pTDefRegMap(@Self)^.clr := $00004000;
  32797. end;
  32798. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  32799. begin
  32800. if thebits = 0 then
  32801. pTDefRegMap(@Self)^.clr := $00004000
  32802. else
  32803. pTDefRegMap(@Self)^.&set := $00004000;
  32804. end;
  32805. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  32806. begin
  32807. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32808. end;
  32809. procedure TUART2_U2STA.setUTXISEL1; inline;
  32810. begin
  32811. pTDefRegMap(@Self)^.&set := $00008000;
  32812. end;
  32813. procedure TUART2_U2STA.clearUTXISEL1; inline;
  32814. begin
  32815. pTDefRegMap(@Self)^.clr := $00008000;
  32816. end;
  32817. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  32818. begin
  32819. if thebits = 0 then
  32820. pTDefRegMap(@Self)^.clr := $00008000
  32821. else
  32822. pTDefRegMap(@Self)^.&set := $00008000;
  32823. end;
  32824. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  32825. begin
  32826. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32827. end;
  32828. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  32829. begin
  32830. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32831. end;
  32832. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  32833. begin
  32834. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32835. end;
  32836. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  32837. begin
  32838. pTDefRegMap(@Self)^.val := thebits;
  32839. end;
  32840. function TUART2_U2STA.getw : TBits_32; inline;
  32841. begin
  32842. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32843. end;
  32844. procedure TUART2_U3ASTA.setURXDA; inline;
  32845. begin
  32846. pTDefRegMap(@Self)^.&set := $00000001;
  32847. end;
  32848. procedure TUART2_U3ASTA.clearURXDA; inline;
  32849. begin
  32850. pTDefRegMap(@Self)^.clr := $00000001;
  32851. end;
  32852. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  32853. begin
  32854. if thebits = 0 then
  32855. pTDefRegMap(@Self)^.clr := $00000001
  32856. else
  32857. pTDefRegMap(@Self)^.&set := $00000001;
  32858. end;
  32859. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  32860. begin
  32861. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32862. end;
  32863. procedure TUART2_U3ASTA.setOERR; inline;
  32864. begin
  32865. pTDefRegMap(@Self)^.&set := $00000002;
  32866. end;
  32867. procedure TUART2_U3ASTA.clearOERR; inline;
  32868. begin
  32869. pTDefRegMap(@Self)^.clr := $00000002;
  32870. end;
  32871. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  32872. begin
  32873. if thebits = 0 then
  32874. pTDefRegMap(@Self)^.clr := $00000002
  32875. else
  32876. pTDefRegMap(@Self)^.&set := $00000002;
  32877. end;
  32878. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  32879. begin
  32880. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32881. end;
  32882. procedure TUART2_U3ASTA.setFERR; inline;
  32883. begin
  32884. pTDefRegMap(@Self)^.&set := $00000004;
  32885. end;
  32886. procedure TUART2_U3ASTA.clearFERR; inline;
  32887. begin
  32888. pTDefRegMap(@Self)^.clr := $00000004;
  32889. end;
  32890. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  32891. begin
  32892. if thebits = 0 then
  32893. pTDefRegMap(@Self)^.clr := $00000004
  32894. else
  32895. pTDefRegMap(@Self)^.&set := $00000004;
  32896. end;
  32897. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  32898. begin
  32899. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32900. end;
  32901. procedure TUART2_U3ASTA.setPERR; inline;
  32902. begin
  32903. pTDefRegMap(@Self)^.&set := $00000008;
  32904. end;
  32905. procedure TUART2_U3ASTA.clearPERR; inline;
  32906. begin
  32907. pTDefRegMap(@Self)^.clr := $00000008;
  32908. end;
  32909. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  32910. begin
  32911. if thebits = 0 then
  32912. pTDefRegMap(@Self)^.clr := $00000008
  32913. else
  32914. pTDefRegMap(@Self)^.&set := $00000008;
  32915. end;
  32916. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  32917. begin
  32918. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32919. end;
  32920. procedure TUART2_U3ASTA.setRIDLE; inline;
  32921. begin
  32922. pTDefRegMap(@Self)^.&set := $00000010;
  32923. end;
  32924. procedure TUART2_U3ASTA.clearRIDLE; inline;
  32925. begin
  32926. pTDefRegMap(@Self)^.clr := $00000010;
  32927. end;
  32928. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  32929. begin
  32930. if thebits = 0 then
  32931. pTDefRegMap(@Self)^.clr := $00000010
  32932. else
  32933. pTDefRegMap(@Self)^.&set := $00000010;
  32934. end;
  32935. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  32936. begin
  32937. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32938. end;
  32939. procedure TUART2_U3ASTA.setADDEN; inline;
  32940. begin
  32941. pTDefRegMap(@Self)^.&set := $00000020;
  32942. end;
  32943. procedure TUART2_U3ASTA.clearADDEN; inline;
  32944. begin
  32945. pTDefRegMap(@Self)^.clr := $00000020;
  32946. end;
  32947. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  32948. begin
  32949. if thebits = 0 then
  32950. pTDefRegMap(@Self)^.clr := $00000020
  32951. else
  32952. pTDefRegMap(@Self)^.&set := $00000020;
  32953. end;
  32954. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  32955. begin
  32956. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32957. end;
  32958. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  32959. begin
  32960. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32961. end;
  32962. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  32963. begin
  32964. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32965. end;
  32966. procedure TUART2_U3ASTA.setTRMT; inline;
  32967. begin
  32968. pTDefRegMap(@Self)^.&set := $00000100;
  32969. end;
  32970. procedure TUART2_U3ASTA.clearTRMT; inline;
  32971. begin
  32972. pTDefRegMap(@Self)^.clr := $00000100;
  32973. end;
  32974. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  32975. begin
  32976. if thebits = 0 then
  32977. pTDefRegMap(@Self)^.clr := $00000100
  32978. else
  32979. pTDefRegMap(@Self)^.&set := $00000100;
  32980. end;
  32981. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  32982. begin
  32983. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32984. end;
  32985. procedure TUART2_U3ASTA.setUTXBF; inline;
  32986. begin
  32987. pTDefRegMap(@Self)^.&set := $00000200;
  32988. end;
  32989. procedure TUART2_U3ASTA.clearUTXBF; inline;
  32990. begin
  32991. pTDefRegMap(@Self)^.clr := $00000200;
  32992. end;
  32993. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  32994. begin
  32995. if thebits = 0 then
  32996. pTDefRegMap(@Self)^.clr := $00000200
  32997. else
  32998. pTDefRegMap(@Self)^.&set := $00000200;
  32999. end;
  33000. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  33001. begin
  33002. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33003. end;
  33004. procedure TUART2_U3ASTA.setUTXEN; inline;
  33005. begin
  33006. pTDefRegMap(@Self)^.&set := $00000400;
  33007. end;
  33008. procedure TUART2_U3ASTA.clearUTXEN; inline;
  33009. begin
  33010. pTDefRegMap(@Self)^.clr := $00000400;
  33011. end;
  33012. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  33013. begin
  33014. if thebits = 0 then
  33015. pTDefRegMap(@Self)^.clr := $00000400
  33016. else
  33017. pTDefRegMap(@Self)^.&set := $00000400;
  33018. end;
  33019. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  33020. begin
  33021. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33022. end;
  33023. procedure TUART2_U3ASTA.setUTXBRK; inline;
  33024. begin
  33025. pTDefRegMap(@Self)^.&set := $00000800;
  33026. end;
  33027. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  33028. begin
  33029. pTDefRegMap(@Self)^.clr := $00000800;
  33030. end;
  33031. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  33032. begin
  33033. if thebits = 0 then
  33034. pTDefRegMap(@Self)^.clr := $00000800
  33035. else
  33036. pTDefRegMap(@Self)^.&set := $00000800;
  33037. end;
  33038. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  33039. begin
  33040. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33041. end;
  33042. procedure TUART2_U3ASTA.setURXEN; inline;
  33043. begin
  33044. pTDefRegMap(@Self)^.&set := $00001000;
  33045. end;
  33046. procedure TUART2_U3ASTA.clearURXEN; inline;
  33047. begin
  33048. pTDefRegMap(@Self)^.clr := $00001000;
  33049. end;
  33050. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  33051. begin
  33052. if thebits = 0 then
  33053. pTDefRegMap(@Self)^.clr := $00001000
  33054. else
  33055. pTDefRegMap(@Self)^.&set := $00001000;
  33056. end;
  33057. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  33058. begin
  33059. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33060. end;
  33061. procedure TUART2_U3ASTA.setUTXINV; inline;
  33062. begin
  33063. pTDefRegMap(@Self)^.&set := $00002000;
  33064. end;
  33065. procedure TUART2_U3ASTA.clearUTXINV; inline;
  33066. begin
  33067. pTDefRegMap(@Self)^.clr := $00002000;
  33068. end;
  33069. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  33070. begin
  33071. if thebits = 0 then
  33072. pTDefRegMap(@Self)^.clr := $00002000
  33073. else
  33074. pTDefRegMap(@Self)^.&set := $00002000;
  33075. end;
  33076. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  33077. begin
  33078. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33079. end;
  33080. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  33081. begin
  33082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33083. end;
  33084. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  33085. begin
  33086. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33087. end;
  33088. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  33089. begin
  33090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  33091. end;
  33092. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  33093. begin
  33094. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  33095. end;
  33096. procedure TUART2_U3ASTA.setADM_EN; inline;
  33097. begin
  33098. pTDefRegMap(@Self)^.&set := $01000000;
  33099. end;
  33100. procedure TUART2_U3ASTA.clearADM_EN; inline;
  33101. begin
  33102. pTDefRegMap(@Self)^.clr := $01000000;
  33103. end;
  33104. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  33105. begin
  33106. if thebits = 0 then
  33107. pTDefRegMap(@Self)^.clr := $01000000
  33108. else
  33109. pTDefRegMap(@Self)^.&set := $01000000;
  33110. end;
  33111. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  33112. begin
  33113. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33114. end;
  33115. procedure TUART2_U3ASTA.setURXISEL0; inline;
  33116. begin
  33117. pTDefRegMap(@Self)^.&set := $00000040;
  33118. end;
  33119. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  33120. begin
  33121. pTDefRegMap(@Self)^.clr := $00000040;
  33122. end;
  33123. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  33124. begin
  33125. if thebits = 0 then
  33126. pTDefRegMap(@Self)^.clr := $00000040
  33127. else
  33128. pTDefRegMap(@Self)^.&set := $00000040;
  33129. end;
  33130. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  33131. begin
  33132. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33133. end;
  33134. procedure TUART2_U3ASTA.setURXISEL1; inline;
  33135. begin
  33136. pTDefRegMap(@Self)^.&set := $00000080;
  33137. end;
  33138. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  33139. begin
  33140. pTDefRegMap(@Self)^.clr := $00000080;
  33141. end;
  33142. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  33143. begin
  33144. if thebits = 0 then
  33145. pTDefRegMap(@Self)^.clr := $00000080
  33146. else
  33147. pTDefRegMap(@Self)^.&set := $00000080;
  33148. end;
  33149. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  33150. begin
  33151. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33152. end;
  33153. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  33154. begin
  33155. pTDefRegMap(@Self)^.&set := $00004000;
  33156. end;
  33157. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  33158. begin
  33159. pTDefRegMap(@Self)^.clr := $00004000;
  33160. end;
  33161. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  33162. begin
  33163. if thebits = 0 then
  33164. pTDefRegMap(@Self)^.clr := $00004000
  33165. else
  33166. pTDefRegMap(@Self)^.&set := $00004000;
  33167. end;
  33168. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  33169. begin
  33170. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33171. end;
  33172. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  33173. begin
  33174. pTDefRegMap(@Self)^.&set := $00008000;
  33175. end;
  33176. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  33177. begin
  33178. pTDefRegMap(@Self)^.clr := $00008000;
  33179. end;
  33180. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  33181. begin
  33182. if thebits = 0 then
  33183. pTDefRegMap(@Self)^.clr := $00008000
  33184. else
  33185. pTDefRegMap(@Self)^.&set := $00008000;
  33186. end;
  33187. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  33188. begin
  33189. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33190. end;
  33191. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  33192. begin
  33193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33194. end;
  33195. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  33196. begin
  33197. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33198. end;
  33199. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  33200. begin
  33201. pTDefRegMap(@Self)^.val := thebits;
  33202. end;
  33203. function TUART2_U3ASTA.getw : TBits_32; inline;
  33204. begin
  33205. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33206. end;
  33207. procedure TUART5_U3BMODE.setSTSEL; inline;
  33208. begin
  33209. pTDefRegMap(@Self)^.&set := $00000001;
  33210. end;
  33211. procedure TUART5_U3BMODE.clearSTSEL; inline;
  33212. begin
  33213. pTDefRegMap(@Self)^.clr := $00000001;
  33214. end;
  33215. procedure TUART5_U3BMODE.setSTSEL(thebits : TBits_1); inline;
  33216. begin
  33217. if thebits = 0 then
  33218. pTDefRegMap(@Self)^.clr := $00000001
  33219. else
  33220. pTDefRegMap(@Self)^.&set := $00000001;
  33221. end;
  33222. function TUART5_U3BMODE.getSTSEL : TBits_1; inline;
  33223. begin
  33224. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33225. end;
  33226. procedure TUART5_U3BMODE.setPDSEL(thebits : TBits_2); inline;
  33227. begin
  33228. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  33229. end;
  33230. function TUART5_U3BMODE.getPDSEL : TBits_2; inline;
  33231. begin
  33232. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  33233. end;
  33234. procedure TUART5_U3BMODE.setBRGH; inline;
  33235. begin
  33236. pTDefRegMap(@Self)^.&set := $00000008;
  33237. end;
  33238. procedure TUART5_U3BMODE.clearBRGH; inline;
  33239. begin
  33240. pTDefRegMap(@Self)^.clr := $00000008;
  33241. end;
  33242. procedure TUART5_U3BMODE.setBRGH(thebits : TBits_1); inline;
  33243. begin
  33244. if thebits = 0 then
  33245. pTDefRegMap(@Self)^.clr := $00000008
  33246. else
  33247. pTDefRegMap(@Self)^.&set := $00000008;
  33248. end;
  33249. function TUART5_U3BMODE.getBRGH : TBits_1; inline;
  33250. begin
  33251. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33252. end;
  33253. procedure TUART5_U3BMODE.setRXINV; inline;
  33254. begin
  33255. pTDefRegMap(@Self)^.&set := $00000010;
  33256. end;
  33257. procedure TUART5_U3BMODE.clearRXINV; inline;
  33258. begin
  33259. pTDefRegMap(@Self)^.clr := $00000010;
  33260. end;
  33261. procedure TUART5_U3BMODE.setRXINV(thebits : TBits_1); inline;
  33262. begin
  33263. if thebits = 0 then
  33264. pTDefRegMap(@Self)^.clr := $00000010
  33265. else
  33266. pTDefRegMap(@Self)^.&set := $00000010;
  33267. end;
  33268. function TUART5_U3BMODE.getRXINV : TBits_1; inline;
  33269. begin
  33270. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33271. end;
  33272. procedure TUART5_U3BMODE.setABAUD; inline;
  33273. begin
  33274. pTDefRegMap(@Self)^.&set := $00000020;
  33275. end;
  33276. procedure TUART5_U3BMODE.clearABAUD; inline;
  33277. begin
  33278. pTDefRegMap(@Self)^.clr := $00000020;
  33279. end;
  33280. procedure TUART5_U3BMODE.setABAUD(thebits : TBits_1); inline;
  33281. begin
  33282. if thebits = 0 then
  33283. pTDefRegMap(@Self)^.clr := $00000020
  33284. else
  33285. pTDefRegMap(@Self)^.&set := $00000020;
  33286. end;
  33287. function TUART5_U3BMODE.getABAUD : TBits_1; inline;
  33288. begin
  33289. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33290. end;
  33291. procedure TUART5_U3BMODE.setLPBACK; inline;
  33292. begin
  33293. pTDefRegMap(@Self)^.&set := $00000040;
  33294. end;
  33295. procedure TUART5_U3BMODE.clearLPBACK; inline;
  33296. begin
  33297. pTDefRegMap(@Self)^.clr := $00000040;
  33298. end;
  33299. procedure TUART5_U3BMODE.setLPBACK(thebits : TBits_1); inline;
  33300. begin
  33301. if thebits = 0 then
  33302. pTDefRegMap(@Self)^.clr := $00000040
  33303. else
  33304. pTDefRegMap(@Self)^.&set := $00000040;
  33305. end;
  33306. function TUART5_U3BMODE.getLPBACK : TBits_1; inline;
  33307. begin
  33308. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33309. end;
  33310. procedure TUART5_U3BMODE.setWAKE; inline;
  33311. begin
  33312. pTDefRegMap(@Self)^.&set := $00000080;
  33313. end;
  33314. procedure TUART5_U3BMODE.clearWAKE; inline;
  33315. begin
  33316. pTDefRegMap(@Self)^.clr := $00000080;
  33317. end;
  33318. procedure TUART5_U3BMODE.setWAKE(thebits : TBits_1); inline;
  33319. begin
  33320. if thebits = 0 then
  33321. pTDefRegMap(@Self)^.clr := $00000080
  33322. else
  33323. pTDefRegMap(@Self)^.&set := $00000080;
  33324. end;
  33325. function TUART5_U3BMODE.getWAKE : TBits_1; inline;
  33326. begin
  33327. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33328. end;
  33329. procedure TUART5_U3BMODE.setIREN; inline;
  33330. begin
  33331. pTDefRegMap(@Self)^.&set := $00001000;
  33332. end;
  33333. procedure TUART5_U3BMODE.clearIREN; inline;
  33334. begin
  33335. pTDefRegMap(@Self)^.clr := $00001000;
  33336. end;
  33337. procedure TUART5_U3BMODE.setIREN(thebits : TBits_1); inline;
  33338. begin
  33339. if thebits = 0 then
  33340. pTDefRegMap(@Self)^.clr := $00001000
  33341. else
  33342. pTDefRegMap(@Self)^.&set := $00001000;
  33343. end;
  33344. function TUART5_U3BMODE.getIREN : TBits_1; inline;
  33345. begin
  33346. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33347. end;
  33348. procedure TUART5_U3BMODE.setSIDL; inline;
  33349. begin
  33350. pTDefRegMap(@Self)^.&set := $00002000;
  33351. end;
  33352. procedure TUART5_U3BMODE.clearSIDL; inline;
  33353. begin
  33354. pTDefRegMap(@Self)^.clr := $00002000;
  33355. end;
  33356. procedure TUART5_U3BMODE.setSIDL(thebits : TBits_1); inline;
  33357. begin
  33358. if thebits = 0 then
  33359. pTDefRegMap(@Self)^.clr := $00002000
  33360. else
  33361. pTDefRegMap(@Self)^.&set := $00002000;
  33362. end;
  33363. function TUART5_U3BMODE.getSIDL : TBits_1; inline;
  33364. begin
  33365. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33366. end;
  33367. procedure TUART5_U3BMODE.setON; inline;
  33368. begin
  33369. pTDefRegMap(@Self)^.&set := $00008000;
  33370. end;
  33371. procedure TUART5_U3BMODE.clearON; inline;
  33372. begin
  33373. pTDefRegMap(@Self)^.clr := $00008000;
  33374. end;
  33375. procedure TUART5_U3BMODE.setON(thebits : TBits_1); inline;
  33376. begin
  33377. if thebits = 0 then
  33378. pTDefRegMap(@Self)^.clr := $00008000
  33379. else
  33380. pTDefRegMap(@Self)^.&set := $00008000;
  33381. end;
  33382. function TUART5_U3BMODE.getON : TBits_1; inline;
  33383. begin
  33384. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33385. end;
  33386. procedure TUART5_U3BMODE.setPDSEL0; inline;
  33387. begin
  33388. pTDefRegMap(@Self)^.&set := $00000002;
  33389. end;
  33390. procedure TUART5_U3BMODE.clearPDSEL0; inline;
  33391. begin
  33392. pTDefRegMap(@Self)^.clr := $00000002;
  33393. end;
  33394. procedure TUART5_U3BMODE.setPDSEL0(thebits : TBits_1); inline;
  33395. begin
  33396. if thebits = 0 then
  33397. pTDefRegMap(@Self)^.clr := $00000002
  33398. else
  33399. pTDefRegMap(@Self)^.&set := $00000002;
  33400. end;
  33401. function TUART5_U3BMODE.getPDSEL0 : TBits_1; inline;
  33402. begin
  33403. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33404. end;
  33405. procedure TUART5_U3BMODE.setPDSEL1; inline;
  33406. begin
  33407. pTDefRegMap(@Self)^.&set := $00000004;
  33408. end;
  33409. procedure TUART5_U3BMODE.clearPDSEL1; inline;
  33410. begin
  33411. pTDefRegMap(@Self)^.clr := $00000004;
  33412. end;
  33413. procedure TUART5_U3BMODE.setPDSEL1(thebits : TBits_1); inline;
  33414. begin
  33415. if thebits = 0 then
  33416. pTDefRegMap(@Self)^.clr := $00000004
  33417. else
  33418. pTDefRegMap(@Self)^.&set := $00000004;
  33419. end;
  33420. function TUART5_U3BMODE.getPDSEL1 : TBits_1; inline;
  33421. begin
  33422. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33423. end;
  33424. procedure TUART5_U3BMODE.setUSIDL; inline;
  33425. begin
  33426. pTDefRegMap(@Self)^.&set := $00002000;
  33427. end;
  33428. procedure TUART5_U3BMODE.clearUSIDL; inline;
  33429. begin
  33430. pTDefRegMap(@Self)^.clr := $00002000;
  33431. end;
  33432. procedure TUART5_U3BMODE.setUSIDL(thebits : TBits_1); inline;
  33433. begin
  33434. if thebits = 0 then
  33435. pTDefRegMap(@Self)^.clr := $00002000
  33436. else
  33437. pTDefRegMap(@Self)^.&set := $00002000;
  33438. end;
  33439. function TUART5_U3BMODE.getUSIDL : TBits_1; inline;
  33440. begin
  33441. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33442. end;
  33443. procedure TUART5_U3BMODE.setUARTEN; inline;
  33444. begin
  33445. pTDefRegMap(@Self)^.&set := $00008000;
  33446. end;
  33447. procedure TUART5_U3BMODE.clearUARTEN; inline;
  33448. begin
  33449. pTDefRegMap(@Self)^.clr := $00008000;
  33450. end;
  33451. procedure TUART5_U3BMODE.setUARTEN(thebits : TBits_1); inline;
  33452. begin
  33453. if thebits = 0 then
  33454. pTDefRegMap(@Self)^.clr := $00008000
  33455. else
  33456. pTDefRegMap(@Self)^.&set := $00008000;
  33457. end;
  33458. function TUART5_U3BMODE.getUARTEN : TBits_1; inline;
  33459. begin
  33460. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33461. end;
  33462. procedure TUART5_U3BMODE.setw(thebits : TBits_32); inline;
  33463. begin
  33464. pTDefRegMap(@Self)^.val := thebits;
  33465. end;
  33466. function TUART5_U3BMODE.getw : TBits_32; inline;
  33467. begin
  33468. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33469. end;
  33470. procedure TUART5_U5MODE.setSTSEL; inline;
  33471. begin
  33472. pTDefRegMap(@Self)^.&set := $00000001;
  33473. end;
  33474. procedure TUART5_U5MODE.clearSTSEL; inline;
  33475. begin
  33476. pTDefRegMap(@Self)^.clr := $00000001;
  33477. end;
  33478. procedure TUART5_U5MODE.setSTSEL(thebits : TBits_1); inline;
  33479. begin
  33480. if thebits = 0 then
  33481. pTDefRegMap(@Self)^.clr := $00000001
  33482. else
  33483. pTDefRegMap(@Self)^.&set := $00000001;
  33484. end;
  33485. function TUART5_U5MODE.getSTSEL : TBits_1; inline;
  33486. begin
  33487. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33488. end;
  33489. procedure TUART5_U5MODE.setPDSEL(thebits : TBits_2); inline;
  33490. begin
  33491. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  33492. end;
  33493. function TUART5_U5MODE.getPDSEL : TBits_2; inline;
  33494. begin
  33495. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  33496. end;
  33497. procedure TUART5_U5MODE.setBRGH; inline;
  33498. begin
  33499. pTDefRegMap(@Self)^.&set := $00000008;
  33500. end;
  33501. procedure TUART5_U5MODE.clearBRGH; inline;
  33502. begin
  33503. pTDefRegMap(@Self)^.clr := $00000008;
  33504. end;
  33505. procedure TUART5_U5MODE.setBRGH(thebits : TBits_1); inline;
  33506. begin
  33507. if thebits = 0 then
  33508. pTDefRegMap(@Self)^.clr := $00000008
  33509. else
  33510. pTDefRegMap(@Self)^.&set := $00000008;
  33511. end;
  33512. function TUART5_U5MODE.getBRGH : TBits_1; inline;
  33513. begin
  33514. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33515. end;
  33516. procedure TUART5_U5MODE.setRXINV; inline;
  33517. begin
  33518. pTDefRegMap(@Self)^.&set := $00000010;
  33519. end;
  33520. procedure TUART5_U5MODE.clearRXINV; inline;
  33521. begin
  33522. pTDefRegMap(@Self)^.clr := $00000010;
  33523. end;
  33524. procedure TUART5_U5MODE.setRXINV(thebits : TBits_1); inline;
  33525. begin
  33526. if thebits = 0 then
  33527. pTDefRegMap(@Self)^.clr := $00000010
  33528. else
  33529. pTDefRegMap(@Self)^.&set := $00000010;
  33530. end;
  33531. function TUART5_U5MODE.getRXINV : TBits_1; inline;
  33532. begin
  33533. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33534. end;
  33535. procedure TUART5_U5MODE.setABAUD; inline;
  33536. begin
  33537. pTDefRegMap(@Self)^.&set := $00000020;
  33538. end;
  33539. procedure TUART5_U5MODE.clearABAUD; inline;
  33540. begin
  33541. pTDefRegMap(@Self)^.clr := $00000020;
  33542. end;
  33543. procedure TUART5_U5MODE.setABAUD(thebits : TBits_1); inline;
  33544. begin
  33545. if thebits = 0 then
  33546. pTDefRegMap(@Self)^.clr := $00000020
  33547. else
  33548. pTDefRegMap(@Self)^.&set := $00000020;
  33549. end;
  33550. function TUART5_U5MODE.getABAUD : TBits_1; inline;
  33551. begin
  33552. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33553. end;
  33554. procedure TUART5_U5MODE.setLPBACK; inline;
  33555. begin
  33556. pTDefRegMap(@Self)^.&set := $00000040;
  33557. end;
  33558. procedure TUART5_U5MODE.clearLPBACK; inline;
  33559. begin
  33560. pTDefRegMap(@Self)^.clr := $00000040;
  33561. end;
  33562. procedure TUART5_U5MODE.setLPBACK(thebits : TBits_1); inline;
  33563. begin
  33564. if thebits = 0 then
  33565. pTDefRegMap(@Self)^.clr := $00000040
  33566. else
  33567. pTDefRegMap(@Self)^.&set := $00000040;
  33568. end;
  33569. function TUART5_U5MODE.getLPBACK : TBits_1; inline;
  33570. begin
  33571. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33572. end;
  33573. procedure TUART5_U5MODE.setWAKE; inline;
  33574. begin
  33575. pTDefRegMap(@Self)^.&set := $00000080;
  33576. end;
  33577. procedure TUART5_U5MODE.clearWAKE; inline;
  33578. begin
  33579. pTDefRegMap(@Self)^.clr := $00000080;
  33580. end;
  33581. procedure TUART5_U5MODE.setWAKE(thebits : TBits_1); inline;
  33582. begin
  33583. if thebits = 0 then
  33584. pTDefRegMap(@Self)^.clr := $00000080
  33585. else
  33586. pTDefRegMap(@Self)^.&set := $00000080;
  33587. end;
  33588. function TUART5_U5MODE.getWAKE : TBits_1; inline;
  33589. begin
  33590. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33591. end;
  33592. procedure TUART5_U5MODE.setIREN; inline;
  33593. begin
  33594. pTDefRegMap(@Self)^.&set := $00001000;
  33595. end;
  33596. procedure TUART5_U5MODE.clearIREN; inline;
  33597. begin
  33598. pTDefRegMap(@Self)^.clr := $00001000;
  33599. end;
  33600. procedure TUART5_U5MODE.setIREN(thebits : TBits_1); inline;
  33601. begin
  33602. if thebits = 0 then
  33603. pTDefRegMap(@Self)^.clr := $00001000
  33604. else
  33605. pTDefRegMap(@Self)^.&set := $00001000;
  33606. end;
  33607. function TUART5_U5MODE.getIREN : TBits_1; inline;
  33608. begin
  33609. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33610. end;
  33611. procedure TUART5_U5MODE.setSIDL; inline;
  33612. begin
  33613. pTDefRegMap(@Self)^.&set := $00002000;
  33614. end;
  33615. procedure TUART5_U5MODE.clearSIDL; inline;
  33616. begin
  33617. pTDefRegMap(@Self)^.clr := $00002000;
  33618. end;
  33619. procedure TUART5_U5MODE.setSIDL(thebits : TBits_1); inline;
  33620. begin
  33621. if thebits = 0 then
  33622. pTDefRegMap(@Self)^.clr := $00002000
  33623. else
  33624. pTDefRegMap(@Self)^.&set := $00002000;
  33625. end;
  33626. function TUART5_U5MODE.getSIDL : TBits_1; inline;
  33627. begin
  33628. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33629. end;
  33630. procedure TUART5_U5MODE.setON; inline;
  33631. begin
  33632. pTDefRegMap(@Self)^.&set := $00008000;
  33633. end;
  33634. procedure TUART5_U5MODE.clearON; inline;
  33635. begin
  33636. pTDefRegMap(@Self)^.clr := $00008000;
  33637. end;
  33638. procedure TUART5_U5MODE.setON(thebits : TBits_1); inline;
  33639. begin
  33640. if thebits = 0 then
  33641. pTDefRegMap(@Self)^.clr := $00008000
  33642. else
  33643. pTDefRegMap(@Self)^.&set := $00008000;
  33644. end;
  33645. function TUART5_U5MODE.getON : TBits_1; inline;
  33646. begin
  33647. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33648. end;
  33649. procedure TUART5_U5MODE.setPDSEL0; inline;
  33650. begin
  33651. pTDefRegMap(@Self)^.&set := $00000002;
  33652. end;
  33653. procedure TUART5_U5MODE.clearPDSEL0; inline;
  33654. begin
  33655. pTDefRegMap(@Self)^.clr := $00000002;
  33656. end;
  33657. procedure TUART5_U5MODE.setPDSEL0(thebits : TBits_1); inline;
  33658. begin
  33659. if thebits = 0 then
  33660. pTDefRegMap(@Self)^.clr := $00000002
  33661. else
  33662. pTDefRegMap(@Self)^.&set := $00000002;
  33663. end;
  33664. function TUART5_U5MODE.getPDSEL0 : TBits_1; inline;
  33665. begin
  33666. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33667. end;
  33668. procedure TUART5_U5MODE.setPDSEL1; inline;
  33669. begin
  33670. pTDefRegMap(@Self)^.&set := $00000004;
  33671. end;
  33672. procedure TUART5_U5MODE.clearPDSEL1; inline;
  33673. begin
  33674. pTDefRegMap(@Self)^.clr := $00000004;
  33675. end;
  33676. procedure TUART5_U5MODE.setPDSEL1(thebits : TBits_1); inline;
  33677. begin
  33678. if thebits = 0 then
  33679. pTDefRegMap(@Self)^.clr := $00000004
  33680. else
  33681. pTDefRegMap(@Self)^.&set := $00000004;
  33682. end;
  33683. function TUART5_U5MODE.getPDSEL1 : TBits_1; inline;
  33684. begin
  33685. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33686. end;
  33687. procedure TUART5_U5MODE.setUSIDL; inline;
  33688. begin
  33689. pTDefRegMap(@Self)^.&set := $00002000;
  33690. end;
  33691. procedure TUART5_U5MODE.clearUSIDL; inline;
  33692. begin
  33693. pTDefRegMap(@Self)^.clr := $00002000;
  33694. end;
  33695. procedure TUART5_U5MODE.setUSIDL(thebits : TBits_1); inline;
  33696. begin
  33697. if thebits = 0 then
  33698. pTDefRegMap(@Self)^.clr := $00002000
  33699. else
  33700. pTDefRegMap(@Self)^.&set := $00002000;
  33701. end;
  33702. function TUART5_U5MODE.getUSIDL : TBits_1; inline;
  33703. begin
  33704. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33705. end;
  33706. procedure TUART5_U5MODE.setUARTEN; inline;
  33707. begin
  33708. pTDefRegMap(@Self)^.&set := $00008000;
  33709. end;
  33710. procedure TUART5_U5MODE.clearUARTEN; inline;
  33711. begin
  33712. pTDefRegMap(@Self)^.clr := $00008000;
  33713. end;
  33714. procedure TUART5_U5MODE.setUARTEN(thebits : TBits_1); inline;
  33715. begin
  33716. if thebits = 0 then
  33717. pTDefRegMap(@Self)^.clr := $00008000
  33718. else
  33719. pTDefRegMap(@Self)^.&set := $00008000;
  33720. end;
  33721. function TUART5_U5MODE.getUARTEN : TBits_1; inline;
  33722. begin
  33723. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33724. end;
  33725. procedure TUART5_U5MODE.setw(thebits : TBits_32); inline;
  33726. begin
  33727. pTDefRegMap(@Self)^.val := thebits;
  33728. end;
  33729. function TUART5_U5MODE.getw : TBits_32; inline;
  33730. begin
  33731. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33732. end;
  33733. procedure TUART5_U3BSTA.setURXDA; inline;
  33734. begin
  33735. pTDefRegMap(@Self)^.&set := $00000001;
  33736. end;
  33737. procedure TUART5_U3BSTA.clearURXDA; inline;
  33738. begin
  33739. pTDefRegMap(@Self)^.clr := $00000001;
  33740. end;
  33741. procedure TUART5_U3BSTA.setURXDA(thebits : TBits_1); inline;
  33742. begin
  33743. if thebits = 0 then
  33744. pTDefRegMap(@Self)^.clr := $00000001
  33745. else
  33746. pTDefRegMap(@Self)^.&set := $00000001;
  33747. end;
  33748. function TUART5_U3BSTA.getURXDA : TBits_1; inline;
  33749. begin
  33750. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33751. end;
  33752. procedure TUART5_U3BSTA.setOERR; inline;
  33753. begin
  33754. pTDefRegMap(@Self)^.&set := $00000002;
  33755. end;
  33756. procedure TUART5_U3BSTA.clearOERR; inline;
  33757. begin
  33758. pTDefRegMap(@Self)^.clr := $00000002;
  33759. end;
  33760. procedure TUART5_U3BSTA.setOERR(thebits : TBits_1); inline;
  33761. begin
  33762. if thebits = 0 then
  33763. pTDefRegMap(@Self)^.clr := $00000002
  33764. else
  33765. pTDefRegMap(@Self)^.&set := $00000002;
  33766. end;
  33767. function TUART5_U3BSTA.getOERR : TBits_1; inline;
  33768. begin
  33769. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33770. end;
  33771. procedure TUART5_U3BSTA.setFERR; inline;
  33772. begin
  33773. pTDefRegMap(@Self)^.&set := $00000004;
  33774. end;
  33775. procedure TUART5_U3BSTA.clearFERR; inline;
  33776. begin
  33777. pTDefRegMap(@Self)^.clr := $00000004;
  33778. end;
  33779. procedure TUART5_U3BSTA.setFERR(thebits : TBits_1); inline;
  33780. begin
  33781. if thebits = 0 then
  33782. pTDefRegMap(@Self)^.clr := $00000004
  33783. else
  33784. pTDefRegMap(@Self)^.&set := $00000004;
  33785. end;
  33786. function TUART5_U3BSTA.getFERR : TBits_1; inline;
  33787. begin
  33788. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33789. end;
  33790. procedure TUART5_U3BSTA.setPERR; inline;
  33791. begin
  33792. pTDefRegMap(@Self)^.&set := $00000008;
  33793. end;
  33794. procedure TUART5_U3BSTA.clearPERR; inline;
  33795. begin
  33796. pTDefRegMap(@Self)^.clr := $00000008;
  33797. end;
  33798. procedure TUART5_U3BSTA.setPERR(thebits : TBits_1); inline;
  33799. begin
  33800. if thebits = 0 then
  33801. pTDefRegMap(@Self)^.clr := $00000008
  33802. else
  33803. pTDefRegMap(@Self)^.&set := $00000008;
  33804. end;
  33805. function TUART5_U3BSTA.getPERR : TBits_1; inline;
  33806. begin
  33807. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33808. end;
  33809. procedure TUART5_U3BSTA.setRIDLE; inline;
  33810. begin
  33811. pTDefRegMap(@Self)^.&set := $00000010;
  33812. end;
  33813. procedure TUART5_U3BSTA.clearRIDLE; inline;
  33814. begin
  33815. pTDefRegMap(@Self)^.clr := $00000010;
  33816. end;
  33817. procedure TUART5_U3BSTA.setRIDLE(thebits : TBits_1); inline;
  33818. begin
  33819. if thebits = 0 then
  33820. pTDefRegMap(@Self)^.clr := $00000010
  33821. else
  33822. pTDefRegMap(@Self)^.&set := $00000010;
  33823. end;
  33824. function TUART5_U3BSTA.getRIDLE : TBits_1; inline;
  33825. begin
  33826. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33827. end;
  33828. procedure TUART5_U3BSTA.setADDEN; inline;
  33829. begin
  33830. pTDefRegMap(@Self)^.&set := $00000020;
  33831. end;
  33832. procedure TUART5_U3BSTA.clearADDEN; inline;
  33833. begin
  33834. pTDefRegMap(@Self)^.clr := $00000020;
  33835. end;
  33836. procedure TUART5_U3BSTA.setADDEN(thebits : TBits_1); inline;
  33837. begin
  33838. if thebits = 0 then
  33839. pTDefRegMap(@Self)^.clr := $00000020
  33840. else
  33841. pTDefRegMap(@Self)^.&set := $00000020;
  33842. end;
  33843. function TUART5_U3BSTA.getADDEN : TBits_1; inline;
  33844. begin
  33845. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33846. end;
  33847. procedure TUART5_U3BSTA.setURXISEL(thebits : TBits_2); inline;
  33848. begin
  33849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33850. end;
  33851. function TUART5_U3BSTA.getURXISEL : TBits_2; inline;
  33852. begin
  33853. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  33854. end;
  33855. procedure TUART5_U3BSTA.setTRMT; inline;
  33856. begin
  33857. pTDefRegMap(@Self)^.&set := $00000100;
  33858. end;
  33859. procedure TUART5_U3BSTA.clearTRMT; inline;
  33860. begin
  33861. pTDefRegMap(@Self)^.clr := $00000100;
  33862. end;
  33863. procedure TUART5_U3BSTA.setTRMT(thebits : TBits_1); inline;
  33864. begin
  33865. if thebits = 0 then
  33866. pTDefRegMap(@Self)^.clr := $00000100
  33867. else
  33868. pTDefRegMap(@Self)^.&set := $00000100;
  33869. end;
  33870. function TUART5_U3BSTA.getTRMT : TBits_1; inline;
  33871. begin
  33872. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33873. end;
  33874. procedure TUART5_U3BSTA.setUTXBF; inline;
  33875. begin
  33876. pTDefRegMap(@Self)^.&set := $00000200;
  33877. end;
  33878. procedure TUART5_U3BSTA.clearUTXBF; inline;
  33879. begin
  33880. pTDefRegMap(@Self)^.clr := $00000200;
  33881. end;
  33882. procedure TUART5_U3BSTA.setUTXBF(thebits : TBits_1); inline;
  33883. begin
  33884. if thebits = 0 then
  33885. pTDefRegMap(@Self)^.clr := $00000200
  33886. else
  33887. pTDefRegMap(@Self)^.&set := $00000200;
  33888. end;
  33889. function TUART5_U3BSTA.getUTXBF : TBits_1; inline;
  33890. begin
  33891. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33892. end;
  33893. procedure TUART5_U3BSTA.setUTXEN; inline;
  33894. begin
  33895. pTDefRegMap(@Self)^.&set := $00000400;
  33896. end;
  33897. procedure TUART5_U3BSTA.clearUTXEN; inline;
  33898. begin
  33899. pTDefRegMap(@Self)^.clr := $00000400;
  33900. end;
  33901. procedure TUART5_U3BSTA.setUTXEN(thebits : TBits_1); inline;
  33902. begin
  33903. if thebits = 0 then
  33904. pTDefRegMap(@Self)^.clr := $00000400
  33905. else
  33906. pTDefRegMap(@Self)^.&set := $00000400;
  33907. end;
  33908. function TUART5_U3BSTA.getUTXEN : TBits_1; inline;
  33909. begin
  33910. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33911. end;
  33912. procedure TUART5_U3BSTA.setUTXBRK; inline;
  33913. begin
  33914. pTDefRegMap(@Self)^.&set := $00000800;
  33915. end;
  33916. procedure TUART5_U3BSTA.clearUTXBRK; inline;
  33917. begin
  33918. pTDefRegMap(@Self)^.clr := $00000800;
  33919. end;
  33920. procedure TUART5_U3BSTA.setUTXBRK(thebits : TBits_1); inline;
  33921. begin
  33922. if thebits = 0 then
  33923. pTDefRegMap(@Self)^.clr := $00000800
  33924. else
  33925. pTDefRegMap(@Self)^.&set := $00000800;
  33926. end;
  33927. function TUART5_U3BSTA.getUTXBRK : TBits_1; inline;
  33928. begin
  33929. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33930. end;
  33931. procedure TUART5_U3BSTA.setURXEN; inline;
  33932. begin
  33933. pTDefRegMap(@Self)^.&set := $00001000;
  33934. end;
  33935. procedure TUART5_U3BSTA.clearURXEN; inline;
  33936. begin
  33937. pTDefRegMap(@Self)^.clr := $00001000;
  33938. end;
  33939. procedure TUART5_U3BSTA.setURXEN(thebits : TBits_1); inline;
  33940. begin
  33941. if thebits = 0 then
  33942. pTDefRegMap(@Self)^.clr := $00001000
  33943. else
  33944. pTDefRegMap(@Self)^.&set := $00001000;
  33945. end;
  33946. function TUART5_U3BSTA.getURXEN : TBits_1; inline;
  33947. begin
  33948. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33949. end;
  33950. procedure TUART5_U3BSTA.setUTXINV; inline;
  33951. begin
  33952. pTDefRegMap(@Self)^.&set := $00002000;
  33953. end;
  33954. procedure TUART5_U3BSTA.clearUTXINV; inline;
  33955. begin
  33956. pTDefRegMap(@Self)^.clr := $00002000;
  33957. end;
  33958. procedure TUART5_U3BSTA.setUTXINV(thebits : TBits_1); inline;
  33959. begin
  33960. if thebits = 0 then
  33961. pTDefRegMap(@Self)^.clr := $00002000
  33962. else
  33963. pTDefRegMap(@Self)^.&set := $00002000;
  33964. end;
  33965. function TUART5_U3BSTA.getUTXINV : TBits_1; inline;
  33966. begin
  33967. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33968. end;
  33969. procedure TUART5_U3BSTA.setUTXISEL(thebits : TBits_2); inline;
  33970. begin
  33971. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33972. end;
  33973. function TUART5_U3BSTA.getUTXISEL : TBits_2; inline;
  33974. begin
  33975. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33976. end;
  33977. procedure TUART5_U3BSTA.setADDR(thebits : TBits_8); inline;
  33978. begin
  33979. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  33980. end;
  33981. function TUART5_U3BSTA.getADDR : TBits_8; inline;
  33982. begin
  33983. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  33984. end;
  33985. procedure TUART5_U3BSTA.setADM_EN; inline;
  33986. begin
  33987. pTDefRegMap(@Self)^.&set := $01000000;
  33988. end;
  33989. procedure TUART5_U3BSTA.clearADM_EN; inline;
  33990. begin
  33991. pTDefRegMap(@Self)^.clr := $01000000;
  33992. end;
  33993. procedure TUART5_U3BSTA.setADM_EN(thebits : TBits_1); inline;
  33994. begin
  33995. if thebits = 0 then
  33996. pTDefRegMap(@Self)^.clr := $01000000
  33997. else
  33998. pTDefRegMap(@Self)^.&set := $01000000;
  33999. end;
  34000. function TUART5_U3BSTA.getADM_EN : TBits_1; inline;
  34001. begin
  34002. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34003. end;
  34004. procedure TUART5_U3BSTA.setURXISEL0; inline;
  34005. begin
  34006. pTDefRegMap(@Self)^.&set := $00000040;
  34007. end;
  34008. procedure TUART5_U3BSTA.clearURXISEL0; inline;
  34009. begin
  34010. pTDefRegMap(@Self)^.clr := $00000040;
  34011. end;
  34012. procedure TUART5_U3BSTA.setURXISEL0(thebits : TBits_1); inline;
  34013. begin
  34014. if thebits = 0 then
  34015. pTDefRegMap(@Self)^.clr := $00000040
  34016. else
  34017. pTDefRegMap(@Self)^.&set := $00000040;
  34018. end;
  34019. function TUART5_U3BSTA.getURXISEL0 : TBits_1; inline;
  34020. begin
  34021. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34022. end;
  34023. procedure TUART5_U3BSTA.setURXISEL1; inline;
  34024. begin
  34025. pTDefRegMap(@Self)^.&set := $00000080;
  34026. end;
  34027. procedure TUART5_U3BSTA.clearURXISEL1; inline;
  34028. begin
  34029. pTDefRegMap(@Self)^.clr := $00000080;
  34030. end;
  34031. procedure TUART5_U3BSTA.setURXISEL1(thebits : TBits_1); inline;
  34032. begin
  34033. if thebits = 0 then
  34034. pTDefRegMap(@Self)^.clr := $00000080
  34035. else
  34036. pTDefRegMap(@Self)^.&set := $00000080;
  34037. end;
  34038. function TUART5_U3BSTA.getURXISEL1 : TBits_1; inline;
  34039. begin
  34040. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34041. end;
  34042. procedure TUART5_U3BSTA.setUTXISEL0; inline;
  34043. begin
  34044. pTDefRegMap(@Self)^.&set := $00004000;
  34045. end;
  34046. procedure TUART5_U3BSTA.clearUTXISEL0; inline;
  34047. begin
  34048. pTDefRegMap(@Self)^.clr := $00004000;
  34049. end;
  34050. procedure TUART5_U3BSTA.setUTXISEL0(thebits : TBits_1); inline;
  34051. begin
  34052. if thebits = 0 then
  34053. pTDefRegMap(@Self)^.clr := $00004000
  34054. else
  34055. pTDefRegMap(@Self)^.&set := $00004000;
  34056. end;
  34057. function TUART5_U3BSTA.getUTXISEL0 : TBits_1; inline;
  34058. begin
  34059. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34060. end;
  34061. procedure TUART5_U3BSTA.setUTXISEL1; inline;
  34062. begin
  34063. pTDefRegMap(@Self)^.&set := $00008000;
  34064. end;
  34065. procedure TUART5_U3BSTA.clearUTXISEL1; inline;
  34066. begin
  34067. pTDefRegMap(@Self)^.clr := $00008000;
  34068. end;
  34069. procedure TUART5_U3BSTA.setUTXISEL1(thebits : TBits_1); inline;
  34070. begin
  34071. if thebits = 0 then
  34072. pTDefRegMap(@Self)^.clr := $00008000
  34073. else
  34074. pTDefRegMap(@Self)^.&set := $00008000;
  34075. end;
  34076. function TUART5_U3BSTA.getUTXISEL1 : TBits_1; inline;
  34077. begin
  34078. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34079. end;
  34080. procedure TUART5_U3BSTA.setUTXSEL(thebits : TBits_2); inline;
  34081. begin
  34082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34083. end;
  34084. function TUART5_U3BSTA.getUTXSEL : TBits_2; inline;
  34085. begin
  34086. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34087. end;
  34088. procedure TUART5_U3BSTA.setw(thebits : TBits_32); inline;
  34089. begin
  34090. pTDefRegMap(@Self)^.val := thebits;
  34091. end;
  34092. function TUART5_U3BSTA.getw : TBits_32; inline;
  34093. begin
  34094. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34095. end;
  34096. procedure TUART5_U5STA.setURXDA; inline;
  34097. begin
  34098. pTDefRegMap(@Self)^.&set := $00000001;
  34099. end;
  34100. procedure TUART5_U5STA.clearURXDA; inline;
  34101. begin
  34102. pTDefRegMap(@Self)^.clr := $00000001;
  34103. end;
  34104. procedure TUART5_U5STA.setURXDA(thebits : TBits_1); inline;
  34105. begin
  34106. if thebits = 0 then
  34107. pTDefRegMap(@Self)^.clr := $00000001
  34108. else
  34109. pTDefRegMap(@Self)^.&set := $00000001;
  34110. end;
  34111. function TUART5_U5STA.getURXDA : TBits_1; inline;
  34112. begin
  34113. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34114. end;
  34115. procedure TUART5_U5STA.setOERR; inline;
  34116. begin
  34117. pTDefRegMap(@Self)^.&set := $00000002;
  34118. end;
  34119. procedure TUART5_U5STA.clearOERR; inline;
  34120. begin
  34121. pTDefRegMap(@Self)^.clr := $00000002;
  34122. end;
  34123. procedure TUART5_U5STA.setOERR(thebits : TBits_1); inline;
  34124. begin
  34125. if thebits = 0 then
  34126. pTDefRegMap(@Self)^.clr := $00000002
  34127. else
  34128. pTDefRegMap(@Self)^.&set := $00000002;
  34129. end;
  34130. function TUART5_U5STA.getOERR : TBits_1; inline;
  34131. begin
  34132. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34133. end;
  34134. procedure TUART5_U5STA.setFERR; inline;
  34135. begin
  34136. pTDefRegMap(@Self)^.&set := $00000004;
  34137. end;
  34138. procedure TUART5_U5STA.clearFERR; inline;
  34139. begin
  34140. pTDefRegMap(@Self)^.clr := $00000004;
  34141. end;
  34142. procedure TUART5_U5STA.setFERR(thebits : TBits_1); inline;
  34143. begin
  34144. if thebits = 0 then
  34145. pTDefRegMap(@Self)^.clr := $00000004
  34146. else
  34147. pTDefRegMap(@Self)^.&set := $00000004;
  34148. end;
  34149. function TUART5_U5STA.getFERR : TBits_1; inline;
  34150. begin
  34151. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34152. end;
  34153. procedure TUART5_U5STA.setPERR; inline;
  34154. begin
  34155. pTDefRegMap(@Self)^.&set := $00000008;
  34156. end;
  34157. procedure TUART5_U5STA.clearPERR; inline;
  34158. begin
  34159. pTDefRegMap(@Self)^.clr := $00000008;
  34160. end;
  34161. procedure TUART5_U5STA.setPERR(thebits : TBits_1); inline;
  34162. begin
  34163. if thebits = 0 then
  34164. pTDefRegMap(@Self)^.clr := $00000008
  34165. else
  34166. pTDefRegMap(@Self)^.&set := $00000008;
  34167. end;
  34168. function TUART5_U5STA.getPERR : TBits_1; inline;
  34169. begin
  34170. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34171. end;
  34172. procedure TUART5_U5STA.setRIDLE; inline;
  34173. begin
  34174. pTDefRegMap(@Self)^.&set := $00000010;
  34175. end;
  34176. procedure TUART5_U5STA.clearRIDLE; inline;
  34177. begin
  34178. pTDefRegMap(@Self)^.clr := $00000010;
  34179. end;
  34180. procedure TUART5_U5STA.setRIDLE(thebits : TBits_1); inline;
  34181. begin
  34182. if thebits = 0 then
  34183. pTDefRegMap(@Self)^.clr := $00000010
  34184. else
  34185. pTDefRegMap(@Self)^.&set := $00000010;
  34186. end;
  34187. function TUART5_U5STA.getRIDLE : TBits_1; inline;
  34188. begin
  34189. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34190. end;
  34191. procedure TUART5_U5STA.setADDEN; inline;
  34192. begin
  34193. pTDefRegMap(@Self)^.&set := $00000020;
  34194. end;
  34195. procedure TUART5_U5STA.clearADDEN; inline;
  34196. begin
  34197. pTDefRegMap(@Self)^.clr := $00000020;
  34198. end;
  34199. procedure TUART5_U5STA.setADDEN(thebits : TBits_1); inline;
  34200. begin
  34201. if thebits = 0 then
  34202. pTDefRegMap(@Self)^.clr := $00000020
  34203. else
  34204. pTDefRegMap(@Self)^.&set := $00000020;
  34205. end;
  34206. function TUART5_U5STA.getADDEN : TBits_1; inline;
  34207. begin
  34208. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34209. end;
  34210. procedure TUART5_U5STA.setURXISEL(thebits : TBits_2); inline;
  34211. begin
  34212. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  34213. end;
  34214. function TUART5_U5STA.getURXISEL : TBits_2; inline;
  34215. begin
  34216. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  34217. end;
  34218. procedure TUART5_U5STA.setTRMT; inline;
  34219. begin
  34220. pTDefRegMap(@Self)^.&set := $00000100;
  34221. end;
  34222. procedure TUART5_U5STA.clearTRMT; inline;
  34223. begin
  34224. pTDefRegMap(@Self)^.clr := $00000100;
  34225. end;
  34226. procedure TUART5_U5STA.setTRMT(thebits : TBits_1); inline;
  34227. begin
  34228. if thebits = 0 then
  34229. pTDefRegMap(@Self)^.clr := $00000100
  34230. else
  34231. pTDefRegMap(@Self)^.&set := $00000100;
  34232. end;
  34233. function TUART5_U5STA.getTRMT : TBits_1; inline;
  34234. begin
  34235. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34236. end;
  34237. procedure TUART5_U5STA.setUTXBF; inline;
  34238. begin
  34239. pTDefRegMap(@Self)^.&set := $00000200;
  34240. end;
  34241. procedure TUART5_U5STA.clearUTXBF; inline;
  34242. begin
  34243. pTDefRegMap(@Self)^.clr := $00000200;
  34244. end;
  34245. procedure TUART5_U5STA.setUTXBF(thebits : TBits_1); inline;
  34246. begin
  34247. if thebits = 0 then
  34248. pTDefRegMap(@Self)^.clr := $00000200
  34249. else
  34250. pTDefRegMap(@Self)^.&set := $00000200;
  34251. end;
  34252. function TUART5_U5STA.getUTXBF : TBits_1; inline;
  34253. begin
  34254. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34255. end;
  34256. procedure TUART5_U5STA.setUTXEN; inline;
  34257. begin
  34258. pTDefRegMap(@Self)^.&set := $00000400;
  34259. end;
  34260. procedure TUART5_U5STA.clearUTXEN; inline;
  34261. begin
  34262. pTDefRegMap(@Self)^.clr := $00000400;
  34263. end;
  34264. procedure TUART5_U5STA.setUTXEN(thebits : TBits_1); inline;
  34265. begin
  34266. if thebits = 0 then
  34267. pTDefRegMap(@Self)^.clr := $00000400
  34268. else
  34269. pTDefRegMap(@Self)^.&set := $00000400;
  34270. end;
  34271. function TUART5_U5STA.getUTXEN : TBits_1; inline;
  34272. begin
  34273. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34274. end;
  34275. procedure TUART5_U5STA.setUTXBRK; inline;
  34276. begin
  34277. pTDefRegMap(@Self)^.&set := $00000800;
  34278. end;
  34279. procedure TUART5_U5STA.clearUTXBRK; inline;
  34280. begin
  34281. pTDefRegMap(@Self)^.clr := $00000800;
  34282. end;
  34283. procedure TUART5_U5STA.setUTXBRK(thebits : TBits_1); inline;
  34284. begin
  34285. if thebits = 0 then
  34286. pTDefRegMap(@Self)^.clr := $00000800
  34287. else
  34288. pTDefRegMap(@Self)^.&set := $00000800;
  34289. end;
  34290. function TUART5_U5STA.getUTXBRK : TBits_1; inline;
  34291. begin
  34292. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34293. end;
  34294. procedure TUART5_U5STA.setURXEN; inline;
  34295. begin
  34296. pTDefRegMap(@Self)^.&set := $00001000;
  34297. end;
  34298. procedure TUART5_U5STA.clearURXEN; inline;
  34299. begin
  34300. pTDefRegMap(@Self)^.clr := $00001000;
  34301. end;
  34302. procedure TUART5_U5STA.setURXEN(thebits : TBits_1); inline;
  34303. begin
  34304. if thebits = 0 then
  34305. pTDefRegMap(@Self)^.clr := $00001000
  34306. else
  34307. pTDefRegMap(@Self)^.&set := $00001000;
  34308. end;
  34309. function TUART5_U5STA.getURXEN : TBits_1; inline;
  34310. begin
  34311. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34312. end;
  34313. procedure TUART5_U5STA.setUTXINV; inline;
  34314. begin
  34315. pTDefRegMap(@Self)^.&set := $00002000;
  34316. end;
  34317. procedure TUART5_U5STA.clearUTXINV; inline;
  34318. begin
  34319. pTDefRegMap(@Self)^.clr := $00002000;
  34320. end;
  34321. procedure TUART5_U5STA.setUTXINV(thebits : TBits_1); inline;
  34322. begin
  34323. if thebits = 0 then
  34324. pTDefRegMap(@Self)^.clr := $00002000
  34325. else
  34326. pTDefRegMap(@Self)^.&set := $00002000;
  34327. end;
  34328. function TUART5_U5STA.getUTXINV : TBits_1; inline;
  34329. begin
  34330. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34331. end;
  34332. procedure TUART5_U5STA.setUTXISEL(thebits : TBits_2); inline;
  34333. begin
  34334. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34335. end;
  34336. function TUART5_U5STA.getUTXISEL : TBits_2; inline;
  34337. begin
  34338. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34339. end;
  34340. procedure TUART5_U5STA.setADDR(thebits : TBits_8); inline;
  34341. begin
  34342. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  34343. end;
  34344. function TUART5_U5STA.getADDR : TBits_8; inline;
  34345. begin
  34346. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  34347. end;
  34348. procedure TUART5_U5STA.setADM_EN; inline;
  34349. begin
  34350. pTDefRegMap(@Self)^.&set := $01000000;
  34351. end;
  34352. procedure TUART5_U5STA.clearADM_EN; inline;
  34353. begin
  34354. pTDefRegMap(@Self)^.clr := $01000000;
  34355. end;
  34356. procedure TUART5_U5STA.setADM_EN(thebits : TBits_1); inline;
  34357. begin
  34358. if thebits = 0 then
  34359. pTDefRegMap(@Self)^.clr := $01000000
  34360. else
  34361. pTDefRegMap(@Self)^.&set := $01000000;
  34362. end;
  34363. function TUART5_U5STA.getADM_EN : TBits_1; inline;
  34364. begin
  34365. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34366. end;
  34367. procedure TUART5_U5STA.setURXISEL0; inline;
  34368. begin
  34369. pTDefRegMap(@Self)^.&set := $00000040;
  34370. end;
  34371. procedure TUART5_U5STA.clearURXISEL0; inline;
  34372. begin
  34373. pTDefRegMap(@Self)^.clr := $00000040;
  34374. end;
  34375. procedure TUART5_U5STA.setURXISEL0(thebits : TBits_1); inline;
  34376. begin
  34377. if thebits = 0 then
  34378. pTDefRegMap(@Self)^.clr := $00000040
  34379. else
  34380. pTDefRegMap(@Self)^.&set := $00000040;
  34381. end;
  34382. function TUART5_U5STA.getURXISEL0 : TBits_1; inline;
  34383. begin
  34384. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34385. end;
  34386. procedure TUART5_U5STA.setURXISEL1; inline;
  34387. begin
  34388. pTDefRegMap(@Self)^.&set := $00000080;
  34389. end;
  34390. procedure TUART5_U5STA.clearURXISEL1; inline;
  34391. begin
  34392. pTDefRegMap(@Self)^.clr := $00000080;
  34393. end;
  34394. procedure TUART5_U5STA.setURXISEL1(thebits : TBits_1); inline;
  34395. begin
  34396. if thebits = 0 then
  34397. pTDefRegMap(@Self)^.clr := $00000080
  34398. else
  34399. pTDefRegMap(@Self)^.&set := $00000080;
  34400. end;
  34401. function TUART5_U5STA.getURXISEL1 : TBits_1; inline;
  34402. begin
  34403. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34404. end;
  34405. procedure TUART5_U5STA.setUTXISEL0; inline;
  34406. begin
  34407. pTDefRegMap(@Self)^.&set := $00004000;
  34408. end;
  34409. procedure TUART5_U5STA.clearUTXISEL0; inline;
  34410. begin
  34411. pTDefRegMap(@Self)^.clr := $00004000;
  34412. end;
  34413. procedure TUART5_U5STA.setUTXISEL0(thebits : TBits_1); inline;
  34414. begin
  34415. if thebits = 0 then
  34416. pTDefRegMap(@Self)^.clr := $00004000
  34417. else
  34418. pTDefRegMap(@Self)^.&set := $00004000;
  34419. end;
  34420. function TUART5_U5STA.getUTXISEL0 : TBits_1; inline;
  34421. begin
  34422. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34423. end;
  34424. procedure TUART5_U5STA.setUTXISEL1; inline;
  34425. begin
  34426. pTDefRegMap(@Self)^.&set := $00008000;
  34427. end;
  34428. procedure TUART5_U5STA.clearUTXISEL1; inline;
  34429. begin
  34430. pTDefRegMap(@Self)^.clr := $00008000;
  34431. end;
  34432. procedure TUART5_U5STA.setUTXISEL1(thebits : TBits_1); inline;
  34433. begin
  34434. if thebits = 0 then
  34435. pTDefRegMap(@Self)^.clr := $00008000
  34436. else
  34437. pTDefRegMap(@Self)^.&set := $00008000;
  34438. end;
  34439. function TUART5_U5STA.getUTXISEL1 : TBits_1; inline;
  34440. begin
  34441. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34442. end;
  34443. procedure TUART5_U5STA.setUTXSEL(thebits : TBits_2); inline;
  34444. begin
  34445. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34446. end;
  34447. function TUART5_U5STA.getUTXSEL : TBits_2; inline;
  34448. begin
  34449. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34450. end;
  34451. procedure TUART5_U5STA.setw(thebits : TBits_32); inline;
  34452. begin
  34453. pTDefRegMap(@Self)^.val := thebits;
  34454. end;
  34455. function TUART5_U5STA.getw : TBits_32; inline;
  34456. begin
  34457. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34458. end;
  34459. procedure TPMP_PMCON.setRDSP; inline;
  34460. begin
  34461. pTDefRegMap(@Self)^.&set := $00000001;
  34462. end;
  34463. procedure TPMP_PMCON.clearRDSP; inline;
  34464. begin
  34465. pTDefRegMap(@Self)^.clr := $00000001;
  34466. end;
  34467. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  34468. begin
  34469. if thebits = 0 then
  34470. pTDefRegMap(@Self)^.clr := $00000001
  34471. else
  34472. pTDefRegMap(@Self)^.&set := $00000001;
  34473. end;
  34474. function TPMP_PMCON.getRDSP : TBits_1; inline;
  34475. begin
  34476. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34477. end;
  34478. procedure TPMP_PMCON.setWRSP; inline;
  34479. begin
  34480. pTDefRegMap(@Self)^.&set := $00000002;
  34481. end;
  34482. procedure TPMP_PMCON.clearWRSP; inline;
  34483. begin
  34484. pTDefRegMap(@Self)^.clr := $00000002;
  34485. end;
  34486. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  34487. begin
  34488. if thebits = 0 then
  34489. pTDefRegMap(@Self)^.clr := $00000002
  34490. else
  34491. pTDefRegMap(@Self)^.&set := $00000002;
  34492. end;
  34493. function TPMP_PMCON.getWRSP : TBits_1; inline;
  34494. begin
  34495. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34496. end;
  34497. procedure TPMP_PMCON.setCS1P; inline;
  34498. begin
  34499. pTDefRegMap(@Self)^.&set := $00000008;
  34500. end;
  34501. procedure TPMP_PMCON.clearCS1P; inline;
  34502. begin
  34503. pTDefRegMap(@Self)^.clr := $00000008;
  34504. end;
  34505. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  34506. begin
  34507. if thebits = 0 then
  34508. pTDefRegMap(@Self)^.clr := $00000008
  34509. else
  34510. pTDefRegMap(@Self)^.&set := $00000008;
  34511. end;
  34512. function TPMP_PMCON.getCS1P : TBits_1; inline;
  34513. begin
  34514. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34515. end;
  34516. procedure TPMP_PMCON.setCS2P; inline;
  34517. begin
  34518. pTDefRegMap(@Self)^.&set := $00000010;
  34519. end;
  34520. procedure TPMP_PMCON.clearCS2P; inline;
  34521. begin
  34522. pTDefRegMap(@Self)^.clr := $00000010;
  34523. end;
  34524. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  34525. begin
  34526. if thebits = 0 then
  34527. pTDefRegMap(@Self)^.clr := $00000010
  34528. else
  34529. pTDefRegMap(@Self)^.&set := $00000010;
  34530. end;
  34531. function TPMP_PMCON.getCS2P : TBits_1; inline;
  34532. begin
  34533. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34534. end;
  34535. procedure TPMP_PMCON.setALP; inline;
  34536. begin
  34537. pTDefRegMap(@Self)^.&set := $00000020;
  34538. end;
  34539. procedure TPMP_PMCON.clearALP; inline;
  34540. begin
  34541. pTDefRegMap(@Self)^.clr := $00000020;
  34542. end;
  34543. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  34544. begin
  34545. if thebits = 0 then
  34546. pTDefRegMap(@Self)^.clr := $00000020
  34547. else
  34548. pTDefRegMap(@Self)^.&set := $00000020;
  34549. end;
  34550. function TPMP_PMCON.getALP : TBits_1; inline;
  34551. begin
  34552. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34553. end;
  34554. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  34555. begin
  34556. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  34557. end;
  34558. function TPMP_PMCON.getCSF : TBits_2; inline;
  34559. begin
  34560. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  34561. end;
  34562. procedure TPMP_PMCON.setPTRDEN; inline;
  34563. begin
  34564. pTDefRegMap(@Self)^.&set := $00000100;
  34565. end;
  34566. procedure TPMP_PMCON.clearPTRDEN; inline;
  34567. begin
  34568. pTDefRegMap(@Self)^.clr := $00000100;
  34569. end;
  34570. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  34571. begin
  34572. if thebits = 0 then
  34573. pTDefRegMap(@Self)^.clr := $00000100
  34574. else
  34575. pTDefRegMap(@Self)^.&set := $00000100;
  34576. end;
  34577. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  34578. begin
  34579. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34580. end;
  34581. procedure TPMP_PMCON.setPTWREN; inline;
  34582. begin
  34583. pTDefRegMap(@Self)^.&set := $00000200;
  34584. end;
  34585. procedure TPMP_PMCON.clearPTWREN; inline;
  34586. begin
  34587. pTDefRegMap(@Self)^.clr := $00000200;
  34588. end;
  34589. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  34590. begin
  34591. if thebits = 0 then
  34592. pTDefRegMap(@Self)^.clr := $00000200
  34593. else
  34594. pTDefRegMap(@Self)^.&set := $00000200;
  34595. end;
  34596. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  34597. begin
  34598. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34599. end;
  34600. procedure TPMP_PMCON.setPMPTTL; inline;
  34601. begin
  34602. pTDefRegMap(@Self)^.&set := $00000400;
  34603. end;
  34604. procedure TPMP_PMCON.clearPMPTTL; inline;
  34605. begin
  34606. pTDefRegMap(@Self)^.clr := $00000400;
  34607. end;
  34608. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  34609. begin
  34610. if thebits = 0 then
  34611. pTDefRegMap(@Self)^.clr := $00000400
  34612. else
  34613. pTDefRegMap(@Self)^.&set := $00000400;
  34614. end;
  34615. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  34616. begin
  34617. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34618. end;
  34619. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  34620. begin
  34621. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  34622. end;
  34623. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  34624. begin
  34625. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  34626. end;
  34627. procedure TPMP_PMCON.setSIDL; inline;
  34628. begin
  34629. pTDefRegMap(@Self)^.&set := $00002000;
  34630. end;
  34631. procedure TPMP_PMCON.clearSIDL; inline;
  34632. begin
  34633. pTDefRegMap(@Self)^.clr := $00002000;
  34634. end;
  34635. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  34636. begin
  34637. if thebits = 0 then
  34638. pTDefRegMap(@Self)^.clr := $00002000
  34639. else
  34640. pTDefRegMap(@Self)^.&set := $00002000;
  34641. end;
  34642. function TPMP_PMCON.getSIDL : TBits_1; inline;
  34643. begin
  34644. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34645. end;
  34646. procedure TPMP_PMCON.setON; inline;
  34647. begin
  34648. pTDefRegMap(@Self)^.&set := $00008000;
  34649. end;
  34650. procedure TPMP_PMCON.clearON; inline;
  34651. begin
  34652. pTDefRegMap(@Self)^.clr := $00008000;
  34653. end;
  34654. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  34655. begin
  34656. if thebits = 0 then
  34657. pTDefRegMap(@Self)^.clr := $00008000
  34658. else
  34659. pTDefRegMap(@Self)^.&set := $00008000;
  34660. end;
  34661. function TPMP_PMCON.getON : TBits_1; inline;
  34662. begin
  34663. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34664. end;
  34665. procedure TPMP_PMCON.setCSF0; inline;
  34666. begin
  34667. pTDefRegMap(@Self)^.&set := $00000040;
  34668. end;
  34669. procedure TPMP_PMCON.clearCSF0; inline;
  34670. begin
  34671. pTDefRegMap(@Self)^.clr := $00000040;
  34672. end;
  34673. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  34674. begin
  34675. if thebits = 0 then
  34676. pTDefRegMap(@Self)^.clr := $00000040
  34677. else
  34678. pTDefRegMap(@Self)^.&set := $00000040;
  34679. end;
  34680. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  34681. begin
  34682. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34683. end;
  34684. procedure TPMP_PMCON.setCSF1; inline;
  34685. begin
  34686. pTDefRegMap(@Self)^.&set := $00000080;
  34687. end;
  34688. procedure TPMP_PMCON.clearCSF1; inline;
  34689. begin
  34690. pTDefRegMap(@Self)^.clr := $00000080;
  34691. end;
  34692. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  34693. begin
  34694. if thebits = 0 then
  34695. pTDefRegMap(@Self)^.clr := $00000080
  34696. else
  34697. pTDefRegMap(@Self)^.&set := $00000080;
  34698. end;
  34699. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  34700. begin
  34701. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34702. end;
  34703. procedure TPMP_PMCON.setADRMUX0; inline;
  34704. begin
  34705. pTDefRegMap(@Self)^.&set := $00000800;
  34706. end;
  34707. procedure TPMP_PMCON.clearADRMUX0; inline;
  34708. begin
  34709. pTDefRegMap(@Self)^.clr := $00000800;
  34710. end;
  34711. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  34712. begin
  34713. if thebits = 0 then
  34714. pTDefRegMap(@Self)^.clr := $00000800
  34715. else
  34716. pTDefRegMap(@Self)^.&set := $00000800;
  34717. end;
  34718. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  34719. begin
  34720. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34721. end;
  34722. procedure TPMP_PMCON.setADRMUX1; inline;
  34723. begin
  34724. pTDefRegMap(@Self)^.&set := $00001000;
  34725. end;
  34726. procedure TPMP_PMCON.clearADRMUX1; inline;
  34727. begin
  34728. pTDefRegMap(@Self)^.clr := $00001000;
  34729. end;
  34730. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  34731. begin
  34732. if thebits = 0 then
  34733. pTDefRegMap(@Self)^.clr := $00001000
  34734. else
  34735. pTDefRegMap(@Self)^.&set := $00001000;
  34736. end;
  34737. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  34738. begin
  34739. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34740. end;
  34741. procedure TPMP_PMCON.setPSIDL; inline;
  34742. begin
  34743. pTDefRegMap(@Self)^.&set := $00002000;
  34744. end;
  34745. procedure TPMP_PMCON.clearPSIDL; inline;
  34746. begin
  34747. pTDefRegMap(@Self)^.clr := $00002000;
  34748. end;
  34749. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  34750. begin
  34751. if thebits = 0 then
  34752. pTDefRegMap(@Self)^.clr := $00002000
  34753. else
  34754. pTDefRegMap(@Self)^.&set := $00002000;
  34755. end;
  34756. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  34757. begin
  34758. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34759. end;
  34760. procedure TPMP_PMCON.setPMPEN; inline;
  34761. begin
  34762. pTDefRegMap(@Self)^.&set := $00008000;
  34763. end;
  34764. procedure TPMP_PMCON.clearPMPEN; inline;
  34765. begin
  34766. pTDefRegMap(@Self)^.clr := $00008000;
  34767. end;
  34768. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  34769. begin
  34770. if thebits = 0 then
  34771. pTDefRegMap(@Self)^.clr := $00008000
  34772. else
  34773. pTDefRegMap(@Self)^.&set := $00008000;
  34774. end;
  34775. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  34776. begin
  34777. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34778. end;
  34779. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  34780. begin
  34781. pTDefRegMap(@Self)^.val := thebits;
  34782. end;
  34783. function TPMP_PMCON.getw : TBits_32; inline;
  34784. begin
  34785. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34786. end;
  34787. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  34788. begin
  34789. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  34790. end;
  34791. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  34792. begin
  34793. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  34794. end;
  34795. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  34796. begin
  34797. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  34798. end;
  34799. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  34800. begin
  34801. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  34802. end;
  34803. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  34804. begin
  34805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  34806. end;
  34807. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  34808. begin
  34809. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  34810. end;
  34811. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  34812. begin
  34813. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34814. end;
  34815. function TPMP_PMMODE.getMODE : TBits_2; inline;
  34816. begin
  34817. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34818. end;
  34819. procedure TPMP_PMMODE.setMODE16; inline;
  34820. begin
  34821. pTDefRegMap(@Self)^.&set := $00000400;
  34822. end;
  34823. procedure TPMP_PMMODE.clearMODE16; inline;
  34824. begin
  34825. pTDefRegMap(@Self)^.clr := $00000400;
  34826. end;
  34827. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  34828. begin
  34829. if thebits = 0 then
  34830. pTDefRegMap(@Self)^.clr := $00000400
  34831. else
  34832. pTDefRegMap(@Self)^.&set := $00000400;
  34833. end;
  34834. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  34835. begin
  34836. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34837. end;
  34838. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  34839. begin
  34840. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  34841. end;
  34842. function TPMP_PMMODE.getINCM : TBits_2; inline;
  34843. begin
  34844. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  34845. end;
  34846. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  34847. begin
  34848. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  34849. end;
  34850. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  34851. begin
  34852. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  34853. end;
  34854. procedure TPMP_PMMODE.setBUSY; inline;
  34855. begin
  34856. pTDefRegMap(@Self)^.&set := $00008000;
  34857. end;
  34858. procedure TPMP_PMMODE.clearBUSY; inline;
  34859. begin
  34860. pTDefRegMap(@Self)^.clr := $00008000;
  34861. end;
  34862. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  34863. begin
  34864. if thebits = 0 then
  34865. pTDefRegMap(@Self)^.clr := $00008000
  34866. else
  34867. pTDefRegMap(@Self)^.&set := $00008000;
  34868. end;
  34869. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  34870. begin
  34871. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34872. end;
  34873. procedure TPMP_PMMODE.setWAITE0; inline;
  34874. begin
  34875. pTDefRegMap(@Self)^.&set := $00000001;
  34876. end;
  34877. procedure TPMP_PMMODE.clearWAITE0; inline;
  34878. begin
  34879. pTDefRegMap(@Self)^.clr := $00000001;
  34880. end;
  34881. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  34882. begin
  34883. if thebits = 0 then
  34884. pTDefRegMap(@Self)^.clr := $00000001
  34885. else
  34886. pTDefRegMap(@Self)^.&set := $00000001;
  34887. end;
  34888. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  34889. begin
  34890. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34891. end;
  34892. procedure TPMP_PMMODE.setWAITE1; inline;
  34893. begin
  34894. pTDefRegMap(@Self)^.&set := $00000002;
  34895. end;
  34896. procedure TPMP_PMMODE.clearWAITE1; inline;
  34897. begin
  34898. pTDefRegMap(@Self)^.clr := $00000002;
  34899. end;
  34900. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  34901. begin
  34902. if thebits = 0 then
  34903. pTDefRegMap(@Self)^.clr := $00000002
  34904. else
  34905. pTDefRegMap(@Self)^.&set := $00000002;
  34906. end;
  34907. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  34908. begin
  34909. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34910. end;
  34911. procedure TPMP_PMMODE.setWAITM0; inline;
  34912. begin
  34913. pTDefRegMap(@Self)^.&set := $00000004;
  34914. end;
  34915. procedure TPMP_PMMODE.clearWAITM0; inline;
  34916. begin
  34917. pTDefRegMap(@Self)^.clr := $00000004;
  34918. end;
  34919. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  34920. begin
  34921. if thebits = 0 then
  34922. pTDefRegMap(@Self)^.clr := $00000004
  34923. else
  34924. pTDefRegMap(@Self)^.&set := $00000004;
  34925. end;
  34926. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  34927. begin
  34928. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34929. end;
  34930. procedure TPMP_PMMODE.setWAITM1; inline;
  34931. begin
  34932. pTDefRegMap(@Self)^.&set := $00000008;
  34933. end;
  34934. procedure TPMP_PMMODE.clearWAITM1; inline;
  34935. begin
  34936. pTDefRegMap(@Self)^.clr := $00000008;
  34937. end;
  34938. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  34939. begin
  34940. if thebits = 0 then
  34941. pTDefRegMap(@Self)^.clr := $00000008
  34942. else
  34943. pTDefRegMap(@Self)^.&set := $00000008;
  34944. end;
  34945. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  34946. begin
  34947. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34948. end;
  34949. procedure TPMP_PMMODE.setWAITM2; inline;
  34950. begin
  34951. pTDefRegMap(@Self)^.&set := $00000010;
  34952. end;
  34953. procedure TPMP_PMMODE.clearWAITM2; inline;
  34954. begin
  34955. pTDefRegMap(@Self)^.clr := $00000010;
  34956. end;
  34957. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  34958. begin
  34959. if thebits = 0 then
  34960. pTDefRegMap(@Self)^.clr := $00000010
  34961. else
  34962. pTDefRegMap(@Self)^.&set := $00000010;
  34963. end;
  34964. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  34965. begin
  34966. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34967. end;
  34968. procedure TPMP_PMMODE.setWAITM3; inline;
  34969. begin
  34970. pTDefRegMap(@Self)^.&set := $00000020;
  34971. end;
  34972. procedure TPMP_PMMODE.clearWAITM3; inline;
  34973. begin
  34974. pTDefRegMap(@Self)^.clr := $00000020;
  34975. end;
  34976. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  34977. begin
  34978. if thebits = 0 then
  34979. pTDefRegMap(@Self)^.clr := $00000020
  34980. else
  34981. pTDefRegMap(@Self)^.&set := $00000020;
  34982. end;
  34983. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  34984. begin
  34985. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34986. end;
  34987. procedure TPMP_PMMODE.setWAITB0; inline;
  34988. begin
  34989. pTDefRegMap(@Self)^.&set := $00000040;
  34990. end;
  34991. procedure TPMP_PMMODE.clearWAITB0; inline;
  34992. begin
  34993. pTDefRegMap(@Self)^.clr := $00000040;
  34994. end;
  34995. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  34996. begin
  34997. if thebits = 0 then
  34998. pTDefRegMap(@Self)^.clr := $00000040
  34999. else
  35000. pTDefRegMap(@Self)^.&set := $00000040;
  35001. end;
  35002. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  35003. begin
  35004. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35005. end;
  35006. procedure TPMP_PMMODE.setWAITB1; inline;
  35007. begin
  35008. pTDefRegMap(@Self)^.&set := $00000080;
  35009. end;
  35010. procedure TPMP_PMMODE.clearWAITB1; inline;
  35011. begin
  35012. pTDefRegMap(@Self)^.clr := $00000080;
  35013. end;
  35014. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  35015. begin
  35016. if thebits = 0 then
  35017. pTDefRegMap(@Self)^.clr := $00000080
  35018. else
  35019. pTDefRegMap(@Self)^.&set := $00000080;
  35020. end;
  35021. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  35022. begin
  35023. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35024. end;
  35025. procedure TPMP_PMMODE.setMODE0; inline;
  35026. begin
  35027. pTDefRegMap(@Self)^.&set := $00000100;
  35028. end;
  35029. procedure TPMP_PMMODE.clearMODE0; inline;
  35030. begin
  35031. pTDefRegMap(@Self)^.clr := $00000100;
  35032. end;
  35033. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  35034. begin
  35035. if thebits = 0 then
  35036. pTDefRegMap(@Self)^.clr := $00000100
  35037. else
  35038. pTDefRegMap(@Self)^.&set := $00000100;
  35039. end;
  35040. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  35041. begin
  35042. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35043. end;
  35044. procedure TPMP_PMMODE.setMODE1; inline;
  35045. begin
  35046. pTDefRegMap(@Self)^.&set := $00000200;
  35047. end;
  35048. procedure TPMP_PMMODE.clearMODE1; inline;
  35049. begin
  35050. pTDefRegMap(@Self)^.clr := $00000200;
  35051. end;
  35052. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  35053. begin
  35054. if thebits = 0 then
  35055. pTDefRegMap(@Self)^.clr := $00000200
  35056. else
  35057. pTDefRegMap(@Self)^.&set := $00000200;
  35058. end;
  35059. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  35060. begin
  35061. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35062. end;
  35063. procedure TPMP_PMMODE.setINCM0; inline;
  35064. begin
  35065. pTDefRegMap(@Self)^.&set := $00000800;
  35066. end;
  35067. procedure TPMP_PMMODE.clearINCM0; inline;
  35068. begin
  35069. pTDefRegMap(@Self)^.clr := $00000800;
  35070. end;
  35071. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  35072. begin
  35073. if thebits = 0 then
  35074. pTDefRegMap(@Self)^.clr := $00000800
  35075. else
  35076. pTDefRegMap(@Self)^.&set := $00000800;
  35077. end;
  35078. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  35079. begin
  35080. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35081. end;
  35082. procedure TPMP_PMMODE.setINCM1; inline;
  35083. begin
  35084. pTDefRegMap(@Self)^.&set := $00001000;
  35085. end;
  35086. procedure TPMP_PMMODE.clearINCM1; inline;
  35087. begin
  35088. pTDefRegMap(@Self)^.clr := $00001000;
  35089. end;
  35090. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  35091. begin
  35092. if thebits = 0 then
  35093. pTDefRegMap(@Self)^.clr := $00001000
  35094. else
  35095. pTDefRegMap(@Self)^.&set := $00001000;
  35096. end;
  35097. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  35098. begin
  35099. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35100. end;
  35101. procedure TPMP_PMMODE.setIRQM0; inline;
  35102. begin
  35103. pTDefRegMap(@Self)^.&set := $00002000;
  35104. end;
  35105. procedure TPMP_PMMODE.clearIRQM0; inline;
  35106. begin
  35107. pTDefRegMap(@Self)^.clr := $00002000;
  35108. end;
  35109. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  35110. begin
  35111. if thebits = 0 then
  35112. pTDefRegMap(@Self)^.clr := $00002000
  35113. else
  35114. pTDefRegMap(@Self)^.&set := $00002000;
  35115. end;
  35116. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  35117. begin
  35118. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35119. end;
  35120. procedure TPMP_PMMODE.setIRQM1; inline;
  35121. begin
  35122. pTDefRegMap(@Self)^.&set := $00004000;
  35123. end;
  35124. procedure TPMP_PMMODE.clearIRQM1; inline;
  35125. begin
  35126. pTDefRegMap(@Self)^.clr := $00004000;
  35127. end;
  35128. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  35129. begin
  35130. if thebits = 0 then
  35131. pTDefRegMap(@Self)^.clr := $00004000
  35132. else
  35133. pTDefRegMap(@Self)^.&set := $00004000;
  35134. end;
  35135. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  35136. begin
  35137. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35138. end;
  35139. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  35140. begin
  35141. pTDefRegMap(@Self)^.val := thebits;
  35142. end;
  35143. function TPMP_PMMODE.getw : TBits_32; inline;
  35144. begin
  35145. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35146. end;
  35147. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  35148. begin
  35149. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  35150. end;
  35151. function TPMP_PMADDR.getADDR : TBits_14; inline;
  35152. begin
  35153. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  35154. end;
  35155. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  35156. begin
  35157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35158. end;
  35159. function TPMP_PMADDR.getCS : TBits_2; inline;
  35160. begin
  35161. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35162. end;
  35163. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  35164. begin
  35165. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  35166. end;
  35167. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  35168. begin
  35169. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  35170. end;
  35171. procedure TPMP_PMADDR.setCS1; inline;
  35172. begin
  35173. pTDefRegMap(@Self)^.&set := $00004000;
  35174. end;
  35175. procedure TPMP_PMADDR.clearCS1; inline;
  35176. begin
  35177. pTDefRegMap(@Self)^.clr := $00004000;
  35178. end;
  35179. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  35180. begin
  35181. if thebits = 0 then
  35182. pTDefRegMap(@Self)^.clr := $00004000
  35183. else
  35184. pTDefRegMap(@Self)^.&set := $00004000;
  35185. end;
  35186. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  35187. begin
  35188. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35189. end;
  35190. procedure TPMP_PMADDR.setCS2; inline;
  35191. begin
  35192. pTDefRegMap(@Self)^.&set := $00008000;
  35193. end;
  35194. procedure TPMP_PMADDR.clearCS2; inline;
  35195. begin
  35196. pTDefRegMap(@Self)^.clr := $00008000;
  35197. end;
  35198. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  35199. begin
  35200. if thebits = 0 then
  35201. pTDefRegMap(@Self)^.clr := $00008000
  35202. else
  35203. pTDefRegMap(@Self)^.&set := $00008000;
  35204. end;
  35205. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  35206. begin
  35207. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35208. end;
  35209. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  35210. begin
  35211. pTDefRegMap(@Self)^.val := thebits;
  35212. end;
  35213. function TPMP_PMADDR.getw : TBits_32; inline;
  35214. begin
  35215. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35216. end;
  35217. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  35218. begin
  35219. pTDefRegMap(@Self)^.val := thebits;
  35220. end;
  35221. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  35222. begin
  35223. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35224. end;
  35225. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  35226. begin
  35227. pTDefRegMap(@Self)^.val := thebits;
  35228. end;
  35229. function TPMP_PMDOUT.getw : TBits_32; inline;
  35230. begin
  35231. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35232. end;
  35233. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  35234. begin
  35235. pTDefRegMap(@Self)^.val := thebits;
  35236. end;
  35237. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  35238. begin
  35239. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35240. end;
  35241. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  35242. begin
  35243. pTDefRegMap(@Self)^.val := thebits;
  35244. end;
  35245. function TPMP_PMDIN.getw : TBits_32; inline;
  35246. begin
  35247. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35248. end;
  35249. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  35250. begin
  35251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  35252. end;
  35253. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  35254. begin
  35255. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  35256. end;
  35257. procedure TPMP_PMAEN.setPTEN0; inline;
  35258. begin
  35259. pTDefRegMap(@Self)^.&set := $00000001;
  35260. end;
  35261. procedure TPMP_PMAEN.clearPTEN0; inline;
  35262. begin
  35263. pTDefRegMap(@Self)^.clr := $00000001;
  35264. end;
  35265. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  35266. begin
  35267. if thebits = 0 then
  35268. pTDefRegMap(@Self)^.clr := $00000001
  35269. else
  35270. pTDefRegMap(@Self)^.&set := $00000001;
  35271. end;
  35272. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  35273. begin
  35274. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35275. end;
  35276. procedure TPMP_PMAEN.setPTEN1; inline;
  35277. begin
  35278. pTDefRegMap(@Self)^.&set := $00000002;
  35279. end;
  35280. procedure TPMP_PMAEN.clearPTEN1; inline;
  35281. begin
  35282. pTDefRegMap(@Self)^.clr := $00000002;
  35283. end;
  35284. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  35285. begin
  35286. if thebits = 0 then
  35287. pTDefRegMap(@Self)^.clr := $00000002
  35288. else
  35289. pTDefRegMap(@Self)^.&set := $00000002;
  35290. end;
  35291. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  35292. begin
  35293. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35294. end;
  35295. procedure TPMP_PMAEN.setPTEN2; inline;
  35296. begin
  35297. pTDefRegMap(@Self)^.&set := $00000004;
  35298. end;
  35299. procedure TPMP_PMAEN.clearPTEN2; inline;
  35300. begin
  35301. pTDefRegMap(@Self)^.clr := $00000004;
  35302. end;
  35303. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  35304. begin
  35305. if thebits = 0 then
  35306. pTDefRegMap(@Self)^.clr := $00000004
  35307. else
  35308. pTDefRegMap(@Self)^.&set := $00000004;
  35309. end;
  35310. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  35311. begin
  35312. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35313. end;
  35314. procedure TPMP_PMAEN.setPTEN3; inline;
  35315. begin
  35316. pTDefRegMap(@Self)^.&set := $00000008;
  35317. end;
  35318. procedure TPMP_PMAEN.clearPTEN3; inline;
  35319. begin
  35320. pTDefRegMap(@Self)^.clr := $00000008;
  35321. end;
  35322. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  35323. begin
  35324. if thebits = 0 then
  35325. pTDefRegMap(@Self)^.clr := $00000008
  35326. else
  35327. pTDefRegMap(@Self)^.&set := $00000008;
  35328. end;
  35329. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  35330. begin
  35331. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35332. end;
  35333. procedure TPMP_PMAEN.setPTEN4; inline;
  35334. begin
  35335. pTDefRegMap(@Self)^.&set := $00000010;
  35336. end;
  35337. procedure TPMP_PMAEN.clearPTEN4; inline;
  35338. begin
  35339. pTDefRegMap(@Self)^.clr := $00000010;
  35340. end;
  35341. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  35342. begin
  35343. if thebits = 0 then
  35344. pTDefRegMap(@Self)^.clr := $00000010
  35345. else
  35346. pTDefRegMap(@Self)^.&set := $00000010;
  35347. end;
  35348. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  35349. begin
  35350. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35351. end;
  35352. procedure TPMP_PMAEN.setPTEN5; inline;
  35353. begin
  35354. pTDefRegMap(@Self)^.&set := $00000020;
  35355. end;
  35356. procedure TPMP_PMAEN.clearPTEN5; inline;
  35357. begin
  35358. pTDefRegMap(@Self)^.clr := $00000020;
  35359. end;
  35360. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  35361. begin
  35362. if thebits = 0 then
  35363. pTDefRegMap(@Self)^.clr := $00000020
  35364. else
  35365. pTDefRegMap(@Self)^.&set := $00000020;
  35366. end;
  35367. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  35368. begin
  35369. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35370. end;
  35371. procedure TPMP_PMAEN.setPTEN6; inline;
  35372. begin
  35373. pTDefRegMap(@Self)^.&set := $00000040;
  35374. end;
  35375. procedure TPMP_PMAEN.clearPTEN6; inline;
  35376. begin
  35377. pTDefRegMap(@Self)^.clr := $00000040;
  35378. end;
  35379. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  35380. begin
  35381. if thebits = 0 then
  35382. pTDefRegMap(@Self)^.clr := $00000040
  35383. else
  35384. pTDefRegMap(@Self)^.&set := $00000040;
  35385. end;
  35386. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  35387. begin
  35388. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35389. end;
  35390. procedure TPMP_PMAEN.setPTEN7; inline;
  35391. begin
  35392. pTDefRegMap(@Self)^.&set := $00000080;
  35393. end;
  35394. procedure TPMP_PMAEN.clearPTEN7; inline;
  35395. begin
  35396. pTDefRegMap(@Self)^.clr := $00000080;
  35397. end;
  35398. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  35399. begin
  35400. if thebits = 0 then
  35401. pTDefRegMap(@Self)^.clr := $00000080
  35402. else
  35403. pTDefRegMap(@Self)^.&set := $00000080;
  35404. end;
  35405. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  35406. begin
  35407. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35408. end;
  35409. procedure TPMP_PMAEN.setPTEN8; inline;
  35410. begin
  35411. pTDefRegMap(@Self)^.&set := $00000100;
  35412. end;
  35413. procedure TPMP_PMAEN.clearPTEN8; inline;
  35414. begin
  35415. pTDefRegMap(@Self)^.clr := $00000100;
  35416. end;
  35417. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  35418. begin
  35419. if thebits = 0 then
  35420. pTDefRegMap(@Self)^.clr := $00000100
  35421. else
  35422. pTDefRegMap(@Self)^.&set := $00000100;
  35423. end;
  35424. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  35425. begin
  35426. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35427. end;
  35428. procedure TPMP_PMAEN.setPTEN9; inline;
  35429. begin
  35430. pTDefRegMap(@Self)^.&set := $00000200;
  35431. end;
  35432. procedure TPMP_PMAEN.clearPTEN9; inline;
  35433. begin
  35434. pTDefRegMap(@Self)^.clr := $00000200;
  35435. end;
  35436. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  35437. begin
  35438. if thebits = 0 then
  35439. pTDefRegMap(@Self)^.clr := $00000200
  35440. else
  35441. pTDefRegMap(@Self)^.&set := $00000200;
  35442. end;
  35443. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  35444. begin
  35445. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35446. end;
  35447. procedure TPMP_PMAEN.setPTEN10; inline;
  35448. begin
  35449. pTDefRegMap(@Self)^.&set := $00000400;
  35450. end;
  35451. procedure TPMP_PMAEN.clearPTEN10; inline;
  35452. begin
  35453. pTDefRegMap(@Self)^.clr := $00000400;
  35454. end;
  35455. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  35456. begin
  35457. if thebits = 0 then
  35458. pTDefRegMap(@Self)^.clr := $00000400
  35459. else
  35460. pTDefRegMap(@Self)^.&set := $00000400;
  35461. end;
  35462. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  35463. begin
  35464. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35465. end;
  35466. procedure TPMP_PMAEN.setPTEN11; inline;
  35467. begin
  35468. pTDefRegMap(@Self)^.&set := $00000800;
  35469. end;
  35470. procedure TPMP_PMAEN.clearPTEN11; inline;
  35471. begin
  35472. pTDefRegMap(@Self)^.clr := $00000800;
  35473. end;
  35474. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  35475. begin
  35476. if thebits = 0 then
  35477. pTDefRegMap(@Self)^.clr := $00000800
  35478. else
  35479. pTDefRegMap(@Self)^.&set := $00000800;
  35480. end;
  35481. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  35482. begin
  35483. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35484. end;
  35485. procedure TPMP_PMAEN.setPTEN12; inline;
  35486. begin
  35487. pTDefRegMap(@Self)^.&set := $00001000;
  35488. end;
  35489. procedure TPMP_PMAEN.clearPTEN12; inline;
  35490. begin
  35491. pTDefRegMap(@Self)^.clr := $00001000;
  35492. end;
  35493. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  35494. begin
  35495. if thebits = 0 then
  35496. pTDefRegMap(@Self)^.clr := $00001000
  35497. else
  35498. pTDefRegMap(@Self)^.&set := $00001000;
  35499. end;
  35500. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  35501. begin
  35502. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35503. end;
  35504. procedure TPMP_PMAEN.setPTEN13; inline;
  35505. begin
  35506. pTDefRegMap(@Self)^.&set := $00002000;
  35507. end;
  35508. procedure TPMP_PMAEN.clearPTEN13; inline;
  35509. begin
  35510. pTDefRegMap(@Self)^.clr := $00002000;
  35511. end;
  35512. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  35513. begin
  35514. if thebits = 0 then
  35515. pTDefRegMap(@Self)^.clr := $00002000
  35516. else
  35517. pTDefRegMap(@Self)^.&set := $00002000;
  35518. end;
  35519. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  35520. begin
  35521. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35522. end;
  35523. procedure TPMP_PMAEN.setPTEN14; inline;
  35524. begin
  35525. pTDefRegMap(@Self)^.&set := $00004000;
  35526. end;
  35527. procedure TPMP_PMAEN.clearPTEN14; inline;
  35528. begin
  35529. pTDefRegMap(@Self)^.clr := $00004000;
  35530. end;
  35531. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  35532. begin
  35533. if thebits = 0 then
  35534. pTDefRegMap(@Self)^.clr := $00004000
  35535. else
  35536. pTDefRegMap(@Self)^.&set := $00004000;
  35537. end;
  35538. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  35539. begin
  35540. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35541. end;
  35542. procedure TPMP_PMAEN.setPTEN15; inline;
  35543. begin
  35544. pTDefRegMap(@Self)^.&set := $00008000;
  35545. end;
  35546. procedure TPMP_PMAEN.clearPTEN15; inline;
  35547. begin
  35548. pTDefRegMap(@Self)^.clr := $00008000;
  35549. end;
  35550. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  35551. begin
  35552. if thebits = 0 then
  35553. pTDefRegMap(@Self)^.clr := $00008000
  35554. else
  35555. pTDefRegMap(@Self)^.&set := $00008000;
  35556. end;
  35557. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  35558. begin
  35559. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35560. end;
  35561. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  35562. begin
  35563. pTDefRegMap(@Self)^.val := thebits;
  35564. end;
  35565. function TPMP_PMAEN.getw : TBits_32; inline;
  35566. begin
  35567. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35568. end;
  35569. procedure TPMP_PMSTAT.setOB0E; inline;
  35570. begin
  35571. pTDefRegMap(@Self)^.&set := $00000001;
  35572. end;
  35573. procedure TPMP_PMSTAT.clearOB0E; inline;
  35574. begin
  35575. pTDefRegMap(@Self)^.clr := $00000001;
  35576. end;
  35577. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  35578. begin
  35579. if thebits = 0 then
  35580. pTDefRegMap(@Self)^.clr := $00000001
  35581. else
  35582. pTDefRegMap(@Self)^.&set := $00000001;
  35583. end;
  35584. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  35585. begin
  35586. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35587. end;
  35588. procedure TPMP_PMSTAT.setOB1E; inline;
  35589. begin
  35590. pTDefRegMap(@Self)^.&set := $00000002;
  35591. end;
  35592. procedure TPMP_PMSTAT.clearOB1E; inline;
  35593. begin
  35594. pTDefRegMap(@Self)^.clr := $00000002;
  35595. end;
  35596. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  35597. begin
  35598. if thebits = 0 then
  35599. pTDefRegMap(@Self)^.clr := $00000002
  35600. else
  35601. pTDefRegMap(@Self)^.&set := $00000002;
  35602. end;
  35603. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  35604. begin
  35605. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35606. end;
  35607. procedure TPMP_PMSTAT.setOB2E; inline;
  35608. begin
  35609. pTDefRegMap(@Self)^.&set := $00000004;
  35610. end;
  35611. procedure TPMP_PMSTAT.clearOB2E; inline;
  35612. begin
  35613. pTDefRegMap(@Self)^.clr := $00000004;
  35614. end;
  35615. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  35616. begin
  35617. if thebits = 0 then
  35618. pTDefRegMap(@Self)^.clr := $00000004
  35619. else
  35620. pTDefRegMap(@Self)^.&set := $00000004;
  35621. end;
  35622. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  35623. begin
  35624. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35625. end;
  35626. procedure TPMP_PMSTAT.setOB3E; inline;
  35627. begin
  35628. pTDefRegMap(@Self)^.&set := $00000008;
  35629. end;
  35630. procedure TPMP_PMSTAT.clearOB3E; inline;
  35631. begin
  35632. pTDefRegMap(@Self)^.clr := $00000008;
  35633. end;
  35634. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  35635. begin
  35636. if thebits = 0 then
  35637. pTDefRegMap(@Self)^.clr := $00000008
  35638. else
  35639. pTDefRegMap(@Self)^.&set := $00000008;
  35640. end;
  35641. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  35642. begin
  35643. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35644. end;
  35645. procedure TPMP_PMSTAT.setOBUF; inline;
  35646. begin
  35647. pTDefRegMap(@Self)^.&set := $00000040;
  35648. end;
  35649. procedure TPMP_PMSTAT.clearOBUF; inline;
  35650. begin
  35651. pTDefRegMap(@Self)^.clr := $00000040;
  35652. end;
  35653. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  35654. begin
  35655. if thebits = 0 then
  35656. pTDefRegMap(@Self)^.clr := $00000040
  35657. else
  35658. pTDefRegMap(@Self)^.&set := $00000040;
  35659. end;
  35660. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  35661. begin
  35662. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35663. end;
  35664. procedure TPMP_PMSTAT.setOBE; inline;
  35665. begin
  35666. pTDefRegMap(@Self)^.&set := $00000080;
  35667. end;
  35668. procedure TPMP_PMSTAT.clearOBE; inline;
  35669. begin
  35670. pTDefRegMap(@Self)^.clr := $00000080;
  35671. end;
  35672. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  35673. begin
  35674. if thebits = 0 then
  35675. pTDefRegMap(@Self)^.clr := $00000080
  35676. else
  35677. pTDefRegMap(@Self)^.&set := $00000080;
  35678. end;
  35679. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  35680. begin
  35681. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35682. end;
  35683. procedure TPMP_PMSTAT.setIB0F; inline;
  35684. begin
  35685. pTDefRegMap(@Self)^.&set := $00000100;
  35686. end;
  35687. procedure TPMP_PMSTAT.clearIB0F; inline;
  35688. begin
  35689. pTDefRegMap(@Self)^.clr := $00000100;
  35690. end;
  35691. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  35692. begin
  35693. if thebits = 0 then
  35694. pTDefRegMap(@Self)^.clr := $00000100
  35695. else
  35696. pTDefRegMap(@Self)^.&set := $00000100;
  35697. end;
  35698. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  35699. begin
  35700. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35701. end;
  35702. procedure TPMP_PMSTAT.setIB1F; inline;
  35703. begin
  35704. pTDefRegMap(@Self)^.&set := $00000200;
  35705. end;
  35706. procedure TPMP_PMSTAT.clearIB1F; inline;
  35707. begin
  35708. pTDefRegMap(@Self)^.clr := $00000200;
  35709. end;
  35710. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  35711. begin
  35712. if thebits = 0 then
  35713. pTDefRegMap(@Self)^.clr := $00000200
  35714. else
  35715. pTDefRegMap(@Self)^.&set := $00000200;
  35716. end;
  35717. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  35718. begin
  35719. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35720. end;
  35721. procedure TPMP_PMSTAT.setIB2F; inline;
  35722. begin
  35723. pTDefRegMap(@Self)^.&set := $00000400;
  35724. end;
  35725. procedure TPMP_PMSTAT.clearIB2F; inline;
  35726. begin
  35727. pTDefRegMap(@Self)^.clr := $00000400;
  35728. end;
  35729. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  35730. begin
  35731. if thebits = 0 then
  35732. pTDefRegMap(@Self)^.clr := $00000400
  35733. else
  35734. pTDefRegMap(@Self)^.&set := $00000400;
  35735. end;
  35736. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  35737. begin
  35738. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35739. end;
  35740. procedure TPMP_PMSTAT.setIB3F; inline;
  35741. begin
  35742. pTDefRegMap(@Self)^.&set := $00000800;
  35743. end;
  35744. procedure TPMP_PMSTAT.clearIB3F; inline;
  35745. begin
  35746. pTDefRegMap(@Self)^.clr := $00000800;
  35747. end;
  35748. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  35749. begin
  35750. if thebits = 0 then
  35751. pTDefRegMap(@Self)^.clr := $00000800
  35752. else
  35753. pTDefRegMap(@Self)^.&set := $00000800;
  35754. end;
  35755. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  35756. begin
  35757. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35758. end;
  35759. procedure TPMP_PMSTAT.setIBOV; inline;
  35760. begin
  35761. pTDefRegMap(@Self)^.&set := $00004000;
  35762. end;
  35763. procedure TPMP_PMSTAT.clearIBOV; inline;
  35764. begin
  35765. pTDefRegMap(@Self)^.clr := $00004000;
  35766. end;
  35767. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  35768. begin
  35769. if thebits = 0 then
  35770. pTDefRegMap(@Self)^.clr := $00004000
  35771. else
  35772. pTDefRegMap(@Self)^.&set := $00004000;
  35773. end;
  35774. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  35775. begin
  35776. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35777. end;
  35778. procedure TPMP_PMSTAT.setIBF; inline;
  35779. begin
  35780. pTDefRegMap(@Self)^.&set := $00008000;
  35781. end;
  35782. procedure TPMP_PMSTAT.clearIBF; inline;
  35783. begin
  35784. pTDefRegMap(@Self)^.clr := $00008000;
  35785. end;
  35786. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  35787. begin
  35788. if thebits = 0 then
  35789. pTDefRegMap(@Self)^.clr := $00008000
  35790. else
  35791. pTDefRegMap(@Self)^.&set := $00008000;
  35792. end;
  35793. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  35794. begin
  35795. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35796. end;
  35797. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  35798. begin
  35799. pTDefRegMap(@Self)^.val := thebits;
  35800. end;
  35801. function TPMP_PMSTAT.getw : TBits_32; inline;
  35802. begin
  35803. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35804. end;
  35805. procedure TADC10_AD1CON1.setDONE; inline;
  35806. begin
  35807. pTDefRegMap(@Self)^.&set := $00000001;
  35808. end;
  35809. procedure TADC10_AD1CON1.clearDONE; inline;
  35810. begin
  35811. pTDefRegMap(@Self)^.clr := $00000001;
  35812. end;
  35813. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  35814. begin
  35815. if thebits = 0 then
  35816. pTDefRegMap(@Self)^.clr := $00000001
  35817. else
  35818. pTDefRegMap(@Self)^.&set := $00000001;
  35819. end;
  35820. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  35821. begin
  35822. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35823. end;
  35824. procedure TADC10_AD1CON1.setSAMP; inline;
  35825. begin
  35826. pTDefRegMap(@Self)^.&set := $00000002;
  35827. end;
  35828. procedure TADC10_AD1CON1.clearSAMP; inline;
  35829. begin
  35830. pTDefRegMap(@Self)^.clr := $00000002;
  35831. end;
  35832. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  35833. begin
  35834. if thebits = 0 then
  35835. pTDefRegMap(@Self)^.clr := $00000002
  35836. else
  35837. pTDefRegMap(@Self)^.&set := $00000002;
  35838. end;
  35839. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  35840. begin
  35841. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35842. end;
  35843. procedure TADC10_AD1CON1.setASAM; inline;
  35844. begin
  35845. pTDefRegMap(@Self)^.&set := $00000004;
  35846. end;
  35847. procedure TADC10_AD1CON1.clearASAM; inline;
  35848. begin
  35849. pTDefRegMap(@Self)^.clr := $00000004;
  35850. end;
  35851. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  35852. begin
  35853. if thebits = 0 then
  35854. pTDefRegMap(@Self)^.clr := $00000004
  35855. else
  35856. pTDefRegMap(@Self)^.&set := $00000004;
  35857. end;
  35858. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  35859. begin
  35860. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35861. end;
  35862. procedure TADC10_AD1CON1.setCLRASAM; inline;
  35863. begin
  35864. pTDefRegMap(@Self)^.&set := $00000010;
  35865. end;
  35866. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  35867. begin
  35868. pTDefRegMap(@Self)^.clr := $00000010;
  35869. end;
  35870. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  35871. begin
  35872. if thebits = 0 then
  35873. pTDefRegMap(@Self)^.clr := $00000010
  35874. else
  35875. pTDefRegMap(@Self)^.&set := $00000010;
  35876. end;
  35877. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  35878. begin
  35879. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35880. end;
  35881. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  35882. begin
  35883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  35884. end;
  35885. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  35886. begin
  35887. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  35888. end;
  35889. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  35890. begin
  35891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  35892. end;
  35893. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  35894. begin
  35895. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  35896. end;
  35897. procedure TADC10_AD1CON1.setSIDL; inline;
  35898. begin
  35899. pTDefRegMap(@Self)^.&set := $00002000;
  35900. end;
  35901. procedure TADC10_AD1CON1.clearSIDL; inline;
  35902. begin
  35903. pTDefRegMap(@Self)^.clr := $00002000;
  35904. end;
  35905. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  35906. begin
  35907. if thebits = 0 then
  35908. pTDefRegMap(@Self)^.clr := $00002000
  35909. else
  35910. pTDefRegMap(@Self)^.&set := $00002000;
  35911. end;
  35912. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  35913. begin
  35914. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35915. end;
  35916. procedure TADC10_AD1CON1.setON; inline;
  35917. begin
  35918. pTDefRegMap(@Self)^.&set := $00008000;
  35919. end;
  35920. procedure TADC10_AD1CON1.clearON; inline;
  35921. begin
  35922. pTDefRegMap(@Self)^.clr := $00008000;
  35923. end;
  35924. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  35925. begin
  35926. if thebits = 0 then
  35927. pTDefRegMap(@Self)^.clr := $00008000
  35928. else
  35929. pTDefRegMap(@Self)^.&set := $00008000;
  35930. end;
  35931. function TADC10_AD1CON1.getON : TBits_1; inline;
  35932. begin
  35933. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35934. end;
  35935. procedure TADC10_AD1CON1.setSSRC0; inline;
  35936. begin
  35937. pTDefRegMap(@Self)^.&set := $00000020;
  35938. end;
  35939. procedure TADC10_AD1CON1.clearSSRC0; inline;
  35940. begin
  35941. pTDefRegMap(@Self)^.clr := $00000020;
  35942. end;
  35943. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  35944. begin
  35945. if thebits = 0 then
  35946. pTDefRegMap(@Self)^.clr := $00000020
  35947. else
  35948. pTDefRegMap(@Self)^.&set := $00000020;
  35949. end;
  35950. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  35951. begin
  35952. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35953. end;
  35954. procedure TADC10_AD1CON1.setSSRC1; inline;
  35955. begin
  35956. pTDefRegMap(@Self)^.&set := $00000040;
  35957. end;
  35958. procedure TADC10_AD1CON1.clearSSRC1; inline;
  35959. begin
  35960. pTDefRegMap(@Self)^.clr := $00000040;
  35961. end;
  35962. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  35963. begin
  35964. if thebits = 0 then
  35965. pTDefRegMap(@Self)^.clr := $00000040
  35966. else
  35967. pTDefRegMap(@Self)^.&set := $00000040;
  35968. end;
  35969. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  35970. begin
  35971. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35972. end;
  35973. procedure TADC10_AD1CON1.setSSRC2; inline;
  35974. begin
  35975. pTDefRegMap(@Self)^.&set := $00000080;
  35976. end;
  35977. procedure TADC10_AD1CON1.clearSSRC2; inline;
  35978. begin
  35979. pTDefRegMap(@Self)^.clr := $00000080;
  35980. end;
  35981. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  35982. begin
  35983. if thebits = 0 then
  35984. pTDefRegMap(@Self)^.clr := $00000080
  35985. else
  35986. pTDefRegMap(@Self)^.&set := $00000080;
  35987. end;
  35988. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  35989. begin
  35990. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35991. end;
  35992. procedure TADC10_AD1CON1.setFORM0; inline;
  35993. begin
  35994. pTDefRegMap(@Self)^.&set := $00000100;
  35995. end;
  35996. procedure TADC10_AD1CON1.clearFORM0; inline;
  35997. begin
  35998. pTDefRegMap(@Self)^.clr := $00000100;
  35999. end;
  36000. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  36001. begin
  36002. if thebits = 0 then
  36003. pTDefRegMap(@Self)^.clr := $00000100
  36004. else
  36005. pTDefRegMap(@Self)^.&set := $00000100;
  36006. end;
  36007. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  36008. begin
  36009. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36010. end;
  36011. procedure TADC10_AD1CON1.setFORM1; inline;
  36012. begin
  36013. pTDefRegMap(@Self)^.&set := $00000200;
  36014. end;
  36015. procedure TADC10_AD1CON1.clearFORM1; inline;
  36016. begin
  36017. pTDefRegMap(@Self)^.clr := $00000200;
  36018. end;
  36019. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  36020. begin
  36021. if thebits = 0 then
  36022. pTDefRegMap(@Self)^.clr := $00000200
  36023. else
  36024. pTDefRegMap(@Self)^.&set := $00000200;
  36025. end;
  36026. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  36027. begin
  36028. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36029. end;
  36030. procedure TADC10_AD1CON1.setFORM2; inline;
  36031. begin
  36032. pTDefRegMap(@Self)^.&set := $00000400;
  36033. end;
  36034. procedure TADC10_AD1CON1.clearFORM2; inline;
  36035. begin
  36036. pTDefRegMap(@Self)^.clr := $00000400;
  36037. end;
  36038. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  36039. begin
  36040. if thebits = 0 then
  36041. pTDefRegMap(@Self)^.clr := $00000400
  36042. else
  36043. pTDefRegMap(@Self)^.&set := $00000400;
  36044. end;
  36045. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  36046. begin
  36047. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36048. end;
  36049. procedure TADC10_AD1CON1.setADSIDL; inline;
  36050. begin
  36051. pTDefRegMap(@Self)^.&set := $00002000;
  36052. end;
  36053. procedure TADC10_AD1CON1.clearADSIDL; inline;
  36054. begin
  36055. pTDefRegMap(@Self)^.clr := $00002000;
  36056. end;
  36057. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  36058. begin
  36059. if thebits = 0 then
  36060. pTDefRegMap(@Self)^.clr := $00002000
  36061. else
  36062. pTDefRegMap(@Self)^.&set := $00002000;
  36063. end;
  36064. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  36065. begin
  36066. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36067. end;
  36068. procedure TADC10_AD1CON1.setADON; inline;
  36069. begin
  36070. pTDefRegMap(@Self)^.&set := $00008000;
  36071. end;
  36072. procedure TADC10_AD1CON1.clearADON; inline;
  36073. begin
  36074. pTDefRegMap(@Self)^.clr := $00008000;
  36075. end;
  36076. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  36077. begin
  36078. if thebits = 0 then
  36079. pTDefRegMap(@Self)^.clr := $00008000
  36080. else
  36081. pTDefRegMap(@Self)^.&set := $00008000;
  36082. end;
  36083. function TADC10_AD1CON1.getADON : TBits_1; inline;
  36084. begin
  36085. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36086. end;
  36087. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  36088. begin
  36089. pTDefRegMap(@Self)^.val := thebits;
  36090. end;
  36091. function TADC10_AD1CON1.getw : TBits_32; inline;
  36092. begin
  36093. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36094. end;
  36095. procedure TADC10_AD1CON2.setALTS; inline;
  36096. begin
  36097. pTDefRegMap(@Self)^.&set := $00000001;
  36098. end;
  36099. procedure TADC10_AD1CON2.clearALTS; inline;
  36100. begin
  36101. pTDefRegMap(@Self)^.clr := $00000001;
  36102. end;
  36103. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  36104. begin
  36105. if thebits = 0 then
  36106. pTDefRegMap(@Self)^.clr := $00000001
  36107. else
  36108. pTDefRegMap(@Self)^.&set := $00000001;
  36109. end;
  36110. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  36111. begin
  36112. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36113. end;
  36114. procedure TADC10_AD1CON2.setBUFM; inline;
  36115. begin
  36116. pTDefRegMap(@Self)^.&set := $00000002;
  36117. end;
  36118. procedure TADC10_AD1CON2.clearBUFM; inline;
  36119. begin
  36120. pTDefRegMap(@Self)^.clr := $00000002;
  36121. end;
  36122. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  36123. begin
  36124. if thebits = 0 then
  36125. pTDefRegMap(@Self)^.clr := $00000002
  36126. else
  36127. pTDefRegMap(@Self)^.&set := $00000002;
  36128. end;
  36129. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  36130. begin
  36131. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36132. end;
  36133. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  36134. begin
  36135. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  36136. end;
  36137. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  36138. begin
  36139. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  36140. end;
  36141. procedure TADC10_AD1CON2.setBUFS; inline;
  36142. begin
  36143. pTDefRegMap(@Self)^.&set := $00000080;
  36144. end;
  36145. procedure TADC10_AD1CON2.clearBUFS; inline;
  36146. begin
  36147. pTDefRegMap(@Self)^.clr := $00000080;
  36148. end;
  36149. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  36150. begin
  36151. if thebits = 0 then
  36152. pTDefRegMap(@Self)^.clr := $00000080
  36153. else
  36154. pTDefRegMap(@Self)^.&set := $00000080;
  36155. end;
  36156. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  36157. begin
  36158. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36159. end;
  36160. procedure TADC10_AD1CON2.setCSCNA; inline;
  36161. begin
  36162. pTDefRegMap(@Self)^.&set := $00000400;
  36163. end;
  36164. procedure TADC10_AD1CON2.clearCSCNA; inline;
  36165. begin
  36166. pTDefRegMap(@Self)^.clr := $00000400;
  36167. end;
  36168. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  36169. begin
  36170. if thebits = 0 then
  36171. pTDefRegMap(@Self)^.clr := $00000400
  36172. else
  36173. pTDefRegMap(@Self)^.&set := $00000400;
  36174. end;
  36175. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  36176. begin
  36177. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36178. end;
  36179. procedure TADC10_AD1CON2.setOFFCAL; inline;
  36180. begin
  36181. pTDefRegMap(@Self)^.&set := $00001000;
  36182. end;
  36183. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  36184. begin
  36185. pTDefRegMap(@Self)^.clr := $00001000;
  36186. end;
  36187. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  36188. begin
  36189. if thebits = 0 then
  36190. pTDefRegMap(@Self)^.clr := $00001000
  36191. else
  36192. pTDefRegMap(@Self)^.&set := $00001000;
  36193. end;
  36194. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  36195. begin
  36196. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36197. end;
  36198. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  36199. begin
  36200. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  36201. end;
  36202. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  36203. begin
  36204. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  36205. end;
  36206. procedure TADC10_AD1CON2.setSMPI0; inline;
  36207. begin
  36208. pTDefRegMap(@Self)^.&set := $00000004;
  36209. end;
  36210. procedure TADC10_AD1CON2.clearSMPI0; inline;
  36211. begin
  36212. pTDefRegMap(@Self)^.clr := $00000004;
  36213. end;
  36214. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  36215. begin
  36216. if thebits = 0 then
  36217. pTDefRegMap(@Self)^.clr := $00000004
  36218. else
  36219. pTDefRegMap(@Self)^.&set := $00000004;
  36220. end;
  36221. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  36222. begin
  36223. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36224. end;
  36225. procedure TADC10_AD1CON2.setSMPI1; inline;
  36226. begin
  36227. pTDefRegMap(@Self)^.&set := $00000008;
  36228. end;
  36229. procedure TADC10_AD1CON2.clearSMPI1; inline;
  36230. begin
  36231. pTDefRegMap(@Self)^.clr := $00000008;
  36232. end;
  36233. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  36234. begin
  36235. if thebits = 0 then
  36236. pTDefRegMap(@Self)^.clr := $00000008
  36237. else
  36238. pTDefRegMap(@Self)^.&set := $00000008;
  36239. end;
  36240. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  36241. begin
  36242. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36243. end;
  36244. procedure TADC10_AD1CON2.setSMPI2; inline;
  36245. begin
  36246. pTDefRegMap(@Self)^.&set := $00000010;
  36247. end;
  36248. procedure TADC10_AD1CON2.clearSMPI2; inline;
  36249. begin
  36250. pTDefRegMap(@Self)^.clr := $00000010;
  36251. end;
  36252. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  36253. begin
  36254. if thebits = 0 then
  36255. pTDefRegMap(@Self)^.clr := $00000010
  36256. else
  36257. pTDefRegMap(@Self)^.&set := $00000010;
  36258. end;
  36259. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  36260. begin
  36261. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36262. end;
  36263. procedure TADC10_AD1CON2.setSMPI3; inline;
  36264. begin
  36265. pTDefRegMap(@Self)^.&set := $00000020;
  36266. end;
  36267. procedure TADC10_AD1CON2.clearSMPI3; inline;
  36268. begin
  36269. pTDefRegMap(@Self)^.clr := $00000020;
  36270. end;
  36271. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  36272. begin
  36273. if thebits = 0 then
  36274. pTDefRegMap(@Self)^.clr := $00000020
  36275. else
  36276. pTDefRegMap(@Self)^.&set := $00000020;
  36277. end;
  36278. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  36279. begin
  36280. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36281. end;
  36282. procedure TADC10_AD1CON2.setVCFG0; inline;
  36283. begin
  36284. pTDefRegMap(@Self)^.&set := $00002000;
  36285. end;
  36286. procedure TADC10_AD1CON2.clearVCFG0; inline;
  36287. begin
  36288. pTDefRegMap(@Self)^.clr := $00002000;
  36289. end;
  36290. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  36291. begin
  36292. if thebits = 0 then
  36293. pTDefRegMap(@Self)^.clr := $00002000
  36294. else
  36295. pTDefRegMap(@Self)^.&set := $00002000;
  36296. end;
  36297. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  36298. begin
  36299. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36300. end;
  36301. procedure TADC10_AD1CON2.setVCFG1; inline;
  36302. begin
  36303. pTDefRegMap(@Self)^.&set := $00004000;
  36304. end;
  36305. procedure TADC10_AD1CON2.clearVCFG1; inline;
  36306. begin
  36307. pTDefRegMap(@Self)^.clr := $00004000;
  36308. end;
  36309. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  36310. begin
  36311. if thebits = 0 then
  36312. pTDefRegMap(@Self)^.clr := $00004000
  36313. else
  36314. pTDefRegMap(@Self)^.&set := $00004000;
  36315. end;
  36316. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  36317. begin
  36318. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36319. end;
  36320. procedure TADC10_AD1CON2.setVCFG2; inline;
  36321. begin
  36322. pTDefRegMap(@Self)^.&set := $00008000;
  36323. end;
  36324. procedure TADC10_AD1CON2.clearVCFG2; inline;
  36325. begin
  36326. pTDefRegMap(@Self)^.clr := $00008000;
  36327. end;
  36328. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  36329. begin
  36330. if thebits = 0 then
  36331. pTDefRegMap(@Self)^.clr := $00008000
  36332. else
  36333. pTDefRegMap(@Self)^.&set := $00008000;
  36334. end;
  36335. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  36336. begin
  36337. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36338. end;
  36339. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  36340. begin
  36341. pTDefRegMap(@Self)^.val := thebits;
  36342. end;
  36343. function TADC10_AD1CON2.getw : TBits_32; inline;
  36344. begin
  36345. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36346. end;
  36347. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  36348. begin
  36349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  36350. end;
  36351. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  36352. begin
  36353. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  36354. end;
  36355. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  36356. begin
  36357. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  36358. end;
  36359. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  36360. begin
  36361. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  36362. end;
  36363. procedure TADC10_AD1CON3.setADRC; inline;
  36364. begin
  36365. pTDefRegMap(@Self)^.&set := $00008000;
  36366. end;
  36367. procedure TADC10_AD1CON3.clearADRC; inline;
  36368. begin
  36369. pTDefRegMap(@Self)^.clr := $00008000;
  36370. end;
  36371. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  36372. begin
  36373. if thebits = 0 then
  36374. pTDefRegMap(@Self)^.clr := $00008000
  36375. else
  36376. pTDefRegMap(@Self)^.&set := $00008000;
  36377. end;
  36378. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  36379. begin
  36380. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36381. end;
  36382. procedure TADC10_AD1CON3.setADCS0; inline;
  36383. begin
  36384. pTDefRegMap(@Self)^.&set := $00000001;
  36385. end;
  36386. procedure TADC10_AD1CON3.clearADCS0; inline;
  36387. begin
  36388. pTDefRegMap(@Self)^.clr := $00000001;
  36389. end;
  36390. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  36391. begin
  36392. if thebits = 0 then
  36393. pTDefRegMap(@Self)^.clr := $00000001
  36394. else
  36395. pTDefRegMap(@Self)^.&set := $00000001;
  36396. end;
  36397. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  36398. begin
  36399. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36400. end;
  36401. procedure TADC10_AD1CON3.setADCS1; inline;
  36402. begin
  36403. pTDefRegMap(@Self)^.&set := $00000002;
  36404. end;
  36405. procedure TADC10_AD1CON3.clearADCS1; inline;
  36406. begin
  36407. pTDefRegMap(@Self)^.clr := $00000002;
  36408. end;
  36409. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  36410. begin
  36411. if thebits = 0 then
  36412. pTDefRegMap(@Self)^.clr := $00000002
  36413. else
  36414. pTDefRegMap(@Self)^.&set := $00000002;
  36415. end;
  36416. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  36417. begin
  36418. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36419. end;
  36420. procedure TADC10_AD1CON3.setADCS2; inline;
  36421. begin
  36422. pTDefRegMap(@Self)^.&set := $00000004;
  36423. end;
  36424. procedure TADC10_AD1CON3.clearADCS2; inline;
  36425. begin
  36426. pTDefRegMap(@Self)^.clr := $00000004;
  36427. end;
  36428. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  36429. begin
  36430. if thebits = 0 then
  36431. pTDefRegMap(@Self)^.clr := $00000004
  36432. else
  36433. pTDefRegMap(@Self)^.&set := $00000004;
  36434. end;
  36435. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  36436. begin
  36437. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36438. end;
  36439. procedure TADC10_AD1CON3.setADCS3; inline;
  36440. begin
  36441. pTDefRegMap(@Self)^.&set := $00000008;
  36442. end;
  36443. procedure TADC10_AD1CON3.clearADCS3; inline;
  36444. begin
  36445. pTDefRegMap(@Self)^.clr := $00000008;
  36446. end;
  36447. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  36448. begin
  36449. if thebits = 0 then
  36450. pTDefRegMap(@Self)^.clr := $00000008
  36451. else
  36452. pTDefRegMap(@Self)^.&set := $00000008;
  36453. end;
  36454. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  36455. begin
  36456. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36457. end;
  36458. procedure TADC10_AD1CON3.setADCS4; inline;
  36459. begin
  36460. pTDefRegMap(@Self)^.&set := $00000010;
  36461. end;
  36462. procedure TADC10_AD1CON3.clearADCS4; inline;
  36463. begin
  36464. pTDefRegMap(@Self)^.clr := $00000010;
  36465. end;
  36466. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  36467. begin
  36468. if thebits = 0 then
  36469. pTDefRegMap(@Self)^.clr := $00000010
  36470. else
  36471. pTDefRegMap(@Self)^.&set := $00000010;
  36472. end;
  36473. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  36474. begin
  36475. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36476. end;
  36477. procedure TADC10_AD1CON3.setADCS5; inline;
  36478. begin
  36479. pTDefRegMap(@Self)^.&set := $00000020;
  36480. end;
  36481. procedure TADC10_AD1CON3.clearADCS5; inline;
  36482. begin
  36483. pTDefRegMap(@Self)^.clr := $00000020;
  36484. end;
  36485. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  36486. begin
  36487. if thebits = 0 then
  36488. pTDefRegMap(@Self)^.clr := $00000020
  36489. else
  36490. pTDefRegMap(@Self)^.&set := $00000020;
  36491. end;
  36492. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  36493. begin
  36494. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36495. end;
  36496. procedure TADC10_AD1CON3.setADCS6; inline;
  36497. begin
  36498. pTDefRegMap(@Self)^.&set := $00000040;
  36499. end;
  36500. procedure TADC10_AD1CON3.clearADCS6; inline;
  36501. begin
  36502. pTDefRegMap(@Self)^.clr := $00000040;
  36503. end;
  36504. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  36505. begin
  36506. if thebits = 0 then
  36507. pTDefRegMap(@Self)^.clr := $00000040
  36508. else
  36509. pTDefRegMap(@Self)^.&set := $00000040;
  36510. end;
  36511. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  36512. begin
  36513. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36514. end;
  36515. procedure TADC10_AD1CON3.setADCS7; inline;
  36516. begin
  36517. pTDefRegMap(@Self)^.&set := $00000080;
  36518. end;
  36519. procedure TADC10_AD1CON3.clearADCS7; inline;
  36520. begin
  36521. pTDefRegMap(@Self)^.clr := $00000080;
  36522. end;
  36523. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  36524. begin
  36525. if thebits = 0 then
  36526. pTDefRegMap(@Self)^.clr := $00000080
  36527. else
  36528. pTDefRegMap(@Self)^.&set := $00000080;
  36529. end;
  36530. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  36531. begin
  36532. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36533. end;
  36534. procedure TADC10_AD1CON3.setSAMC0; inline;
  36535. begin
  36536. pTDefRegMap(@Self)^.&set := $00000100;
  36537. end;
  36538. procedure TADC10_AD1CON3.clearSAMC0; inline;
  36539. begin
  36540. pTDefRegMap(@Self)^.clr := $00000100;
  36541. end;
  36542. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  36543. begin
  36544. if thebits = 0 then
  36545. pTDefRegMap(@Self)^.clr := $00000100
  36546. else
  36547. pTDefRegMap(@Self)^.&set := $00000100;
  36548. end;
  36549. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  36550. begin
  36551. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36552. end;
  36553. procedure TADC10_AD1CON3.setSAMC1; inline;
  36554. begin
  36555. pTDefRegMap(@Self)^.&set := $00000200;
  36556. end;
  36557. procedure TADC10_AD1CON3.clearSAMC1; inline;
  36558. begin
  36559. pTDefRegMap(@Self)^.clr := $00000200;
  36560. end;
  36561. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  36562. begin
  36563. if thebits = 0 then
  36564. pTDefRegMap(@Self)^.clr := $00000200
  36565. else
  36566. pTDefRegMap(@Self)^.&set := $00000200;
  36567. end;
  36568. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  36569. begin
  36570. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36571. end;
  36572. procedure TADC10_AD1CON3.setSAMC2; inline;
  36573. begin
  36574. pTDefRegMap(@Self)^.&set := $00000400;
  36575. end;
  36576. procedure TADC10_AD1CON3.clearSAMC2; inline;
  36577. begin
  36578. pTDefRegMap(@Self)^.clr := $00000400;
  36579. end;
  36580. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  36581. begin
  36582. if thebits = 0 then
  36583. pTDefRegMap(@Self)^.clr := $00000400
  36584. else
  36585. pTDefRegMap(@Self)^.&set := $00000400;
  36586. end;
  36587. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  36588. begin
  36589. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36590. end;
  36591. procedure TADC10_AD1CON3.setSAMC3; inline;
  36592. begin
  36593. pTDefRegMap(@Self)^.&set := $00000800;
  36594. end;
  36595. procedure TADC10_AD1CON3.clearSAMC3; inline;
  36596. begin
  36597. pTDefRegMap(@Self)^.clr := $00000800;
  36598. end;
  36599. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  36600. begin
  36601. if thebits = 0 then
  36602. pTDefRegMap(@Self)^.clr := $00000800
  36603. else
  36604. pTDefRegMap(@Self)^.&set := $00000800;
  36605. end;
  36606. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  36607. begin
  36608. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36609. end;
  36610. procedure TADC10_AD1CON3.setSAMC4; inline;
  36611. begin
  36612. pTDefRegMap(@Self)^.&set := $00001000;
  36613. end;
  36614. procedure TADC10_AD1CON3.clearSAMC4; inline;
  36615. begin
  36616. pTDefRegMap(@Self)^.clr := $00001000;
  36617. end;
  36618. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  36619. begin
  36620. if thebits = 0 then
  36621. pTDefRegMap(@Self)^.clr := $00001000
  36622. else
  36623. pTDefRegMap(@Self)^.&set := $00001000;
  36624. end;
  36625. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  36626. begin
  36627. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36628. end;
  36629. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  36630. begin
  36631. pTDefRegMap(@Self)^.val := thebits;
  36632. end;
  36633. function TADC10_AD1CON3.getw : TBits_32; inline;
  36634. begin
  36635. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36636. end;
  36637. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  36638. begin
  36639. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  36640. end;
  36641. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  36642. begin
  36643. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  36644. end;
  36645. procedure TADC10_AD1CHS.setCH0NA; inline;
  36646. begin
  36647. pTDefRegMap(@Self)^.&set := $00800000;
  36648. end;
  36649. procedure TADC10_AD1CHS.clearCH0NA; inline;
  36650. begin
  36651. pTDefRegMap(@Self)^.clr := $00800000;
  36652. end;
  36653. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  36654. begin
  36655. if thebits = 0 then
  36656. pTDefRegMap(@Self)^.clr := $00800000
  36657. else
  36658. pTDefRegMap(@Self)^.&set := $00800000;
  36659. end;
  36660. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  36661. begin
  36662. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36663. end;
  36664. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  36665. begin
  36666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  36667. end;
  36668. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  36669. begin
  36670. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  36671. end;
  36672. procedure TADC10_AD1CHS.setCH0NB; inline;
  36673. begin
  36674. pTDefRegMap(@Self)^.&set := $80000000;
  36675. end;
  36676. procedure TADC10_AD1CHS.clearCH0NB; inline;
  36677. begin
  36678. pTDefRegMap(@Self)^.clr := $80000000;
  36679. end;
  36680. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  36681. begin
  36682. if thebits = 0 then
  36683. pTDefRegMap(@Self)^.clr := $80000000
  36684. else
  36685. pTDefRegMap(@Self)^.&set := $80000000;
  36686. end;
  36687. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  36688. begin
  36689. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  36690. end;
  36691. procedure TADC10_AD1CHS.setCH0SA0; inline;
  36692. begin
  36693. pTDefRegMap(@Self)^.&set := $00010000;
  36694. end;
  36695. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  36696. begin
  36697. pTDefRegMap(@Self)^.clr := $00010000;
  36698. end;
  36699. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  36700. begin
  36701. if thebits = 0 then
  36702. pTDefRegMap(@Self)^.clr := $00010000
  36703. else
  36704. pTDefRegMap(@Self)^.&set := $00010000;
  36705. end;
  36706. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  36707. begin
  36708. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  36709. end;
  36710. procedure TADC10_AD1CHS.setCH0SA1; inline;
  36711. begin
  36712. pTDefRegMap(@Self)^.&set := $00020000;
  36713. end;
  36714. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  36715. begin
  36716. pTDefRegMap(@Self)^.clr := $00020000;
  36717. end;
  36718. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  36719. begin
  36720. if thebits = 0 then
  36721. pTDefRegMap(@Self)^.clr := $00020000
  36722. else
  36723. pTDefRegMap(@Self)^.&set := $00020000;
  36724. end;
  36725. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  36726. begin
  36727. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  36728. end;
  36729. procedure TADC10_AD1CHS.setCH0SA2; inline;
  36730. begin
  36731. pTDefRegMap(@Self)^.&set := $00040000;
  36732. end;
  36733. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  36734. begin
  36735. pTDefRegMap(@Self)^.clr := $00040000;
  36736. end;
  36737. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  36738. begin
  36739. if thebits = 0 then
  36740. pTDefRegMap(@Self)^.clr := $00040000
  36741. else
  36742. pTDefRegMap(@Self)^.&set := $00040000;
  36743. end;
  36744. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  36745. begin
  36746. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  36747. end;
  36748. procedure TADC10_AD1CHS.setCH0SA3; inline;
  36749. begin
  36750. pTDefRegMap(@Self)^.&set := $00080000;
  36751. end;
  36752. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  36753. begin
  36754. pTDefRegMap(@Self)^.clr := $00080000;
  36755. end;
  36756. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  36757. begin
  36758. if thebits = 0 then
  36759. pTDefRegMap(@Self)^.clr := $00080000
  36760. else
  36761. pTDefRegMap(@Self)^.&set := $00080000;
  36762. end;
  36763. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  36764. begin
  36765. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  36766. end;
  36767. procedure TADC10_AD1CHS.setCH0SB0; inline;
  36768. begin
  36769. pTDefRegMap(@Self)^.&set := $01000000;
  36770. end;
  36771. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  36772. begin
  36773. pTDefRegMap(@Self)^.clr := $01000000;
  36774. end;
  36775. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  36776. begin
  36777. if thebits = 0 then
  36778. pTDefRegMap(@Self)^.clr := $01000000
  36779. else
  36780. pTDefRegMap(@Self)^.&set := $01000000;
  36781. end;
  36782. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  36783. begin
  36784. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36785. end;
  36786. procedure TADC10_AD1CHS.setCH0SB1; inline;
  36787. begin
  36788. pTDefRegMap(@Self)^.&set := $02000000;
  36789. end;
  36790. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  36791. begin
  36792. pTDefRegMap(@Self)^.clr := $02000000;
  36793. end;
  36794. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  36795. begin
  36796. if thebits = 0 then
  36797. pTDefRegMap(@Self)^.clr := $02000000
  36798. else
  36799. pTDefRegMap(@Self)^.&set := $02000000;
  36800. end;
  36801. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  36802. begin
  36803. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  36804. end;
  36805. procedure TADC10_AD1CHS.setCH0SB2; inline;
  36806. begin
  36807. pTDefRegMap(@Self)^.&set := $04000000;
  36808. end;
  36809. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  36810. begin
  36811. pTDefRegMap(@Self)^.clr := $04000000;
  36812. end;
  36813. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  36814. begin
  36815. if thebits = 0 then
  36816. pTDefRegMap(@Self)^.clr := $04000000
  36817. else
  36818. pTDefRegMap(@Self)^.&set := $04000000;
  36819. end;
  36820. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  36821. begin
  36822. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  36823. end;
  36824. procedure TADC10_AD1CHS.setCH0SB3; inline;
  36825. begin
  36826. pTDefRegMap(@Self)^.&set := $08000000;
  36827. end;
  36828. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  36829. begin
  36830. pTDefRegMap(@Self)^.clr := $08000000;
  36831. end;
  36832. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  36833. begin
  36834. if thebits = 0 then
  36835. pTDefRegMap(@Self)^.clr := $08000000
  36836. else
  36837. pTDefRegMap(@Self)^.&set := $08000000;
  36838. end;
  36839. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  36840. begin
  36841. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  36842. end;
  36843. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  36844. begin
  36845. pTDefRegMap(@Self)^.val := thebits;
  36846. end;
  36847. function TADC10_AD1CHS.getw : TBits_32; inline;
  36848. begin
  36849. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36850. end;
  36851. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  36852. begin
  36853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  36854. end;
  36855. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  36856. begin
  36857. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  36858. end;
  36859. procedure TADC10_AD1CSSL.setCSSL0; inline;
  36860. begin
  36861. pTDefRegMap(@Self)^.&set := $00000001;
  36862. end;
  36863. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  36864. begin
  36865. pTDefRegMap(@Self)^.clr := $00000001;
  36866. end;
  36867. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  36868. begin
  36869. if thebits = 0 then
  36870. pTDefRegMap(@Self)^.clr := $00000001
  36871. else
  36872. pTDefRegMap(@Self)^.&set := $00000001;
  36873. end;
  36874. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  36875. begin
  36876. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36877. end;
  36878. procedure TADC10_AD1CSSL.setCSSL1; inline;
  36879. begin
  36880. pTDefRegMap(@Self)^.&set := $00000002;
  36881. end;
  36882. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  36883. begin
  36884. pTDefRegMap(@Self)^.clr := $00000002;
  36885. end;
  36886. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  36887. begin
  36888. if thebits = 0 then
  36889. pTDefRegMap(@Self)^.clr := $00000002
  36890. else
  36891. pTDefRegMap(@Self)^.&set := $00000002;
  36892. end;
  36893. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  36894. begin
  36895. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36896. end;
  36897. procedure TADC10_AD1CSSL.setCSSL2; inline;
  36898. begin
  36899. pTDefRegMap(@Self)^.&set := $00000004;
  36900. end;
  36901. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  36902. begin
  36903. pTDefRegMap(@Self)^.clr := $00000004;
  36904. end;
  36905. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  36906. begin
  36907. if thebits = 0 then
  36908. pTDefRegMap(@Self)^.clr := $00000004
  36909. else
  36910. pTDefRegMap(@Self)^.&set := $00000004;
  36911. end;
  36912. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  36913. begin
  36914. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36915. end;
  36916. procedure TADC10_AD1CSSL.setCSSL3; inline;
  36917. begin
  36918. pTDefRegMap(@Self)^.&set := $00000008;
  36919. end;
  36920. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  36921. begin
  36922. pTDefRegMap(@Self)^.clr := $00000008;
  36923. end;
  36924. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  36925. begin
  36926. if thebits = 0 then
  36927. pTDefRegMap(@Self)^.clr := $00000008
  36928. else
  36929. pTDefRegMap(@Self)^.&set := $00000008;
  36930. end;
  36931. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  36932. begin
  36933. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36934. end;
  36935. procedure TADC10_AD1CSSL.setCSSL4; inline;
  36936. begin
  36937. pTDefRegMap(@Self)^.&set := $00000010;
  36938. end;
  36939. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  36940. begin
  36941. pTDefRegMap(@Self)^.clr := $00000010;
  36942. end;
  36943. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  36944. begin
  36945. if thebits = 0 then
  36946. pTDefRegMap(@Self)^.clr := $00000010
  36947. else
  36948. pTDefRegMap(@Self)^.&set := $00000010;
  36949. end;
  36950. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  36951. begin
  36952. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36953. end;
  36954. procedure TADC10_AD1CSSL.setCSSL5; inline;
  36955. begin
  36956. pTDefRegMap(@Self)^.&set := $00000020;
  36957. end;
  36958. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  36959. begin
  36960. pTDefRegMap(@Self)^.clr := $00000020;
  36961. end;
  36962. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  36963. begin
  36964. if thebits = 0 then
  36965. pTDefRegMap(@Self)^.clr := $00000020
  36966. else
  36967. pTDefRegMap(@Self)^.&set := $00000020;
  36968. end;
  36969. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  36970. begin
  36971. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36972. end;
  36973. procedure TADC10_AD1CSSL.setCSSL6; inline;
  36974. begin
  36975. pTDefRegMap(@Self)^.&set := $00000040;
  36976. end;
  36977. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  36978. begin
  36979. pTDefRegMap(@Self)^.clr := $00000040;
  36980. end;
  36981. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  36982. begin
  36983. if thebits = 0 then
  36984. pTDefRegMap(@Self)^.clr := $00000040
  36985. else
  36986. pTDefRegMap(@Self)^.&set := $00000040;
  36987. end;
  36988. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  36989. begin
  36990. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36991. end;
  36992. procedure TADC10_AD1CSSL.setCSSL7; inline;
  36993. begin
  36994. pTDefRegMap(@Self)^.&set := $00000080;
  36995. end;
  36996. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  36997. begin
  36998. pTDefRegMap(@Self)^.clr := $00000080;
  36999. end;
  37000. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  37001. begin
  37002. if thebits = 0 then
  37003. pTDefRegMap(@Self)^.clr := $00000080
  37004. else
  37005. pTDefRegMap(@Self)^.&set := $00000080;
  37006. end;
  37007. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  37008. begin
  37009. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37010. end;
  37011. procedure TADC10_AD1CSSL.setCSSL8; inline;
  37012. begin
  37013. pTDefRegMap(@Self)^.&set := $00000100;
  37014. end;
  37015. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  37016. begin
  37017. pTDefRegMap(@Self)^.clr := $00000100;
  37018. end;
  37019. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  37020. begin
  37021. if thebits = 0 then
  37022. pTDefRegMap(@Self)^.clr := $00000100
  37023. else
  37024. pTDefRegMap(@Self)^.&set := $00000100;
  37025. end;
  37026. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  37027. begin
  37028. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37029. end;
  37030. procedure TADC10_AD1CSSL.setCSSL9; inline;
  37031. begin
  37032. pTDefRegMap(@Self)^.&set := $00000200;
  37033. end;
  37034. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  37035. begin
  37036. pTDefRegMap(@Self)^.clr := $00000200;
  37037. end;
  37038. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  37039. begin
  37040. if thebits = 0 then
  37041. pTDefRegMap(@Self)^.clr := $00000200
  37042. else
  37043. pTDefRegMap(@Self)^.&set := $00000200;
  37044. end;
  37045. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  37046. begin
  37047. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37048. end;
  37049. procedure TADC10_AD1CSSL.setCSSL10; inline;
  37050. begin
  37051. pTDefRegMap(@Self)^.&set := $00000400;
  37052. end;
  37053. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  37054. begin
  37055. pTDefRegMap(@Self)^.clr := $00000400;
  37056. end;
  37057. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  37058. begin
  37059. if thebits = 0 then
  37060. pTDefRegMap(@Self)^.clr := $00000400
  37061. else
  37062. pTDefRegMap(@Self)^.&set := $00000400;
  37063. end;
  37064. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  37065. begin
  37066. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37067. end;
  37068. procedure TADC10_AD1CSSL.setCSSL11; inline;
  37069. begin
  37070. pTDefRegMap(@Self)^.&set := $00000800;
  37071. end;
  37072. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  37073. begin
  37074. pTDefRegMap(@Self)^.clr := $00000800;
  37075. end;
  37076. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  37077. begin
  37078. if thebits = 0 then
  37079. pTDefRegMap(@Self)^.clr := $00000800
  37080. else
  37081. pTDefRegMap(@Self)^.&set := $00000800;
  37082. end;
  37083. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  37084. begin
  37085. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37086. end;
  37087. procedure TADC10_AD1CSSL.setCSSL12; inline;
  37088. begin
  37089. pTDefRegMap(@Self)^.&set := $00001000;
  37090. end;
  37091. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  37092. begin
  37093. pTDefRegMap(@Self)^.clr := $00001000;
  37094. end;
  37095. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  37096. begin
  37097. if thebits = 0 then
  37098. pTDefRegMap(@Self)^.clr := $00001000
  37099. else
  37100. pTDefRegMap(@Self)^.&set := $00001000;
  37101. end;
  37102. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  37103. begin
  37104. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37105. end;
  37106. procedure TADC10_AD1CSSL.setCSSL13; inline;
  37107. begin
  37108. pTDefRegMap(@Self)^.&set := $00002000;
  37109. end;
  37110. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  37111. begin
  37112. pTDefRegMap(@Self)^.clr := $00002000;
  37113. end;
  37114. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  37115. begin
  37116. if thebits = 0 then
  37117. pTDefRegMap(@Self)^.clr := $00002000
  37118. else
  37119. pTDefRegMap(@Self)^.&set := $00002000;
  37120. end;
  37121. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  37122. begin
  37123. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37124. end;
  37125. procedure TADC10_AD1CSSL.setCSSL14; inline;
  37126. begin
  37127. pTDefRegMap(@Self)^.&set := $00004000;
  37128. end;
  37129. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  37130. begin
  37131. pTDefRegMap(@Self)^.clr := $00004000;
  37132. end;
  37133. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  37134. begin
  37135. if thebits = 0 then
  37136. pTDefRegMap(@Self)^.clr := $00004000
  37137. else
  37138. pTDefRegMap(@Self)^.&set := $00004000;
  37139. end;
  37140. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  37141. begin
  37142. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37143. end;
  37144. procedure TADC10_AD1CSSL.setCSSL15; inline;
  37145. begin
  37146. pTDefRegMap(@Self)^.&set := $00008000;
  37147. end;
  37148. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  37149. begin
  37150. pTDefRegMap(@Self)^.clr := $00008000;
  37151. end;
  37152. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  37153. begin
  37154. if thebits = 0 then
  37155. pTDefRegMap(@Self)^.clr := $00008000
  37156. else
  37157. pTDefRegMap(@Self)^.&set := $00008000;
  37158. end;
  37159. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  37160. begin
  37161. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37162. end;
  37163. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  37164. begin
  37165. pTDefRegMap(@Self)^.val := thebits;
  37166. end;
  37167. function TADC10_AD1CSSL.getw : TBits_32; inline;
  37168. begin
  37169. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37170. end;
  37171. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  37172. begin
  37173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  37174. end;
  37175. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  37176. begin
  37177. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  37178. end;
  37179. procedure TADC10_AD1PCFG.setPCFG0; inline;
  37180. begin
  37181. pTDefRegMap(@Self)^.&set := $00000001;
  37182. end;
  37183. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  37184. begin
  37185. pTDefRegMap(@Self)^.clr := $00000001;
  37186. end;
  37187. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  37188. begin
  37189. if thebits = 0 then
  37190. pTDefRegMap(@Self)^.clr := $00000001
  37191. else
  37192. pTDefRegMap(@Self)^.&set := $00000001;
  37193. end;
  37194. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  37195. begin
  37196. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37197. end;
  37198. procedure TADC10_AD1PCFG.setPCFG1; inline;
  37199. begin
  37200. pTDefRegMap(@Self)^.&set := $00000002;
  37201. end;
  37202. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  37203. begin
  37204. pTDefRegMap(@Self)^.clr := $00000002;
  37205. end;
  37206. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  37207. begin
  37208. if thebits = 0 then
  37209. pTDefRegMap(@Self)^.clr := $00000002
  37210. else
  37211. pTDefRegMap(@Self)^.&set := $00000002;
  37212. end;
  37213. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  37214. begin
  37215. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37216. end;
  37217. procedure TADC10_AD1PCFG.setPCFG2; inline;
  37218. begin
  37219. pTDefRegMap(@Self)^.&set := $00000004;
  37220. end;
  37221. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  37222. begin
  37223. pTDefRegMap(@Self)^.clr := $00000004;
  37224. end;
  37225. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  37226. begin
  37227. if thebits = 0 then
  37228. pTDefRegMap(@Self)^.clr := $00000004
  37229. else
  37230. pTDefRegMap(@Self)^.&set := $00000004;
  37231. end;
  37232. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  37233. begin
  37234. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37235. end;
  37236. procedure TADC10_AD1PCFG.setPCFG3; inline;
  37237. begin
  37238. pTDefRegMap(@Self)^.&set := $00000008;
  37239. end;
  37240. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  37241. begin
  37242. pTDefRegMap(@Self)^.clr := $00000008;
  37243. end;
  37244. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  37245. begin
  37246. if thebits = 0 then
  37247. pTDefRegMap(@Self)^.clr := $00000008
  37248. else
  37249. pTDefRegMap(@Self)^.&set := $00000008;
  37250. end;
  37251. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  37252. begin
  37253. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37254. end;
  37255. procedure TADC10_AD1PCFG.setPCFG4; inline;
  37256. begin
  37257. pTDefRegMap(@Self)^.&set := $00000010;
  37258. end;
  37259. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  37260. begin
  37261. pTDefRegMap(@Self)^.clr := $00000010;
  37262. end;
  37263. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  37264. begin
  37265. if thebits = 0 then
  37266. pTDefRegMap(@Self)^.clr := $00000010
  37267. else
  37268. pTDefRegMap(@Self)^.&set := $00000010;
  37269. end;
  37270. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  37271. begin
  37272. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37273. end;
  37274. procedure TADC10_AD1PCFG.setPCFG5; inline;
  37275. begin
  37276. pTDefRegMap(@Self)^.&set := $00000020;
  37277. end;
  37278. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  37279. begin
  37280. pTDefRegMap(@Self)^.clr := $00000020;
  37281. end;
  37282. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  37283. begin
  37284. if thebits = 0 then
  37285. pTDefRegMap(@Self)^.clr := $00000020
  37286. else
  37287. pTDefRegMap(@Self)^.&set := $00000020;
  37288. end;
  37289. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  37290. begin
  37291. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37292. end;
  37293. procedure TADC10_AD1PCFG.setPCFG6; inline;
  37294. begin
  37295. pTDefRegMap(@Self)^.&set := $00000040;
  37296. end;
  37297. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  37298. begin
  37299. pTDefRegMap(@Self)^.clr := $00000040;
  37300. end;
  37301. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  37302. begin
  37303. if thebits = 0 then
  37304. pTDefRegMap(@Self)^.clr := $00000040
  37305. else
  37306. pTDefRegMap(@Self)^.&set := $00000040;
  37307. end;
  37308. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  37309. begin
  37310. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37311. end;
  37312. procedure TADC10_AD1PCFG.setPCFG7; inline;
  37313. begin
  37314. pTDefRegMap(@Self)^.&set := $00000080;
  37315. end;
  37316. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  37317. begin
  37318. pTDefRegMap(@Self)^.clr := $00000080;
  37319. end;
  37320. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  37321. begin
  37322. if thebits = 0 then
  37323. pTDefRegMap(@Self)^.clr := $00000080
  37324. else
  37325. pTDefRegMap(@Self)^.&set := $00000080;
  37326. end;
  37327. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  37328. begin
  37329. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37330. end;
  37331. procedure TADC10_AD1PCFG.setPCFG8; inline;
  37332. begin
  37333. pTDefRegMap(@Self)^.&set := $00000100;
  37334. end;
  37335. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  37336. begin
  37337. pTDefRegMap(@Self)^.clr := $00000100;
  37338. end;
  37339. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  37340. begin
  37341. if thebits = 0 then
  37342. pTDefRegMap(@Self)^.clr := $00000100
  37343. else
  37344. pTDefRegMap(@Self)^.&set := $00000100;
  37345. end;
  37346. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  37347. begin
  37348. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37349. end;
  37350. procedure TADC10_AD1PCFG.setPCFG9; inline;
  37351. begin
  37352. pTDefRegMap(@Self)^.&set := $00000200;
  37353. end;
  37354. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  37355. begin
  37356. pTDefRegMap(@Self)^.clr := $00000200;
  37357. end;
  37358. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  37359. begin
  37360. if thebits = 0 then
  37361. pTDefRegMap(@Self)^.clr := $00000200
  37362. else
  37363. pTDefRegMap(@Self)^.&set := $00000200;
  37364. end;
  37365. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  37366. begin
  37367. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37368. end;
  37369. procedure TADC10_AD1PCFG.setPCFG10; inline;
  37370. begin
  37371. pTDefRegMap(@Self)^.&set := $00000400;
  37372. end;
  37373. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  37374. begin
  37375. pTDefRegMap(@Self)^.clr := $00000400;
  37376. end;
  37377. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  37378. begin
  37379. if thebits = 0 then
  37380. pTDefRegMap(@Self)^.clr := $00000400
  37381. else
  37382. pTDefRegMap(@Self)^.&set := $00000400;
  37383. end;
  37384. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  37385. begin
  37386. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37387. end;
  37388. procedure TADC10_AD1PCFG.setPCFG11; inline;
  37389. begin
  37390. pTDefRegMap(@Self)^.&set := $00000800;
  37391. end;
  37392. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  37393. begin
  37394. pTDefRegMap(@Self)^.clr := $00000800;
  37395. end;
  37396. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  37397. begin
  37398. if thebits = 0 then
  37399. pTDefRegMap(@Self)^.clr := $00000800
  37400. else
  37401. pTDefRegMap(@Self)^.&set := $00000800;
  37402. end;
  37403. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  37404. begin
  37405. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37406. end;
  37407. procedure TADC10_AD1PCFG.setPCFG12; inline;
  37408. begin
  37409. pTDefRegMap(@Self)^.&set := $00001000;
  37410. end;
  37411. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  37412. begin
  37413. pTDefRegMap(@Self)^.clr := $00001000;
  37414. end;
  37415. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  37416. begin
  37417. if thebits = 0 then
  37418. pTDefRegMap(@Self)^.clr := $00001000
  37419. else
  37420. pTDefRegMap(@Self)^.&set := $00001000;
  37421. end;
  37422. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  37423. begin
  37424. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37425. end;
  37426. procedure TADC10_AD1PCFG.setPCFG13; inline;
  37427. begin
  37428. pTDefRegMap(@Self)^.&set := $00002000;
  37429. end;
  37430. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  37431. begin
  37432. pTDefRegMap(@Self)^.clr := $00002000;
  37433. end;
  37434. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  37435. begin
  37436. if thebits = 0 then
  37437. pTDefRegMap(@Self)^.clr := $00002000
  37438. else
  37439. pTDefRegMap(@Self)^.&set := $00002000;
  37440. end;
  37441. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  37442. begin
  37443. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37444. end;
  37445. procedure TADC10_AD1PCFG.setPCFG14; inline;
  37446. begin
  37447. pTDefRegMap(@Self)^.&set := $00004000;
  37448. end;
  37449. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  37450. begin
  37451. pTDefRegMap(@Self)^.clr := $00004000;
  37452. end;
  37453. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  37454. begin
  37455. if thebits = 0 then
  37456. pTDefRegMap(@Self)^.clr := $00004000
  37457. else
  37458. pTDefRegMap(@Self)^.&set := $00004000;
  37459. end;
  37460. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  37461. begin
  37462. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37463. end;
  37464. procedure TADC10_AD1PCFG.setPCFG15; inline;
  37465. begin
  37466. pTDefRegMap(@Self)^.&set := $00008000;
  37467. end;
  37468. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  37469. begin
  37470. pTDefRegMap(@Self)^.clr := $00008000;
  37471. end;
  37472. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  37473. begin
  37474. if thebits = 0 then
  37475. pTDefRegMap(@Self)^.clr := $00008000
  37476. else
  37477. pTDefRegMap(@Self)^.&set := $00008000;
  37478. end;
  37479. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  37480. begin
  37481. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37482. end;
  37483. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  37484. begin
  37485. pTDefRegMap(@Self)^.val := thebits;
  37486. end;
  37487. function TADC10_AD1PCFG.getw : TBits_32; inline;
  37488. begin
  37489. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37490. end;
  37491. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  37492. begin
  37493. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  37494. end;
  37495. function TCVR_CVRCON.getCVR : TBits_4; inline;
  37496. begin
  37497. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  37498. end;
  37499. procedure TCVR_CVRCON.setCVRSS; inline;
  37500. begin
  37501. pTDefRegMap(@Self)^.&set := $00000010;
  37502. end;
  37503. procedure TCVR_CVRCON.clearCVRSS; inline;
  37504. begin
  37505. pTDefRegMap(@Self)^.clr := $00000010;
  37506. end;
  37507. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  37508. begin
  37509. if thebits = 0 then
  37510. pTDefRegMap(@Self)^.clr := $00000010
  37511. else
  37512. pTDefRegMap(@Self)^.&set := $00000010;
  37513. end;
  37514. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  37515. begin
  37516. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37517. end;
  37518. procedure TCVR_CVRCON.setCVRR; inline;
  37519. begin
  37520. pTDefRegMap(@Self)^.&set := $00000020;
  37521. end;
  37522. procedure TCVR_CVRCON.clearCVRR; inline;
  37523. begin
  37524. pTDefRegMap(@Self)^.clr := $00000020;
  37525. end;
  37526. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  37527. begin
  37528. if thebits = 0 then
  37529. pTDefRegMap(@Self)^.clr := $00000020
  37530. else
  37531. pTDefRegMap(@Self)^.&set := $00000020;
  37532. end;
  37533. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  37534. begin
  37535. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37536. end;
  37537. procedure TCVR_CVRCON.setCVROE; inline;
  37538. begin
  37539. pTDefRegMap(@Self)^.&set := $00000040;
  37540. end;
  37541. procedure TCVR_CVRCON.clearCVROE; inline;
  37542. begin
  37543. pTDefRegMap(@Self)^.clr := $00000040;
  37544. end;
  37545. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  37546. begin
  37547. if thebits = 0 then
  37548. pTDefRegMap(@Self)^.clr := $00000040
  37549. else
  37550. pTDefRegMap(@Self)^.&set := $00000040;
  37551. end;
  37552. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  37553. begin
  37554. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37555. end;
  37556. procedure TCVR_CVRCON.setBGSEL(thebits : TBits_2); inline;
  37557. begin
  37558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37559. end;
  37560. function TCVR_CVRCON.getBGSEL : TBits_2; inline;
  37561. begin
  37562. getBGSEL := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37563. end;
  37564. procedure TCVR_CVRCON.setVREFSEL; inline;
  37565. begin
  37566. pTDefRegMap(@Self)^.&set := $00000400;
  37567. end;
  37568. procedure TCVR_CVRCON.clearVREFSEL; inline;
  37569. begin
  37570. pTDefRegMap(@Self)^.clr := $00000400;
  37571. end;
  37572. procedure TCVR_CVRCON.setVREFSEL(thebits : TBits_1); inline;
  37573. begin
  37574. if thebits = 0 then
  37575. pTDefRegMap(@Self)^.clr := $00000400
  37576. else
  37577. pTDefRegMap(@Self)^.&set := $00000400;
  37578. end;
  37579. function TCVR_CVRCON.getVREFSEL : TBits_1; inline;
  37580. begin
  37581. getVREFSEL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37582. end;
  37583. procedure TCVR_CVRCON.setON; inline;
  37584. begin
  37585. pTDefRegMap(@Self)^.&set := $00008000;
  37586. end;
  37587. procedure TCVR_CVRCON.clearON; inline;
  37588. begin
  37589. pTDefRegMap(@Self)^.clr := $00008000;
  37590. end;
  37591. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  37592. begin
  37593. if thebits = 0 then
  37594. pTDefRegMap(@Self)^.clr := $00008000
  37595. else
  37596. pTDefRegMap(@Self)^.&set := $00008000;
  37597. end;
  37598. function TCVR_CVRCON.getON : TBits_1; inline;
  37599. begin
  37600. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37601. end;
  37602. procedure TCVR_CVRCON.setCVR0; inline;
  37603. begin
  37604. pTDefRegMap(@Self)^.&set := $00000001;
  37605. end;
  37606. procedure TCVR_CVRCON.clearCVR0; inline;
  37607. begin
  37608. pTDefRegMap(@Self)^.clr := $00000001;
  37609. end;
  37610. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  37611. begin
  37612. if thebits = 0 then
  37613. pTDefRegMap(@Self)^.clr := $00000001
  37614. else
  37615. pTDefRegMap(@Self)^.&set := $00000001;
  37616. end;
  37617. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  37618. begin
  37619. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37620. end;
  37621. procedure TCVR_CVRCON.setCVR1; inline;
  37622. begin
  37623. pTDefRegMap(@Self)^.&set := $00000002;
  37624. end;
  37625. procedure TCVR_CVRCON.clearCVR1; inline;
  37626. begin
  37627. pTDefRegMap(@Self)^.clr := $00000002;
  37628. end;
  37629. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  37630. begin
  37631. if thebits = 0 then
  37632. pTDefRegMap(@Self)^.clr := $00000002
  37633. else
  37634. pTDefRegMap(@Self)^.&set := $00000002;
  37635. end;
  37636. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  37637. begin
  37638. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37639. end;
  37640. procedure TCVR_CVRCON.setCVR2; inline;
  37641. begin
  37642. pTDefRegMap(@Self)^.&set := $00000004;
  37643. end;
  37644. procedure TCVR_CVRCON.clearCVR2; inline;
  37645. begin
  37646. pTDefRegMap(@Self)^.clr := $00000004;
  37647. end;
  37648. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  37649. begin
  37650. if thebits = 0 then
  37651. pTDefRegMap(@Self)^.clr := $00000004
  37652. else
  37653. pTDefRegMap(@Self)^.&set := $00000004;
  37654. end;
  37655. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  37656. begin
  37657. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37658. end;
  37659. procedure TCVR_CVRCON.setCVR3; inline;
  37660. begin
  37661. pTDefRegMap(@Self)^.&set := $00000008;
  37662. end;
  37663. procedure TCVR_CVRCON.clearCVR3; inline;
  37664. begin
  37665. pTDefRegMap(@Self)^.clr := $00000008;
  37666. end;
  37667. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  37668. begin
  37669. if thebits = 0 then
  37670. pTDefRegMap(@Self)^.clr := $00000008
  37671. else
  37672. pTDefRegMap(@Self)^.&set := $00000008;
  37673. end;
  37674. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  37675. begin
  37676. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37677. end;
  37678. procedure TCVR_CVRCON.setBGSEL0; inline;
  37679. begin
  37680. pTDefRegMap(@Self)^.&set := $00000100;
  37681. end;
  37682. procedure TCVR_CVRCON.clearBGSEL0; inline;
  37683. begin
  37684. pTDefRegMap(@Self)^.clr := $00000100;
  37685. end;
  37686. procedure TCVR_CVRCON.setBGSEL0(thebits : TBits_1); inline;
  37687. begin
  37688. if thebits = 0 then
  37689. pTDefRegMap(@Self)^.clr := $00000100
  37690. else
  37691. pTDefRegMap(@Self)^.&set := $00000100;
  37692. end;
  37693. function TCVR_CVRCON.getBGSEL0 : TBits_1; inline;
  37694. begin
  37695. getBGSEL0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37696. end;
  37697. procedure TCVR_CVRCON.setBGSEL1; inline;
  37698. begin
  37699. pTDefRegMap(@Self)^.&set := $00000200;
  37700. end;
  37701. procedure TCVR_CVRCON.clearBGSEL1; inline;
  37702. begin
  37703. pTDefRegMap(@Self)^.clr := $00000200;
  37704. end;
  37705. procedure TCVR_CVRCON.setBGSEL1(thebits : TBits_1); inline;
  37706. begin
  37707. if thebits = 0 then
  37708. pTDefRegMap(@Self)^.clr := $00000200
  37709. else
  37710. pTDefRegMap(@Self)^.&set := $00000200;
  37711. end;
  37712. function TCVR_CVRCON.getBGSEL1 : TBits_1; inline;
  37713. begin
  37714. getBGSEL1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37715. end;
  37716. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  37717. begin
  37718. pTDefRegMap(@Self)^.val := thebits;
  37719. end;
  37720. function TCVR_CVRCON.getw : TBits_32; inline;
  37721. begin
  37722. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37723. end;
  37724. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  37725. begin
  37726. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37727. end;
  37728. function TCMP_CM1CON.getCCH : TBits_2; inline;
  37729. begin
  37730. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37731. end;
  37732. procedure TCMP_CM1CON.setCREF; inline;
  37733. begin
  37734. pTDefRegMap(@Self)^.&set := $00000010;
  37735. end;
  37736. procedure TCMP_CM1CON.clearCREF; inline;
  37737. begin
  37738. pTDefRegMap(@Self)^.clr := $00000010;
  37739. end;
  37740. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  37741. begin
  37742. if thebits = 0 then
  37743. pTDefRegMap(@Self)^.clr := $00000010
  37744. else
  37745. pTDefRegMap(@Self)^.&set := $00000010;
  37746. end;
  37747. function TCMP_CM1CON.getCREF : TBits_1; inline;
  37748. begin
  37749. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37750. end;
  37751. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  37752. begin
  37753. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  37754. end;
  37755. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  37756. begin
  37757. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  37758. end;
  37759. procedure TCMP_CM1CON.setCOUT; inline;
  37760. begin
  37761. pTDefRegMap(@Self)^.&set := $00000100;
  37762. end;
  37763. procedure TCMP_CM1CON.clearCOUT; inline;
  37764. begin
  37765. pTDefRegMap(@Self)^.clr := $00000100;
  37766. end;
  37767. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  37768. begin
  37769. if thebits = 0 then
  37770. pTDefRegMap(@Self)^.clr := $00000100
  37771. else
  37772. pTDefRegMap(@Self)^.&set := $00000100;
  37773. end;
  37774. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  37775. begin
  37776. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37777. end;
  37778. procedure TCMP_CM1CON.setCPOL; inline;
  37779. begin
  37780. pTDefRegMap(@Self)^.&set := $00002000;
  37781. end;
  37782. procedure TCMP_CM1CON.clearCPOL; inline;
  37783. begin
  37784. pTDefRegMap(@Self)^.clr := $00002000;
  37785. end;
  37786. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  37787. begin
  37788. if thebits = 0 then
  37789. pTDefRegMap(@Self)^.clr := $00002000
  37790. else
  37791. pTDefRegMap(@Self)^.&set := $00002000;
  37792. end;
  37793. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  37794. begin
  37795. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37796. end;
  37797. procedure TCMP_CM1CON.setCOE; inline;
  37798. begin
  37799. pTDefRegMap(@Self)^.&set := $00004000;
  37800. end;
  37801. procedure TCMP_CM1CON.clearCOE; inline;
  37802. begin
  37803. pTDefRegMap(@Self)^.clr := $00004000;
  37804. end;
  37805. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  37806. begin
  37807. if thebits = 0 then
  37808. pTDefRegMap(@Self)^.clr := $00004000
  37809. else
  37810. pTDefRegMap(@Self)^.&set := $00004000;
  37811. end;
  37812. function TCMP_CM1CON.getCOE : TBits_1; inline;
  37813. begin
  37814. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37815. end;
  37816. procedure TCMP_CM1CON.setON; inline;
  37817. begin
  37818. pTDefRegMap(@Self)^.&set := $00008000;
  37819. end;
  37820. procedure TCMP_CM1CON.clearON; inline;
  37821. begin
  37822. pTDefRegMap(@Self)^.clr := $00008000;
  37823. end;
  37824. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  37825. begin
  37826. if thebits = 0 then
  37827. pTDefRegMap(@Self)^.clr := $00008000
  37828. else
  37829. pTDefRegMap(@Self)^.&set := $00008000;
  37830. end;
  37831. function TCMP_CM1CON.getON : TBits_1; inline;
  37832. begin
  37833. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37834. end;
  37835. procedure TCMP_CM1CON.setCCH0; inline;
  37836. begin
  37837. pTDefRegMap(@Self)^.&set := $00000001;
  37838. end;
  37839. procedure TCMP_CM1CON.clearCCH0; inline;
  37840. begin
  37841. pTDefRegMap(@Self)^.clr := $00000001;
  37842. end;
  37843. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  37844. begin
  37845. if thebits = 0 then
  37846. pTDefRegMap(@Self)^.clr := $00000001
  37847. else
  37848. pTDefRegMap(@Self)^.&set := $00000001;
  37849. end;
  37850. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  37851. begin
  37852. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37853. end;
  37854. procedure TCMP_CM1CON.setCCH1; inline;
  37855. begin
  37856. pTDefRegMap(@Self)^.&set := $00000002;
  37857. end;
  37858. procedure TCMP_CM1CON.clearCCH1; inline;
  37859. begin
  37860. pTDefRegMap(@Self)^.clr := $00000002;
  37861. end;
  37862. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  37863. begin
  37864. if thebits = 0 then
  37865. pTDefRegMap(@Self)^.clr := $00000002
  37866. else
  37867. pTDefRegMap(@Self)^.&set := $00000002;
  37868. end;
  37869. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  37870. begin
  37871. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37872. end;
  37873. procedure TCMP_CM1CON.setEVPOL0; inline;
  37874. begin
  37875. pTDefRegMap(@Self)^.&set := $00000040;
  37876. end;
  37877. procedure TCMP_CM1CON.clearEVPOL0; inline;
  37878. begin
  37879. pTDefRegMap(@Self)^.clr := $00000040;
  37880. end;
  37881. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  37882. begin
  37883. if thebits = 0 then
  37884. pTDefRegMap(@Self)^.clr := $00000040
  37885. else
  37886. pTDefRegMap(@Self)^.&set := $00000040;
  37887. end;
  37888. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  37889. begin
  37890. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37891. end;
  37892. procedure TCMP_CM1CON.setEVPOL1; inline;
  37893. begin
  37894. pTDefRegMap(@Self)^.&set := $00000080;
  37895. end;
  37896. procedure TCMP_CM1CON.clearEVPOL1; inline;
  37897. begin
  37898. pTDefRegMap(@Self)^.clr := $00000080;
  37899. end;
  37900. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  37901. begin
  37902. if thebits = 0 then
  37903. pTDefRegMap(@Self)^.clr := $00000080
  37904. else
  37905. pTDefRegMap(@Self)^.&set := $00000080;
  37906. end;
  37907. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  37908. begin
  37909. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37910. end;
  37911. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  37912. begin
  37913. pTDefRegMap(@Self)^.val := thebits;
  37914. end;
  37915. function TCMP_CM1CON.getw : TBits_32; inline;
  37916. begin
  37917. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37918. end;
  37919. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  37920. begin
  37921. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37922. end;
  37923. function TCMP_CM2CON.getCCH : TBits_2; inline;
  37924. begin
  37925. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37926. end;
  37927. procedure TCMP_CM2CON.setCREF; inline;
  37928. begin
  37929. pTDefRegMap(@Self)^.&set := $00000010;
  37930. end;
  37931. procedure TCMP_CM2CON.clearCREF; inline;
  37932. begin
  37933. pTDefRegMap(@Self)^.clr := $00000010;
  37934. end;
  37935. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  37936. begin
  37937. if thebits = 0 then
  37938. pTDefRegMap(@Self)^.clr := $00000010
  37939. else
  37940. pTDefRegMap(@Self)^.&set := $00000010;
  37941. end;
  37942. function TCMP_CM2CON.getCREF : TBits_1; inline;
  37943. begin
  37944. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37945. end;
  37946. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  37947. begin
  37948. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  37949. end;
  37950. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  37951. begin
  37952. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  37953. end;
  37954. procedure TCMP_CM2CON.setCOUT; inline;
  37955. begin
  37956. pTDefRegMap(@Self)^.&set := $00000100;
  37957. end;
  37958. procedure TCMP_CM2CON.clearCOUT; inline;
  37959. begin
  37960. pTDefRegMap(@Self)^.clr := $00000100;
  37961. end;
  37962. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  37963. begin
  37964. if thebits = 0 then
  37965. pTDefRegMap(@Self)^.clr := $00000100
  37966. else
  37967. pTDefRegMap(@Self)^.&set := $00000100;
  37968. end;
  37969. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  37970. begin
  37971. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37972. end;
  37973. procedure TCMP_CM2CON.setCPOL; inline;
  37974. begin
  37975. pTDefRegMap(@Self)^.&set := $00002000;
  37976. end;
  37977. procedure TCMP_CM2CON.clearCPOL; inline;
  37978. begin
  37979. pTDefRegMap(@Self)^.clr := $00002000;
  37980. end;
  37981. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  37982. begin
  37983. if thebits = 0 then
  37984. pTDefRegMap(@Self)^.clr := $00002000
  37985. else
  37986. pTDefRegMap(@Self)^.&set := $00002000;
  37987. end;
  37988. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  37989. begin
  37990. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37991. end;
  37992. procedure TCMP_CM2CON.setCOE; inline;
  37993. begin
  37994. pTDefRegMap(@Self)^.&set := $00004000;
  37995. end;
  37996. procedure TCMP_CM2CON.clearCOE; inline;
  37997. begin
  37998. pTDefRegMap(@Self)^.clr := $00004000;
  37999. end;
  38000. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  38001. begin
  38002. if thebits = 0 then
  38003. pTDefRegMap(@Self)^.clr := $00004000
  38004. else
  38005. pTDefRegMap(@Self)^.&set := $00004000;
  38006. end;
  38007. function TCMP_CM2CON.getCOE : TBits_1; inline;
  38008. begin
  38009. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38010. end;
  38011. procedure TCMP_CM2CON.setON; inline;
  38012. begin
  38013. pTDefRegMap(@Self)^.&set := $00008000;
  38014. end;
  38015. procedure TCMP_CM2CON.clearON; inline;
  38016. begin
  38017. pTDefRegMap(@Self)^.clr := $00008000;
  38018. end;
  38019. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  38020. begin
  38021. if thebits = 0 then
  38022. pTDefRegMap(@Self)^.clr := $00008000
  38023. else
  38024. pTDefRegMap(@Self)^.&set := $00008000;
  38025. end;
  38026. function TCMP_CM2CON.getON : TBits_1; inline;
  38027. begin
  38028. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38029. end;
  38030. procedure TCMP_CM2CON.setCCH0; inline;
  38031. begin
  38032. pTDefRegMap(@Self)^.&set := $00000001;
  38033. end;
  38034. procedure TCMP_CM2CON.clearCCH0; inline;
  38035. begin
  38036. pTDefRegMap(@Self)^.clr := $00000001;
  38037. end;
  38038. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  38039. begin
  38040. if thebits = 0 then
  38041. pTDefRegMap(@Self)^.clr := $00000001
  38042. else
  38043. pTDefRegMap(@Self)^.&set := $00000001;
  38044. end;
  38045. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  38046. begin
  38047. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38048. end;
  38049. procedure TCMP_CM2CON.setCCH1; inline;
  38050. begin
  38051. pTDefRegMap(@Self)^.&set := $00000002;
  38052. end;
  38053. procedure TCMP_CM2CON.clearCCH1; inline;
  38054. begin
  38055. pTDefRegMap(@Self)^.clr := $00000002;
  38056. end;
  38057. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  38058. begin
  38059. if thebits = 0 then
  38060. pTDefRegMap(@Self)^.clr := $00000002
  38061. else
  38062. pTDefRegMap(@Self)^.&set := $00000002;
  38063. end;
  38064. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  38065. begin
  38066. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38067. end;
  38068. procedure TCMP_CM2CON.setEVPOL0; inline;
  38069. begin
  38070. pTDefRegMap(@Self)^.&set := $00000040;
  38071. end;
  38072. procedure TCMP_CM2CON.clearEVPOL0; inline;
  38073. begin
  38074. pTDefRegMap(@Self)^.clr := $00000040;
  38075. end;
  38076. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  38077. begin
  38078. if thebits = 0 then
  38079. pTDefRegMap(@Self)^.clr := $00000040
  38080. else
  38081. pTDefRegMap(@Self)^.&set := $00000040;
  38082. end;
  38083. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  38084. begin
  38085. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38086. end;
  38087. procedure TCMP_CM2CON.setEVPOL1; inline;
  38088. begin
  38089. pTDefRegMap(@Self)^.&set := $00000080;
  38090. end;
  38091. procedure TCMP_CM2CON.clearEVPOL1; inline;
  38092. begin
  38093. pTDefRegMap(@Self)^.clr := $00000080;
  38094. end;
  38095. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  38096. begin
  38097. if thebits = 0 then
  38098. pTDefRegMap(@Self)^.clr := $00000080
  38099. else
  38100. pTDefRegMap(@Self)^.&set := $00000080;
  38101. end;
  38102. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  38103. begin
  38104. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38105. end;
  38106. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  38107. begin
  38108. pTDefRegMap(@Self)^.val := thebits;
  38109. end;
  38110. function TCMP_CM2CON.getw : TBits_32; inline;
  38111. begin
  38112. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38113. end;
  38114. procedure TCMP_CMSTAT.setC1OUT; inline;
  38115. begin
  38116. pTDefRegMap(@Self)^.&set := $00000001;
  38117. end;
  38118. procedure TCMP_CMSTAT.clearC1OUT; inline;
  38119. begin
  38120. pTDefRegMap(@Self)^.clr := $00000001;
  38121. end;
  38122. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  38123. begin
  38124. if thebits = 0 then
  38125. pTDefRegMap(@Self)^.clr := $00000001
  38126. else
  38127. pTDefRegMap(@Self)^.&set := $00000001;
  38128. end;
  38129. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  38130. begin
  38131. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38132. end;
  38133. procedure TCMP_CMSTAT.setC2OUT; inline;
  38134. begin
  38135. pTDefRegMap(@Self)^.&set := $00000002;
  38136. end;
  38137. procedure TCMP_CMSTAT.clearC2OUT; inline;
  38138. begin
  38139. pTDefRegMap(@Self)^.clr := $00000002;
  38140. end;
  38141. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  38142. begin
  38143. if thebits = 0 then
  38144. pTDefRegMap(@Self)^.clr := $00000002
  38145. else
  38146. pTDefRegMap(@Self)^.&set := $00000002;
  38147. end;
  38148. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  38149. begin
  38150. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38151. end;
  38152. procedure TCMP_CMSTAT.setSIDL; inline;
  38153. begin
  38154. pTDefRegMap(@Self)^.&set := $00002000;
  38155. end;
  38156. procedure TCMP_CMSTAT.clearSIDL; inline;
  38157. begin
  38158. pTDefRegMap(@Self)^.clr := $00002000;
  38159. end;
  38160. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  38161. begin
  38162. if thebits = 0 then
  38163. pTDefRegMap(@Self)^.clr := $00002000
  38164. else
  38165. pTDefRegMap(@Self)^.&set := $00002000;
  38166. end;
  38167. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  38168. begin
  38169. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38170. end;
  38171. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  38172. begin
  38173. pTDefRegMap(@Self)^.val := thebits;
  38174. end;
  38175. function TCMP_CMSTAT.getw : TBits_32; inline;
  38176. begin
  38177. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38178. end;
  38179. procedure TOSC_OSCCON.setOSWEN; inline;
  38180. begin
  38181. pTDefRegMap(@Self)^.&set := $00000001;
  38182. end;
  38183. procedure TOSC_OSCCON.clearOSWEN; inline;
  38184. begin
  38185. pTDefRegMap(@Self)^.clr := $00000001;
  38186. end;
  38187. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  38188. begin
  38189. if thebits = 0 then
  38190. pTDefRegMap(@Self)^.clr := $00000001
  38191. else
  38192. pTDefRegMap(@Self)^.&set := $00000001;
  38193. end;
  38194. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  38195. begin
  38196. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38197. end;
  38198. procedure TOSC_OSCCON.setSOSCEN; inline;
  38199. begin
  38200. pTDefRegMap(@Self)^.&set := $00000002;
  38201. end;
  38202. procedure TOSC_OSCCON.clearSOSCEN; inline;
  38203. begin
  38204. pTDefRegMap(@Self)^.clr := $00000002;
  38205. end;
  38206. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  38207. begin
  38208. if thebits = 0 then
  38209. pTDefRegMap(@Self)^.clr := $00000002
  38210. else
  38211. pTDefRegMap(@Self)^.&set := $00000002;
  38212. end;
  38213. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  38214. begin
  38215. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38216. end;
  38217. procedure TOSC_OSCCON.setUFRCEN; inline;
  38218. begin
  38219. pTDefRegMap(@Self)^.&set := $00000004;
  38220. end;
  38221. procedure TOSC_OSCCON.clearUFRCEN; inline;
  38222. begin
  38223. pTDefRegMap(@Self)^.clr := $00000004;
  38224. end;
  38225. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  38226. begin
  38227. if thebits = 0 then
  38228. pTDefRegMap(@Self)^.clr := $00000004
  38229. else
  38230. pTDefRegMap(@Self)^.&set := $00000004;
  38231. end;
  38232. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  38233. begin
  38234. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38235. end;
  38236. procedure TOSC_OSCCON.setCF; inline;
  38237. begin
  38238. pTDefRegMap(@Self)^.&set := $00000008;
  38239. end;
  38240. procedure TOSC_OSCCON.clearCF; inline;
  38241. begin
  38242. pTDefRegMap(@Self)^.clr := $00000008;
  38243. end;
  38244. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  38245. begin
  38246. if thebits = 0 then
  38247. pTDefRegMap(@Self)^.clr := $00000008
  38248. else
  38249. pTDefRegMap(@Self)^.&set := $00000008;
  38250. end;
  38251. function TOSC_OSCCON.getCF : TBits_1; inline;
  38252. begin
  38253. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38254. end;
  38255. procedure TOSC_OSCCON.setSLPEN; inline;
  38256. begin
  38257. pTDefRegMap(@Self)^.&set := $00000010;
  38258. end;
  38259. procedure TOSC_OSCCON.clearSLPEN; inline;
  38260. begin
  38261. pTDefRegMap(@Self)^.clr := $00000010;
  38262. end;
  38263. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  38264. begin
  38265. if thebits = 0 then
  38266. pTDefRegMap(@Self)^.clr := $00000010
  38267. else
  38268. pTDefRegMap(@Self)^.&set := $00000010;
  38269. end;
  38270. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  38271. begin
  38272. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38273. end;
  38274. procedure TOSC_OSCCON.setSLOCK; inline;
  38275. begin
  38276. pTDefRegMap(@Self)^.&set := $00000020;
  38277. end;
  38278. procedure TOSC_OSCCON.clearSLOCK; inline;
  38279. begin
  38280. pTDefRegMap(@Self)^.clr := $00000020;
  38281. end;
  38282. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  38283. begin
  38284. if thebits = 0 then
  38285. pTDefRegMap(@Self)^.clr := $00000020
  38286. else
  38287. pTDefRegMap(@Self)^.&set := $00000020;
  38288. end;
  38289. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  38290. begin
  38291. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38292. end;
  38293. procedure TOSC_OSCCON.setULOCK; inline;
  38294. begin
  38295. pTDefRegMap(@Self)^.&set := $00000040;
  38296. end;
  38297. procedure TOSC_OSCCON.clearULOCK; inline;
  38298. begin
  38299. pTDefRegMap(@Self)^.clr := $00000040;
  38300. end;
  38301. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  38302. begin
  38303. if thebits = 0 then
  38304. pTDefRegMap(@Self)^.clr := $00000040
  38305. else
  38306. pTDefRegMap(@Self)^.&set := $00000040;
  38307. end;
  38308. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  38309. begin
  38310. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38311. end;
  38312. procedure TOSC_OSCCON.setCLKLOCK; inline;
  38313. begin
  38314. pTDefRegMap(@Self)^.&set := $00000080;
  38315. end;
  38316. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  38317. begin
  38318. pTDefRegMap(@Self)^.clr := $00000080;
  38319. end;
  38320. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  38321. begin
  38322. if thebits = 0 then
  38323. pTDefRegMap(@Self)^.clr := $00000080
  38324. else
  38325. pTDefRegMap(@Self)^.&set := $00000080;
  38326. end;
  38327. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  38328. begin
  38329. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38330. end;
  38331. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  38332. begin
  38333. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  38334. end;
  38335. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  38336. begin
  38337. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  38338. end;
  38339. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  38340. begin
  38341. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  38342. end;
  38343. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  38344. begin
  38345. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  38346. end;
  38347. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  38348. begin
  38349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  38350. end;
  38351. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  38352. begin
  38353. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  38354. end;
  38355. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  38356. begin
  38357. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  38358. end;
  38359. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  38360. begin
  38361. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  38362. end;
  38363. procedure TOSC_OSCCON.setSOSCRDY; inline;
  38364. begin
  38365. pTDefRegMap(@Self)^.&set := $00400000;
  38366. end;
  38367. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  38368. begin
  38369. pTDefRegMap(@Self)^.clr := $00400000;
  38370. end;
  38371. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  38372. begin
  38373. if thebits = 0 then
  38374. pTDefRegMap(@Self)^.clr := $00400000
  38375. else
  38376. pTDefRegMap(@Self)^.&set := $00400000;
  38377. end;
  38378. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  38379. begin
  38380. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  38381. end;
  38382. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  38383. begin
  38384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  38385. end;
  38386. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  38387. begin
  38388. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  38389. end;
  38390. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  38391. begin
  38392. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  38393. end;
  38394. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  38395. begin
  38396. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  38397. end;
  38398. procedure TOSC_OSCCON.setNOSC0; inline;
  38399. begin
  38400. pTDefRegMap(@Self)^.&set := $00000100;
  38401. end;
  38402. procedure TOSC_OSCCON.clearNOSC0; inline;
  38403. begin
  38404. pTDefRegMap(@Self)^.clr := $00000100;
  38405. end;
  38406. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  38407. begin
  38408. if thebits = 0 then
  38409. pTDefRegMap(@Self)^.clr := $00000100
  38410. else
  38411. pTDefRegMap(@Self)^.&set := $00000100;
  38412. end;
  38413. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  38414. begin
  38415. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38416. end;
  38417. procedure TOSC_OSCCON.setNOSC1; inline;
  38418. begin
  38419. pTDefRegMap(@Self)^.&set := $00000200;
  38420. end;
  38421. procedure TOSC_OSCCON.clearNOSC1; inline;
  38422. begin
  38423. pTDefRegMap(@Self)^.clr := $00000200;
  38424. end;
  38425. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  38426. begin
  38427. if thebits = 0 then
  38428. pTDefRegMap(@Self)^.clr := $00000200
  38429. else
  38430. pTDefRegMap(@Self)^.&set := $00000200;
  38431. end;
  38432. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  38433. begin
  38434. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38435. end;
  38436. procedure TOSC_OSCCON.setNOSC2; inline;
  38437. begin
  38438. pTDefRegMap(@Self)^.&set := $00000400;
  38439. end;
  38440. procedure TOSC_OSCCON.clearNOSC2; inline;
  38441. begin
  38442. pTDefRegMap(@Self)^.clr := $00000400;
  38443. end;
  38444. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  38445. begin
  38446. if thebits = 0 then
  38447. pTDefRegMap(@Self)^.clr := $00000400
  38448. else
  38449. pTDefRegMap(@Self)^.&set := $00000400;
  38450. end;
  38451. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  38452. begin
  38453. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38454. end;
  38455. procedure TOSC_OSCCON.setCOSC0; inline;
  38456. begin
  38457. pTDefRegMap(@Self)^.&set := $00001000;
  38458. end;
  38459. procedure TOSC_OSCCON.clearCOSC0; inline;
  38460. begin
  38461. pTDefRegMap(@Self)^.clr := $00001000;
  38462. end;
  38463. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  38464. begin
  38465. if thebits = 0 then
  38466. pTDefRegMap(@Self)^.clr := $00001000
  38467. else
  38468. pTDefRegMap(@Self)^.&set := $00001000;
  38469. end;
  38470. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  38471. begin
  38472. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38473. end;
  38474. procedure TOSC_OSCCON.setCOSC1; inline;
  38475. begin
  38476. pTDefRegMap(@Self)^.&set := $00002000;
  38477. end;
  38478. procedure TOSC_OSCCON.clearCOSC1; inline;
  38479. begin
  38480. pTDefRegMap(@Self)^.clr := $00002000;
  38481. end;
  38482. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  38483. begin
  38484. if thebits = 0 then
  38485. pTDefRegMap(@Self)^.clr := $00002000
  38486. else
  38487. pTDefRegMap(@Self)^.&set := $00002000;
  38488. end;
  38489. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  38490. begin
  38491. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38492. end;
  38493. procedure TOSC_OSCCON.setCOSC2; inline;
  38494. begin
  38495. pTDefRegMap(@Self)^.&set := $00004000;
  38496. end;
  38497. procedure TOSC_OSCCON.clearCOSC2; inline;
  38498. begin
  38499. pTDefRegMap(@Self)^.clr := $00004000;
  38500. end;
  38501. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  38502. begin
  38503. if thebits = 0 then
  38504. pTDefRegMap(@Self)^.clr := $00004000
  38505. else
  38506. pTDefRegMap(@Self)^.&set := $00004000;
  38507. end;
  38508. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  38509. begin
  38510. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38511. end;
  38512. procedure TOSC_OSCCON.setPLLMULT0; inline;
  38513. begin
  38514. pTDefRegMap(@Self)^.&set := $00010000;
  38515. end;
  38516. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  38517. begin
  38518. pTDefRegMap(@Self)^.clr := $00010000;
  38519. end;
  38520. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  38521. begin
  38522. if thebits = 0 then
  38523. pTDefRegMap(@Self)^.clr := $00010000
  38524. else
  38525. pTDefRegMap(@Self)^.&set := $00010000;
  38526. end;
  38527. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  38528. begin
  38529. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  38530. end;
  38531. procedure TOSC_OSCCON.setPLLMULT1; inline;
  38532. begin
  38533. pTDefRegMap(@Self)^.&set := $00020000;
  38534. end;
  38535. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  38536. begin
  38537. pTDefRegMap(@Self)^.clr := $00020000;
  38538. end;
  38539. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  38540. begin
  38541. if thebits = 0 then
  38542. pTDefRegMap(@Self)^.clr := $00020000
  38543. else
  38544. pTDefRegMap(@Self)^.&set := $00020000;
  38545. end;
  38546. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  38547. begin
  38548. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  38549. end;
  38550. procedure TOSC_OSCCON.setPLLMULT2; inline;
  38551. begin
  38552. pTDefRegMap(@Self)^.&set := $00040000;
  38553. end;
  38554. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  38555. begin
  38556. pTDefRegMap(@Self)^.clr := $00040000;
  38557. end;
  38558. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  38559. begin
  38560. if thebits = 0 then
  38561. pTDefRegMap(@Self)^.clr := $00040000
  38562. else
  38563. pTDefRegMap(@Self)^.&set := $00040000;
  38564. end;
  38565. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  38566. begin
  38567. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  38568. end;
  38569. procedure TOSC_OSCCON.setPBDIV0; inline;
  38570. begin
  38571. pTDefRegMap(@Self)^.&set := $00080000;
  38572. end;
  38573. procedure TOSC_OSCCON.clearPBDIV0; inline;
  38574. begin
  38575. pTDefRegMap(@Self)^.clr := $00080000;
  38576. end;
  38577. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  38578. begin
  38579. if thebits = 0 then
  38580. pTDefRegMap(@Self)^.clr := $00080000
  38581. else
  38582. pTDefRegMap(@Self)^.&set := $00080000;
  38583. end;
  38584. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  38585. begin
  38586. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  38587. end;
  38588. procedure TOSC_OSCCON.setPBDIV1; inline;
  38589. begin
  38590. pTDefRegMap(@Self)^.&set := $00100000;
  38591. end;
  38592. procedure TOSC_OSCCON.clearPBDIV1; inline;
  38593. begin
  38594. pTDefRegMap(@Self)^.clr := $00100000;
  38595. end;
  38596. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  38597. begin
  38598. if thebits = 0 then
  38599. pTDefRegMap(@Self)^.clr := $00100000
  38600. else
  38601. pTDefRegMap(@Self)^.&set := $00100000;
  38602. end;
  38603. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  38604. begin
  38605. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  38606. end;
  38607. procedure TOSC_OSCCON.setFRCDIV0; inline;
  38608. begin
  38609. pTDefRegMap(@Self)^.&set := $01000000;
  38610. end;
  38611. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  38612. begin
  38613. pTDefRegMap(@Self)^.clr := $01000000;
  38614. end;
  38615. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  38616. begin
  38617. if thebits = 0 then
  38618. pTDefRegMap(@Self)^.clr := $01000000
  38619. else
  38620. pTDefRegMap(@Self)^.&set := $01000000;
  38621. end;
  38622. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  38623. begin
  38624. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  38625. end;
  38626. procedure TOSC_OSCCON.setFRCDIV1; inline;
  38627. begin
  38628. pTDefRegMap(@Self)^.&set := $02000000;
  38629. end;
  38630. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  38631. begin
  38632. pTDefRegMap(@Self)^.clr := $02000000;
  38633. end;
  38634. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  38635. begin
  38636. if thebits = 0 then
  38637. pTDefRegMap(@Self)^.clr := $02000000
  38638. else
  38639. pTDefRegMap(@Self)^.&set := $02000000;
  38640. end;
  38641. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  38642. begin
  38643. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  38644. end;
  38645. procedure TOSC_OSCCON.setFRCDIV2; inline;
  38646. begin
  38647. pTDefRegMap(@Self)^.&set := $04000000;
  38648. end;
  38649. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  38650. begin
  38651. pTDefRegMap(@Self)^.clr := $04000000;
  38652. end;
  38653. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  38654. begin
  38655. if thebits = 0 then
  38656. pTDefRegMap(@Self)^.clr := $04000000
  38657. else
  38658. pTDefRegMap(@Self)^.&set := $04000000;
  38659. end;
  38660. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  38661. begin
  38662. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  38663. end;
  38664. procedure TOSC_OSCCON.setPLLODIV0; inline;
  38665. begin
  38666. pTDefRegMap(@Self)^.&set := $08000000;
  38667. end;
  38668. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  38669. begin
  38670. pTDefRegMap(@Self)^.clr := $08000000;
  38671. end;
  38672. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  38673. begin
  38674. if thebits = 0 then
  38675. pTDefRegMap(@Self)^.clr := $08000000
  38676. else
  38677. pTDefRegMap(@Self)^.&set := $08000000;
  38678. end;
  38679. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  38680. begin
  38681. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  38682. end;
  38683. procedure TOSC_OSCCON.setPLLODIV1; inline;
  38684. begin
  38685. pTDefRegMap(@Self)^.&set := $10000000;
  38686. end;
  38687. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  38688. begin
  38689. pTDefRegMap(@Self)^.clr := $10000000;
  38690. end;
  38691. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  38692. begin
  38693. if thebits = 0 then
  38694. pTDefRegMap(@Self)^.clr := $10000000
  38695. else
  38696. pTDefRegMap(@Self)^.&set := $10000000;
  38697. end;
  38698. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  38699. begin
  38700. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  38701. end;
  38702. procedure TOSC_OSCCON.setPLLODIV2; inline;
  38703. begin
  38704. pTDefRegMap(@Self)^.&set := $20000000;
  38705. end;
  38706. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  38707. begin
  38708. pTDefRegMap(@Self)^.clr := $20000000;
  38709. end;
  38710. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  38711. begin
  38712. if thebits = 0 then
  38713. pTDefRegMap(@Self)^.clr := $20000000
  38714. else
  38715. pTDefRegMap(@Self)^.&set := $20000000;
  38716. end;
  38717. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  38718. begin
  38719. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  38720. end;
  38721. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  38722. begin
  38723. pTDefRegMap(@Self)^.val := thebits;
  38724. end;
  38725. function TOSC_OSCCON.getw : TBits_32; inline;
  38726. begin
  38727. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38728. end;
  38729. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  38730. begin
  38731. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  38732. end;
  38733. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  38734. begin
  38735. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  38736. end;
  38737. procedure TOSC_OSCTUN.setTUN0; inline;
  38738. begin
  38739. pTDefRegMap(@Self)^.&set := $00000001;
  38740. end;
  38741. procedure TOSC_OSCTUN.clearTUN0; inline;
  38742. begin
  38743. pTDefRegMap(@Self)^.clr := $00000001;
  38744. end;
  38745. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  38746. begin
  38747. if thebits = 0 then
  38748. pTDefRegMap(@Self)^.clr := $00000001
  38749. else
  38750. pTDefRegMap(@Self)^.&set := $00000001;
  38751. end;
  38752. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  38753. begin
  38754. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38755. end;
  38756. procedure TOSC_OSCTUN.setTUN1; inline;
  38757. begin
  38758. pTDefRegMap(@Self)^.&set := $00000002;
  38759. end;
  38760. procedure TOSC_OSCTUN.clearTUN1; inline;
  38761. begin
  38762. pTDefRegMap(@Self)^.clr := $00000002;
  38763. end;
  38764. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  38765. begin
  38766. if thebits = 0 then
  38767. pTDefRegMap(@Self)^.clr := $00000002
  38768. else
  38769. pTDefRegMap(@Self)^.&set := $00000002;
  38770. end;
  38771. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  38772. begin
  38773. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38774. end;
  38775. procedure TOSC_OSCTUN.setTUN2; inline;
  38776. begin
  38777. pTDefRegMap(@Self)^.&set := $00000004;
  38778. end;
  38779. procedure TOSC_OSCTUN.clearTUN2; inline;
  38780. begin
  38781. pTDefRegMap(@Self)^.clr := $00000004;
  38782. end;
  38783. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  38784. begin
  38785. if thebits = 0 then
  38786. pTDefRegMap(@Self)^.clr := $00000004
  38787. else
  38788. pTDefRegMap(@Self)^.&set := $00000004;
  38789. end;
  38790. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  38791. begin
  38792. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38793. end;
  38794. procedure TOSC_OSCTUN.setTUN3; inline;
  38795. begin
  38796. pTDefRegMap(@Self)^.&set := $00000008;
  38797. end;
  38798. procedure TOSC_OSCTUN.clearTUN3; inline;
  38799. begin
  38800. pTDefRegMap(@Self)^.clr := $00000008;
  38801. end;
  38802. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  38803. begin
  38804. if thebits = 0 then
  38805. pTDefRegMap(@Self)^.clr := $00000008
  38806. else
  38807. pTDefRegMap(@Self)^.&set := $00000008;
  38808. end;
  38809. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  38810. begin
  38811. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38812. end;
  38813. procedure TOSC_OSCTUN.setTUN4; inline;
  38814. begin
  38815. pTDefRegMap(@Self)^.&set := $00000010;
  38816. end;
  38817. procedure TOSC_OSCTUN.clearTUN4; inline;
  38818. begin
  38819. pTDefRegMap(@Self)^.clr := $00000010;
  38820. end;
  38821. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  38822. begin
  38823. if thebits = 0 then
  38824. pTDefRegMap(@Self)^.clr := $00000010
  38825. else
  38826. pTDefRegMap(@Self)^.&set := $00000010;
  38827. end;
  38828. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  38829. begin
  38830. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38831. end;
  38832. procedure TOSC_OSCTUN.setTUN5; inline;
  38833. begin
  38834. pTDefRegMap(@Self)^.&set := $00000020;
  38835. end;
  38836. procedure TOSC_OSCTUN.clearTUN5; inline;
  38837. begin
  38838. pTDefRegMap(@Self)^.clr := $00000020;
  38839. end;
  38840. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  38841. begin
  38842. if thebits = 0 then
  38843. pTDefRegMap(@Self)^.clr := $00000020
  38844. else
  38845. pTDefRegMap(@Self)^.&set := $00000020;
  38846. end;
  38847. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  38848. begin
  38849. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38850. end;
  38851. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  38852. begin
  38853. pTDefRegMap(@Self)^.val := thebits;
  38854. end;
  38855. function TOSC_OSCTUN.getw : TBits_32; inline;
  38856. begin
  38857. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38858. end;
  38859. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  38860. begin
  38861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  38862. end;
  38863. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  38864. begin
  38865. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  38866. end;
  38867. procedure TNVM_NVMCON.setLVDSTAT; inline;
  38868. begin
  38869. pTDefRegMap(@Self)^.&set := $00000800;
  38870. end;
  38871. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  38872. begin
  38873. pTDefRegMap(@Self)^.clr := $00000800;
  38874. end;
  38875. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  38876. begin
  38877. if thebits = 0 then
  38878. pTDefRegMap(@Self)^.clr := $00000800
  38879. else
  38880. pTDefRegMap(@Self)^.&set := $00000800;
  38881. end;
  38882. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  38883. begin
  38884. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38885. end;
  38886. procedure TNVM_NVMCON.setLVDERR; inline;
  38887. begin
  38888. pTDefRegMap(@Self)^.&set := $00001000;
  38889. end;
  38890. procedure TNVM_NVMCON.clearLVDERR; inline;
  38891. begin
  38892. pTDefRegMap(@Self)^.clr := $00001000;
  38893. end;
  38894. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  38895. begin
  38896. if thebits = 0 then
  38897. pTDefRegMap(@Self)^.clr := $00001000
  38898. else
  38899. pTDefRegMap(@Self)^.&set := $00001000;
  38900. end;
  38901. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  38902. begin
  38903. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38904. end;
  38905. procedure TNVM_NVMCON.setWRERR; inline;
  38906. begin
  38907. pTDefRegMap(@Self)^.&set := $00002000;
  38908. end;
  38909. procedure TNVM_NVMCON.clearWRERR; inline;
  38910. begin
  38911. pTDefRegMap(@Self)^.clr := $00002000;
  38912. end;
  38913. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  38914. begin
  38915. if thebits = 0 then
  38916. pTDefRegMap(@Self)^.clr := $00002000
  38917. else
  38918. pTDefRegMap(@Self)^.&set := $00002000;
  38919. end;
  38920. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  38921. begin
  38922. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38923. end;
  38924. procedure TNVM_NVMCON.setWREN; inline;
  38925. begin
  38926. pTDefRegMap(@Self)^.&set := $00004000;
  38927. end;
  38928. procedure TNVM_NVMCON.clearWREN; inline;
  38929. begin
  38930. pTDefRegMap(@Self)^.clr := $00004000;
  38931. end;
  38932. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  38933. begin
  38934. if thebits = 0 then
  38935. pTDefRegMap(@Self)^.clr := $00004000
  38936. else
  38937. pTDefRegMap(@Self)^.&set := $00004000;
  38938. end;
  38939. function TNVM_NVMCON.getWREN : TBits_1; inline;
  38940. begin
  38941. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38942. end;
  38943. procedure TNVM_NVMCON.setWR; inline;
  38944. begin
  38945. pTDefRegMap(@Self)^.&set := $00008000;
  38946. end;
  38947. procedure TNVM_NVMCON.clearWR; inline;
  38948. begin
  38949. pTDefRegMap(@Self)^.clr := $00008000;
  38950. end;
  38951. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  38952. begin
  38953. if thebits = 0 then
  38954. pTDefRegMap(@Self)^.clr := $00008000
  38955. else
  38956. pTDefRegMap(@Self)^.&set := $00008000;
  38957. end;
  38958. function TNVM_NVMCON.getWR : TBits_1; inline;
  38959. begin
  38960. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38961. end;
  38962. procedure TNVM_NVMCON.setNVMOP0; inline;
  38963. begin
  38964. pTDefRegMap(@Self)^.&set := $00000001;
  38965. end;
  38966. procedure TNVM_NVMCON.clearNVMOP0; inline;
  38967. begin
  38968. pTDefRegMap(@Self)^.clr := $00000001;
  38969. end;
  38970. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  38971. begin
  38972. if thebits = 0 then
  38973. pTDefRegMap(@Self)^.clr := $00000001
  38974. else
  38975. pTDefRegMap(@Self)^.&set := $00000001;
  38976. end;
  38977. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  38978. begin
  38979. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38980. end;
  38981. procedure TNVM_NVMCON.setNVMOP1; inline;
  38982. begin
  38983. pTDefRegMap(@Self)^.&set := $00000002;
  38984. end;
  38985. procedure TNVM_NVMCON.clearNVMOP1; inline;
  38986. begin
  38987. pTDefRegMap(@Self)^.clr := $00000002;
  38988. end;
  38989. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  38990. begin
  38991. if thebits = 0 then
  38992. pTDefRegMap(@Self)^.clr := $00000002
  38993. else
  38994. pTDefRegMap(@Self)^.&set := $00000002;
  38995. end;
  38996. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  38997. begin
  38998. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38999. end;
  39000. procedure TNVM_NVMCON.setNVMOP2; inline;
  39001. begin
  39002. pTDefRegMap(@Self)^.&set := $00000004;
  39003. end;
  39004. procedure TNVM_NVMCON.clearNVMOP2; inline;
  39005. begin
  39006. pTDefRegMap(@Self)^.clr := $00000004;
  39007. end;
  39008. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  39009. begin
  39010. if thebits = 0 then
  39011. pTDefRegMap(@Self)^.clr := $00000004
  39012. else
  39013. pTDefRegMap(@Self)^.&set := $00000004;
  39014. end;
  39015. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  39016. begin
  39017. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39018. end;
  39019. procedure TNVM_NVMCON.setNVMOP3; inline;
  39020. begin
  39021. pTDefRegMap(@Self)^.&set := $00000008;
  39022. end;
  39023. procedure TNVM_NVMCON.clearNVMOP3; inline;
  39024. begin
  39025. pTDefRegMap(@Self)^.clr := $00000008;
  39026. end;
  39027. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  39028. begin
  39029. if thebits = 0 then
  39030. pTDefRegMap(@Self)^.clr := $00000008
  39031. else
  39032. pTDefRegMap(@Self)^.&set := $00000008;
  39033. end;
  39034. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  39035. begin
  39036. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39037. end;
  39038. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  39039. begin
  39040. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  39041. end;
  39042. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  39043. begin
  39044. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  39045. end;
  39046. procedure TNVM_NVMCON.setPROGOP0; inline;
  39047. begin
  39048. pTDefRegMap(@Self)^.&set := $00000001;
  39049. end;
  39050. procedure TNVM_NVMCON.clearPROGOP0; inline;
  39051. begin
  39052. pTDefRegMap(@Self)^.clr := $00000001;
  39053. end;
  39054. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  39055. begin
  39056. if thebits = 0 then
  39057. pTDefRegMap(@Self)^.clr := $00000001
  39058. else
  39059. pTDefRegMap(@Self)^.&set := $00000001;
  39060. end;
  39061. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  39062. begin
  39063. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39064. end;
  39065. procedure TNVM_NVMCON.setPROGOP1; inline;
  39066. begin
  39067. pTDefRegMap(@Self)^.&set := $00000002;
  39068. end;
  39069. procedure TNVM_NVMCON.clearPROGOP1; inline;
  39070. begin
  39071. pTDefRegMap(@Self)^.clr := $00000002;
  39072. end;
  39073. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  39074. begin
  39075. if thebits = 0 then
  39076. pTDefRegMap(@Self)^.clr := $00000002
  39077. else
  39078. pTDefRegMap(@Self)^.&set := $00000002;
  39079. end;
  39080. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  39081. begin
  39082. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39083. end;
  39084. procedure TNVM_NVMCON.setPROGOP2; inline;
  39085. begin
  39086. pTDefRegMap(@Self)^.&set := $00000004;
  39087. end;
  39088. procedure TNVM_NVMCON.clearPROGOP2; inline;
  39089. begin
  39090. pTDefRegMap(@Self)^.clr := $00000004;
  39091. end;
  39092. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  39093. begin
  39094. if thebits = 0 then
  39095. pTDefRegMap(@Self)^.clr := $00000004
  39096. else
  39097. pTDefRegMap(@Self)^.&set := $00000004;
  39098. end;
  39099. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  39100. begin
  39101. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39102. end;
  39103. procedure TNVM_NVMCON.setPROGOP3; inline;
  39104. begin
  39105. pTDefRegMap(@Self)^.&set := $00000008;
  39106. end;
  39107. procedure TNVM_NVMCON.clearPROGOP3; inline;
  39108. begin
  39109. pTDefRegMap(@Self)^.clr := $00000008;
  39110. end;
  39111. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  39112. begin
  39113. if thebits = 0 then
  39114. pTDefRegMap(@Self)^.clr := $00000008
  39115. else
  39116. pTDefRegMap(@Self)^.&set := $00000008;
  39117. end;
  39118. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  39119. begin
  39120. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39121. end;
  39122. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  39123. begin
  39124. pTDefRegMap(@Self)^.val := thebits;
  39125. end;
  39126. function TNVM_NVMCON.getw : TBits_32; inline;
  39127. begin
  39128. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39129. end;
  39130. procedure TRCON_RCON.setPOR; inline;
  39131. begin
  39132. pTDefRegMap(@Self)^.&set := $00000001;
  39133. end;
  39134. procedure TRCON_RCON.clearPOR; inline;
  39135. begin
  39136. pTDefRegMap(@Self)^.clr := $00000001;
  39137. end;
  39138. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  39139. begin
  39140. if thebits = 0 then
  39141. pTDefRegMap(@Self)^.clr := $00000001
  39142. else
  39143. pTDefRegMap(@Self)^.&set := $00000001;
  39144. end;
  39145. function TRCON_RCON.getPOR : TBits_1; inline;
  39146. begin
  39147. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39148. end;
  39149. procedure TRCON_RCON.setBOR; inline;
  39150. begin
  39151. pTDefRegMap(@Self)^.&set := $00000002;
  39152. end;
  39153. procedure TRCON_RCON.clearBOR; inline;
  39154. begin
  39155. pTDefRegMap(@Self)^.clr := $00000002;
  39156. end;
  39157. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  39158. begin
  39159. if thebits = 0 then
  39160. pTDefRegMap(@Self)^.clr := $00000002
  39161. else
  39162. pTDefRegMap(@Self)^.&set := $00000002;
  39163. end;
  39164. function TRCON_RCON.getBOR : TBits_1; inline;
  39165. begin
  39166. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39167. end;
  39168. procedure TRCON_RCON.setIDLE; inline;
  39169. begin
  39170. pTDefRegMap(@Self)^.&set := $00000004;
  39171. end;
  39172. procedure TRCON_RCON.clearIDLE; inline;
  39173. begin
  39174. pTDefRegMap(@Self)^.clr := $00000004;
  39175. end;
  39176. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  39177. begin
  39178. if thebits = 0 then
  39179. pTDefRegMap(@Self)^.clr := $00000004
  39180. else
  39181. pTDefRegMap(@Self)^.&set := $00000004;
  39182. end;
  39183. function TRCON_RCON.getIDLE : TBits_1; inline;
  39184. begin
  39185. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39186. end;
  39187. procedure TRCON_RCON.setSLEEP; inline;
  39188. begin
  39189. pTDefRegMap(@Self)^.&set := $00000008;
  39190. end;
  39191. procedure TRCON_RCON.clearSLEEP; inline;
  39192. begin
  39193. pTDefRegMap(@Self)^.clr := $00000008;
  39194. end;
  39195. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  39196. begin
  39197. if thebits = 0 then
  39198. pTDefRegMap(@Self)^.clr := $00000008
  39199. else
  39200. pTDefRegMap(@Self)^.&set := $00000008;
  39201. end;
  39202. function TRCON_RCON.getSLEEP : TBits_1; inline;
  39203. begin
  39204. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39205. end;
  39206. procedure TRCON_RCON.setWDTO; inline;
  39207. begin
  39208. pTDefRegMap(@Self)^.&set := $00000010;
  39209. end;
  39210. procedure TRCON_RCON.clearWDTO; inline;
  39211. begin
  39212. pTDefRegMap(@Self)^.clr := $00000010;
  39213. end;
  39214. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  39215. begin
  39216. if thebits = 0 then
  39217. pTDefRegMap(@Self)^.clr := $00000010
  39218. else
  39219. pTDefRegMap(@Self)^.&set := $00000010;
  39220. end;
  39221. function TRCON_RCON.getWDTO : TBits_1; inline;
  39222. begin
  39223. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39224. end;
  39225. procedure TRCON_RCON.setSWR; inline;
  39226. begin
  39227. pTDefRegMap(@Self)^.&set := $00000040;
  39228. end;
  39229. procedure TRCON_RCON.clearSWR; inline;
  39230. begin
  39231. pTDefRegMap(@Self)^.clr := $00000040;
  39232. end;
  39233. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  39234. begin
  39235. if thebits = 0 then
  39236. pTDefRegMap(@Self)^.clr := $00000040
  39237. else
  39238. pTDefRegMap(@Self)^.&set := $00000040;
  39239. end;
  39240. function TRCON_RCON.getSWR : TBits_1; inline;
  39241. begin
  39242. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39243. end;
  39244. procedure TRCON_RCON.setEXTR; inline;
  39245. begin
  39246. pTDefRegMap(@Self)^.&set := $00000080;
  39247. end;
  39248. procedure TRCON_RCON.clearEXTR; inline;
  39249. begin
  39250. pTDefRegMap(@Self)^.clr := $00000080;
  39251. end;
  39252. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  39253. begin
  39254. if thebits = 0 then
  39255. pTDefRegMap(@Self)^.clr := $00000080
  39256. else
  39257. pTDefRegMap(@Self)^.&set := $00000080;
  39258. end;
  39259. function TRCON_RCON.getEXTR : TBits_1; inline;
  39260. begin
  39261. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39262. end;
  39263. procedure TRCON_RCON.setVREGS; inline;
  39264. begin
  39265. pTDefRegMap(@Self)^.&set := $00000100;
  39266. end;
  39267. procedure TRCON_RCON.clearVREGS; inline;
  39268. begin
  39269. pTDefRegMap(@Self)^.clr := $00000100;
  39270. end;
  39271. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  39272. begin
  39273. if thebits = 0 then
  39274. pTDefRegMap(@Self)^.clr := $00000100
  39275. else
  39276. pTDefRegMap(@Self)^.&set := $00000100;
  39277. end;
  39278. function TRCON_RCON.getVREGS : TBits_1; inline;
  39279. begin
  39280. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39281. end;
  39282. procedure TRCON_RCON.setCMR; inline;
  39283. begin
  39284. pTDefRegMap(@Self)^.&set := $00000200;
  39285. end;
  39286. procedure TRCON_RCON.clearCMR; inline;
  39287. begin
  39288. pTDefRegMap(@Self)^.clr := $00000200;
  39289. end;
  39290. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  39291. begin
  39292. if thebits = 0 then
  39293. pTDefRegMap(@Self)^.clr := $00000200
  39294. else
  39295. pTDefRegMap(@Self)^.&set := $00000200;
  39296. end;
  39297. function TRCON_RCON.getCMR : TBits_1; inline;
  39298. begin
  39299. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39300. end;
  39301. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  39302. begin
  39303. pTDefRegMap(@Self)^.val := thebits;
  39304. end;
  39305. function TRCON_RCON.getw : TBits_32; inline;
  39306. begin
  39307. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39308. end;
  39309. procedure TRCON_RSWRST.setSWRST; inline;
  39310. begin
  39311. pTDefRegMap(@Self)^.&set := $00000001;
  39312. end;
  39313. procedure TRCON_RSWRST.clearSWRST; inline;
  39314. begin
  39315. pTDefRegMap(@Self)^.clr := $00000001;
  39316. end;
  39317. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  39318. begin
  39319. if thebits = 0 then
  39320. pTDefRegMap(@Self)^.clr := $00000001
  39321. else
  39322. pTDefRegMap(@Self)^.&set := $00000001;
  39323. end;
  39324. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  39325. begin
  39326. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39327. end;
  39328. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  39329. begin
  39330. pTDefRegMap(@Self)^.val := thebits;
  39331. end;
  39332. function TRCON_RSWRST.getw : TBits_32; inline;
  39333. begin
  39334. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39335. end;
  39336. procedure TINT_INTCON.setINT0EP; inline;
  39337. begin
  39338. pTDefRegMap(@Self)^.&set := $00000001;
  39339. end;
  39340. procedure TINT_INTCON.clearINT0EP; inline;
  39341. begin
  39342. pTDefRegMap(@Self)^.clr := $00000001;
  39343. end;
  39344. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  39345. begin
  39346. if thebits = 0 then
  39347. pTDefRegMap(@Self)^.clr := $00000001
  39348. else
  39349. pTDefRegMap(@Self)^.&set := $00000001;
  39350. end;
  39351. function TINT_INTCON.getINT0EP : TBits_1; inline;
  39352. begin
  39353. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39354. end;
  39355. procedure TINT_INTCON.setINT1EP; inline;
  39356. begin
  39357. pTDefRegMap(@Self)^.&set := $00000002;
  39358. end;
  39359. procedure TINT_INTCON.clearINT1EP; inline;
  39360. begin
  39361. pTDefRegMap(@Self)^.clr := $00000002;
  39362. end;
  39363. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  39364. begin
  39365. if thebits = 0 then
  39366. pTDefRegMap(@Self)^.clr := $00000002
  39367. else
  39368. pTDefRegMap(@Self)^.&set := $00000002;
  39369. end;
  39370. function TINT_INTCON.getINT1EP : TBits_1; inline;
  39371. begin
  39372. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39373. end;
  39374. procedure TINT_INTCON.setINT2EP; inline;
  39375. begin
  39376. pTDefRegMap(@Self)^.&set := $00000004;
  39377. end;
  39378. procedure TINT_INTCON.clearINT2EP; inline;
  39379. begin
  39380. pTDefRegMap(@Self)^.clr := $00000004;
  39381. end;
  39382. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  39383. begin
  39384. if thebits = 0 then
  39385. pTDefRegMap(@Self)^.clr := $00000004
  39386. else
  39387. pTDefRegMap(@Self)^.&set := $00000004;
  39388. end;
  39389. function TINT_INTCON.getINT2EP : TBits_1; inline;
  39390. begin
  39391. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39392. end;
  39393. procedure TINT_INTCON.setINT3EP; inline;
  39394. begin
  39395. pTDefRegMap(@Self)^.&set := $00000008;
  39396. end;
  39397. procedure TINT_INTCON.clearINT3EP; inline;
  39398. begin
  39399. pTDefRegMap(@Self)^.clr := $00000008;
  39400. end;
  39401. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  39402. begin
  39403. if thebits = 0 then
  39404. pTDefRegMap(@Self)^.clr := $00000008
  39405. else
  39406. pTDefRegMap(@Self)^.&set := $00000008;
  39407. end;
  39408. function TINT_INTCON.getINT3EP : TBits_1; inline;
  39409. begin
  39410. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39411. end;
  39412. procedure TINT_INTCON.setINT4EP; inline;
  39413. begin
  39414. pTDefRegMap(@Self)^.&set := $00000010;
  39415. end;
  39416. procedure TINT_INTCON.clearINT4EP; inline;
  39417. begin
  39418. pTDefRegMap(@Self)^.clr := $00000010;
  39419. end;
  39420. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  39421. begin
  39422. if thebits = 0 then
  39423. pTDefRegMap(@Self)^.clr := $00000010
  39424. else
  39425. pTDefRegMap(@Self)^.&set := $00000010;
  39426. end;
  39427. function TINT_INTCON.getINT4EP : TBits_1; inline;
  39428. begin
  39429. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39430. end;
  39431. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  39432. begin
  39433. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  39434. end;
  39435. function TINT_INTCON.getTPC : TBits_3; inline;
  39436. begin
  39437. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  39438. end;
  39439. procedure TINT_INTCON.setMVEC; inline;
  39440. begin
  39441. pTDefRegMap(@Self)^.&set := $00001000;
  39442. end;
  39443. procedure TINT_INTCON.clearMVEC; inline;
  39444. begin
  39445. pTDefRegMap(@Self)^.clr := $00001000;
  39446. end;
  39447. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  39448. begin
  39449. if thebits = 0 then
  39450. pTDefRegMap(@Self)^.clr := $00001000
  39451. else
  39452. pTDefRegMap(@Self)^.&set := $00001000;
  39453. end;
  39454. function TINT_INTCON.getMVEC : TBits_1; inline;
  39455. begin
  39456. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39457. end;
  39458. procedure TINT_INTCON.setFRZ; inline;
  39459. begin
  39460. pTDefRegMap(@Self)^.&set := $00004000;
  39461. end;
  39462. procedure TINT_INTCON.clearFRZ; inline;
  39463. begin
  39464. pTDefRegMap(@Self)^.clr := $00004000;
  39465. end;
  39466. procedure TINT_INTCON.setFRZ(thebits : TBits_1); inline;
  39467. begin
  39468. if thebits = 0 then
  39469. pTDefRegMap(@Self)^.clr := $00004000
  39470. else
  39471. pTDefRegMap(@Self)^.&set := $00004000;
  39472. end;
  39473. function TINT_INTCON.getFRZ : TBits_1; inline;
  39474. begin
  39475. getFRZ := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39476. end;
  39477. procedure TINT_INTCON.setSS0; inline;
  39478. begin
  39479. pTDefRegMap(@Self)^.&set := $00010000;
  39480. end;
  39481. procedure TINT_INTCON.clearSS0; inline;
  39482. begin
  39483. pTDefRegMap(@Self)^.clr := $00010000;
  39484. end;
  39485. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  39486. begin
  39487. if thebits = 0 then
  39488. pTDefRegMap(@Self)^.clr := $00010000
  39489. else
  39490. pTDefRegMap(@Self)^.&set := $00010000;
  39491. end;
  39492. function TINT_INTCON.getSS0 : TBits_1; inline;
  39493. begin
  39494. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39495. end;
  39496. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  39497. begin
  39498. pTDefRegMap(@Self)^.val := thebits;
  39499. end;
  39500. function TINT_INTCON.getw : TBits_32; inline;
  39501. begin
  39502. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39503. end;
  39504. procedure TINT_IFS0.setCTIF; inline;
  39505. begin
  39506. pTDefRegMap(@Self)^.&set := $00000001;
  39507. end;
  39508. procedure TINT_IFS0.clearCTIF; inline;
  39509. begin
  39510. pTDefRegMap(@Self)^.clr := $00000001;
  39511. end;
  39512. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  39513. begin
  39514. if thebits = 0 then
  39515. pTDefRegMap(@Self)^.clr := $00000001
  39516. else
  39517. pTDefRegMap(@Self)^.&set := $00000001;
  39518. end;
  39519. function TINT_IFS0.getCTIF : TBits_1; inline;
  39520. begin
  39521. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39522. end;
  39523. procedure TINT_IFS0.setCS0IF; inline;
  39524. begin
  39525. pTDefRegMap(@Self)^.&set := $00000002;
  39526. end;
  39527. procedure TINT_IFS0.clearCS0IF; inline;
  39528. begin
  39529. pTDefRegMap(@Self)^.clr := $00000002;
  39530. end;
  39531. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  39532. begin
  39533. if thebits = 0 then
  39534. pTDefRegMap(@Self)^.clr := $00000002
  39535. else
  39536. pTDefRegMap(@Self)^.&set := $00000002;
  39537. end;
  39538. function TINT_IFS0.getCS0IF : TBits_1; inline;
  39539. begin
  39540. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39541. end;
  39542. procedure TINT_IFS0.setCS1IF; inline;
  39543. begin
  39544. pTDefRegMap(@Self)^.&set := $00000004;
  39545. end;
  39546. procedure TINT_IFS0.clearCS1IF; inline;
  39547. begin
  39548. pTDefRegMap(@Self)^.clr := $00000004;
  39549. end;
  39550. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  39551. begin
  39552. if thebits = 0 then
  39553. pTDefRegMap(@Self)^.clr := $00000004
  39554. else
  39555. pTDefRegMap(@Self)^.&set := $00000004;
  39556. end;
  39557. function TINT_IFS0.getCS1IF : TBits_1; inline;
  39558. begin
  39559. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39560. end;
  39561. procedure TINT_IFS0.setINT0IF; inline;
  39562. begin
  39563. pTDefRegMap(@Self)^.&set := $00000008;
  39564. end;
  39565. procedure TINT_IFS0.clearINT0IF; inline;
  39566. begin
  39567. pTDefRegMap(@Self)^.clr := $00000008;
  39568. end;
  39569. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  39570. begin
  39571. if thebits = 0 then
  39572. pTDefRegMap(@Self)^.clr := $00000008
  39573. else
  39574. pTDefRegMap(@Self)^.&set := $00000008;
  39575. end;
  39576. function TINT_IFS0.getINT0IF : TBits_1; inline;
  39577. begin
  39578. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39579. end;
  39580. procedure TINT_IFS0.setT1IF; inline;
  39581. begin
  39582. pTDefRegMap(@Self)^.&set := $00000010;
  39583. end;
  39584. procedure TINT_IFS0.clearT1IF; inline;
  39585. begin
  39586. pTDefRegMap(@Self)^.clr := $00000010;
  39587. end;
  39588. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  39589. begin
  39590. if thebits = 0 then
  39591. pTDefRegMap(@Self)^.clr := $00000010
  39592. else
  39593. pTDefRegMap(@Self)^.&set := $00000010;
  39594. end;
  39595. function TINT_IFS0.getT1IF : TBits_1; inline;
  39596. begin
  39597. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39598. end;
  39599. procedure TINT_IFS0.setIC1IF; inline;
  39600. begin
  39601. pTDefRegMap(@Self)^.&set := $00000020;
  39602. end;
  39603. procedure TINT_IFS0.clearIC1IF; inline;
  39604. begin
  39605. pTDefRegMap(@Self)^.clr := $00000020;
  39606. end;
  39607. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  39608. begin
  39609. if thebits = 0 then
  39610. pTDefRegMap(@Self)^.clr := $00000020
  39611. else
  39612. pTDefRegMap(@Self)^.&set := $00000020;
  39613. end;
  39614. function TINT_IFS0.getIC1IF : TBits_1; inline;
  39615. begin
  39616. getIC1IF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39617. end;
  39618. procedure TINT_IFS0.setOC1IF; inline;
  39619. begin
  39620. pTDefRegMap(@Self)^.&set := $00000040;
  39621. end;
  39622. procedure TINT_IFS0.clearOC1IF; inline;
  39623. begin
  39624. pTDefRegMap(@Self)^.clr := $00000040;
  39625. end;
  39626. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  39627. begin
  39628. if thebits = 0 then
  39629. pTDefRegMap(@Self)^.clr := $00000040
  39630. else
  39631. pTDefRegMap(@Self)^.&set := $00000040;
  39632. end;
  39633. function TINT_IFS0.getOC1IF : TBits_1; inline;
  39634. begin
  39635. getOC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39636. end;
  39637. procedure TINT_IFS0.setINT1IF; inline;
  39638. begin
  39639. pTDefRegMap(@Self)^.&set := $00000080;
  39640. end;
  39641. procedure TINT_IFS0.clearINT1IF; inline;
  39642. begin
  39643. pTDefRegMap(@Self)^.clr := $00000080;
  39644. end;
  39645. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  39646. begin
  39647. if thebits = 0 then
  39648. pTDefRegMap(@Self)^.clr := $00000080
  39649. else
  39650. pTDefRegMap(@Self)^.&set := $00000080;
  39651. end;
  39652. function TINT_IFS0.getINT1IF : TBits_1; inline;
  39653. begin
  39654. getINT1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39655. end;
  39656. procedure TINT_IFS0.setT2IF; inline;
  39657. begin
  39658. pTDefRegMap(@Self)^.&set := $00000100;
  39659. end;
  39660. procedure TINT_IFS0.clearT2IF; inline;
  39661. begin
  39662. pTDefRegMap(@Self)^.clr := $00000100;
  39663. end;
  39664. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  39665. begin
  39666. if thebits = 0 then
  39667. pTDefRegMap(@Self)^.clr := $00000100
  39668. else
  39669. pTDefRegMap(@Self)^.&set := $00000100;
  39670. end;
  39671. function TINT_IFS0.getT2IF : TBits_1; inline;
  39672. begin
  39673. getT2IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39674. end;
  39675. procedure TINT_IFS0.setIC2IF; inline;
  39676. begin
  39677. pTDefRegMap(@Self)^.&set := $00000200;
  39678. end;
  39679. procedure TINT_IFS0.clearIC2IF; inline;
  39680. begin
  39681. pTDefRegMap(@Self)^.clr := $00000200;
  39682. end;
  39683. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  39684. begin
  39685. if thebits = 0 then
  39686. pTDefRegMap(@Self)^.clr := $00000200
  39687. else
  39688. pTDefRegMap(@Self)^.&set := $00000200;
  39689. end;
  39690. function TINT_IFS0.getIC2IF : TBits_1; inline;
  39691. begin
  39692. getIC2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39693. end;
  39694. procedure TINT_IFS0.setOC2IF; inline;
  39695. begin
  39696. pTDefRegMap(@Self)^.&set := $00000400;
  39697. end;
  39698. procedure TINT_IFS0.clearOC2IF; inline;
  39699. begin
  39700. pTDefRegMap(@Self)^.clr := $00000400;
  39701. end;
  39702. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  39703. begin
  39704. if thebits = 0 then
  39705. pTDefRegMap(@Self)^.clr := $00000400
  39706. else
  39707. pTDefRegMap(@Self)^.&set := $00000400;
  39708. end;
  39709. function TINT_IFS0.getOC2IF : TBits_1; inline;
  39710. begin
  39711. getOC2IF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39712. end;
  39713. procedure TINT_IFS0.setINT2IF; inline;
  39714. begin
  39715. pTDefRegMap(@Self)^.&set := $00000800;
  39716. end;
  39717. procedure TINT_IFS0.clearINT2IF; inline;
  39718. begin
  39719. pTDefRegMap(@Self)^.clr := $00000800;
  39720. end;
  39721. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  39722. begin
  39723. if thebits = 0 then
  39724. pTDefRegMap(@Self)^.clr := $00000800
  39725. else
  39726. pTDefRegMap(@Self)^.&set := $00000800;
  39727. end;
  39728. function TINT_IFS0.getINT2IF : TBits_1; inline;
  39729. begin
  39730. getINT2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39731. end;
  39732. procedure TINT_IFS0.setT3IF; inline;
  39733. begin
  39734. pTDefRegMap(@Self)^.&set := $00001000;
  39735. end;
  39736. procedure TINT_IFS0.clearT3IF; inline;
  39737. begin
  39738. pTDefRegMap(@Self)^.clr := $00001000;
  39739. end;
  39740. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  39741. begin
  39742. if thebits = 0 then
  39743. pTDefRegMap(@Self)^.clr := $00001000
  39744. else
  39745. pTDefRegMap(@Self)^.&set := $00001000;
  39746. end;
  39747. function TINT_IFS0.getT3IF : TBits_1; inline;
  39748. begin
  39749. getT3IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39750. end;
  39751. procedure TINT_IFS0.setIC3IF; inline;
  39752. begin
  39753. pTDefRegMap(@Self)^.&set := $00002000;
  39754. end;
  39755. procedure TINT_IFS0.clearIC3IF; inline;
  39756. begin
  39757. pTDefRegMap(@Self)^.clr := $00002000;
  39758. end;
  39759. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  39760. begin
  39761. if thebits = 0 then
  39762. pTDefRegMap(@Self)^.clr := $00002000
  39763. else
  39764. pTDefRegMap(@Self)^.&set := $00002000;
  39765. end;
  39766. function TINT_IFS0.getIC3IF : TBits_1; inline;
  39767. begin
  39768. getIC3IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39769. end;
  39770. procedure TINT_IFS0.setOC3IF; inline;
  39771. begin
  39772. pTDefRegMap(@Self)^.&set := $00004000;
  39773. end;
  39774. procedure TINT_IFS0.clearOC3IF; inline;
  39775. begin
  39776. pTDefRegMap(@Self)^.clr := $00004000;
  39777. end;
  39778. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  39779. begin
  39780. if thebits = 0 then
  39781. pTDefRegMap(@Self)^.clr := $00004000
  39782. else
  39783. pTDefRegMap(@Self)^.&set := $00004000;
  39784. end;
  39785. function TINT_IFS0.getOC3IF : TBits_1; inline;
  39786. begin
  39787. getOC3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39788. end;
  39789. procedure TINT_IFS0.setINT3IF; inline;
  39790. begin
  39791. pTDefRegMap(@Self)^.&set := $00008000;
  39792. end;
  39793. procedure TINT_IFS0.clearINT3IF; inline;
  39794. begin
  39795. pTDefRegMap(@Self)^.clr := $00008000;
  39796. end;
  39797. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  39798. begin
  39799. if thebits = 0 then
  39800. pTDefRegMap(@Self)^.clr := $00008000
  39801. else
  39802. pTDefRegMap(@Self)^.&set := $00008000;
  39803. end;
  39804. function TINT_IFS0.getINT3IF : TBits_1; inline;
  39805. begin
  39806. getINT3IF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39807. end;
  39808. procedure TINT_IFS0.setT4IF; inline;
  39809. begin
  39810. pTDefRegMap(@Self)^.&set := $00010000;
  39811. end;
  39812. procedure TINT_IFS0.clearT4IF; inline;
  39813. begin
  39814. pTDefRegMap(@Self)^.clr := $00010000;
  39815. end;
  39816. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  39817. begin
  39818. if thebits = 0 then
  39819. pTDefRegMap(@Self)^.clr := $00010000
  39820. else
  39821. pTDefRegMap(@Self)^.&set := $00010000;
  39822. end;
  39823. function TINT_IFS0.getT4IF : TBits_1; inline;
  39824. begin
  39825. getT4IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39826. end;
  39827. procedure TINT_IFS0.setIC4IF; inline;
  39828. begin
  39829. pTDefRegMap(@Self)^.&set := $00020000;
  39830. end;
  39831. procedure TINT_IFS0.clearIC4IF; inline;
  39832. begin
  39833. pTDefRegMap(@Self)^.clr := $00020000;
  39834. end;
  39835. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  39836. begin
  39837. if thebits = 0 then
  39838. pTDefRegMap(@Self)^.clr := $00020000
  39839. else
  39840. pTDefRegMap(@Self)^.&set := $00020000;
  39841. end;
  39842. function TINT_IFS0.getIC4IF : TBits_1; inline;
  39843. begin
  39844. getIC4IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  39845. end;
  39846. procedure TINT_IFS0.setOC4IF; inline;
  39847. begin
  39848. pTDefRegMap(@Self)^.&set := $00040000;
  39849. end;
  39850. procedure TINT_IFS0.clearOC4IF; inline;
  39851. begin
  39852. pTDefRegMap(@Self)^.clr := $00040000;
  39853. end;
  39854. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  39855. begin
  39856. if thebits = 0 then
  39857. pTDefRegMap(@Self)^.clr := $00040000
  39858. else
  39859. pTDefRegMap(@Self)^.&set := $00040000;
  39860. end;
  39861. function TINT_IFS0.getOC4IF : TBits_1; inline;
  39862. begin
  39863. getOC4IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  39864. end;
  39865. procedure TINT_IFS0.setINT4IF; inline;
  39866. begin
  39867. pTDefRegMap(@Self)^.&set := $00080000;
  39868. end;
  39869. procedure TINT_IFS0.clearINT4IF; inline;
  39870. begin
  39871. pTDefRegMap(@Self)^.clr := $00080000;
  39872. end;
  39873. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  39874. begin
  39875. if thebits = 0 then
  39876. pTDefRegMap(@Self)^.clr := $00080000
  39877. else
  39878. pTDefRegMap(@Self)^.&set := $00080000;
  39879. end;
  39880. function TINT_IFS0.getINT4IF : TBits_1; inline;
  39881. begin
  39882. getINT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  39883. end;
  39884. procedure TINT_IFS0.setT5IF; inline;
  39885. begin
  39886. pTDefRegMap(@Self)^.&set := $00100000;
  39887. end;
  39888. procedure TINT_IFS0.clearT5IF; inline;
  39889. begin
  39890. pTDefRegMap(@Self)^.clr := $00100000;
  39891. end;
  39892. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  39893. begin
  39894. if thebits = 0 then
  39895. pTDefRegMap(@Self)^.clr := $00100000
  39896. else
  39897. pTDefRegMap(@Self)^.&set := $00100000;
  39898. end;
  39899. function TINT_IFS0.getT5IF : TBits_1; inline;
  39900. begin
  39901. getT5IF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  39902. end;
  39903. procedure TINT_IFS0.setIC5IF; inline;
  39904. begin
  39905. pTDefRegMap(@Self)^.&set := $00200000;
  39906. end;
  39907. procedure TINT_IFS0.clearIC5IF; inline;
  39908. begin
  39909. pTDefRegMap(@Self)^.clr := $00200000;
  39910. end;
  39911. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  39912. begin
  39913. if thebits = 0 then
  39914. pTDefRegMap(@Self)^.clr := $00200000
  39915. else
  39916. pTDefRegMap(@Self)^.&set := $00200000;
  39917. end;
  39918. function TINT_IFS0.getIC5IF : TBits_1; inline;
  39919. begin
  39920. getIC5IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  39921. end;
  39922. procedure TINT_IFS0.setOC5IF; inline;
  39923. begin
  39924. pTDefRegMap(@Self)^.&set := $00400000;
  39925. end;
  39926. procedure TINT_IFS0.clearOC5IF; inline;
  39927. begin
  39928. pTDefRegMap(@Self)^.clr := $00400000;
  39929. end;
  39930. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  39931. begin
  39932. if thebits = 0 then
  39933. pTDefRegMap(@Self)^.clr := $00400000
  39934. else
  39935. pTDefRegMap(@Self)^.&set := $00400000;
  39936. end;
  39937. function TINT_IFS0.getOC5IF : TBits_1; inline;
  39938. begin
  39939. getOC5IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  39940. end;
  39941. procedure TINT_IFS0.setU1EIF; inline;
  39942. begin
  39943. pTDefRegMap(@Self)^.&set := $04000000;
  39944. end;
  39945. procedure TINT_IFS0.clearU1EIF; inline;
  39946. begin
  39947. pTDefRegMap(@Self)^.clr := $04000000;
  39948. end;
  39949. procedure TINT_IFS0.setU1EIF(thebits : TBits_1); inline;
  39950. begin
  39951. if thebits = 0 then
  39952. pTDefRegMap(@Self)^.clr := $04000000
  39953. else
  39954. pTDefRegMap(@Self)^.&set := $04000000;
  39955. end;
  39956. function TINT_IFS0.getU1EIF : TBits_1; inline;
  39957. begin
  39958. getU1EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  39959. end;
  39960. procedure TINT_IFS0.setU1RXIF; inline;
  39961. begin
  39962. pTDefRegMap(@Self)^.&set := $08000000;
  39963. end;
  39964. procedure TINT_IFS0.clearU1RXIF; inline;
  39965. begin
  39966. pTDefRegMap(@Self)^.clr := $08000000;
  39967. end;
  39968. procedure TINT_IFS0.setU1RXIF(thebits : TBits_1); inline;
  39969. begin
  39970. if thebits = 0 then
  39971. pTDefRegMap(@Self)^.clr := $08000000
  39972. else
  39973. pTDefRegMap(@Self)^.&set := $08000000;
  39974. end;
  39975. function TINT_IFS0.getU1RXIF : TBits_1; inline;
  39976. begin
  39977. getU1RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  39978. end;
  39979. procedure TINT_IFS0.setU1TXIF; inline;
  39980. begin
  39981. pTDefRegMap(@Self)^.&set := $10000000;
  39982. end;
  39983. procedure TINT_IFS0.clearU1TXIF; inline;
  39984. begin
  39985. pTDefRegMap(@Self)^.clr := $10000000;
  39986. end;
  39987. procedure TINT_IFS0.setU1TXIF(thebits : TBits_1); inline;
  39988. begin
  39989. if thebits = 0 then
  39990. pTDefRegMap(@Self)^.clr := $10000000
  39991. else
  39992. pTDefRegMap(@Self)^.&set := $10000000;
  39993. end;
  39994. function TINT_IFS0.getU1TXIF : TBits_1; inline;
  39995. begin
  39996. getU1TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  39997. end;
  39998. procedure TINT_IFS0.setI2C1BIF; inline;
  39999. begin
  40000. pTDefRegMap(@Self)^.&set := $20000000;
  40001. end;
  40002. procedure TINT_IFS0.clearI2C1BIF; inline;
  40003. begin
  40004. pTDefRegMap(@Self)^.clr := $20000000;
  40005. end;
  40006. procedure TINT_IFS0.setI2C1BIF(thebits : TBits_1); inline;
  40007. begin
  40008. if thebits = 0 then
  40009. pTDefRegMap(@Self)^.clr := $20000000
  40010. else
  40011. pTDefRegMap(@Self)^.&set := $20000000;
  40012. end;
  40013. function TINT_IFS0.getI2C1BIF : TBits_1; inline;
  40014. begin
  40015. getI2C1BIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  40016. end;
  40017. procedure TINT_IFS0.setI2C1SIF; inline;
  40018. begin
  40019. pTDefRegMap(@Self)^.&set := $40000000;
  40020. end;
  40021. procedure TINT_IFS0.clearI2C1SIF; inline;
  40022. begin
  40023. pTDefRegMap(@Self)^.clr := $40000000;
  40024. end;
  40025. procedure TINT_IFS0.setI2C1SIF(thebits : TBits_1); inline;
  40026. begin
  40027. if thebits = 0 then
  40028. pTDefRegMap(@Self)^.clr := $40000000
  40029. else
  40030. pTDefRegMap(@Self)^.&set := $40000000;
  40031. end;
  40032. function TINT_IFS0.getI2C1SIF : TBits_1; inline;
  40033. begin
  40034. getI2C1SIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  40035. end;
  40036. procedure TINT_IFS0.setI2C1MIF; inline;
  40037. begin
  40038. pTDefRegMap(@Self)^.&set := $80000000;
  40039. end;
  40040. procedure TINT_IFS0.clearI2C1MIF; inline;
  40041. begin
  40042. pTDefRegMap(@Self)^.clr := $80000000;
  40043. end;
  40044. procedure TINT_IFS0.setI2C1MIF(thebits : TBits_1); inline;
  40045. begin
  40046. if thebits = 0 then
  40047. pTDefRegMap(@Self)^.clr := $80000000
  40048. else
  40049. pTDefRegMap(@Self)^.&set := $80000000;
  40050. end;
  40051. function TINT_IFS0.getI2C1MIF : TBits_1; inline;
  40052. begin
  40053. getI2C1MIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  40054. end;
  40055. procedure TINT_IFS0.setU1AEIF; inline;
  40056. begin
  40057. pTDefRegMap(@Self)^.&set := $04000000;
  40058. end;
  40059. procedure TINT_IFS0.clearU1AEIF; inline;
  40060. begin
  40061. pTDefRegMap(@Self)^.clr := $04000000;
  40062. end;
  40063. procedure TINT_IFS0.setU1AEIF(thebits : TBits_1); inline;
  40064. begin
  40065. if thebits = 0 then
  40066. pTDefRegMap(@Self)^.clr := $04000000
  40067. else
  40068. pTDefRegMap(@Self)^.&set := $04000000;
  40069. end;
  40070. function TINT_IFS0.getU1AEIF : TBits_1; inline;
  40071. begin
  40072. getU1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  40073. end;
  40074. procedure TINT_IFS0.setU1ARXIF; inline;
  40075. begin
  40076. pTDefRegMap(@Self)^.&set := $08000000;
  40077. end;
  40078. procedure TINT_IFS0.clearU1ARXIF; inline;
  40079. begin
  40080. pTDefRegMap(@Self)^.clr := $08000000;
  40081. end;
  40082. procedure TINT_IFS0.setU1ARXIF(thebits : TBits_1); inline;
  40083. begin
  40084. if thebits = 0 then
  40085. pTDefRegMap(@Self)^.clr := $08000000
  40086. else
  40087. pTDefRegMap(@Self)^.&set := $08000000;
  40088. end;
  40089. function TINT_IFS0.getU1ARXIF : TBits_1; inline;
  40090. begin
  40091. getU1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  40092. end;
  40093. procedure TINT_IFS0.setU1ATXIF; inline;
  40094. begin
  40095. pTDefRegMap(@Self)^.&set := $10000000;
  40096. end;
  40097. procedure TINT_IFS0.clearU1ATXIF; inline;
  40098. begin
  40099. pTDefRegMap(@Self)^.clr := $10000000;
  40100. end;
  40101. procedure TINT_IFS0.setU1ATXIF(thebits : TBits_1); inline;
  40102. begin
  40103. if thebits = 0 then
  40104. pTDefRegMap(@Self)^.clr := $10000000
  40105. else
  40106. pTDefRegMap(@Self)^.&set := $10000000;
  40107. end;
  40108. function TINT_IFS0.getU1ATXIF : TBits_1; inline;
  40109. begin
  40110. getU1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40111. end;
  40112. procedure TINT_IFS0.setSPI3EIF; inline;
  40113. begin
  40114. pTDefRegMap(@Self)^.&set := $04000000;
  40115. end;
  40116. procedure TINT_IFS0.clearSPI3EIF; inline;
  40117. begin
  40118. pTDefRegMap(@Self)^.clr := $04000000;
  40119. end;
  40120. procedure TINT_IFS0.setSPI3EIF(thebits : TBits_1); inline;
  40121. begin
  40122. if thebits = 0 then
  40123. pTDefRegMap(@Self)^.clr := $04000000
  40124. else
  40125. pTDefRegMap(@Self)^.&set := $04000000;
  40126. end;
  40127. function TINT_IFS0.getSPI3EIF : TBits_1; inline;
  40128. begin
  40129. getSPI3EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  40130. end;
  40131. procedure TINT_IFS0.setSPI3RXIF; inline;
  40132. begin
  40133. pTDefRegMap(@Self)^.&set := $08000000;
  40134. end;
  40135. procedure TINT_IFS0.clearSPI3RXIF; inline;
  40136. begin
  40137. pTDefRegMap(@Self)^.clr := $08000000;
  40138. end;
  40139. procedure TINT_IFS0.setSPI3RXIF(thebits : TBits_1); inline;
  40140. begin
  40141. if thebits = 0 then
  40142. pTDefRegMap(@Self)^.clr := $08000000
  40143. else
  40144. pTDefRegMap(@Self)^.&set := $08000000;
  40145. end;
  40146. function TINT_IFS0.getSPI3RXIF : TBits_1; inline;
  40147. begin
  40148. getSPI3RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  40149. end;
  40150. procedure TINT_IFS0.setSPI3TXIF; inline;
  40151. begin
  40152. pTDefRegMap(@Self)^.&set := $10000000;
  40153. end;
  40154. procedure TINT_IFS0.clearSPI3TXIF; inline;
  40155. begin
  40156. pTDefRegMap(@Self)^.clr := $10000000;
  40157. end;
  40158. procedure TINT_IFS0.setSPI3TXIF(thebits : TBits_1); inline;
  40159. begin
  40160. if thebits = 0 then
  40161. pTDefRegMap(@Self)^.clr := $10000000
  40162. else
  40163. pTDefRegMap(@Self)^.&set := $10000000;
  40164. end;
  40165. function TINT_IFS0.getSPI3TXIF : TBits_1; inline;
  40166. begin
  40167. getSPI3TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40168. end;
  40169. procedure TINT_IFS0.setSPI1AEIF; inline;
  40170. begin
  40171. pTDefRegMap(@Self)^.&set := $04000000;
  40172. end;
  40173. procedure TINT_IFS0.clearSPI1AEIF; inline;
  40174. begin
  40175. pTDefRegMap(@Self)^.clr := $04000000;
  40176. end;
  40177. procedure TINT_IFS0.setSPI1AEIF(thebits : TBits_1); inline;
  40178. begin
  40179. if thebits = 0 then
  40180. pTDefRegMap(@Self)^.clr := $04000000
  40181. else
  40182. pTDefRegMap(@Self)^.&set := $04000000;
  40183. end;
  40184. function TINT_IFS0.getSPI1AEIF : TBits_1; inline;
  40185. begin
  40186. getSPI1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  40187. end;
  40188. procedure TINT_IFS0.setSPI1ARXIF; inline;
  40189. begin
  40190. pTDefRegMap(@Self)^.&set := $08000000;
  40191. end;
  40192. procedure TINT_IFS0.clearSPI1ARXIF; inline;
  40193. begin
  40194. pTDefRegMap(@Self)^.clr := $08000000;
  40195. end;
  40196. procedure TINT_IFS0.setSPI1ARXIF(thebits : TBits_1); inline;
  40197. begin
  40198. if thebits = 0 then
  40199. pTDefRegMap(@Self)^.clr := $08000000
  40200. else
  40201. pTDefRegMap(@Self)^.&set := $08000000;
  40202. end;
  40203. function TINT_IFS0.getSPI1ARXIF : TBits_1; inline;
  40204. begin
  40205. getSPI1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  40206. end;
  40207. procedure TINT_IFS0.setSPI1ATXIF; inline;
  40208. begin
  40209. pTDefRegMap(@Self)^.&set := $10000000;
  40210. end;
  40211. procedure TINT_IFS0.clearSPI1ATXIF; inline;
  40212. begin
  40213. pTDefRegMap(@Self)^.clr := $10000000;
  40214. end;
  40215. procedure TINT_IFS0.setSPI1ATXIF(thebits : TBits_1); inline;
  40216. begin
  40217. if thebits = 0 then
  40218. pTDefRegMap(@Self)^.clr := $10000000
  40219. else
  40220. pTDefRegMap(@Self)^.&set := $10000000;
  40221. end;
  40222. function TINT_IFS0.getSPI1ATXIF : TBits_1; inline;
  40223. begin
  40224. getSPI1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40225. end;
  40226. procedure TINT_IFS0.setI2C3BIF; inline;
  40227. begin
  40228. pTDefRegMap(@Self)^.&set := $04000000;
  40229. end;
  40230. procedure TINT_IFS0.clearI2C3BIF; inline;
  40231. begin
  40232. pTDefRegMap(@Self)^.clr := $04000000;
  40233. end;
  40234. procedure TINT_IFS0.setI2C3BIF(thebits : TBits_1); inline;
  40235. begin
  40236. if thebits = 0 then
  40237. pTDefRegMap(@Self)^.clr := $04000000
  40238. else
  40239. pTDefRegMap(@Self)^.&set := $04000000;
  40240. end;
  40241. function TINT_IFS0.getI2C3BIF : TBits_1; inline;
  40242. begin
  40243. getI2C3BIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  40244. end;
  40245. procedure TINT_IFS0.setI2C3SIF; inline;
  40246. begin
  40247. pTDefRegMap(@Self)^.&set := $08000000;
  40248. end;
  40249. procedure TINT_IFS0.clearI2C3SIF; inline;
  40250. begin
  40251. pTDefRegMap(@Self)^.clr := $08000000;
  40252. end;
  40253. procedure TINT_IFS0.setI2C3SIF(thebits : TBits_1); inline;
  40254. begin
  40255. if thebits = 0 then
  40256. pTDefRegMap(@Self)^.clr := $08000000
  40257. else
  40258. pTDefRegMap(@Self)^.&set := $08000000;
  40259. end;
  40260. function TINT_IFS0.getI2C3SIF : TBits_1; inline;
  40261. begin
  40262. getI2C3SIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  40263. end;
  40264. procedure TINT_IFS0.setI2C3MIF; inline;
  40265. begin
  40266. pTDefRegMap(@Self)^.&set := $10000000;
  40267. end;
  40268. procedure TINT_IFS0.clearI2C3MIF; inline;
  40269. begin
  40270. pTDefRegMap(@Self)^.clr := $10000000;
  40271. end;
  40272. procedure TINT_IFS0.setI2C3MIF(thebits : TBits_1); inline;
  40273. begin
  40274. if thebits = 0 then
  40275. pTDefRegMap(@Self)^.clr := $10000000
  40276. else
  40277. pTDefRegMap(@Self)^.&set := $10000000;
  40278. end;
  40279. function TINT_IFS0.getI2C3MIF : TBits_1; inline;
  40280. begin
  40281. getI2C3MIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40282. end;
  40283. procedure TINT_IFS0.setI2C1ABIF; inline;
  40284. begin
  40285. pTDefRegMap(@Self)^.&set := $04000000;
  40286. end;
  40287. procedure TINT_IFS0.clearI2C1ABIF; inline;
  40288. begin
  40289. pTDefRegMap(@Self)^.clr := $04000000;
  40290. end;
  40291. procedure TINT_IFS0.setI2C1ABIF(thebits : TBits_1); inline;
  40292. begin
  40293. if thebits = 0 then
  40294. pTDefRegMap(@Self)^.clr := $04000000
  40295. else
  40296. pTDefRegMap(@Self)^.&set := $04000000;
  40297. end;
  40298. function TINT_IFS0.getI2C1ABIF : TBits_1; inline;
  40299. begin
  40300. getI2C1ABIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  40301. end;
  40302. procedure TINT_IFS0.setI2C1ASIF; inline;
  40303. begin
  40304. pTDefRegMap(@Self)^.&set := $08000000;
  40305. end;
  40306. procedure TINT_IFS0.clearI2C1ASIF; inline;
  40307. begin
  40308. pTDefRegMap(@Self)^.clr := $08000000;
  40309. end;
  40310. procedure TINT_IFS0.setI2C1ASIF(thebits : TBits_1); inline;
  40311. begin
  40312. if thebits = 0 then
  40313. pTDefRegMap(@Self)^.clr := $08000000
  40314. else
  40315. pTDefRegMap(@Self)^.&set := $08000000;
  40316. end;
  40317. function TINT_IFS0.getI2C1ASIF : TBits_1; inline;
  40318. begin
  40319. getI2C1ASIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  40320. end;
  40321. procedure TINT_IFS0.setI2C1AMIF; inline;
  40322. begin
  40323. pTDefRegMap(@Self)^.&set := $10000000;
  40324. end;
  40325. procedure TINT_IFS0.clearI2C1AMIF; inline;
  40326. begin
  40327. pTDefRegMap(@Self)^.clr := $10000000;
  40328. end;
  40329. procedure TINT_IFS0.setI2C1AMIF(thebits : TBits_1); inline;
  40330. begin
  40331. if thebits = 0 then
  40332. pTDefRegMap(@Self)^.clr := $10000000
  40333. else
  40334. pTDefRegMap(@Self)^.&set := $10000000;
  40335. end;
  40336. function TINT_IFS0.getI2C1AMIF : TBits_1; inline;
  40337. begin
  40338. getI2C1AMIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40339. end;
  40340. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  40341. begin
  40342. pTDefRegMap(@Self)^.val := thebits;
  40343. end;
  40344. function TINT_IFS0.getw : TBits_32; inline;
  40345. begin
  40346. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40347. end;
  40348. procedure TINT_IFS1.setCNIF; inline;
  40349. begin
  40350. pTDefRegMap(@Self)^.&set := $00000001;
  40351. end;
  40352. procedure TINT_IFS1.clearCNIF; inline;
  40353. begin
  40354. pTDefRegMap(@Self)^.clr := $00000001;
  40355. end;
  40356. procedure TINT_IFS1.setCNIF(thebits : TBits_1); inline;
  40357. begin
  40358. if thebits = 0 then
  40359. pTDefRegMap(@Self)^.clr := $00000001
  40360. else
  40361. pTDefRegMap(@Self)^.&set := $00000001;
  40362. end;
  40363. function TINT_IFS1.getCNIF : TBits_1; inline;
  40364. begin
  40365. getCNIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40366. end;
  40367. procedure TINT_IFS1.setAD1IF; inline;
  40368. begin
  40369. pTDefRegMap(@Self)^.&set := $00000002;
  40370. end;
  40371. procedure TINT_IFS1.clearAD1IF; inline;
  40372. begin
  40373. pTDefRegMap(@Self)^.clr := $00000002;
  40374. end;
  40375. procedure TINT_IFS1.setAD1IF(thebits : TBits_1); inline;
  40376. begin
  40377. if thebits = 0 then
  40378. pTDefRegMap(@Self)^.clr := $00000002
  40379. else
  40380. pTDefRegMap(@Self)^.&set := $00000002;
  40381. end;
  40382. function TINT_IFS1.getAD1IF : TBits_1; inline;
  40383. begin
  40384. getAD1IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40385. end;
  40386. procedure TINT_IFS1.setPMPIF; inline;
  40387. begin
  40388. pTDefRegMap(@Self)^.&set := $00000004;
  40389. end;
  40390. procedure TINT_IFS1.clearPMPIF; inline;
  40391. begin
  40392. pTDefRegMap(@Self)^.clr := $00000004;
  40393. end;
  40394. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  40395. begin
  40396. if thebits = 0 then
  40397. pTDefRegMap(@Self)^.clr := $00000004
  40398. else
  40399. pTDefRegMap(@Self)^.&set := $00000004;
  40400. end;
  40401. function TINT_IFS1.getPMPIF : TBits_1; inline;
  40402. begin
  40403. getPMPIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40404. end;
  40405. procedure TINT_IFS1.setCMP1IF; inline;
  40406. begin
  40407. pTDefRegMap(@Self)^.&set := $00000008;
  40408. end;
  40409. procedure TINT_IFS1.clearCMP1IF; inline;
  40410. begin
  40411. pTDefRegMap(@Self)^.clr := $00000008;
  40412. end;
  40413. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  40414. begin
  40415. if thebits = 0 then
  40416. pTDefRegMap(@Self)^.clr := $00000008
  40417. else
  40418. pTDefRegMap(@Self)^.&set := $00000008;
  40419. end;
  40420. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  40421. begin
  40422. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40423. end;
  40424. procedure TINT_IFS1.setCMP2IF; inline;
  40425. begin
  40426. pTDefRegMap(@Self)^.&set := $00000010;
  40427. end;
  40428. procedure TINT_IFS1.clearCMP2IF; inline;
  40429. begin
  40430. pTDefRegMap(@Self)^.clr := $00000010;
  40431. end;
  40432. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  40433. begin
  40434. if thebits = 0 then
  40435. pTDefRegMap(@Self)^.clr := $00000010
  40436. else
  40437. pTDefRegMap(@Self)^.&set := $00000010;
  40438. end;
  40439. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  40440. begin
  40441. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40442. end;
  40443. procedure TINT_IFS1.setU3EIF; inline;
  40444. begin
  40445. pTDefRegMap(@Self)^.&set := $00000020;
  40446. end;
  40447. procedure TINT_IFS1.clearU3EIF; inline;
  40448. begin
  40449. pTDefRegMap(@Self)^.clr := $00000020;
  40450. end;
  40451. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  40452. begin
  40453. if thebits = 0 then
  40454. pTDefRegMap(@Self)^.clr := $00000020
  40455. else
  40456. pTDefRegMap(@Self)^.&set := $00000020;
  40457. end;
  40458. function TINT_IFS1.getU3EIF : TBits_1; inline;
  40459. begin
  40460. getU3EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40461. end;
  40462. procedure TINT_IFS1.setU3RXIF; inline;
  40463. begin
  40464. pTDefRegMap(@Self)^.&set := $00000040;
  40465. end;
  40466. procedure TINT_IFS1.clearU3RXIF; inline;
  40467. begin
  40468. pTDefRegMap(@Self)^.clr := $00000040;
  40469. end;
  40470. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  40471. begin
  40472. if thebits = 0 then
  40473. pTDefRegMap(@Self)^.clr := $00000040
  40474. else
  40475. pTDefRegMap(@Self)^.&set := $00000040;
  40476. end;
  40477. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  40478. begin
  40479. getU3RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40480. end;
  40481. procedure TINT_IFS1.setU3TXIF; inline;
  40482. begin
  40483. pTDefRegMap(@Self)^.&set := $00000080;
  40484. end;
  40485. procedure TINT_IFS1.clearU3TXIF; inline;
  40486. begin
  40487. pTDefRegMap(@Self)^.clr := $00000080;
  40488. end;
  40489. procedure TINT_IFS1.setU3TXIF(thebits : TBits_1); inline;
  40490. begin
  40491. if thebits = 0 then
  40492. pTDefRegMap(@Self)^.clr := $00000080
  40493. else
  40494. pTDefRegMap(@Self)^.&set := $00000080;
  40495. end;
  40496. function TINT_IFS1.getU3TXIF : TBits_1; inline;
  40497. begin
  40498. getU3TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40499. end;
  40500. procedure TINT_IFS1.setU2EIF; inline;
  40501. begin
  40502. pTDefRegMap(@Self)^.&set := $00000100;
  40503. end;
  40504. procedure TINT_IFS1.clearU2EIF; inline;
  40505. begin
  40506. pTDefRegMap(@Self)^.clr := $00000100;
  40507. end;
  40508. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  40509. begin
  40510. if thebits = 0 then
  40511. pTDefRegMap(@Self)^.clr := $00000100
  40512. else
  40513. pTDefRegMap(@Self)^.&set := $00000100;
  40514. end;
  40515. function TINT_IFS1.getU2EIF : TBits_1; inline;
  40516. begin
  40517. getU2EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40518. end;
  40519. procedure TINT_IFS1.setU2RXIF; inline;
  40520. begin
  40521. pTDefRegMap(@Self)^.&set := $00000200;
  40522. end;
  40523. procedure TINT_IFS1.clearU2RXIF; inline;
  40524. begin
  40525. pTDefRegMap(@Self)^.clr := $00000200;
  40526. end;
  40527. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  40528. begin
  40529. if thebits = 0 then
  40530. pTDefRegMap(@Self)^.clr := $00000200
  40531. else
  40532. pTDefRegMap(@Self)^.&set := $00000200;
  40533. end;
  40534. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  40535. begin
  40536. getU2RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40537. end;
  40538. procedure TINT_IFS1.setU2TXIF; inline;
  40539. begin
  40540. pTDefRegMap(@Self)^.&set := $00000400;
  40541. end;
  40542. procedure TINT_IFS1.clearU2TXIF; inline;
  40543. begin
  40544. pTDefRegMap(@Self)^.clr := $00000400;
  40545. end;
  40546. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  40547. begin
  40548. if thebits = 0 then
  40549. pTDefRegMap(@Self)^.clr := $00000400
  40550. else
  40551. pTDefRegMap(@Self)^.&set := $00000400;
  40552. end;
  40553. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  40554. begin
  40555. getU2TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40556. end;
  40557. procedure TINT_IFS1.setFSCMIF; inline;
  40558. begin
  40559. pTDefRegMap(@Self)^.&set := $00004000;
  40560. end;
  40561. procedure TINT_IFS1.clearFSCMIF; inline;
  40562. begin
  40563. pTDefRegMap(@Self)^.clr := $00004000;
  40564. end;
  40565. procedure TINT_IFS1.setFSCMIF(thebits : TBits_1); inline;
  40566. begin
  40567. if thebits = 0 then
  40568. pTDefRegMap(@Self)^.clr := $00004000
  40569. else
  40570. pTDefRegMap(@Self)^.&set := $00004000;
  40571. end;
  40572. function TINT_IFS1.getFSCMIF : TBits_1; inline;
  40573. begin
  40574. getFSCMIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40575. end;
  40576. procedure TINT_IFS1.setRTCCIF; inline;
  40577. begin
  40578. pTDefRegMap(@Self)^.&set := $00008000;
  40579. end;
  40580. procedure TINT_IFS1.clearRTCCIF; inline;
  40581. begin
  40582. pTDefRegMap(@Self)^.clr := $00008000;
  40583. end;
  40584. procedure TINT_IFS1.setRTCCIF(thebits : TBits_1); inline;
  40585. begin
  40586. if thebits = 0 then
  40587. pTDefRegMap(@Self)^.clr := $00008000
  40588. else
  40589. pTDefRegMap(@Self)^.&set := $00008000;
  40590. end;
  40591. function TINT_IFS1.getRTCCIF : TBits_1; inline;
  40592. begin
  40593. getRTCCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40594. end;
  40595. procedure TINT_IFS1.setDMA0IF; inline;
  40596. begin
  40597. pTDefRegMap(@Self)^.&set := $00010000;
  40598. end;
  40599. procedure TINT_IFS1.clearDMA0IF; inline;
  40600. begin
  40601. pTDefRegMap(@Self)^.clr := $00010000;
  40602. end;
  40603. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  40604. begin
  40605. if thebits = 0 then
  40606. pTDefRegMap(@Self)^.clr := $00010000
  40607. else
  40608. pTDefRegMap(@Self)^.&set := $00010000;
  40609. end;
  40610. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  40611. begin
  40612. getDMA0IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40613. end;
  40614. procedure TINT_IFS1.setDMA1IF; inline;
  40615. begin
  40616. pTDefRegMap(@Self)^.&set := $00020000;
  40617. end;
  40618. procedure TINT_IFS1.clearDMA1IF; inline;
  40619. begin
  40620. pTDefRegMap(@Self)^.clr := $00020000;
  40621. end;
  40622. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  40623. begin
  40624. if thebits = 0 then
  40625. pTDefRegMap(@Self)^.clr := $00020000
  40626. else
  40627. pTDefRegMap(@Self)^.&set := $00020000;
  40628. end;
  40629. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  40630. begin
  40631. getDMA1IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  40632. end;
  40633. procedure TINT_IFS1.setDMA2IF; inline;
  40634. begin
  40635. pTDefRegMap(@Self)^.&set := $00040000;
  40636. end;
  40637. procedure TINT_IFS1.clearDMA2IF; inline;
  40638. begin
  40639. pTDefRegMap(@Self)^.clr := $00040000;
  40640. end;
  40641. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  40642. begin
  40643. if thebits = 0 then
  40644. pTDefRegMap(@Self)^.clr := $00040000
  40645. else
  40646. pTDefRegMap(@Self)^.&set := $00040000;
  40647. end;
  40648. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  40649. begin
  40650. getDMA2IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  40651. end;
  40652. procedure TINT_IFS1.setDMA3IF; inline;
  40653. begin
  40654. pTDefRegMap(@Self)^.&set := $00080000;
  40655. end;
  40656. procedure TINT_IFS1.clearDMA3IF; inline;
  40657. begin
  40658. pTDefRegMap(@Self)^.clr := $00080000;
  40659. end;
  40660. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  40661. begin
  40662. if thebits = 0 then
  40663. pTDefRegMap(@Self)^.clr := $00080000
  40664. else
  40665. pTDefRegMap(@Self)^.&set := $00080000;
  40666. end;
  40667. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  40668. begin
  40669. getDMA3IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  40670. end;
  40671. procedure TINT_IFS1.setFCEIF; inline;
  40672. begin
  40673. pTDefRegMap(@Self)^.&set := $01000000;
  40674. end;
  40675. procedure TINT_IFS1.clearFCEIF; inline;
  40676. begin
  40677. pTDefRegMap(@Self)^.clr := $01000000;
  40678. end;
  40679. procedure TINT_IFS1.setFCEIF(thebits : TBits_1); inline;
  40680. begin
  40681. if thebits = 0 then
  40682. pTDefRegMap(@Self)^.clr := $01000000
  40683. else
  40684. pTDefRegMap(@Self)^.&set := $01000000;
  40685. end;
  40686. function TINT_IFS1.getFCEIF : TBits_1; inline;
  40687. begin
  40688. getFCEIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  40689. end;
  40690. procedure TINT_IFS1.setUSBIF; inline;
  40691. begin
  40692. pTDefRegMap(@Self)^.&set := $02000000;
  40693. end;
  40694. procedure TINT_IFS1.clearUSBIF; inline;
  40695. begin
  40696. pTDefRegMap(@Self)^.clr := $02000000;
  40697. end;
  40698. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  40699. begin
  40700. if thebits = 0 then
  40701. pTDefRegMap(@Self)^.clr := $02000000
  40702. else
  40703. pTDefRegMap(@Self)^.&set := $02000000;
  40704. end;
  40705. function TINT_IFS1.getUSBIF : TBits_1; inline;
  40706. begin
  40707. getUSBIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  40708. end;
  40709. procedure TINT_IFS1.setETHIF; inline;
  40710. begin
  40711. pTDefRegMap(@Self)^.&set := $10000000;
  40712. end;
  40713. procedure TINT_IFS1.clearETHIF; inline;
  40714. begin
  40715. pTDefRegMap(@Self)^.clr := $10000000;
  40716. end;
  40717. procedure TINT_IFS1.setETHIF(thebits : TBits_1); inline;
  40718. begin
  40719. if thebits = 0 then
  40720. pTDefRegMap(@Self)^.clr := $10000000
  40721. else
  40722. pTDefRegMap(@Self)^.&set := $10000000;
  40723. end;
  40724. function TINT_IFS1.getETHIF : TBits_1; inline;
  40725. begin
  40726. getETHIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40727. end;
  40728. procedure TINT_IFS1.setIC1EIF; inline;
  40729. begin
  40730. pTDefRegMap(@Self)^.&set := $20000000;
  40731. end;
  40732. procedure TINT_IFS1.clearIC1EIF; inline;
  40733. begin
  40734. pTDefRegMap(@Self)^.clr := $20000000;
  40735. end;
  40736. procedure TINT_IFS1.setIC1EIF(thebits : TBits_1); inline;
  40737. begin
  40738. if thebits = 0 then
  40739. pTDefRegMap(@Self)^.clr := $20000000
  40740. else
  40741. pTDefRegMap(@Self)^.&set := $20000000;
  40742. end;
  40743. function TINT_IFS1.getIC1EIF : TBits_1; inline;
  40744. begin
  40745. getIC1EIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  40746. end;
  40747. procedure TINT_IFS1.setIC2EIF; inline;
  40748. begin
  40749. pTDefRegMap(@Self)^.&set := $40000000;
  40750. end;
  40751. procedure TINT_IFS1.clearIC2EIF; inline;
  40752. begin
  40753. pTDefRegMap(@Self)^.clr := $40000000;
  40754. end;
  40755. procedure TINT_IFS1.setIC2EIF(thebits : TBits_1); inline;
  40756. begin
  40757. if thebits = 0 then
  40758. pTDefRegMap(@Self)^.clr := $40000000
  40759. else
  40760. pTDefRegMap(@Self)^.&set := $40000000;
  40761. end;
  40762. function TINT_IFS1.getIC2EIF : TBits_1; inline;
  40763. begin
  40764. getIC2EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  40765. end;
  40766. procedure TINT_IFS1.setIC3EIF; inline;
  40767. begin
  40768. pTDefRegMap(@Self)^.&set := $80000000;
  40769. end;
  40770. procedure TINT_IFS1.clearIC3EIF; inline;
  40771. begin
  40772. pTDefRegMap(@Self)^.clr := $80000000;
  40773. end;
  40774. procedure TINT_IFS1.setIC3EIF(thebits : TBits_1); inline;
  40775. begin
  40776. if thebits = 0 then
  40777. pTDefRegMap(@Self)^.clr := $80000000
  40778. else
  40779. pTDefRegMap(@Self)^.&set := $80000000;
  40780. end;
  40781. function TINT_IFS1.getIC3EIF : TBits_1; inline;
  40782. begin
  40783. getIC3EIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  40784. end;
  40785. procedure TINT_IFS1.setU2AEIF; inline;
  40786. begin
  40787. pTDefRegMap(@Self)^.&set := $00000020;
  40788. end;
  40789. procedure TINT_IFS1.clearU2AEIF; inline;
  40790. begin
  40791. pTDefRegMap(@Self)^.clr := $00000020;
  40792. end;
  40793. procedure TINT_IFS1.setU2AEIF(thebits : TBits_1); inline;
  40794. begin
  40795. if thebits = 0 then
  40796. pTDefRegMap(@Self)^.clr := $00000020
  40797. else
  40798. pTDefRegMap(@Self)^.&set := $00000020;
  40799. end;
  40800. function TINT_IFS1.getU2AEIF : TBits_1; inline;
  40801. begin
  40802. getU2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40803. end;
  40804. procedure TINT_IFS1.setU2ARXIF; inline;
  40805. begin
  40806. pTDefRegMap(@Self)^.&set := $00000040;
  40807. end;
  40808. procedure TINT_IFS1.clearU2ARXIF; inline;
  40809. begin
  40810. pTDefRegMap(@Self)^.clr := $00000040;
  40811. end;
  40812. procedure TINT_IFS1.setU2ARXIF(thebits : TBits_1); inline;
  40813. begin
  40814. if thebits = 0 then
  40815. pTDefRegMap(@Self)^.clr := $00000040
  40816. else
  40817. pTDefRegMap(@Self)^.&set := $00000040;
  40818. end;
  40819. function TINT_IFS1.getU2ARXIF : TBits_1; inline;
  40820. begin
  40821. getU2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40822. end;
  40823. procedure TINT_IFS1.setU2ATXIF; inline;
  40824. begin
  40825. pTDefRegMap(@Self)^.&set := $00000080;
  40826. end;
  40827. procedure TINT_IFS1.clearU2ATXIF; inline;
  40828. begin
  40829. pTDefRegMap(@Self)^.clr := $00000080;
  40830. end;
  40831. procedure TINT_IFS1.setU2ATXIF(thebits : TBits_1); inline;
  40832. begin
  40833. if thebits = 0 then
  40834. pTDefRegMap(@Self)^.clr := $00000080
  40835. else
  40836. pTDefRegMap(@Self)^.&set := $00000080;
  40837. end;
  40838. function TINT_IFS1.getU2ATXIF : TBits_1; inline;
  40839. begin
  40840. getU2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40841. end;
  40842. procedure TINT_IFS1.setU3AEIF; inline;
  40843. begin
  40844. pTDefRegMap(@Self)^.&set := $00000100;
  40845. end;
  40846. procedure TINT_IFS1.clearU3AEIF; inline;
  40847. begin
  40848. pTDefRegMap(@Self)^.clr := $00000100;
  40849. end;
  40850. procedure TINT_IFS1.setU3AEIF(thebits : TBits_1); inline;
  40851. begin
  40852. if thebits = 0 then
  40853. pTDefRegMap(@Self)^.clr := $00000100
  40854. else
  40855. pTDefRegMap(@Self)^.&set := $00000100;
  40856. end;
  40857. function TINT_IFS1.getU3AEIF : TBits_1; inline;
  40858. begin
  40859. getU3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40860. end;
  40861. procedure TINT_IFS1.setU3ARXIF; inline;
  40862. begin
  40863. pTDefRegMap(@Self)^.&set := $00000200;
  40864. end;
  40865. procedure TINT_IFS1.clearU3ARXIF; inline;
  40866. begin
  40867. pTDefRegMap(@Self)^.clr := $00000200;
  40868. end;
  40869. procedure TINT_IFS1.setU3ARXIF(thebits : TBits_1); inline;
  40870. begin
  40871. if thebits = 0 then
  40872. pTDefRegMap(@Self)^.clr := $00000200
  40873. else
  40874. pTDefRegMap(@Self)^.&set := $00000200;
  40875. end;
  40876. function TINT_IFS1.getU3ARXIF : TBits_1; inline;
  40877. begin
  40878. getU3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40879. end;
  40880. procedure TINT_IFS1.setU3ATXIF; inline;
  40881. begin
  40882. pTDefRegMap(@Self)^.&set := $00000400;
  40883. end;
  40884. procedure TINT_IFS1.clearU3ATXIF; inline;
  40885. begin
  40886. pTDefRegMap(@Self)^.clr := $00000400;
  40887. end;
  40888. procedure TINT_IFS1.setU3ATXIF(thebits : TBits_1); inline;
  40889. begin
  40890. if thebits = 0 then
  40891. pTDefRegMap(@Self)^.clr := $00000400
  40892. else
  40893. pTDefRegMap(@Self)^.&set := $00000400;
  40894. end;
  40895. function TINT_IFS1.getU3ATXIF : TBits_1; inline;
  40896. begin
  40897. getU3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40898. end;
  40899. procedure TINT_IFS1.setSPI2EIF; inline;
  40900. begin
  40901. pTDefRegMap(@Self)^.&set := $00000020;
  40902. end;
  40903. procedure TINT_IFS1.clearSPI2EIF; inline;
  40904. begin
  40905. pTDefRegMap(@Self)^.clr := $00000020;
  40906. end;
  40907. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  40908. begin
  40909. if thebits = 0 then
  40910. pTDefRegMap(@Self)^.clr := $00000020
  40911. else
  40912. pTDefRegMap(@Self)^.&set := $00000020;
  40913. end;
  40914. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  40915. begin
  40916. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40917. end;
  40918. procedure TINT_IFS1.setSPI2RXIF; inline;
  40919. begin
  40920. pTDefRegMap(@Self)^.&set := $00000040;
  40921. end;
  40922. procedure TINT_IFS1.clearSPI2RXIF; inline;
  40923. begin
  40924. pTDefRegMap(@Self)^.clr := $00000040;
  40925. end;
  40926. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  40927. begin
  40928. if thebits = 0 then
  40929. pTDefRegMap(@Self)^.clr := $00000040
  40930. else
  40931. pTDefRegMap(@Self)^.&set := $00000040;
  40932. end;
  40933. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  40934. begin
  40935. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40936. end;
  40937. procedure TINT_IFS1.setSPI2TXIF; inline;
  40938. begin
  40939. pTDefRegMap(@Self)^.&set := $00000080;
  40940. end;
  40941. procedure TINT_IFS1.clearSPI2TXIF; inline;
  40942. begin
  40943. pTDefRegMap(@Self)^.clr := $00000080;
  40944. end;
  40945. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  40946. begin
  40947. if thebits = 0 then
  40948. pTDefRegMap(@Self)^.clr := $00000080
  40949. else
  40950. pTDefRegMap(@Self)^.&set := $00000080;
  40951. end;
  40952. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  40953. begin
  40954. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40955. end;
  40956. procedure TINT_IFS1.setSPI4EIF; inline;
  40957. begin
  40958. pTDefRegMap(@Self)^.&set := $00000100;
  40959. end;
  40960. procedure TINT_IFS1.clearSPI4EIF; inline;
  40961. begin
  40962. pTDefRegMap(@Self)^.clr := $00000100;
  40963. end;
  40964. procedure TINT_IFS1.setSPI4EIF(thebits : TBits_1); inline;
  40965. begin
  40966. if thebits = 0 then
  40967. pTDefRegMap(@Self)^.clr := $00000100
  40968. else
  40969. pTDefRegMap(@Self)^.&set := $00000100;
  40970. end;
  40971. function TINT_IFS1.getSPI4EIF : TBits_1; inline;
  40972. begin
  40973. getSPI4EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40974. end;
  40975. procedure TINT_IFS1.setSPI4RXIF; inline;
  40976. begin
  40977. pTDefRegMap(@Self)^.&set := $00000200;
  40978. end;
  40979. procedure TINT_IFS1.clearSPI4RXIF; inline;
  40980. begin
  40981. pTDefRegMap(@Self)^.clr := $00000200;
  40982. end;
  40983. procedure TINT_IFS1.setSPI4RXIF(thebits : TBits_1); inline;
  40984. begin
  40985. if thebits = 0 then
  40986. pTDefRegMap(@Self)^.clr := $00000200
  40987. else
  40988. pTDefRegMap(@Self)^.&set := $00000200;
  40989. end;
  40990. function TINT_IFS1.getSPI4RXIF : TBits_1; inline;
  40991. begin
  40992. getSPI4RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40993. end;
  40994. procedure TINT_IFS1.setSPI4TXIF; inline;
  40995. begin
  40996. pTDefRegMap(@Self)^.&set := $00000400;
  40997. end;
  40998. procedure TINT_IFS1.clearSPI4TXIF; inline;
  40999. begin
  41000. pTDefRegMap(@Self)^.clr := $00000400;
  41001. end;
  41002. procedure TINT_IFS1.setSPI4TXIF(thebits : TBits_1); inline;
  41003. begin
  41004. if thebits = 0 then
  41005. pTDefRegMap(@Self)^.clr := $00000400
  41006. else
  41007. pTDefRegMap(@Self)^.&set := $00000400;
  41008. end;
  41009. function TINT_IFS1.getSPI4TXIF : TBits_1; inline;
  41010. begin
  41011. getSPI4TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41012. end;
  41013. procedure TINT_IFS1.setSPI2AEIF; inline;
  41014. begin
  41015. pTDefRegMap(@Self)^.&set := $00000020;
  41016. end;
  41017. procedure TINT_IFS1.clearSPI2AEIF; inline;
  41018. begin
  41019. pTDefRegMap(@Self)^.clr := $00000020;
  41020. end;
  41021. procedure TINT_IFS1.setSPI2AEIF(thebits : TBits_1); inline;
  41022. begin
  41023. if thebits = 0 then
  41024. pTDefRegMap(@Self)^.clr := $00000020
  41025. else
  41026. pTDefRegMap(@Self)^.&set := $00000020;
  41027. end;
  41028. function TINT_IFS1.getSPI2AEIF : TBits_1; inline;
  41029. begin
  41030. getSPI2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41031. end;
  41032. procedure TINT_IFS1.setSPI2ARXIF; inline;
  41033. begin
  41034. pTDefRegMap(@Self)^.&set := $00000040;
  41035. end;
  41036. procedure TINT_IFS1.clearSPI2ARXIF; inline;
  41037. begin
  41038. pTDefRegMap(@Self)^.clr := $00000040;
  41039. end;
  41040. procedure TINT_IFS1.setSPI2ARXIF(thebits : TBits_1); inline;
  41041. begin
  41042. if thebits = 0 then
  41043. pTDefRegMap(@Self)^.clr := $00000040
  41044. else
  41045. pTDefRegMap(@Self)^.&set := $00000040;
  41046. end;
  41047. function TINT_IFS1.getSPI2ARXIF : TBits_1; inline;
  41048. begin
  41049. getSPI2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41050. end;
  41051. procedure TINT_IFS1.setSPI2ATXIF; inline;
  41052. begin
  41053. pTDefRegMap(@Self)^.&set := $00000080;
  41054. end;
  41055. procedure TINT_IFS1.clearSPI2ATXIF; inline;
  41056. begin
  41057. pTDefRegMap(@Self)^.clr := $00000080;
  41058. end;
  41059. procedure TINT_IFS1.setSPI2ATXIF(thebits : TBits_1); inline;
  41060. begin
  41061. if thebits = 0 then
  41062. pTDefRegMap(@Self)^.clr := $00000080
  41063. else
  41064. pTDefRegMap(@Self)^.&set := $00000080;
  41065. end;
  41066. function TINT_IFS1.getSPI2ATXIF : TBits_1; inline;
  41067. begin
  41068. getSPI2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41069. end;
  41070. procedure TINT_IFS1.setSPI3AEIF; inline;
  41071. begin
  41072. pTDefRegMap(@Self)^.&set := $00000100;
  41073. end;
  41074. procedure TINT_IFS1.clearSPI3AEIF; inline;
  41075. begin
  41076. pTDefRegMap(@Self)^.clr := $00000100;
  41077. end;
  41078. procedure TINT_IFS1.setSPI3AEIF(thebits : TBits_1); inline;
  41079. begin
  41080. if thebits = 0 then
  41081. pTDefRegMap(@Self)^.clr := $00000100
  41082. else
  41083. pTDefRegMap(@Self)^.&set := $00000100;
  41084. end;
  41085. function TINT_IFS1.getSPI3AEIF : TBits_1; inline;
  41086. begin
  41087. getSPI3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41088. end;
  41089. procedure TINT_IFS1.setSPI3ARXIF; inline;
  41090. begin
  41091. pTDefRegMap(@Self)^.&set := $00000200;
  41092. end;
  41093. procedure TINT_IFS1.clearSPI3ARXIF; inline;
  41094. begin
  41095. pTDefRegMap(@Self)^.clr := $00000200;
  41096. end;
  41097. procedure TINT_IFS1.setSPI3ARXIF(thebits : TBits_1); inline;
  41098. begin
  41099. if thebits = 0 then
  41100. pTDefRegMap(@Self)^.clr := $00000200
  41101. else
  41102. pTDefRegMap(@Self)^.&set := $00000200;
  41103. end;
  41104. function TINT_IFS1.getSPI3ARXIF : TBits_1; inline;
  41105. begin
  41106. getSPI3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41107. end;
  41108. procedure TINT_IFS1.setSPI3ATXIF; inline;
  41109. begin
  41110. pTDefRegMap(@Self)^.&set := $00000400;
  41111. end;
  41112. procedure TINT_IFS1.clearSPI3ATXIF; inline;
  41113. begin
  41114. pTDefRegMap(@Self)^.clr := $00000400;
  41115. end;
  41116. procedure TINT_IFS1.setSPI3ATXIF(thebits : TBits_1); inline;
  41117. begin
  41118. if thebits = 0 then
  41119. pTDefRegMap(@Self)^.clr := $00000400
  41120. else
  41121. pTDefRegMap(@Self)^.&set := $00000400;
  41122. end;
  41123. function TINT_IFS1.getSPI3ATXIF : TBits_1; inline;
  41124. begin
  41125. getSPI3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41126. end;
  41127. procedure TINT_IFS1.setI2C4BIF; inline;
  41128. begin
  41129. pTDefRegMap(@Self)^.&set := $00000020;
  41130. end;
  41131. procedure TINT_IFS1.clearI2C4BIF; inline;
  41132. begin
  41133. pTDefRegMap(@Self)^.clr := $00000020;
  41134. end;
  41135. procedure TINT_IFS1.setI2C4BIF(thebits : TBits_1); inline;
  41136. begin
  41137. if thebits = 0 then
  41138. pTDefRegMap(@Self)^.clr := $00000020
  41139. else
  41140. pTDefRegMap(@Self)^.&set := $00000020;
  41141. end;
  41142. function TINT_IFS1.getI2C4BIF : TBits_1; inline;
  41143. begin
  41144. getI2C4BIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41145. end;
  41146. procedure TINT_IFS1.setI2C4SIF; inline;
  41147. begin
  41148. pTDefRegMap(@Self)^.&set := $00000040;
  41149. end;
  41150. procedure TINT_IFS1.clearI2C4SIF; inline;
  41151. begin
  41152. pTDefRegMap(@Self)^.clr := $00000040;
  41153. end;
  41154. procedure TINT_IFS1.setI2C4SIF(thebits : TBits_1); inline;
  41155. begin
  41156. if thebits = 0 then
  41157. pTDefRegMap(@Self)^.clr := $00000040
  41158. else
  41159. pTDefRegMap(@Self)^.&set := $00000040;
  41160. end;
  41161. function TINT_IFS1.getI2C4SIF : TBits_1; inline;
  41162. begin
  41163. getI2C4SIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41164. end;
  41165. procedure TINT_IFS1.setI2C4MIF; inline;
  41166. begin
  41167. pTDefRegMap(@Self)^.&set := $00000080;
  41168. end;
  41169. procedure TINT_IFS1.clearI2C4MIF; inline;
  41170. begin
  41171. pTDefRegMap(@Self)^.clr := $00000080;
  41172. end;
  41173. procedure TINT_IFS1.setI2C4MIF(thebits : TBits_1); inline;
  41174. begin
  41175. if thebits = 0 then
  41176. pTDefRegMap(@Self)^.clr := $00000080
  41177. else
  41178. pTDefRegMap(@Self)^.&set := $00000080;
  41179. end;
  41180. function TINT_IFS1.getI2C4MIF : TBits_1; inline;
  41181. begin
  41182. getI2C4MIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41183. end;
  41184. procedure TINT_IFS1.setI2C5BIF; inline;
  41185. begin
  41186. pTDefRegMap(@Self)^.&set := $00000100;
  41187. end;
  41188. procedure TINT_IFS1.clearI2C5BIF; inline;
  41189. begin
  41190. pTDefRegMap(@Self)^.clr := $00000100;
  41191. end;
  41192. procedure TINT_IFS1.setI2C5BIF(thebits : TBits_1); inline;
  41193. begin
  41194. if thebits = 0 then
  41195. pTDefRegMap(@Self)^.clr := $00000100
  41196. else
  41197. pTDefRegMap(@Self)^.&set := $00000100;
  41198. end;
  41199. function TINT_IFS1.getI2C5BIF : TBits_1; inline;
  41200. begin
  41201. getI2C5BIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41202. end;
  41203. procedure TINT_IFS1.setI2C5SIF; inline;
  41204. begin
  41205. pTDefRegMap(@Self)^.&set := $00000200;
  41206. end;
  41207. procedure TINT_IFS1.clearI2C5SIF; inline;
  41208. begin
  41209. pTDefRegMap(@Self)^.clr := $00000200;
  41210. end;
  41211. procedure TINT_IFS1.setI2C5SIF(thebits : TBits_1); inline;
  41212. begin
  41213. if thebits = 0 then
  41214. pTDefRegMap(@Self)^.clr := $00000200
  41215. else
  41216. pTDefRegMap(@Self)^.&set := $00000200;
  41217. end;
  41218. function TINT_IFS1.getI2C5SIF : TBits_1; inline;
  41219. begin
  41220. getI2C5SIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41221. end;
  41222. procedure TINT_IFS1.setI2C5MIF; inline;
  41223. begin
  41224. pTDefRegMap(@Self)^.&set := $00000400;
  41225. end;
  41226. procedure TINT_IFS1.clearI2C5MIF; inline;
  41227. begin
  41228. pTDefRegMap(@Self)^.clr := $00000400;
  41229. end;
  41230. procedure TINT_IFS1.setI2C5MIF(thebits : TBits_1); inline;
  41231. begin
  41232. if thebits = 0 then
  41233. pTDefRegMap(@Self)^.clr := $00000400
  41234. else
  41235. pTDefRegMap(@Self)^.&set := $00000400;
  41236. end;
  41237. function TINT_IFS1.getI2C5MIF : TBits_1; inline;
  41238. begin
  41239. getI2C5MIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41240. end;
  41241. procedure TINT_IFS1.setI2C2ABIF; inline;
  41242. begin
  41243. pTDefRegMap(@Self)^.&set := $00000020;
  41244. end;
  41245. procedure TINT_IFS1.clearI2C2ABIF; inline;
  41246. begin
  41247. pTDefRegMap(@Self)^.clr := $00000020;
  41248. end;
  41249. procedure TINT_IFS1.setI2C2ABIF(thebits : TBits_1); inline;
  41250. begin
  41251. if thebits = 0 then
  41252. pTDefRegMap(@Self)^.clr := $00000020
  41253. else
  41254. pTDefRegMap(@Self)^.&set := $00000020;
  41255. end;
  41256. function TINT_IFS1.getI2C2ABIF : TBits_1; inline;
  41257. begin
  41258. getI2C2ABIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41259. end;
  41260. procedure TINT_IFS1.setI2C2ASIF; inline;
  41261. begin
  41262. pTDefRegMap(@Self)^.&set := $00000040;
  41263. end;
  41264. procedure TINT_IFS1.clearI2C2ASIF; inline;
  41265. begin
  41266. pTDefRegMap(@Self)^.clr := $00000040;
  41267. end;
  41268. procedure TINT_IFS1.setI2C2ASIF(thebits : TBits_1); inline;
  41269. begin
  41270. if thebits = 0 then
  41271. pTDefRegMap(@Self)^.clr := $00000040
  41272. else
  41273. pTDefRegMap(@Self)^.&set := $00000040;
  41274. end;
  41275. function TINT_IFS1.getI2C2ASIF : TBits_1; inline;
  41276. begin
  41277. getI2C2ASIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41278. end;
  41279. procedure TINT_IFS1.setI2C2AMIF; inline;
  41280. begin
  41281. pTDefRegMap(@Self)^.&set := $00000080;
  41282. end;
  41283. procedure TINT_IFS1.clearI2C2AMIF; inline;
  41284. begin
  41285. pTDefRegMap(@Self)^.clr := $00000080;
  41286. end;
  41287. procedure TINT_IFS1.setI2C2AMIF(thebits : TBits_1); inline;
  41288. begin
  41289. if thebits = 0 then
  41290. pTDefRegMap(@Self)^.clr := $00000080
  41291. else
  41292. pTDefRegMap(@Self)^.&set := $00000080;
  41293. end;
  41294. function TINT_IFS1.getI2C2AMIF : TBits_1; inline;
  41295. begin
  41296. getI2C2AMIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41297. end;
  41298. procedure TINT_IFS1.setI2C3ABIF; inline;
  41299. begin
  41300. pTDefRegMap(@Self)^.&set := $00000100;
  41301. end;
  41302. procedure TINT_IFS1.clearI2C3ABIF; inline;
  41303. begin
  41304. pTDefRegMap(@Self)^.clr := $00000100;
  41305. end;
  41306. procedure TINT_IFS1.setI2C3ABIF(thebits : TBits_1); inline;
  41307. begin
  41308. if thebits = 0 then
  41309. pTDefRegMap(@Self)^.clr := $00000100
  41310. else
  41311. pTDefRegMap(@Self)^.&set := $00000100;
  41312. end;
  41313. function TINT_IFS1.getI2C3ABIF : TBits_1; inline;
  41314. begin
  41315. getI2C3ABIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41316. end;
  41317. procedure TINT_IFS1.setI2C3ASIF; inline;
  41318. begin
  41319. pTDefRegMap(@Self)^.&set := $00000200;
  41320. end;
  41321. procedure TINT_IFS1.clearI2C3ASIF; inline;
  41322. begin
  41323. pTDefRegMap(@Self)^.clr := $00000200;
  41324. end;
  41325. procedure TINT_IFS1.setI2C3ASIF(thebits : TBits_1); inline;
  41326. begin
  41327. if thebits = 0 then
  41328. pTDefRegMap(@Self)^.clr := $00000200
  41329. else
  41330. pTDefRegMap(@Self)^.&set := $00000200;
  41331. end;
  41332. function TINT_IFS1.getI2C3ASIF : TBits_1; inline;
  41333. begin
  41334. getI2C3ASIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41335. end;
  41336. procedure TINT_IFS1.setI2C3AMIF; inline;
  41337. begin
  41338. pTDefRegMap(@Self)^.&set := $00000400;
  41339. end;
  41340. procedure TINT_IFS1.clearI2C3AMIF; inline;
  41341. begin
  41342. pTDefRegMap(@Self)^.clr := $00000400;
  41343. end;
  41344. procedure TINT_IFS1.setI2C3AMIF(thebits : TBits_1); inline;
  41345. begin
  41346. if thebits = 0 then
  41347. pTDefRegMap(@Self)^.clr := $00000400
  41348. else
  41349. pTDefRegMap(@Self)^.&set := $00000400;
  41350. end;
  41351. function TINT_IFS1.getI2C3AMIF : TBits_1; inline;
  41352. begin
  41353. getI2C3AMIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41354. end;
  41355. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  41356. begin
  41357. pTDefRegMap(@Self)^.val := thebits;
  41358. end;
  41359. function TINT_IFS1.getw : TBits_32; inline;
  41360. begin
  41361. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41362. end;
  41363. procedure TINT_IFS2.setIC4EIF; inline;
  41364. begin
  41365. pTDefRegMap(@Self)^.&set := $00000001;
  41366. end;
  41367. procedure TINT_IFS2.clearIC4EIF; inline;
  41368. begin
  41369. pTDefRegMap(@Self)^.clr := $00000001;
  41370. end;
  41371. procedure TINT_IFS2.setIC4EIF(thebits : TBits_1); inline;
  41372. begin
  41373. if thebits = 0 then
  41374. pTDefRegMap(@Self)^.clr := $00000001
  41375. else
  41376. pTDefRegMap(@Self)^.&set := $00000001;
  41377. end;
  41378. function TINT_IFS2.getIC4EIF : TBits_1; inline;
  41379. begin
  41380. getIC4EIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41381. end;
  41382. procedure TINT_IFS2.setIC5EIF; inline;
  41383. begin
  41384. pTDefRegMap(@Self)^.&set := $00000002;
  41385. end;
  41386. procedure TINT_IFS2.clearIC5EIF; inline;
  41387. begin
  41388. pTDefRegMap(@Self)^.clr := $00000002;
  41389. end;
  41390. procedure TINT_IFS2.setIC5EIF(thebits : TBits_1); inline;
  41391. begin
  41392. if thebits = 0 then
  41393. pTDefRegMap(@Self)^.clr := $00000002
  41394. else
  41395. pTDefRegMap(@Self)^.&set := $00000002;
  41396. end;
  41397. function TINT_IFS2.getIC5EIF : TBits_1; inline;
  41398. begin
  41399. getIC5EIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41400. end;
  41401. procedure TINT_IFS2.setPMPEIF; inline;
  41402. begin
  41403. pTDefRegMap(@Self)^.&set := $00000004;
  41404. end;
  41405. procedure TINT_IFS2.clearPMPEIF; inline;
  41406. begin
  41407. pTDefRegMap(@Self)^.clr := $00000004;
  41408. end;
  41409. procedure TINT_IFS2.setPMPEIF(thebits : TBits_1); inline;
  41410. begin
  41411. if thebits = 0 then
  41412. pTDefRegMap(@Self)^.clr := $00000004
  41413. else
  41414. pTDefRegMap(@Self)^.&set := $00000004;
  41415. end;
  41416. function TINT_IFS2.getPMPEIF : TBits_1; inline;
  41417. begin
  41418. getPMPEIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41419. end;
  41420. procedure TINT_IFS2.setU1BEIF; inline;
  41421. begin
  41422. pTDefRegMap(@Self)^.&set := $00000008;
  41423. end;
  41424. procedure TINT_IFS2.clearU1BEIF; inline;
  41425. begin
  41426. pTDefRegMap(@Self)^.clr := $00000008;
  41427. end;
  41428. procedure TINT_IFS2.setU1BEIF(thebits : TBits_1); inline;
  41429. begin
  41430. if thebits = 0 then
  41431. pTDefRegMap(@Self)^.clr := $00000008
  41432. else
  41433. pTDefRegMap(@Self)^.&set := $00000008;
  41434. end;
  41435. function TINT_IFS2.getU1BEIF : TBits_1; inline;
  41436. begin
  41437. getU1BEIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41438. end;
  41439. procedure TINT_IFS2.setU1BRXIF; inline;
  41440. begin
  41441. pTDefRegMap(@Self)^.&set := $00000010;
  41442. end;
  41443. procedure TINT_IFS2.clearU1BRXIF; inline;
  41444. begin
  41445. pTDefRegMap(@Self)^.clr := $00000010;
  41446. end;
  41447. procedure TINT_IFS2.setU1BRXIF(thebits : TBits_1); inline;
  41448. begin
  41449. if thebits = 0 then
  41450. pTDefRegMap(@Self)^.clr := $00000010
  41451. else
  41452. pTDefRegMap(@Self)^.&set := $00000010;
  41453. end;
  41454. function TINT_IFS2.getU1BRXIF : TBits_1; inline;
  41455. begin
  41456. getU1BRXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41457. end;
  41458. procedure TINT_IFS2.setU1BTXIF; inline;
  41459. begin
  41460. pTDefRegMap(@Self)^.&set := $00000020;
  41461. end;
  41462. procedure TINT_IFS2.clearU1BTXIF; inline;
  41463. begin
  41464. pTDefRegMap(@Self)^.clr := $00000020;
  41465. end;
  41466. procedure TINT_IFS2.setU1BTXIF(thebits : TBits_1); inline;
  41467. begin
  41468. if thebits = 0 then
  41469. pTDefRegMap(@Self)^.clr := $00000020
  41470. else
  41471. pTDefRegMap(@Self)^.&set := $00000020;
  41472. end;
  41473. function TINT_IFS2.getU1BTXIF : TBits_1; inline;
  41474. begin
  41475. getU1BTXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41476. end;
  41477. procedure TINT_IFS2.setU2BEIF; inline;
  41478. begin
  41479. pTDefRegMap(@Self)^.&set := $00000040;
  41480. end;
  41481. procedure TINT_IFS2.clearU2BEIF; inline;
  41482. begin
  41483. pTDefRegMap(@Self)^.clr := $00000040;
  41484. end;
  41485. procedure TINT_IFS2.setU2BEIF(thebits : TBits_1); inline;
  41486. begin
  41487. if thebits = 0 then
  41488. pTDefRegMap(@Self)^.clr := $00000040
  41489. else
  41490. pTDefRegMap(@Self)^.&set := $00000040;
  41491. end;
  41492. function TINT_IFS2.getU2BEIF : TBits_1; inline;
  41493. begin
  41494. getU2BEIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41495. end;
  41496. procedure TINT_IFS2.setU2BRXIF; inline;
  41497. begin
  41498. pTDefRegMap(@Self)^.&set := $00000080;
  41499. end;
  41500. procedure TINT_IFS2.clearU2BRXIF; inline;
  41501. begin
  41502. pTDefRegMap(@Self)^.clr := $00000080;
  41503. end;
  41504. procedure TINT_IFS2.setU2BRXIF(thebits : TBits_1); inline;
  41505. begin
  41506. if thebits = 0 then
  41507. pTDefRegMap(@Self)^.clr := $00000080
  41508. else
  41509. pTDefRegMap(@Self)^.&set := $00000080;
  41510. end;
  41511. function TINT_IFS2.getU2BRXIF : TBits_1; inline;
  41512. begin
  41513. getU2BRXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41514. end;
  41515. procedure TINT_IFS2.setU2BTXIF; inline;
  41516. begin
  41517. pTDefRegMap(@Self)^.&set := $00000100;
  41518. end;
  41519. procedure TINT_IFS2.clearU2BTXIF; inline;
  41520. begin
  41521. pTDefRegMap(@Self)^.clr := $00000100;
  41522. end;
  41523. procedure TINT_IFS2.setU2BTXIF(thebits : TBits_1); inline;
  41524. begin
  41525. if thebits = 0 then
  41526. pTDefRegMap(@Self)^.clr := $00000100
  41527. else
  41528. pTDefRegMap(@Self)^.&set := $00000100;
  41529. end;
  41530. function TINT_IFS2.getU2BTXIF : TBits_1; inline;
  41531. begin
  41532. getU2BTXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41533. end;
  41534. procedure TINT_IFS2.setU3BEIF; inline;
  41535. begin
  41536. pTDefRegMap(@Self)^.&set := $00000200;
  41537. end;
  41538. procedure TINT_IFS2.clearU3BEIF; inline;
  41539. begin
  41540. pTDefRegMap(@Self)^.clr := $00000200;
  41541. end;
  41542. procedure TINT_IFS2.setU3BEIF(thebits : TBits_1); inline;
  41543. begin
  41544. if thebits = 0 then
  41545. pTDefRegMap(@Self)^.clr := $00000200
  41546. else
  41547. pTDefRegMap(@Self)^.&set := $00000200;
  41548. end;
  41549. function TINT_IFS2.getU3BEIF : TBits_1; inline;
  41550. begin
  41551. getU3BEIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41552. end;
  41553. procedure TINT_IFS2.setU3BRXIF; inline;
  41554. begin
  41555. pTDefRegMap(@Self)^.&set := $00000400;
  41556. end;
  41557. procedure TINT_IFS2.clearU3BRXIF; inline;
  41558. begin
  41559. pTDefRegMap(@Self)^.clr := $00000400;
  41560. end;
  41561. procedure TINT_IFS2.setU3BRXIF(thebits : TBits_1); inline;
  41562. begin
  41563. if thebits = 0 then
  41564. pTDefRegMap(@Self)^.clr := $00000400
  41565. else
  41566. pTDefRegMap(@Self)^.&set := $00000400;
  41567. end;
  41568. function TINT_IFS2.getU3BRXIF : TBits_1; inline;
  41569. begin
  41570. getU3BRXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41571. end;
  41572. procedure TINT_IFS2.setU3BTXIF; inline;
  41573. begin
  41574. pTDefRegMap(@Self)^.&set := $00000800;
  41575. end;
  41576. procedure TINT_IFS2.clearU3BTXIF; inline;
  41577. begin
  41578. pTDefRegMap(@Self)^.clr := $00000800;
  41579. end;
  41580. procedure TINT_IFS2.setU3BTXIF(thebits : TBits_1); inline;
  41581. begin
  41582. if thebits = 0 then
  41583. pTDefRegMap(@Self)^.clr := $00000800
  41584. else
  41585. pTDefRegMap(@Self)^.&set := $00000800;
  41586. end;
  41587. function TINT_IFS2.getU3BTXIF : TBits_1; inline;
  41588. begin
  41589. getU3BTXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41590. end;
  41591. procedure TINT_IFS2.setU4EIF; inline;
  41592. begin
  41593. pTDefRegMap(@Self)^.&set := $00000008;
  41594. end;
  41595. procedure TINT_IFS2.clearU4EIF; inline;
  41596. begin
  41597. pTDefRegMap(@Self)^.clr := $00000008;
  41598. end;
  41599. procedure TINT_IFS2.setU4EIF(thebits : TBits_1); inline;
  41600. begin
  41601. if thebits = 0 then
  41602. pTDefRegMap(@Self)^.clr := $00000008
  41603. else
  41604. pTDefRegMap(@Self)^.&set := $00000008;
  41605. end;
  41606. function TINT_IFS2.getU4EIF : TBits_1; inline;
  41607. begin
  41608. getU4EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41609. end;
  41610. procedure TINT_IFS2.setU4RXIF; inline;
  41611. begin
  41612. pTDefRegMap(@Self)^.&set := $00000010;
  41613. end;
  41614. procedure TINT_IFS2.clearU4RXIF; inline;
  41615. begin
  41616. pTDefRegMap(@Self)^.clr := $00000010;
  41617. end;
  41618. procedure TINT_IFS2.setU4RXIF(thebits : TBits_1); inline;
  41619. begin
  41620. if thebits = 0 then
  41621. pTDefRegMap(@Self)^.clr := $00000010
  41622. else
  41623. pTDefRegMap(@Self)^.&set := $00000010;
  41624. end;
  41625. function TINT_IFS2.getU4RXIF : TBits_1; inline;
  41626. begin
  41627. getU4RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41628. end;
  41629. procedure TINT_IFS2.setU4TXIF; inline;
  41630. begin
  41631. pTDefRegMap(@Self)^.&set := $00000020;
  41632. end;
  41633. procedure TINT_IFS2.clearU4TXIF; inline;
  41634. begin
  41635. pTDefRegMap(@Self)^.clr := $00000020;
  41636. end;
  41637. procedure TINT_IFS2.setU4TXIF(thebits : TBits_1); inline;
  41638. begin
  41639. if thebits = 0 then
  41640. pTDefRegMap(@Self)^.clr := $00000020
  41641. else
  41642. pTDefRegMap(@Self)^.&set := $00000020;
  41643. end;
  41644. function TINT_IFS2.getU4TXIF : TBits_1; inline;
  41645. begin
  41646. getU4TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41647. end;
  41648. procedure TINT_IFS2.setU6EIF; inline;
  41649. begin
  41650. pTDefRegMap(@Self)^.&set := $00000040;
  41651. end;
  41652. procedure TINT_IFS2.clearU6EIF; inline;
  41653. begin
  41654. pTDefRegMap(@Self)^.clr := $00000040;
  41655. end;
  41656. procedure TINT_IFS2.setU6EIF(thebits : TBits_1); inline;
  41657. begin
  41658. if thebits = 0 then
  41659. pTDefRegMap(@Self)^.clr := $00000040
  41660. else
  41661. pTDefRegMap(@Self)^.&set := $00000040;
  41662. end;
  41663. function TINT_IFS2.getU6EIF : TBits_1; inline;
  41664. begin
  41665. getU6EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41666. end;
  41667. procedure TINT_IFS2.setU6RXIF; inline;
  41668. begin
  41669. pTDefRegMap(@Self)^.&set := $00000080;
  41670. end;
  41671. procedure TINT_IFS2.clearU6RXIF; inline;
  41672. begin
  41673. pTDefRegMap(@Self)^.clr := $00000080;
  41674. end;
  41675. procedure TINT_IFS2.setU6RXIF(thebits : TBits_1); inline;
  41676. begin
  41677. if thebits = 0 then
  41678. pTDefRegMap(@Self)^.clr := $00000080
  41679. else
  41680. pTDefRegMap(@Self)^.&set := $00000080;
  41681. end;
  41682. function TINT_IFS2.getU6RXIF : TBits_1; inline;
  41683. begin
  41684. getU6RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41685. end;
  41686. procedure TINT_IFS2.setU6TXIF; inline;
  41687. begin
  41688. pTDefRegMap(@Self)^.&set := $00000100;
  41689. end;
  41690. procedure TINT_IFS2.clearU6TXIF; inline;
  41691. begin
  41692. pTDefRegMap(@Self)^.clr := $00000100;
  41693. end;
  41694. procedure TINT_IFS2.setU6TXIF(thebits : TBits_1); inline;
  41695. begin
  41696. if thebits = 0 then
  41697. pTDefRegMap(@Self)^.clr := $00000100
  41698. else
  41699. pTDefRegMap(@Self)^.&set := $00000100;
  41700. end;
  41701. function TINT_IFS2.getU6TXIF : TBits_1; inline;
  41702. begin
  41703. getU6TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41704. end;
  41705. procedure TINT_IFS2.setU5EIF; inline;
  41706. begin
  41707. pTDefRegMap(@Self)^.&set := $00000200;
  41708. end;
  41709. procedure TINT_IFS2.clearU5EIF; inline;
  41710. begin
  41711. pTDefRegMap(@Self)^.clr := $00000200;
  41712. end;
  41713. procedure TINT_IFS2.setU5EIF(thebits : TBits_1); inline;
  41714. begin
  41715. if thebits = 0 then
  41716. pTDefRegMap(@Self)^.clr := $00000200
  41717. else
  41718. pTDefRegMap(@Self)^.&set := $00000200;
  41719. end;
  41720. function TINT_IFS2.getU5EIF : TBits_1; inline;
  41721. begin
  41722. getU5EIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41723. end;
  41724. procedure TINT_IFS2.setU5RXIF; inline;
  41725. begin
  41726. pTDefRegMap(@Self)^.&set := $00000400;
  41727. end;
  41728. procedure TINT_IFS2.clearU5RXIF; inline;
  41729. begin
  41730. pTDefRegMap(@Self)^.clr := $00000400;
  41731. end;
  41732. procedure TINT_IFS2.setU5RXIF(thebits : TBits_1); inline;
  41733. begin
  41734. if thebits = 0 then
  41735. pTDefRegMap(@Self)^.clr := $00000400
  41736. else
  41737. pTDefRegMap(@Self)^.&set := $00000400;
  41738. end;
  41739. function TINT_IFS2.getU5RXIF : TBits_1; inline;
  41740. begin
  41741. getU5RXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41742. end;
  41743. procedure TINT_IFS2.setU5TXIF; inline;
  41744. begin
  41745. pTDefRegMap(@Self)^.&set := $00000800;
  41746. end;
  41747. procedure TINT_IFS2.clearU5TXIF; inline;
  41748. begin
  41749. pTDefRegMap(@Self)^.clr := $00000800;
  41750. end;
  41751. procedure TINT_IFS2.setU5TXIF(thebits : TBits_1); inline;
  41752. begin
  41753. if thebits = 0 then
  41754. pTDefRegMap(@Self)^.clr := $00000800
  41755. else
  41756. pTDefRegMap(@Self)^.&set := $00000800;
  41757. end;
  41758. function TINT_IFS2.getU5TXIF : TBits_1; inline;
  41759. begin
  41760. getU5TXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41761. end;
  41762. procedure TINT_IFS2.setw(thebits : TBits_32); inline;
  41763. begin
  41764. pTDefRegMap(@Self)^.val := thebits;
  41765. end;
  41766. function TINT_IFS2.getw : TBits_32; inline;
  41767. begin
  41768. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41769. end;
  41770. procedure TINT_IEC0.setCTIE; inline;
  41771. begin
  41772. pTDefRegMap(@Self)^.&set := $00000001;
  41773. end;
  41774. procedure TINT_IEC0.clearCTIE; inline;
  41775. begin
  41776. pTDefRegMap(@Self)^.clr := $00000001;
  41777. end;
  41778. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  41779. begin
  41780. if thebits = 0 then
  41781. pTDefRegMap(@Self)^.clr := $00000001
  41782. else
  41783. pTDefRegMap(@Self)^.&set := $00000001;
  41784. end;
  41785. function TINT_IEC0.getCTIE : TBits_1; inline;
  41786. begin
  41787. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41788. end;
  41789. procedure TINT_IEC0.setCS0IE; inline;
  41790. begin
  41791. pTDefRegMap(@Self)^.&set := $00000002;
  41792. end;
  41793. procedure TINT_IEC0.clearCS0IE; inline;
  41794. begin
  41795. pTDefRegMap(@Self)^.clr := $00000002;
  41796. end;
  41797. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  41798. begin
  41799. if thebits = 0 then
  41800. pTDefRegMap(@Self)^.clr := $00000002
  41801. else
  41802. pTDefRegMap(@Self)^.&set := $00000002;
  41803. end;
  41804. function TINT_IEC0.getCS0IE : TBits_1; inline;
  41805. begin
  41806. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41807. end;
  41808. procedure TINT_IEC0.setCS1IE; inline;
  41809. begin
  41810. pTDefRegMap(@Self)^.&set := $00000004;
  41811. end;
  41812. procedure TINT_IEC0.clearCS1IE; inline;
  41813. begin
  41814. pTDefRegMap(@Self)^.clr := $00000004;
  41815. end;
  41816. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  41817. begin
  41818. if thebits = 0 then
  41819. pTDefRegMap(@Self)^.clr := $00000004
  41820. else
  41821. pTDefRegMap(@Self)^.&set := $00000004;
  41822. end;
  41823. function TINT_IEC0.getCS1IE : TBits_1; inline;
  41824. begin
  41825. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41826. end;
  41827. procedure TINT_IEC0.setINT0IE; inline;
  41828. begin
  41829. pTDefRegMap(@Self)^.&set := $00000008;
  41830. end;
  41831. procedure TINT_IEC0.clearINT0IE; inline;
  41832. begin
  41833. pTDefRegMap(@Self)^.clr := $00000008;
  41834. end;
  41835. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  41836. begin
  41837. if thebits = 0 then
  41838. pTDefRegMap(@Self)^.clr := $00000008
  41839. else
  41840. pTDefRegMap(@Self)^.&set := $00000008;
  41841. end;
  41842. function TINT_IEC0.getINT0IE : TBits_1; inline;
  41843. begin
  41844. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41845. end;
  41846. procedure TINT_IEC0.setT1IE; inline;
  41847. begin
  41848. pTDefRegMap(@Self)^.&set := $00000010;
  41849. end;
  41850. procedure TINT_IEC0.clearT1IE; inline;
  41851. begin
  41852. pTDefRegMap(@Self)^.clr := $00000010;
  41853. end;
  41854. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  41855. begin
  41856. if thebits = 0 then
  41857. pTDefRegMap(@Self)^.clr := $00000010
  41858. else
  41859. pTDefRegMap(@Self)^.&set := $00000010;
  41860. end;
  41861. function TINT_IEC0.getT1IE : TBits_1; inline;
  41862. begin
  41863. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41864. end;
  41865. procedure TINT_IEC0.setIC1IE; inline;
  41866. begin
  41867. pTDefRegMap(@Self)^.&set := $00000020;
  41868. end;
  41869. procedure TINT_IEC0.clearIC1IE; inline;
  41870. begin
  41871. pTDefRegMap(@Self)^.clr := $00000020;
  41872. end;
  41873. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  41874. begin
  41875. if thebits = 0 then
  41876. pTDefRegMap(@Self)^.clr := $00000020
  41877. else
  41878. pTDefRegMap(@Self)^.&set := $00000020;
  41879. end;
  41880. function TINT_IEC0.getIC1IE : TBits_1; inline;
  41881. begin
  41882. getIC1IE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41883. end;
  41884. procedure TINT_IEC0.setOC1IE; inline;
  41885. begin
  41886. pTDefRegMap(@Self)^.&set := $00000040;
  41887. end;
  41888. procedure TINT_IEC0.clearOC1IE; inline;
  41889. begin
  41890. pTDefRegMap(@Self)^.clr := $00000040;
  41891. end;
  41892. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  41893. begin
  41894. if thebits = 0 then
  41895. pTDefRegMap(@Self)^.clr := $00000040
  41896. else
  41897. pTDefRegMap(@Self)^.&set := $00000040;
  41898. end;
  41899. function TINT_IEC0.getOC1IE : TBits_1; inline;
  41900. begin
  41901. getOC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41902. end;
  41903. procedure TINT_IEC0.setINT1IE; inline;
  41904. begin
  41905. pTDefRegMap(@Self)^.&set := $00000080;
  41906. end;
  41907. procedure TINT_IEC0.clearINT1IE; inline;
  41908. begin
  41909. pTDefRegMap(@Self)^.clr := $00000080;
  41910. end;
  41911. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  41912. begin
  41913. if thebits = 0 then
  41914. pTDefRegMap(@Self)^.clr := $00000080
  41915. else
  41916. pTDefRegMap(@Self)^.&set := $00000080;
  41917. end;
  41918. function TINT_IEC0.getINT1IE : TBits_1; inline;
  41919. begin
  41920. getINT1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41921. end;
  41922. procedure TINT_IEC0.setT2IE; inline;
  41923. begin
  41924. pTDefRegMap(@Self)^.&set := $00000100;
  41925. end;
  41926. procedure TINT_IEC0.clearT2IE; inline;
  41927. begin
  41928. pTDefRegMap(@Self)^.clr := $00000100;
  41929. end;
  41930. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  41931. begin
  41932. if thebits = 0 then
  41933. pTDefRegMap(@Self)^.clr := $00000100
  41934. else
  41935. pTDefRegMap(@Self)^.&set := $00000100;
  41936. end;
  41937. function TINT_IEC0.getT2IE : TBits_1; inline;
  41938. begin
  41939. getT2IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41940. end;
  41941. procedure TINT_IEC0.setIC2IE; inline;
  41942. begin
  41943. pTDefRegMap(@Self)^.&set := $00000200;
  41944. end;
  41945. procedure TINT_IEC0.clearIC2IE; inline;
  41946. begin
  41947. pTDefRegMap(@Self)^.clr := $00000200;
  41948. end;
  41949. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  41950. begin
  41951. if thebits = 0 then
  41952. pTDefRegMap(@Self)^.clr := $00000200
  41953. else
  41954. pTDefRegMap(@Self)^.&set := $00000200;
  41955. end;
  41956. function TINT_IEC0.getIC2IE : TBits_1; inline;
  41957. begin
  41958. getIC2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41959. end;
  41960. procedure TINT_IEC0.setOC2IE; inline;
  41961. begin
  41962. pTDefRegMap(@Self)^.&set := $00000400;
  41963. end;
  41964. procedure TINT_IEC0.clearOC2IE; inline;
  41965. begin
  41966. pTDefRegMap(@Self)^.clr := $00000400;
  41967. end;
  41968. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  41969. begin
  41970. if thebits = 0 then
  41971. pTDefRegMap(@Self)^.clr := $00000400
  41972. else
  41973. pTDefRegMap(@Self)^.&set := $00000400;
  41974. end;
  41975. function TINT_IEC0.getOC2IE : TBits_1; inline;
  41976. begin
  41977. getOC2IE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  41978. end;
  41979. procedure TINT_IEC0.setINT2IE; inline;
  41980. begin
  41981. pTDefRegMap(@Self)^.&set := $00000800;
  41982. end;
  41983. procedure TINT_IEC0.clearINT2IE; inline;
  41984. begin
  41985. pTDefRegMap(@Self)^.clr := $00000800;
  41986. end;
  41987. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  41988. begin
  41989. if thebits = 0 then
  41990. pTDefRegMap(@Self)^.clr := $00000800
  41991. else
  41992. pTDefRegMap(@Self)^.&set := $00000800;
  41993. end;
  41994. function TINT_IEC0.getINT2IE : TBits_1; inline;
  41995. begin
  41996. getINT2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41997. end;
  41998. procedure TINT_IEC0.setT3IE; inline;
  41999. begin
  42000. pTDefRegMap(@Self)^.&set := $00001000;
  42001. end;
  42002. procedure TINT_IEC0.clearT3IE; inline;
  42003. begin
  42004. pTDefRegMap(@Self)^.clr := $00001000;
  42005. end;
  42006. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  42007. begin
  42008. if thebits = 0 then
  42009. pTDefRegMap(@Self)^.clr := $00001000
  42010. else
  42011. pTDefRegMap(@Self)^.&set := $00001000;
  42012. end;
  42013. function TINT_IEC0.getT3IE : TBits_1; inline;
  42014. begin
  42015. getT3IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42016. end;
  42017. procedure TINT_IEC0.setIC3IE; inline;
  42018. begin
  42019. pTDefRegMap(@Self)^.&set := $00002000;
  42020. end;
  42021. procedure TINT_IEC0.clearIC3IE; inline;
  42022. begin
  42023. pTDefRegMap(@Self)^.clr := $00002000;
  42024. end;
  42025. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  42026. begin
  42027. if thebits = 0 then
  42028. pTDefRegMap(@Self)^.clr := $00002000
  42029. else
  42030. pTDefRegMap(@Self)^.&set := $00002000;
  42031. end;
  42032. function TINT_IEC0.getIC3IE : TBits_1; inline;
  42033. begin
  42034. getIC3IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42035. end;
  42036. procedure TINT_IEC0.setOC3IE; inline;
  42037. begin
  42038. pTDefRegMap(@Self)^.&set := $00004000;
  42039. end;
  42040. procedure TINT_IEC0.clearOC3IE; inline;
  42041. begin
  42042. pTDefRegMap(@Self)^.clr := $00004000;
  42043. end;
  42044. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  42045. begin
  42046. if thebits = 0 then
  42047. pTDefRegMap(@Self)^.clr := $00004000
  42048. else
  42049. pTDefRegMap(@Self)^.&set := $00004000;
  42050. end;
  42051. function TINT_IEC0.getOC3IE : TBits_1; inline;
  42052. begin
  42053. getOC3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42054. end;
  42055. procedure TINT_IEC0.setINT3IE; inline;
  42056. begin
  42057. pTDefRegMap(@Self)^.&set := $00008000;
  42058. end;
  42059. procedure TINT_IEC0.clearINT3IE; inline;
  42060. begin
  42061. pTDefRegMap(@Self)^.clr := $00008000;
  42062. end;
  42063. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  42064. begin
  42065. if thebits = 0 then
  42066. pTDefRegMap(@Self)^.clr := $00008000
  42067. else
  42068. pTDefRegMap(@Self)^.&set := $00008000;
  42069. end;
  42070. function TINT_IEC0.getINT3IE : TBits_1; inline;
  42071. begin
  42072. getINT3IE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42073. end;
  42074. procedure TINT_IEC0.setT4IE; inline;
  42075. begin
  42076. pTDefRegMap(@Self)^.&set := $00010000;
  42077. end;
  42078. procedure TINT_IEC0.clearT4IE; inline;
  42079. begin
  42080. pTDefRegMap(@Self)^.clr := $00010000;
  42081. end;
  42082. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  42083. begin
  42084. if thebits = 0 then
  42085. pTDefRegMap(@Self)^.clr := $00010000
  42086. else
  42087. pTDefRegMap(@Self)^.&set := $00010000;
  42088. end;
  42089. function TINT_IEC0.getT4IE : TBits_1; inline;
  42090. begin
  42091. getT4IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  42092. end;
  42093. procedure TINT_IEC0.setIC4IE; inline;
  42094. begin
  42095. pTDefRegMap(@Self)^.&set := $00020000;
  42096. end;
  42097. procedure TINT_IEC0.clearIC4IE; inline;
  42098. begin
  42099. pTDefRegMap(@Self)^.clr := $00020000;
  42100. end;
  42101. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  42102. begin
  42103. if thebits = 0 then
  42104. pTDefRegMap(@Self)^.clr := $00020000
  42105. else
  42106. pTDefRegMap(@Self)^.&set := $00020000;
  42107. end;
  42108. function TINT_IEC0.getIC4IE : TBits_1; inline;
  42109. begin
  42110. getIC4IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  42111. end;
  42112. procedure TINT_IEC0.setOC4IE; inline;
  42113. begin
  42114. pTDefRegMap(@Self)^.&set := $00040000;
  42115. end;
  42116. procedure TINT_IEC0.clearOC4IE; inline;
  42117. begin
  42118. pTDefRegMap(@Self)^.clr := $00040000;
  42119. end;
  42120. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  42121. begin
  42122. if thebits = 0 then
  42123. pTDefRegMap(@Self)^.clr := $00040000
  42124. else
  42125. pTDefRegMap(@Self)^.&set := $00040000;
  42126. end;
  42127. function TINT_IEC0.getOC4IE : TBits_1; inline;
  42128. begin
  42129. getOC4IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  42130. end;
  42131. procedure TINT_IEC0.setINT4IE; inline;
  42132. begin
  42133. pTDefRegMap(@Self)^.&set := $00080000;
  42134. end;
  42135. procedure TINT_IEC0.clearINT4IE; inline;
  42136. begin
  42137. pTDefRegMap(@Self)^.clr := $00080000;
  42138. end;
  42139. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  42140. begin
  42141. if thebits = 0 then
  42142. pTDefRegMap(@Self)^.clr := $00080000
  42143. else
  42144. pTDefRegMap(@Self)^.&set := $00080000;
  42145. end;
  42146. function TINT_IEC0.getINT4IE : TBits_1; inline;
  42147. begin
  42148. getINT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  42149. end;
  42150. procedure TINT_IEC0.setT5IE; inline;
  42151. begin
  42152. pTDefRegMap(@Self)^.&set := $00100000;
  42153. end;
  42154. procedure TINT_IEC0.clearT5IE; inline;
  42155. begin
  42156. pTDefRegMap(@Self)^.clr := $00100000;
  42157. end;
  42158. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  42159. begin
  42160. if thebits = 0 then
  42161. pTDefRegMap(@Self)^.clr := $00100000
  42162. else
  42163. pTDefRegMap(@Self)^.&set := $00100000;
  42164. end;
  42165. function TINT_IEC0.getT5IE : TBits_1; inline;
  42166. begin
  42167. getT5IE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  42168. end;
  42169. procedure TINT_IEC0.setIC5IE; inline;
  42170. begin
  42171. pTDefRegMap(@Self)^.&set := $00200000;
  42172. end;
  42173. procedure TINT_IEC0.clearIC5IE; inline;
  42174. begin
  42175. pTDefRegMap(@Self)^.clr := $00200000;
  42176. end;
  42177. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  42178. begin
  42179. if thebits = 0 then
  42180. pTDefRegMap(@Self)^.clr := $00200000
  42181. else
  42182. pTDefRegMap(@Self)^.&set := $00200000;
  42183. end;
  42184. function TINT_IEC0.getIC5IE : TBits_1; inline;
  42185. begin
  42186. getIC5IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  42187. end;
  42188. procedure TINT_IEC0.setOC5IE; inline;
  42189. begin
  42190. pTDefRegMap(@Self)^.&set := $00400000;
  42191. end;
  42192. procedure TINT_IEC0.clearOC5IE; inline;
  42193. begin
  42194. pTDefRegMap(@Self)^.clr := $00400000;
  42195. end;
  42196. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  42197. begin
  42198. if thebits = 0 then
  42199. pTDefRegMap(@Self)^.clr := $00400000
  42200. else
  42201. pTDefRegMap(@Self)^.&set := $00400000;
  42202. end;
  42203. function TINT_IEC0.getOC5IE : TBits_1; inline;
  42204. begin
  42205. getOC5IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  42206. end;
  42207. procedure TINT_IEC0.setU1EIE; inline;
  42208. begin
  42209. pTDefRegMap(@Self)^.&set := $04000000;
  42210. end;
  42211. procedure TINT_IEC0.clearU1EIE; inline;
  42212. begin
  42213. pTDefRegMap(@Self)^.clr := $04000000;
  42214. end;
  42215. procedure TINT_IEC0.setU1EIE(thebits : TBits_1); inline;
  42216. begin
  42217. if thebits = 0 then
  42218. pTDefRegMap(@Self)^.clr := $04000000
  42219. else
  42220. pTDefRegMap(@Self)^.&set := $04000000;
  42221. end;
  42222. function TINT_IEC0.getU1EIE : TBits_1; inline;
  42223. begin
  42224. getU1EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42225. end;
  42226. procedure TINT_IEC0.setU1RXIE; inline;
  42227. begin
  42228. pTDefRegMap(@Self)^.&set := $08000000;
  42229. end;
  42230. procedure TINT_IEC0.clearU1RXIE; inline;
  42231. begin
  42232. pTDefRegMap(@Self)^.clr := $08000000;
  42233. end;
  42234. procedure TINT_IEC0.setU1RXIE(thebits : TBits_1); inline;
  42235. begin
  42236. if thebits = 0 then
  42237. pTDefRegMap(@Self)^.clr := $08000000
  42238. else
  42239. pTDefRegMap(@Self)^.&set := $08000000;
  42240. end;
  42241. function TINT_IEC0.getU1RXIE : TBits_1; inline;
  42242. begin
  42243. getU1RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42244. end;
  42245. procedure TINT_IEC0.setU1TXIE; inline;
  42246. begin
  42247. pTDefRegMap(@Self)^.&set := $10000000;
  42248. end;
  42249. procedure TINT_IEC0.clearU1TXIE; inline;
  42250. begin
  42251. pTDefRegMap(@Self)^.clr := $10000000;
  42252. end;
  42253. procedure TINT_IEC0.setU1TXIE(thebits : TBits_1); inline;
  42254. begin
  42255. if thebits = 0 then
  42256. pTDefRegMap(@Self)^.clr := $10000000
  42257. else
  42258. pTDefRegMap(@Self)^.&set := $10000000;
  42259. end;
  42260. function TINT_IEC0.getU1TXIE : TBits_1; inline;
  42261. begin
  42262. getU1TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42263. end;
  42264. procedure TINT_IEC0.setI2C1BIE; inline;
  42265. begin
  42266. pTDefRegMap(@Self)^.&set := $20000000;
  42267. end;
  42268. procedure TINT_IEC0.clearI2C1BIE; inline;
  42269. begin
  42270. pTDefRegMap(@Self)^.clr := $20000000;
  42271. end;
  42272. procedure TINT_IEC0.setI2C1BIE(thebits : TBits_1); inline;
  42273. begin
  42274. if thebits = 0 then
  42275. pTDefRegMap(@Self)^.clr := $20000000
  42276. else
  42277. pTDefRegMap(@Self)^.&set := $20000000;
  42278. end;
  42279. function TINT_IEC0.getI2C1BIE : TBits_1; inline;
  42280. begin
  42281. getI2C1BIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  42282. end;
  42283. procedure TINT_IEC0.setI2C1SIE; inline;
  42284. begin
  42285. pTDefRegMap(@Self)^.&set := $40000000;
  42286. end;
  42287. procedure TINT_IEC0.clearI2C1SIE; inline;
  42288. begin
  42289. pTDefRegMap(@Self)^.clr := $40000000;
  42290. end;
  42291. procedure TINT_IEC0.setI2C1SIE(thebits : TBits_1); inline;
  42292. begin
  42293. if thebits = 0 then
  42294. pTDefRegMap(@Self)^.clr := $40000000
  42295. else
  42296. pTDefRegMap(@Self)^.&set := $40000000;
  42297. end;
  42298. function TINT_IEC0.getI2C1SIE : TBits_1; inline;
  42299. begin
  42300. getI2C1SIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  42301. end;
  42302. procedure TINT_IEC0.setI2C1MIE; inline;
  42303. begin
  42304. pTDefRegMap(@Self)^.&set := $80000000;
  42305. end;
  42306. procedure TINT_IEC0.clearI2C1MIE; inline;
  42307. begin
  42308. pTDefRegMap(@Self)^.clr := $80000000;
  42309. end;
  42310. procedure TINT_IEC0.setI2C1MIE(thebits : TBits_1); inline;
  42311. begin
  42312. if thebits = 0 then
  42313. pTDefRegMap(@Self)^.clr := $80000000
  42314. else
  42315. pTDefRegMap(@Self)^.&set := $80000000;
  42316. end;
  42317. function TINT_IEC0.getI2C1MIE : TBits_1; inline;
  42318. begin
  42319. getI2C1MIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  42320. end;
  42321. procedure TINT_IEC0.setU1AEIE; inline;
  42322. begin
  42323. pTDefRegMap(@Self)^.&set := $04000000;
  42324. end;
  42325. procedure TINT_IEC0.clearU1AEIE; inline;
  42326. begin
  42327. pTDefRegMap(@Self)^.clr := $04000000;
  42328. end;
  42329. procedure TINT_IEC0.setU1AEIE(thebits : TBits_1); inline;
  42330. begin
  42331. if thebits = 0 then
  42332. pTDefRegMap(@Self)^.clr := $04000000
  42333. else
  42334. pTDefRegMap(@Self)^.&set := $04000000;
  42335. end;
  42336. function TINT_IEC0.getU1AEIE : TBits_1; inline;
  42337. begin
  42338. getU1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42339. end;
  42340. procedure TINT_IEC0.setU1ARXIE; inline;
  42341. begin
  42342. pTDefRegMap(@Self)^.&set := $08000000;
  42343. end;
  42344. procedure TINT_IEC0.clearU1ARXIE; inline;
  42345. begin
  42346. pTDefRegMap(@Self)^.clr := $08000000;
  42347. end;
  42348. procedure TINT_IEC0.setU1ARXIE(thebits : TBits_1); inline;
  42349. begin
  42350. if thebits = 0 then
  42351. pTDefRegMap(@Self)^.clr := $08000000
  42352. else
  42353. pTDefRegMap(@Self)^.&set := $08000000;
  42354. end;
  42355. function TINT_IEC0.getU1ARXIE : TBits_1; inline;
  42356. begin
  42357. getU1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42358. end;
  42359. procedure TINT_IEC0.setU1ATXIE; inline;
  42360. begin
  42361. pTDefRegMap(@Self)^.&set := $10000000;
  42362. end;
  42363. procedure TINT_IEC0.clearU1ATXIE; inline;
  42364. begin
  42365. pTDefRegMap(@Self)^.clr := $10000000;
  42366. end;
  42367. procedure TINT_IEC0.setU1ATXIE(thebits : TBits_1); inline;
  42368. begin
  42369. if thebits = 0 then
  42370. pTDefRegMap(@Self)^.clr := $10000000
  42371. else
  42372. pTDefRegMap(@Self)^.&set := $10000000;
  42373. end;
  42374. function TINT_IEC0.getU1ATXIE : TBits_1; inline;
  42375. begin
  42376. getU1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42377. end;
  42378. procedure TINT_IEC0.setSPI3EIE; inline;
  42379. begin
  42380. pTDefRegMap(@Self)^.&set := $04000000;
  42381. end;
  42382. procedure TINT_IEC0.clearSPI3EIE; inline;
  42383. begin
  42384. pTDefRegMap(@Self)^.clr := $04000000;
  42385. end;
  42386. procedure TINT_IEC0.setSPI3EIE(thebits : TBits_1); inline;
  42387. begin
  42388. if thebits = 0 then
  42389. pTDefRegMap(@Self)^.clr := $04000000
  42390. else
  42391. pTDefRegMap(@Self)^.&set := $04000000;
  42392. end;
  42393. function TINT_IEC0.getSPI3EIE : TBits_1; inline;
  42394. begin
  42395. getSPI3EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42396. end;
  42397. procedure TINT_IEC0.setSPI3RXIE; inline;
  42398. begin
  42399. pTDefRegMap(@Self)^.&set := $08000000;
  42400. end;
  42401. procedure TINT_IEC0.clearSPI3RXIE; inline;
  42402. begin
  42403. pTDefRegMap(@Self)^.clr := $08000000;
  42404. end;
  42405. procedure TINT_IEC0.setSPI3RXIE(thebits : TBits_1); inline;
  42406. begin
  42407. if thebits = 0 then
  42408. pTDefRegMap(@Self)^.clr := $08000000
  42409. else
  42410. pTDefRegMap(@Self)^.&set := $08000000;
  42411. end;
  42412. function TINT_IEC0.getSPI3RXIE : TBits_1; inline;
  42413. begin
  42414. getSPI3RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42415. end;
  42416. procedure TINT_IEC0.setSPI3TXIE; inline;
  42417. begin
  42418. pTDefRegMap(@Self)^.&set := $10000000;
  42419. end;
  42420. procedure TINT_IEC0.clearSPI3TXIE; inline;
  42421. begin
  42422. pTDefRegMap(@Self)^.clr := $10000000;
  42423. end;
  42424. procedure TINT_IEC0.setSPI3TXIE(thebits : TBits_1); inline;
  42425. begin
  42426. if thebits = 0 then
  42427. pTDefRegMap(@Self)^.clr := $10000000
  42428. else
  42429. pTDefRegMap(@Self)^.&set := $10000000;
  42430. end;
  42431. function TINT_IEC0.getSPI3TXIE : TBits_1; inline;
  42432. begin
  42433. getSPI3TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42434. end;
  42435. procedure TINT_IEC0.setSPI1AEIE; inline;
  42436. begin
  42437. pTDefRegMap(@Self)^.&set := $04000000;
  42438. end;
  42439. procedure TINT_IEC0.clearSPI1AEIE; inline;
  42440. begin
  42441. pTDefRegMap(@Self)^.clr := $04000000;
  42442. end;
  42443. procedure TINT_IEC0.setSPI1AEIE(thebits : TBits_1); inline;
  42444. begin
  42445. if thebits = 0 then
  42446. pTDefRegMap(@Self)^.clr := $04000000
  42447. else
  42448. pTDefRegMap(@Self)^.&set := $04000000;
  42449. end;
  42450. function TINT_IEC0.getSPI1AEIE : TBits_1; inline;
  42451. begin
  42452. getSPI1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42453. end;
  42454. procedure TINT_IEC0.setSPI1ARXIE; inline;
  42455. begin
  42456. pTDefRegMap(@Self)^.&set := $08000000;
  42457. end;
  42458. procedure TINT_IEC0.clearSPI1ARXIE; inline;
  42459. begin
  42460. pTDefRegMap(@Self)^.clr := $08000000;
  42461. end;
  42462. procedure TINT_IEC0.setSPI1ARXIE(thebits : TBits_1); inline;
  42463. begin
  42464. if thebits = 0 then
  42465. pTDefRegMap(@Self)^.clr := $08000000
  42466. else
  42467. pTDefRegMap(@Self)^.&set := $08000000;
  42468. end;
  42469. function TINT_IEC0.getSPI1ARXIE : TBits_1; inline;
  42470. begin
  42471. getSPI1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42472. end;
  42473. procedure TINT_IEC0.setSPI1ATXIE; inline;
  42474. begin
  42475. pTDefRegMap(@Self)^.&set := $10000000;
  42476. end;
  42477. procedure TINT_IEC0.clearSPI1ATXIE; inline;
  42478. begin
  42479. pTDefRegMap(@Self)^.clr := $10000000;
  42480. end;
  42481. procedure TINT_IEC0.setSPI1ATXIE(thebits : TBits_1); inline;
  42482. begin
  42483. if thebits = 0 then
  42484. pTDefRegMap(@Self)^.clr := $10000000
  42485. else
  42486. pTDefRegMap(@Self)^.&set := $10000000;
  42487. end;
  42488. function TINT_IEC0.getSPI1ATXIE : TBits_1; inline;
  42489. begin
  42490. getSPI1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42491. end;
  42492. procedure TINT_IEC0.setI2C3BIE; inline;
  42493. begin
  42494. pTDefRegMap(@Self)^.&set := $04000000;
  42495. end;
  42496. procedure TINT_IEC0.clearI2C3BIE; inline;
  42497. begin
  42498. pTDefRegMap(@Self)^.clr := $04000000;
  42499. end;
  42500. procedure TINT_IEC0.setI2C3BIE(thebits : TBits_1); inline;
  42501. begin
  42502. if thebits = 0 then
  42503. pTDefRegMap(@Self)^.clr := $04000000
  42504. else
  42505. pTDefRegMap(@Self)^.&set := $04000000;
  42506. end;
  42507. function TINT_IEC0.getI2C3BIE : TBits_1; inline;
  42508. begin
  42509. getI2C3BIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42510. end;
  42511. procedure TINT_IEC0.setI2C3SIE; inline;
  42512. begin
  42513. pTDefRegMap(@Self)^.&set := $08000000;
  42514. end;
  42515. procedure TINT_IEC0.clearI2C3SIE; inline;
  42516. begin
  42517. pTDefRegMap(@Self)^.clr := $08000000;
  42518. end;
  42519. procedure TINT_IEC0.setI2C3SIE(thebits : TBits_1); inline;
  42520. begin
  42521. if thebits = 0 then
  42522. pTDefRegMap(@Self)^.clr := $08000000
  42523. else
  42524. pTDefRegMap(@Self)^.&set := $08000000;
  42525. end;
  42526. function TINT_IEC0.getI2C3SIE : TBits_1; inline;
  42527. begin
  42528. getI2C3SIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42529. end;
  42530. procedure TINT_IEC0.setI2C3MIE; inline;
  42531. begin
  42532. pTDefRegMap(@Self)^.&set := $10000000;
  42533. end;
  42534. procedure TINT_IEC0.clearI2C3MIE; inline;
  42535. begin
  42536. pTDefRegMap(@Self)^.clr := $10000000;
  42537. end;
  42538. procedure TINT_IEC0.setI2C3MIE(thebits : TBits_1); inline;
  42539. begin
  42540. if thebits = 0 then
  42541. pTDefRegMap(@Self)^.clr := $10000000
  42542. else
  42543. pTDefRegMap(@Self)^.&set := $10000000;
  42544. end;
  42545. function TINT_IEC0.getI2C3MIE : TBits_1; inline;
  42546. begin
  42547. getI2C3MIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42548. end;
  42549. procedure TINT_IEC0.setI2C1ABIE; inline;
  42550. begin
  42551. pTDefRegMap(@Self)^.&set := $04000000;
  42552. end;
  42553. procedure TINT_IEC0.clearI2C1ABIE; inline;
  42554. begin
  42555. pTDefRegMap(@Self)^.clr := $04000000;
  42556. end;
  42557. procedure TINT_IEC0.setI2C1ABIE(thebits : TBits_1); inline;
  42558. begin
  42559. if thebits = 0 then
  42560. pTDefRegMap(@Self)^.clr := $04000000
  42561. else
  42562. pTDefRegMap(@Self)^.&set := $04000000;
  42563. end;
  42564. function TINT_IEC0.getI2C1ABIE : TBits_1; inline;
  42565. begin
  42566. getI2C1ABIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42567. end;
  42568. procedure TINT_IEC0.setI2C1ASIE; inline;
  42569. begin
  42570. pTDefRegMap(@Self)^.&set := $08000000;
  42571. end;
  42572. procedure TINT_IEC0.clearI2C1ASIE; inline;
  42573. begin
  42574. pTDefRegMap(@Self)^.clr := $08000000;
  42575. end;
  42576. procedure TINT_IEC0.setI2C1ASIE(thebits : TBits_1); inline;
  42577. begin
  42578. if thebits = 0 then
  42579. pTDefRegMap(@Self)^.clr := $08000000
  42580. else
  42581. pTDefRegMap(@Self)^.&set := $08000000;
  42582. end;
  42583. function TINT_IEC0.getI2C1ASIE : TBits_1; inline;
  42584. begin
  42585. getI2C1ASIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42586. end;
  42587. procedure TINT_IEC0.setI2C1AMIE; inline;
  42588. begin
  42589. pTDefRegMap(@Self)^.&set := $10000000;
  42590. end;
  42591. procedure TINT_IEC0.clearI2C1AMIE; inline;
  42592. begin
  42593. pTDefRegMap(@Self)^.clr := $10000000;
  42594. end;
  42595. procedure TINT_IEC0.setI2C1AMIE(thebits : TBits_1); inline;
  42596. begin
  42597. if thebits = 0 then
  42598. pTDefRegMap(@Self)^.clr := $10000000
  42599. else
  42600. pTDefRegMap(@Self)^.&set := $10000000;
  42601. end;
  42602. function TINT_IEC0.getI2C1AMIE : TBits_1; inline;
  42603. begin
  42604. getI2C1AMIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42605. end;
  42606. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  42607. begin
  42608. pTDefRegMap(@Self)^.val := thebits;
  42609. end;
  42610. function TINT_IEC0.getw : TBits_32; inline;
  42611. begin
  42612. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42613. end;
  42614. procedure TINT_IEC1.setCNIE; inline;
  42615. begin
  42616. pTDefRegMap(@Self)^.&set := $00000001;
  42617. end;
  42618. procedure TINT_IEC1.clearCNIE; inline;
  42619. begin
  42620. pTDefRegMap(@Self)^.clr := $00000001;
  42621. end;
  42622. procedure TINT_IEC1.setCNIE(thebits : TBits_1); inline;
  42623. begin
  42624. if thebits = 0 then
  42625. pTDefRegMap(@Self)^.clr := $00000001
  42626. else
  42627. pTDefRegMap(@Self)^.&set := $00000001;
  42628. end;
  42629. function TINT_IEC1.getCNIE : TBits_1; inline;
  42630. begin
  42631. getCNIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42632. end;
  42633. procedure TINT_IEC1.setAD1IE; inline;
  42634. begin
  42635. pTDefRegMap(@Self)^.&set := $00000002;
  42636. end;
  42637. procedure TINT_IEC1.clearAD1IE; inline;
  42638. begin
  42639. pTDefRegMap(@Self)^.clr := $00000002;
  42640. end;
  42641. procedure TINT_IEC1.setAD1IE(thebits : TBits_1); inline;
  42642. begin
  42643. if thebits = 0 then
  42644. pTDefRegMap(@Self)^.clr := $00000002
  42645. else
  42646. pTDefRegMap(@Self)^.&set := $00000002;
  42647. end;
  42648. function TINT_IEC1.getAD1IE : TBits_1; inline;
  42649. begin
  42650. getAD1IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42651. end;
  42652. procedure TINT_IEC1.setPMPIE; inline;
  42653. begin
  42654. pTDefRegMap(@Self)^.&set := $00000004;
  42655. end;
  42656. procedure TINT_IEC1.clearPMPIE; inline;
  42657. begin
  42658. pTDefRegMap(@Self)^.clr := $00000004;
  42659. end;
  42660. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  42661. begin
  42662. if thebits = 0 then
  42663. pTDefRegMap(@Self)^.clr := $00000004
  42664. else
  42665. pTDefRegMap(@Self)^.&set := $00000004;
  42666. end;
  42667. function TINT_IEC1.getPMPIE : TBits_1; inline;
  42668. begin
  42669. getPMPIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42670. end;
  42671. procedure TINT_IEC1.setCMP1IE; inline;
  42672. begin
  42673. pTDefRegMap(@Self)^.&set := $00000008;
  42674. end;
  42675. procedure TINT_IEC1.clearCMP1IE; inline;
  42676. begin
  42677. pTDefRegMap(@Self)^.clr := $00000008;
  42678. end;
  42679. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  42680. begin
  42681. if thebits = 0 then
  42682. pTDefRegMap(@Self)^.clr := $00000008
  42683. else
  42684. pTDefRegMap(@Self)^.&set := $00000008;
  42685. end;
  42686. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  42687. begin
  42688. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42689. end;
  42690. procedure TINT_IEC1.setCMP2IE; inline;
  42691. begin
  42692. pTDefRegMap(@Self)^.&set := $00000010;
  42693. end;
  42694. procedure TINT_IEC1.clearCMP2IE; inline;
  42695. begin
  42696. pTDefRegMap(@Self)^.clr := $00000010;
  42697. end;
  42698. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  42699. begin
  42700. if thebits = 0 then
  42701. pTDefRegMap(@Self)^.clr := $00000010
  42702. else
  42703. pTDefRegMap(@Self)^.&set := $00000010;
  42704. end;
  42705. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  42706. begin
  42707. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42708. end;
  42709. procedure TINT_IEC1.setU3EIE; inline;
  42710. begin
  42711. pTDefRegMap(@Self)^.&set := $00000020;
  42712. end;
  42713. procedure TINT_IEC1.clearU3EIE; inline;
  42714. begin
  42715. pTDefRegMap(@Self)^.clr := $00000020;
  42716. end;
  42717. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  42718. begin
  42719. if thebits = 0 then
  42720. pTDefRegMap(@Self)^.clr := $00000020
  42721. else
  42722. pTDefRegMap(@Self)^.&set := $00000020;
  42723. end;
  42724. function TINT_IEC1.getU3EIE : TBits_1; inline;
  42725. begin
  42726. getU3EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42727. end;
  42728. procedure TINT_IEC1.setU3RXIE; inline;
  42729. begin
  42730. pTDefRegMap(@Self)^.&set := $00000040;
  42731. end;
  42732. procedure TINT_IEC1.clearU3RXIE; inline;
  42733. begin
  42734. pTDefRegMap(@Self)^.clr := $00000040;
  42735. end;
  42736. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  42737. begin
  42738. if thebits = 0 then
  42739. pTDefRegMap(@Self)^.clr := $00000040
  42740. else
  42741. pTDefRegMap(@Self)^.&set := $00000040;
  42742. end;
  42743. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  42744. begin
  42745. getU3RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42746. end;
  42747. procedure TINT_IEC1.setU3TXIE; inline;
  42748. begin
  42749. pTDefRegMap(@Self)^.&set := $00000080;
  42750. end;
  42751. procedure TINT_IEC1.clearU3TXIE; inline;
  42752. begin
  42753. pTDefRegMap(@Self)^.clr := $00000080;
  42754. end;
  42755. procedure TINT_IEC1.setU3TXIE(thebits : TBits_1); inline;
  42756. begin
  42757. if thebits = 0 then
  42758. pTDefRegMap(@Self)^.clr := $00000080
  42759. else
  42760. pTDefRegMap(@Self)^.&set := $00000080;
  42761. end;
  42762. function TINT_IEC1.getU3TXIE : TBits_1; inline;
  42763. begin
  42764. getU3TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42765. end;
  42766. procedure TINT_IEC1.setU2EIE; inline;
  42767. begin
  42768. pTDefRegMap(@Self)^.&set := $00000100;
  42769. end;
  42770. procedure TINT_IEC1.clearU2EIE; inline;
  42771. begin
  42772. pTDefRegMap(@Self)^.clr := $00000100;
  42773. end;
  42774. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  42775. begin
  42776. if thebits = 0 then
  42777. pTDefRegMap(@Self)^.clr := $00000100
  42778. else
  42779. pTDefRegMap(@Self)^.&set := $00000100;
  42780. end;
  42781. function TINT_IEC1.getU2EIE : TBits_1; inline;
  42782. begin
  42783. getU2EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42784. end;
  42785. procedure TINT_IEC1.setU2RXIE; inline;
  42786. begin
  42787. pTDefRegMap(@Self)^.&set := $00000200;
  42788. end;
  42789. procedure TINT_IEC1.clearU2RXIE; inline;
  42790. begin
  42791. pTDefRegMap(@Self)^.clr := $00000200;
  42792. end;
  42793. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  42794. begin
  42795. if thebits = 0 then
  42796. pTDefRegMap(@Self)^.clr := $00000200
  42797. else
  42798. pTDefRegMap(@Self)^.&set := $00000200;
  42799. end;
  42800. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  42801. begin
  42802. getU2RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42803. end;
  42804. procedure TINT_IEC1.setU2TXIE; inline;
  42805. begin
  42806. pTDefRegMap(@Self)^.&set := $00000400;
  42807. end;
  42808. procedure TINT_IEC1.clearU2TXIE; inline;
  42809. begin
  42810. pTDefRegMap(@Self)^.clr := $00000400;
  42811. end;
  42812. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  42813. begin
  42814. if thebits = 0 then
  42815. pTDefRegMap(@Self)^.clr := $00000400
  42816. else
  42817. pTDefRegMap(@Self)^.&set := $00000400;
  42818. end;
  42819. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  42820. begin
  42821. getU2TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42822. end;
  42823. procedure TINT_IEC1.setFSCMIE; inline;
  42824. begin
  42825. pTDefRegMap(@Self)^.&set := $00004000;
  42826. end;
  42827. procedure TINT_IEC1.clearFSCMIE; inline;
  42828. begin
  42829. pTDefRegMap(@Self)^.clr := $00004000;
  42830. end;
  42831. procedure TINT_IEC1.setFSCMIE(thebits : TBits_1); inline;
  42832. begin
  42833. if thebits = 0 then
  42834. pTDefRegMap(@Self)^.clr := $00004000
  42835. else
  42836. pTDefRegMap(@Self)^.&set := $00004000;
  42837. end;
  42838. function TINT_IEC1.getFSCMIE : TBits_1; inline;
  42839. begin
  42840. getFSCMIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42841. end;
  42842. procedure TINT_IEC1.setRTCCIE; inline;
  42843. begin
  42844. pTDefRegMap(@Self)^.&set := $00008000;
  42845. end;
  42846. procedure TINT_IEC1.clearRTCCIE; inline;
  42847. begin
  42848. pTDefRegMap(@Self)^.clr := $00008000;
  42849. end;
  42850. procedure TINT_IEC1.setRTCCIE(thebits : TBits_1); inline;
  42851. begin
  42852. if thebits = 0 then
  42853. pTDefRegMap(@Self)^.clr := $00008000
  42854. else
  42855. pTDefRegMap(@Self)^.&set := $00008000;
  42856. end;
  42857. function TINT_IEC1.getRTCCIE : TBits_1; inline;
  42858. begin
  42859. getRTCCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42860. end;
  42861. procedure TINT_IEC1.setDMA0IE; inline;
  42862. begin
  42863. pTDefRegMap(@Self)^.&set := $00010000;
  42864. end;
  42865. procedure TINT_IEC1.clearDMA0IE; inline;
  42866. begin
  42867. pTDefRegMap(@Self)^.clr := $00010000;
  42868. end;
  42869. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  42870. begin
  42871. if thebits = 0 then
  42872. pTDefRegMap(@Self)^.clr := $00010000
  42873. else
  42874. pTDefRegMap(@Self)^.&set := $00010000;
  42875. end;
  42876. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  42877. begin
  42878. getDMA0IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  42879. end;
  42880. procedure TINT_IEC1.setDMA1IE; inline;
  42881. begin
  42882. pTDefRegMap(@Self)^.&set := $00020000;
  42883. end;
  42884. procedure TINT_IEC1.clearDMA1IE; inline;
  42885. begin
  42886. pTDefRegMap(@Self)^.clr := $00020000;
  42887. end;
  42888. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  42889. begin
  42890. if thebits = 0 then
  42891. pTDefRegMap(@Self)^.clr := $00020000
  42892. else
  42893. pTDefRegMap(@Self)^.&set := $00020000;
  42894. end;
  42895. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  42896. begin
  42897. getDMA1IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  42898. end;
  42899. procedure TINT_IEC1.setDMA2IE; inline;
  42900. begin
  42901. pTDefRegMap(@Self)^.&set := $00040000;
  42902. end;
  42903. procedure TINT_IEC1.clearDMA2IE; inline;
  42904. begin
  42905. pTDefRegMap(@Self)^.clr := $00040000;
  42906. end;
  42907. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  42908. begin
  42909. if thebits = 0 then
  42910. pTDefRegMap(@Self)^.clr := $00040000
  42911. else
  42912. pTDefRegMap(@Self)^.&set := $00040000;
  42913. end;
  42914. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  42915. begin
  42916. getDMA2IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  42917. end;
  42918. procedure TINT_IEC1.setDMA3IE; inline;
  42919. begin
  42920. pTDefRegMap(@Self)^.&set := $00080000;
  42921. end;
  42922. procedure TINT_IEC1.clearDMA3IE; inline;
  42923. begin
  42924. pTDefRegMap(@Self)^.clr := $00080000;
  42925. end;
  42926. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  42927. begin
  42928. if thebits = 0 then
  42929. pTDefRegMap(@Self)^.clr := $00080000
  42930. else
  42931. pTDefRegMap(@Self)^.&set := $00080000;
  42932. end;
  42933. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  42934. begin
  42935. getDMA3IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  42936. end;
  42937. procedure TINT_IEC1.setFCEIE; inline;
  42938. begin
  42939. pTDefRegMap(@Self)^.&set := $01000000;
  42940. end;
  42941. procedure TINT_IEC1.clearFCEIE; inline;
  42942. begin
  42943. pTDefRegMap(@Self)^.clr := $01000000;
  42944. end;
  42945. procedure TINT_IEC1.setFCEIE(thebits : TBits_1); inline;
  42946. begin
  42947. if thebits = 0 then
  42948. pTDefRegMap(@Self)^.clr := $01000000
  42949. else
  42950. pTDefRegMap(@Self)^.&set := $01000000;
  42951. end;
  42952. function TINT_IEC1.getFCEIE : TBits_1; inline;
  42953. begin
  42954. getFCEIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  42955. end;
  42956. procedure TINT_IEC1.setUSBIE; inline;
  42957. begin
  42958. pTDefRegMap(@Self)^.&set := $02000000;
  42959. end;
  42960. procedure TINT_IEC1.clearUSBIE; inline;
  42961. begin
  42962. pTDefRegMap(@Self)^.clr := $02000000;
  42963. end;
  42964. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  42965. begin
  42966. if thebits = 0 then
  42967. pTDefRegMap(@Self)^.clr := $02000000
  42968. else
  42969. pTDefRegMap(@Self)^.&set := $02000000;
  42970. end;
  42971. function TINT_IEC1.getUSBIE : TBits_1; inline;
  42972. begin
  42973. getUSBIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  42974. end;
  42975. procedure TINT_IEC1.setETHIE; inline;
  42976. begin
  42977. pTDefRegMap(@Self)^.&set := $10000000;
  42978. end;
  42979. procedure TINT_IEC1.clearETHIE; inline;
  42980. begin
  42981. pTDefRegMap(@Self)^.clr := $10000000;
  42982. end;
  42983. procedure TINT_IEC1.setETHIE(thebits : TBits_1); inline;
  42984. begin
  42985. if thebits = 0 then
  42986. pTDefRegMap(@Self)^.clr := $10000000
  42987. else
  42988. pTDefRegMap(@Self)^.&set := $10000000;
  42989. end;
  42990. function TINT_IEC1.getETHIE : TBits_1; inline;
  42991. begin
  42992. getETHIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42993. end;
  42994. procedure TINT_IEC1.setIC1EIE; inline;
  42995. begin
  42996. pTDefRegMap(@Self)^.&set := $20000000;
  42997. end;
  42998. procedure TINT_IEC1.clearIC1EIE; inline;
  42999. begin
  43000. pTDefRegMap(@Self)^.clr := $20000000;
  43001. end;
  43002. procedure TINT_IEC1.setIC1EIE(thebits : TBits_1); inline;
  43003. begin
  43004. if thebits = 0 then
  43005. pTDefRegMap(@Self)^.clr := $20000000
  43006. else
  43007. pTDefRegMap(@Self)^.&set := $20000000;
  43008. end;
  43009. function TINT_IEC1.getIC1EIE : TBits_1; inline;
  43010. begin
  43011. getIC1EIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  43012. end;
  43013. procedure TINT_IEC1.setIC2EIE; inline;
  43014. begin
  43015. pTDefRegMap(@Self)^.&set := $40000000;
  43016. end;
  43017. procedure TINT_IEC1.clearIC2EIE; inline;
  43018. begin
  43019. pTDefRegMap(@Self)^.clr := $40000000;
  43020. end;
  43021. procedure TINT_IEC1.setIC2EIE(thebits : TBits_1); inline;
  43022. begin
  43023. if thebits = 0 then
  43024. pTDefRegMap(@Self)^.clr := $40000000
  43025. else
  43026. pTDefRegMap(@Self)^.&set := $40000000;
  43027. end;
  43028. function TINT_IEC1.getIC2EIE : TBits_1; inline;
  43029. begin
  43030. getIC2EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  43031. end;
  43032. procedure TINT_IEC1.setIC3EIE; inline;
  43033. begin
  43034. pTDefRegMap(@Self)^.&set := $80000000;
  43035. end;
  43036. procedure TINT_IEC1.clearIC3EIE; inline;
  43037. begin
  43038. pTDefRegMap(@Self)^.clr := $80000000;
  43039. end;
  43040. procedure TINT_IEC1.setIC3EIE(thebits : TBits_1); inline;
  43041. begin
  43042. if thebits = 0 then
  43043. pTDefRegMap(@Self)^.clr := $80000000
  43044. else
  43045. pTDefRegMap(@Self)^.&set := $80000000;
  43046. end;
  43047. function TINT_IEC1.getIC3EIE : TBits_1; inline;
  43048. begin
  43049. getIC3EIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  43050. end;
  43051. procedure TINT_IEC1.setU2AEIE; inline;
  43052. begin
  43053. pTDefRegMap(@Self)^.&set := $00000020;
  43054. end;
  43055. procedure TINT_IEC1.clearU2AEIE; inline;
  43056. begin
  43057. pTDefRegMap(@Self)^.clr := $00000020;
  43058. end;
  43059. procedure TINT_IEC1.setU2AEIE(thebits : TBits_1); inline;
  43060. begin
  43061. if thebits = 0 then
  43062. pTDefRegMap(@Self)^.clr := $00000020
  43063. else
  43064. pTDefRegMap(@Self)^.&set := $00000020;
  43065. end;
  43066. function TINT_IEC1.getU2AEIE : TBits_1; inline;
  43067. begin
  43068. getU2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43069. end;
  43070. procedure TINT_IEC1.setU2ARXIE; inline;
  43071. begin
  43072. pTDefRegMap(@Self)^.&set := $00000040;
  43073. end;
  43074. procedure TINT_IEC1.clearU2ARXIE; inline;
  43075. begin
  43076. pTDefRegMap(@Self)^.clr := $00000040;
  43077. end;
  43078. procedure TINT_IEC1.setU2ARXIE(thebits : TBits_1); inline;
  43079. begin
  43080. if thebits = 0 then
  43081. pTDefRegMap(@Self)^.clr := $00000040
  43082. else
  43083. pTDefRegMap(@Self)^.&set := $00000040;
  43084. end;
  43085. function TINT_IEC1.getU2ARXIE : TBits_1; inline;
  43086. begin
  43087. getU2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43088. end;
  43089. procedure TINT_IEC1.setU2ATXIE; inline;
  43090. begin
  43091. pTDefRegMap(@Self)^.&set := $00000080;
  43092. end;
  43093. procedure TINT_IEC1.clearU2ATXIE; inline;
  43094. begin
  43095. pTDefRegMap(@Self)^.clr := $00000080;
  43096. end;
  43097. procedure TINT_IEC1.setU2ATXIE(thebits : TBits_1); inline;
  43098. begin
  43099. if thebits = 0 then
  43100. pTDefRegMap(@Self)^.clr := $00000080
  43101. else
  43102. pTDefRegMap(@Self)^.&set := $00000080;
  43103. end;
  43104. function TINT_IEC1.getU2ATXIE : TBits_1; inline;
  43105. begin
  43106. getU2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43107. end;
  43108. procedure TINT_IEC1.setU3AEIE; inline;
  43109. begin
  43110. pTDefRegMap(@Self)^.&set := $00000100;
  43111. end;
  43112. procedure TINT_IEC1.clearU3AEIE; inline;
  43113. begin
  43114. pTDefRegMap(@Self)^.clr := $00000100;
  43115. end;
  43116. procedure TINT_IEC1.setU3AEIE(thebits : TBits_1); inline;
  43117. begin
  43118. if thebits = 0 then
  43119. pTDefRegMap(@Self)^.clr := $00000100
  43120. else
  43121. pTDefRegMap(@Self)^.&set := $00000100;
  43122. end;
  43123. function TINT_IEC1.getU3AEIE : TBits_1; inline;
  43124. begin
  43125. getU3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43126. end;
  43127. procedure TINT_IEC1.setU3ARXIE; inline;
  43128. begin
  43129. pTDefRegMap(@Self)^.&set := $00000200;
  43130. end;
  43131. procedure TINT_IEC1.clearU3ARXIE; inline;
  43132. begin
  43133. pTDefRegMap(@Self)^.clr := $00000200;
  43134. end;
  43135. procedure TINT_IEC1.setU3ARXIE(thebits : TBits_1); inline;
  43136. begin
  43137. if thebits = 0 then
  43138. pTDefRegMap(@Self)^.clr := $00000200
  43139. else
  43140. pTDefRegMap(@Self)^.&set := $00000200;
  43141. end;
  43142. function TINT_IEC1.getU3ARXIE : TBits_1; inline;
  43143. begin
  43144. getU3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43145. end;
  43146. procedure TINT_IEC1.setU3ATXIE; inline;
  43147. begin
  43148. pTDefRegMap(@Self)^.&set := $00000400;
  43149. end;
  43150. procedure TINT_IEC1.clearU3ATXIE; inline;
  43151. begin
  43152. pTDefRegMap(@Self)^.clr := $00000400;
  43153. end;
  43154. procedure TINT_IEC1.setU3ATXIE(thebits : TBits_1); inline;
  43155. begin
  43156. if thebits = 0 then
  43157. pTDefRegMap(@Self)^.clr := $00000400
  43158. else
  43159. pTDefRegMap(@Self)^.&set := $00000400;
  43160. end;
  43161. function TINT_IEC1.getU3ATXIE : TBits_1; inline;
  43162. begin
  43163. getU3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43164. end;
  43165. procedure TINT_IEC1.setSPI2EIE; inline;
  43166. begin
  43167. pTDefRegMap(@Self)^.&set := $00000020;
  43168. end;
  43169. procedure TINT_IEC1.clearSPI2EIE; inline;
  43170. begin
  43171. pTDefRegMap(@Self)^.clr := $00000020;
  43172. end;
  43173. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  43174. begin
  43175. if thebits = 0 then
  43176. pTDefRegMap(@Self)^.clr := $00000020
  43177. else
  43178. pTDefRegMap(@Self)^.&set := $00000020;
  43179. end;
  43180. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  43181. begin
  43182. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43183. end;
  43184. procedure TINT_IEC1.setSPI2RXIE; inline;
  43185. begin
  43186. pTDefRegMap(@Self)^.&set := $00000040;
  43187. end;
  43188. procedure TINT_IEC1.clearSPI2RXIE; inline;
  43189. begin
  43190. pTDefRegMap(@Self)^.clr := $00000040;
  43191. end;
  43192. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  43193. begin
  43194. if thebits = 0 then
  43195. pTDefRegMap(@Self)^.clr := $00000040
  43196. else
  43197. pTDefRegMap(@Self)^.&set := $00000040;
  43198. end;
  43199. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  43200. begin
  43201. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43202. end;
  43203. procedure TINT_IEC1.setSPI2TXIE; inline;
  43204. begin
  43205. pTDefRegMap(@Self)^.&set := $00000080;
  43206. end;
  43207. procedure TINT_IEC1.clearSPI2TXIE; inline;
  43208. begin
  43209. pTDefRegMap(@Self)^.clr := $00000080;
  43210. end;
  43211. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  43212. begin
  43213. if thebits = 0 then
  43214. pTDefRegMap(@Self)^.clr := $00000080
  43215. else
  43216. pTDefRegMap(@Self)^.&set := $00000080;
  43217. end;
  43218. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  43219. begin
  43220. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43221. end;
  43222. procedure TINT_IEC1.setSPI4EIE; inline;
  43223. begin
  43224. pTDefRegMap(@Self)^.&set := $00000100;
  43225. end;
  43226. procedure TINT_IEC1.clearSPI4EIE; inline;
  43227. begin
  43228. pTDefRegMap(@Self)^.clr := $00000100;
  43229. end;
  43230. procedure TINT_IEC1.setSPI4EIE(thebits : TBits_1); inline;
  43231. begin
  43232. if thebits = 0 then
  43233. pTDefRegMap(@Self)^.clr := $00000100
  43234. else
  43235. pTDefRegMap(@Self)^.&set := $00000100;
  43236. end;
  43237. function TINT_IEC1.getSPI4EIE : TBits_1; inline;
  43238. begin
  43239. getSPI4EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43240. end;
  43241. procedure TINT_IEC1.setSPI4RXIE; inline;
  43242. begin
  43243. pTDefRegMap(@Self)^.&set := $00000200;
  43244. end;
  43245. procedure TINT_IEC1.clearSPI4RXIE; inline;
  43246. begin
  43247. pTDefRegMap(@Self)^.clr := $00000200;
  43248. end;
  43249. procedure TINT_IEC1.setSPI4RXIE(thebits : TBits_1); inline;
  43250. begin
  43251. if thebits = 0 then
  43252. pTDefRegMap(@Self)^.clr := $00000200
  43253. else
  43254. pTDefRegMap(@Self)^.&set := $00000200;
  43255. end;
  43256. function TINT_IEC1.getSPI4RXIE : TBits_1; inline;
  43257. begin
  43258. getSPI4RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43259. end;
  43260. procedure TINT_IEC1.setSPI4TXIE; inline;
  43261. begin
  43262. pTDefRegMap(@Self)^.&set := $00000400;
  43263. end;
  43264. procedure TINT_IEC1.clearSPI4TXIE; inline;
  43265. begin
  43266. pTDefRegMap(@Self)^.clr := $00000400;
  43267. end;
  43268. procedure TINT_IEC1.setSPI4TXIE(thebits : TBits_1); inline;
  43269. begin
  43270. if thebits = 0 then
  43271. pTDefRegMap(@Self)^.clr := $00000400
  43272. else
  43273. pTDefRegMap(@Self)^.&set := $00000400;
  43274. end;
  43275. function TINT_IEC1.getSPI4TXIE : TBits_1; inline;
  43276. begin
  43277. getSPI4TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43278. end;
  43279. procedure TINT_IEC1.setSPI2AEIE; inline;
  43280. begin
  43281. pTDefRegMap(@Self)^.&set := $00000020;
  43282. end;
  43283. procedure TINT_IEC1.clearSPI2AEIE; inline;
  43284. begin
  43285. pTDefRegMap(@Self)^.clr := $00000020;
  43286. end;
  43287. procedure TINT_IEC1.setSPI2AEIE(thebits : TBits_1); inline;
  43288. begin
  43289. if thebits = 0 then
  43290. pTDefRegMap(@Self)^.clr := $00000020
  43291. else
  43292. pTDefRegMap(@Self)^.&set := $00000020;
  43293. end;
  43294. function TINT_IEC1.getSPI2AEIE : TBits_1; inline;
  43295. begin
  43296. getSPI2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43297. end;
  43298. procedure TINT_IEC1.setSPI2ARXIE; inline;
  43299. begin
  43300. pTDefRegMap(@Self)^.&set := $00000040;
  43301. end;
  43302. procedure TINT_IEC1.clearSPI2ARXIE; inline;
  43303. begin
  43304. pTDefRegMap(@Self)^.clr := $00000040;
  43305. end;
  43306. procedure TINT_IEC1.setSPI2ARXIE(thebits : TBits_1); inline;
  43307. begin
  43308. if thebits = 0 then
  43309. pTDefRegMap(@Self)^.clr := $00000040
  43310. else
  43311. pTDefRegMap(@Self)^.&set := $00000040;
  43312. end;
  43313. function TINT_IEC1.getSPI2ARXIE : TBits_1; inline;
  43314. begin
  43315. getSPI2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43316. end;
  43317. procedure TINT_IEC1.setSPI2ATXIE; inline;
  43318. begin
  43319. pTDefRegMap(@Self)^.&set := $00000080;
  43320. end;
  43321. procedure TINT_IEC1.clearSPI2ATXIE; inline;
  43322. begin
  43323. pTDefRegMap(@Self)^.clr := $00000080;
  43324. end;
  43325. procedure TINT_IEC1.setSPI2ATXIE(thebits : TBits_1); inline;
  43326. begin
  43327. if thebits = 0 then
  43328. pTDefRegMap(@Self)^.clr := $00000080
  43329. else
  43330. pTDefRegMap(@Self)^.&set := $00000080;
  43331. end;
  43332. function TINT_IEC1.getSPI2ATXIE : TBits_1; inline;
  43333. begin
  43334. getSPI2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43335. end;
  43336. procedure TINT_IEC1.setSPI3AEIE; inline;
  43337. begin
  43338. pTDefRegMap(@Self)^.&set := $00000100;
  43339. end;
  43340. procedure TINT_IEC1.clearSPI3AEIE; inline;
  43341. begin
  43342. pTDefRegMap(@Self)^.clr := $00000100;
  43343. end;
  43344. procedure TINT_IEC1.setSPI3AEIE(thebits : TBits_1); inline;
  43345. begin
  43346. if thebits = 0 then
  43347. pTDefRegMap(@Self)^.clr := $00000100
  43348. else
  43349. pTDefRegMap(@Self)^.&set := $00000100;
  43350. end;
  43351. function TINT_IEC1.getSPI3AEIE : TBits_1; inline;
  43352. begin
  43353. getSPI3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43354. end;
  43355. procedure TINT_IEC1.setSPI3ARXIE; inline;
  43356. begin
  43357. pTDefRegMap(@Self)^.&set := $00000200;
  43358. end;
  43359. procedure TINT_IEC1.clearSPI3ARXIE; inline;
  43360. begin
  43361. pTDefRegMap(@Self)^.clr := $00000200;
  43362. end;
  43363. procedure TINT_IEC1.setSPI3ARXIE(thebits : TBits_1); inline;
  43364. begin
  43365. if thebits = 0 then
  43366. pTDefRegMap(@Self)^.clr := $00000200
  43367. else
  43368. pTDefRegMap(@Self)^.&set := $00000200;
  43369. end;
  43370. function TINT_IEC1.getSPI3ARXIE : TBits_1; inline;
  43371. begin
  43372. getSPI3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43373. end;
  43374. procedure TINT_IEC1.setSPI3ATXIE; inline;
  43375. begin
  43376. pTDefRegMap(@Self)^.&set := $00000400;
  43377. end;
  43378. procedure TINT_IEC1.clearSPI3ATXIE; inline;
  43379. begin
  43380. pTDefRegMap(@Self)^.clr := $00000400;
  43381. end;
  43382. procedure TINT_IEC1.setSPI3ATXIE(thebits : TBits_1); inline;
  43383. begin
  43384. if thebits = 0 then
  43385. pTDefRegMap(@Self)^.clr := $00000400
  43386. else
  43387. pTDefRegMap(@Self)^.&set := $00000400;
  43388. end;
  43389. function TINT_IEC1.getSPI3ATXIE : TBits_1; inline;
  43390. begin
  43391. getSPI3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43392. end;
  43393. procedure TINT_IEC1.setI2C4BIE; inline;
  43394. begin
  43395. pTDefRegMap(@Self)^.&set := $00000020;
  43396. end;
  43397. procedure TINT_IEC1.clearI2C4BIE; inline;
  43398. begin
  43399. pTDefRegMap(@Self)^.clr := $00000020;
  43400. end;
  43401. procedure TINT_IEC1.setI2C4BIE(thebits : TBits_1); inline;
  43402. begin
  43403. if thebits = 0 then
  43404. pTDefRegMap(@Self)^.clr := $00000020
  43405. else
  43406. pTDefRegMap(@Self)^.&set := $00000020;
  43407. end;
  43408. function TINT_IEC1.getI2C4BIE : TBits_1; inline;
  43409. begin
  43410. getI2C4BIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43411. end;
  43412. procedure TINT_IEC1.setI2C4SIE; inline;
  43413. begin
  43414. pTDefRegMap(@Self)^.&set := $00000040;
  43415. end;
  43416. procedure TINT_IEC1.clearI2C4SIE; inline;
  43417. begin
  43418. pTDefRegMap(@Self)^.clr := $00000040;
  43419. end;
  43420. procedure TINT_IEC1.setI2C4SIE(thebits : TBits_1); inline;
  43421. begin
  43422. if thebits = 0 then
  43423. pTDefRegMap(@Self)^.clr := $00000040
  43424. else
  43425. pTDefRegMap(@Self)^.&set := $00000040;
  43426. end;
  43427. function TINT_IEC1.getI2C4SIE : TBits_1; inline;
  43428. begin
  43429. getI2C4SIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43430. end;
  43431. procedure TINT_IEC1.setI2C4MIE; inline;
  43432. begin
  43433. pTDefRegMap(@Self)^.&set := $00000080;
  43434. end;
  43435. procedure TINT_IEC1.clearI2C4MIE; inline;
  43436. begin
  43437. pTDefRegMap(@Self)^.clr := $00000080;
  43438. end;
  43439. procedure TINT_IEC1.setI2C4MIE(thebits : TBits_1); inline;
  43440. begin
  43441. if thebits = 0 then
  43442. pTDefRegMap(@Self)^.clr := $00000080
  43443. else
  43444. pTDefRegMap(@Self)^.&set := $00000080;
  43445. end;
  43446. function TINT_IEC1.getI2C4MIE : TBits_1; inline;
  43447. begin
  43448. getI2C4MIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43449. end;
  43450. procedure TINT_IEC1.setI2C5BIE; inline;
  43451. begin
  43452. pTDefRegMap(@Self)^.&set := $00000100;
  43453. end;
  43454. procedure TINT_IEC1.clearI2C5BIE; inline;
  43455. begin
  43456. pTDefRegMap(@Self)^.clr := $00000100;
  43457. end;
  43458. procedure TINT_IEC1.setI2C5BIE(thebits : TBits_1); inline;
  43459. begin
  43460. if thebits = 0 then
  43461. pTDefRegMap(@Self)^.clr := $00000100
  43462. else
  43463. pTDefRegMap(@Self)^.&set := $00000100;
  43464. end;
  43465. function TINT_IEC1.getI2C5BIE : TBits_1; inline;
  43466. begin
  43467. getI2C5BIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43468. end;
  43469. procedure TINT_IEC1.setI2C5SIE; inline;
  43470. begin
  43471. pTDefRegMap(@Self)^.&set := $00000200;
  43472. end;
  43473. procedure TINT_IEC1.clearI2C5SIE; inline;
  43474. begin
  43475. pTDefRegMap(@Self)^.clr := $00000200;
  43476. end;
  43477. procedure TINT_IEC1.setI2C5SIE(thebits : TBits_1); inline;
  43478. begin
  43479. if thebits = 0 then
  43480. pTDefRegMap(@Self)^.clr := $00000200
  43481. else
  43482. pTDefRegMap(@Self)^.&set := $00000200;
  43483. end;
  43484. function TINT_IEC1.getI2C5SIE : TBits_1; inline;
  43485. begin
  43486. getI2C5SIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43487. end;
  43488. procedure TINT_IEC1.setI2C5MIE; inline;
  43489. begin
  43490. pTDefRegMap(@Self)^.&set := $00000400;
  43491. end;
  43492. procedure TINT_IEC1.clearI2C5MIE; inline;
  43493. begin
  43494. pTDefRegMap(@Self)^.clr := $00000400;
  43495. end;
  43496. procedure TINT_IEC1.setI2C5MIE(thebits : TBits_1); inline;
  43497. begin
  43498. if thebits = 0 then
  43499. pTDefRegMap(@Self)^.clr := $00000400
  43500. else
  43501. pTDefRegMap(@Self)^.&set := $00000400;
  43502. end;
  43503. function TINT_IEC1.getI2C5MIE : TBits_1; inline;
  43504. begin
  43505. getI2C5MIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43506. end;
  43507. procedure TINT_IEC1.setI2C2ABIE; inline;
  43508. begin
  43509. pTDefRegMap(@Self)^.&set := $00000020;
  43510. end;
  43511. procedure TINT_IEC1.clearI2C2ABIE; inline;
  43512. begin
  43513. pTDefRegMap(@Self)^.clr := $00000020;
  43514. end;
  43515. procedure TINT_IEC1.setI2C2ABIE(thebits : TBits_1); inline;
  43516. begin
  43517. if thebits = 0 then
  43518. pTDefRegMap(@Self)^.clr := $00000020
  43519. else
  43520. pTDefRegMap(@Self)^.&set := $00000020;
  43521. end;
  43522. function TINT_IEC1.getI2C2ABIE : TBits_1; inline;
  43523. begin
  43524. getI2C2ABIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43525. end;
  43526. procedure TINT_IEC1.setI2C2ASIE; inline;
  43527. begin
  43528. pTDefRegMap(@Self)^.&set := $00000040;
  43529. end;
  43530. procedure TINT_IEC1.clearI2C2ASIE; inline;
  43531. begin
  43532. pTDefRegMap(@Self)^.clr := $00000040;
  43533. end;
  43534. procedure TINT_IEC1.setI2C2ASIE(thebits : TBits_1); inline;
  43535. begin
  43536. if thebits = 0 then
  43537. pTDefRegMap(@Self)^.clr := $00000040
  43538. else
  43539. pTDefRegMap(@Self)^.&set := $00000040;
  43540. end;
  43541. function TINT_IEC1.getI2C2ASIE : TBits_1; inline;
  43542. begin
  43543. getI2C2ASIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43544. end;
  43545. procedure TINT_IEC1.setI2C2AMIE; inline;
  43546. begin
  43547. pTDefRegMap(@Self)^.&set := $00000080;
  43548. end;
  43549. procedure TINT_IEC1.clearI2C2AMIE; inline;
  43550. begin
  43551. pTDefRegMap(@Self)^.clr := $00000080;
  43552. end;
  43553. procedure TINT_IEC1.setI2C2AMIE(thebits : TBits_1); inline;
  43554. begin
  43555. if thebits = 0 then
  43556. pTDefRegMap(@Self)^.clr := $00000080
  43557. else
  43558. pTDefRegMap(@Self)^.&set := $00000080;
  43559. end;
  43560. function TINT_IEC1.getI2C2AMIE : TBits_1; inline;
  43561. begin
  43562. getI2C2AMIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43563. end;
  43564. procedure TINT_IEC1.setI2C3ABIE; inline;
  43565. begin
  43566. pTDefRegMap(@Self)^.&set := $00000100;
  43567. end;
  43568. procedure TINT_IEC1.clearI2C3ABIE; inline;
  43569. begin
  43570. pTDefRegMap(@Self)^.clr := $00000100;
  43571. end;
  43572. procedure TINT_IEC1.setI2C3ABIE(thebits : TBits_1); inline;
  43573. begin
  43574. if thebits = 0 then
  43575. pTDefRegMap(@Self)^.clr := $00000100
  43576. else
  43577. pTDefRegMap(@Self)^.&set := $00000100;
  43578. end;
  43579. function TINT_IEC1.getI2C3ABIE : TBits_1; inline;
  43580. begin
  43581. getI2C3ABIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43582. end;
  43583. procedure TINT_IEC1.setI2C3ASIE; inline;
  43584. begin
  43585. pTDefRegMap(@Self)^.&set := $00000200;
  43586. end;
  43587. procedure TINT_IEC1.clearI2C3ASIE; inline;
  43588. begin
  43589. pTDefRegMap(@Self)^.clr := $00000200;
  43590. end;
  43591. procedure TINT_IEC1.setI2C3ASIE(thebits : TBits_1); inline;
  43592. begin
  43593. if thebits = 0 then
  43594. pTDefRegMap(@Self)^.clr := $00000200
  43595. else
  43596. pTDefRegMap(@Self)^.&set := $00000200;
  43597. end;
  43598. function TINT_IEC1.getI2C3ASIE : TBits_1; inline;
  43599. begin
  43600. getI2C3ASIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43601. end;
  43602. procedure TINT_IEC1.setI2C3AMIE; inline;
  43603. begin
  43604. pTDefRegMap(@Self)^.&set := $00000400;
  43605. end;
  43606. procedure TINT_IEC1.clearI2C3AMIE; inline;
  43607. begin
  43608. pTDefRegMap(@Self)^.clr := $00000400;
  43609. end;
  43610. procedure TINT_IEC1.setI2C3AMIE(thebits : TBits_1); inline;
  43611. begin
  43612. if thebits = 0 then
  43613. pTDefRegMap(@Self)^.clr := $00000400
  43614. else
  43615. pTDefRegMap(@Self)^.&set := $00000400;
  43616. end;
  43617. function TINT_IEC1.getI2C3AMIE : TBits_1; inline;
  43618. begin
  43619. getI2C3AMIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43620. end;
  43621. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  43622. begin
  43623. pTDefRegMap(@Self)^.val := thebits;
  43624. end;
  43625. function TINT_IEC1.getw : TBits_32; inline;
  43626. begin
  43627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43628. end;
  43629. procedure TINT_IEC2.setIC4EIE; inline;
  43630. begin
  43631. pTDefRegMap(@Self)^.&set := $00000001;
  43632. end;
  43633. procedure TINT_IEC2.clearIC4EIE; inline;
  43634. begin
  43635. pTDefRegMap(@Self)^.clr := $00000001;
  43636. end;
  43637. procedure TINT_IEC2.setIC4EIE(thebits : TBits_1); inline;
  43638. begin
  43639. if thebits = 0 then
  43640. pTDefRegMap(@Self)^.clr := $00000001
  43641. else
  43642. pTDefRegMap(@Self)^.&set := $00000001;
  43643. end;
  43644. function TINT_IEC2.getIC4EIE : TBits_1; inline;
  43645. begin
  43646. getIC4EIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43647. end;
  43648. procedure TINT_IEC2.setIC5EIE; inline;
  43649. begin
  43650. pTDefRegMap(@Self)^.&set := $00000002;
  43651. end;
  43652. procedure TINT_IEC2.clearIC5EIE; inline;
  43653. begin
  43654. pTDefRegMap(@Self)^.clr := $00000002;
  43655. end;
  43656. procedure TINT_IEC2.setIC5EIE(thebits : TBits_1); inline;
  43657. begin
  43658. if thebits = 0 then
  43659. pTDefRegMap(@Self)^.clr := $00000002
  43660. else
  43661. pTDefRegMap(@Self)^.&set := $00000002;
  43662. end;
  43663. function TINT_IEC2.getIC5EIE : TBits_1; inline;
  43664. begin
  43665. getIC5EIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43666. end;
  43667. procedure TINT_IEC2.setPMPEIE; inline;
  43668. begin
  43669. pTDefRegMap(@Self)^.&set := $00000004;
  43670. end;
  43671. procedure TINT_IEC2.clearPMPEIE; inline;
  43672. begin
  43673. pTDefRegMap(@Self)^.clr := $00000004;
  43674. end;
  43675. procedure TINT_IEC2.setPMPEIE(thebits : TBits_1); inline;
  43676. begin
  43677. if thebits = 0 then
  43678. pTDefRegMap(@Self)^.clr := $00000004
  43679. else
  43680. pTDefRegMap(@Self)^.&set := $00000004;
  43681. end;
  43682. function TINT_IEC2.getPMPEIE : TBits_1; inline;
  43683. begin
  43684. getPMPEIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43685. end;
  43686. procedure TINT_IEC2.setU1BEIE; inline;
  43687. begin
  43688. pTDefRegMap(@Self)^.&set := $00000008;
  43689. end;
  43690. procedure TINT_IEC2.clearU1BEIE; inline;
  43691. begin
  43692. pTDefRegMap(@Self)^.clr := $00000008;
  43693. end;
  43694. procedure TINT_IEC2.setU1BEIE(thebits : TBits_1); inline;
  43695. begin
  43696. if thebits = 0 then
  43697. pTDefRegMap(@Self)^.clr := $00000008
  43698. else
  43699. pTDefRegMap(@Self)^.&set := $00000008;
  43700. end;
  43701. function TINT_IEC2.getU1BEIE : TBits_1; inline;
  43702. begin
  43703. getU1BEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43704. end;
  43705. procedure TINT_IEC2.setU1BRXIE; inline;
  43706. begin
  43707. pTDefRegMap(@Self)^.&set := $00000010;
  43708. end;
  43709. procedure TINT_IEC2.clearU1BRXIE; inline;
  43710. begin
  43711. pTDefRegMap(@Self)^.clr := $00000010;
  43712. end;
  43713. procedure TINT_IEC2.setU1BRXIE(thebits : TBits_1); inline;
  43714. begin
  43715. if thebits = 0 then
  43716. pTDefRegMap(@Self)^.clr := $00000010
  43717. else
  43718. pTDefRegMap(@Self)^.&set := $00000010;
  43719. end;
  43720. function TINT_IEC2.getU1BRXIE : TBits_1; inline;
  43721. begin
  43722. getU1BRXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43723. end;
  43724. procedure TINT_IEC2.setU1BTXIE; inline;
  43725. begin
  43726. pTDefRegMap(@Self)^.&set := $00000020;
  43727. end;
  43728. procedure TINT_IEC2.clearU1BTXIE; inline;
  43729. begin
  43730. pTDefRegMap(@Self)^.clr := $00000020;
  43731. end;
  43732. procedure TINT_IEC2.setU1BTXIE(thebits : TBits_1); inline;
  43733. begin
  43734. if thebits = 0 then
  43735. pTDefRegMap(@Self)^.clr := $00000020
  43736. else
  43737. pTDefRegMap(@Self)^.&set := $00000020;
  43738. end;
  43739. function TINT_IEC2.getU1BTXIE : TBits_1; inline;
  43740. begin
  43741. getU1BTXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43742. end;
  43743. procedure TINT_IEC2.setU2BEIE; inline;
  43744. begin
  43745. pTDefRegMap(@Self)^.&set := $00000040;
  43746. end;
  43747. procedure TINT_IEC2.clearU2BEIE; inline;
  43748. begin
  43749. pTDefRegMap(@Self)^.clr := $00000040;
  43750. end;
  43751. procedure TINT_IEC2.setU2BEIE(thebits : TBits_1); inline;
  43752. begin
  43753. if thebits = 0 then
  43754. pTDefRegMap(@Self)^.clr := $00000040
  43755. else
  43756. pTDefRegMap(@Self)^.&set := $00000040;
  43757. end;
  43758. function TINT_IEC2.getU2BEIE : TBits_1; inline;
  43759. begin
  43760. getU2BEIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43761. end;
  43762. procedure TINT_IEC2.setU2BRXIE; inline;
  43763. begin
  43764. pTDefRegMap(@Self)^.&set := $00000080;
  43765. end;
  43766. procedure TINT_IEC2.clearU2BRXIE; inline;
  43767. begin
  43768. pTDefRegMap(@Self)^.clr := $00000080;
  43769. end;
  43770. procedure TINT_IEC2.setU2BRXIE(thebits : TBits_1); inline;
  43771. begin
  43772. if thebits = 0 then
  43773. pTDefRegMap(@Self)^.clr := $00000080
  43774. else
  43775. pTDefRegMap(@Self)^.&set := $00000080;
  43776. end;
  43777. function TINT_IEC2.getU2BRXIE : TBits_1; inline;
  43778. begin
  43779. getU2BRXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43780. end;
  43781. procedure TINT_IEC2.setU2BTXIE; inline;
  43782. begin
  43783. pTDefRegMap(@Self)^.&set := $00000100;
  43784. end;
  43785. procedure TINT_IEC2.clearU2BTXIE; inline;
  43786. begin
  43787. pTDefRegMap(@Self)^.clr := $00000100;
  43788. end;
  43789. procedure TINT_IEC2.setU2BTXIE(thebits : TBits_1); inline;
  43790. begin
  43791. if thebits = 0 then
  43792. pTDefRegMap(@Self)^.clr := $00000100
  43793. else
  43794. pTDefRegMap(@Self)^.&set := $00000100;
  43795. end;
  43796. function TINT_IEC2.getU2BTXIE : TBits_1; inline;
  43797. begin
  43798. getU2BTXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43799. end;
  43800. procedure TINT_IEC2.setU3BEIE; inline;
  43801. begin
  43802. pTDefRegMap(@Self)^.&set := $00000200;
  43803. end;
  43804. procedure TINT_IEC2.clearU3BEIE; inline;
  43805. begin
  43806. pTDefRegMap(@Self)^.clr := $00000200;
  43807. end;
  43808. procedure TINT_IEC2.setU3BEIE(thebits : TBits_1); inline;
  43809. begin
  43810. if thebits = 0 then
  43811. pTDefRegMap(@Self)^.clr := $00000200
  43812. else
  43813. pTDefRegMap(@Self)^.&set := $00000200;
  43814. end;
  43815. function TINT_IEC2.getU3BEIE : TBits_1; inline;
  43816. begin
  43817. getU3BEIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43818. end;
  43819. procedure TINT_IEC2.setU3BRXIE; inline;
  43820. begin
  43821. pTDefRegMap(@Self)^.&set := $00000400;
  43822. end;
  43823. procedure TINT_IEC2.clearU3BRXIE; inline;
  43824. begin
  43825. pTDefRegMap(@Self)^.clr := $00000400;
  43826. end;
  43827. procedure TINT_IEC2.setU3BRXIE(thebits : TBits_1); inline;
  43828. begin
  43829. if thebits = 0 then
  43830. pTDefRegMap(@Self)^.clr := $00000400
  43831. else
  43832. pTDefRegMap(@Self)^.&set := $00000400;
  43833. end;
  43834. function TINT_IEC2.getU3BRXIE : TBits_1; inline;
  43835. begin
  43836. getU3BRXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43837. end;
  43838. procedure TINT_IEC2.setU3BTXIE; inline;
  43839. begin
  43840. pTDefRegMap(@Self)^.&set := $00000800;
  43841. end;
  43842. procedure TINT_IEC2.clearU3BTXIE; inline;
  43843. begin
  43844. pTDefRegMap(@Self)^.clr := $00000800;
  43845. end;
  43846. procedure TINT_IEC2.setU3BTXIE(thebits : TBits_1); inline;
  43847. begin
  43848. if thebits = 0 then
  43849. pTDefRegMap(@Self)^.clr := $00000800
  43850. else
  43851. pTDefRegMap(@Self)^.&set := $00000800;
  43852. end;
  43853. function TINT_IEC2.getU3BTXIE : TBits_1; inline;
  43854. begin
  43855. getU3BTXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43856. end;
  43857. procedure TINT_IEC2.setU4EIE; inline;
  43858. begin
  43859. pTDefRegMap(@Self)^.&set := $00000008;
  43860. end;
  43861. procedure TINT_IEC2.clearU4EIE; inline;
  43862. begin
  43863. pTDefRegMap(@Self)^.clr := $00000008;
  43864. end;
  43865. procedure TINT_IEC2.setU4EIE(thebits : TBits_1); inline;
  43866. begin
  43867. if thebits = 0 then
  43868. pTDefRegMap(@Self)^.clr := $00000008
  43869. else
  43870. pTDefRegMap(@Self)^.&set := $00000008;
  43871. end;
  43872. function TINT_IEC2.getU4EIE : TBits_1; inline;
  43873. begin
  43874. getU4EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43875. end;
  43876. procedure TINT_IEC2.setU4RXIE; inline;
  43877. begin
  43878. pTDefRegMap(@Self)^.&set := $00000010;
  43879. end;
  43880. procedure TINT_IEC2.clearU4RXIE; inline;
  43881. begin
  43882. pTDefRegMap(@Self)^.clr := $00000010;
  43883. end;
  43884. procedure TINT_IEC2.setU4RXIE(thebits : TBits_1); inline;
  43885. begin
  43886. if thebits = 0 then
  43887. pTDefRegMap(@Self)^.clr := $00000010
  43888. else
  43889. pTDefRegMap(@Self)^.&set := $00000010;
  43890. end;
  43891. function TINT_IEC2.getU4RXIE : TBits_1; inline;
  43892. begin
  43893. getU4RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43894. end;
  43895. procedure TINT_IEC2.setU4TXIE; inline;
  43896. begin
  43897. pTDefRegMap(@Self)^.&set := $00000020;
  43898. end;
  43899. procedure TINT_IEC2.clearU4TXIE; inline;
  43900. begin
  43901. pTDefRegMap(@Self)^.clr := $00000020;
  43902. end;
  43903. procedure TINT_IEC2.setU4TXIE(thebits : TBits_1); inline;
  43904. begin
  43905. if thebits = 0 then
  43906. pTDefRegMap(@Self)^.clr := $00000020
  43907. else
  43908. pTDefRegMap(@Self)^.&set := $00000020;
  43909. end;
  43910. function TINT_IEC2.getU4TXIE : TBits_1; inline;
  43911. begin
  43912. getU4TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43913. end;
  43914. procedure TINT_IEC2.setU6EIE; inline;
  43915. begin
  43916. pTDefRegMap(@Self)^.&set := $00000040;
  43917. end;
  43918. procedure TINT_IEC2.clearU6EIE; inline;
  43919. begin
  43920. pTDefRegMap(@Self)^.clr := $00000040;
  43921. end;
  43922. procedure TINT_IEC2.setU6EIE(thebits : TBits_1); inline;
  43923. begin
  43924. if thebits = 0 then
  43925. pTDefRegMap(@Self)^.clr := $00000040
  43926. else
  43927. pTDefRegMap(@Self)^.&set := $00000040;
  43928. end;
  43929. function TINT_IEC2.getU6EIE : TBits_1; inline;
  43930. begin
  43931. getU6EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43932. end;
  43933. procedure TINT_IEC2.setU6RXIE; inline;
  43934. begin
  43935. pTDefRegMap(@Self)^.&set := $00000080;
  43936. end;
  43937. procedure TINT_IEC2.clearU6RXIE; inline;
  43938. begin
  43939. pTDefRegMap(@Self)^.clr := $00000080;
  43940. end;
  43941. procedure TINT_IEC2.setU6RXIE(thebits : TBits_1); inline;
  43942. begin
  43943. if thebits = 0 then
  43944. pTDefRegMap(@Self)^.clr := $00000080
  43945. else
  43946. pTDefRegMap(@Self)^.&set := $00000080;
  43947. end;
  43948. function TINT_IEC2.getU6RXIE : TBits_1; inline;
  43949. begin
  43950. getU6RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43951. end;
  43952. procedure TINT_IEC2.setU6TXIE; inline;
  43953. begin
  43954. pTDefRegMap(@Self)^.&set := $00000100;
  43955. end;
  43956. procedure TINT_IEC2.clearU6TXIE; inline;
  43957. begin
  43958. pTDefRegMap(@Self)^.clr := $00000100;
  43959. end;
  43960. procedure TINT_IEC2.setU6TXIE(thebits : TBits_1); inline;
  43961. begin
  43962. if thebits = 0 then
  43963. pTDefRegMap(@Self)^.clr := $00000100
  43964. else
  43965. pTDefRegMap(@Self)^.&set := $00000100;
  43966. end;
  43967. function TINT_IEC2.getU6TXIE : TBits_1; inline;
  43968. begin
  43969. getU6TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43970. end;
  43971. procedure TINT_IEC2.setU5EIE; inline;
  43972. begin
  43973. pTDefRegMap(@Self)^.&set := $00000200;
  43974. end;
  43975. procedure TINT_IEC2.clearU5EIE; inline;
  43976. begin
  43977. pTDefRegMap(@Self)^.clr := $00000200;
  43978. end;
  43979. procedure TINT_IEC2.setU5EIE(thebits : TBits_1); inline;
  43980. begin
  43981. if thebits = 0 then
  43982. pTDefRegMap(@Self)^.clr := $00000200
  43983. else
  43984. pTDefRegMap(@Self)^.&set := $00000200;
  43985. end;
  43986. function TINT_IEC2.getU5EIE : TBits_1; inline;
  43987. begin
  43988. getU5EIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43989. end;
  43990. procedure TINT_IEC2.setU5RXIE; inline;
  43991. begin
  43992. pTDefRegMap(@Self)^.&set := $00000400;
  43993. end;
  43994. procedure TINT_IEC2.clearU5RXIE; inline;
  43995. begin
  43996. pTDefRegMap(@Self)^.clr := $00000400;
  43997. end;
  43998. procedure TINT_IEC2.setU5RXIE(thebits : TBits_1); inline;
  43999. begin
  44000. if thebits = 0 then
  44001. pTDefRegMap(@Self)^.clr := $00000400
  44002. else
  44003. pTDefRegMap(@Self)^.&set := $00000400;
  44004. end;
  44005. function TINT_IEC2.getU5RXIE : TBits_1; inline;
  44006. begin
  44007. getU5RXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44008. end;
  44009. procedure TINT_IEC2.setU5TXIE; inline;
  44010. begin
  44011. pTDefRegMap(@Self)^.&set := $00000800;
  44012. end;
  44013. procedure TINT_IEC2.clearU5TXIE; inline;
  44014. begin
  44015. pTDefRegMap(@Self)^.clr := $00000800;
  44016. end;
  44017. procedure TINT_IEC2.setU5TXIE(thebits : TBits_1); inline;
  44018. begin
  44019. if thebits = 0 then
  44020. pTDefRegMap(@Self)^.clr := $00000800
  44021. else
  44022. pTDefRegMap(@Self)^.&set := $00000800;
  44023. end;
  44024. function TINT_IEC2.getU5TXIE : TBits_1; inline;
  44025. begin
  44026. getU5TXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44027. end;
  44028. procedure TINT_IEC2.setw(thebits : TBits_32); inline;
  44029. begin
  44030. pTDefRegMap(@Self)^.val := thebits;
  44031. end;
  44032. function TINT_IEC2.getw : TBits_32; inline;
  44033. begin
  44034. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44035. end;
  44036. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  44037. begin
  44038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44039. end;
  44040. function TINT_IPC0.getCTIS : TBits_2; inline;
  44041. begin
  44042. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44043. end;
  44044. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  44045. begin
  44046. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44047. end;
  44048. function TINT_IPC0.getCTIP : TBits_3; inline;
  44049. begin
  44050. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44051. end;
  44052. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  44053. begin
  44054. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44055. end;
  44056. function TINT_IPC0.getCS0IS : TBits_2; inline;
  44057. begin
  44058. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44059. end;
  44060. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  44061. begin
  44062. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44063. end;
  44064. function TINT_IPC0.getCS0IP : TBits_3; inline;
  44065. begin
  44066. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44067. end;
  44068. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  44069. begin
  44070. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44071. end;
  44072. function TINT_IPC0.getCS1IS : TBits_2; inline;
  44073. begin
  44074. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44075. end;
  44076. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  44077. begin
  44078. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44079. end;
  44080. function TINT_IPC0.getCS1IP : TBits_3; inline;
  44081. begin
  44082. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44083. end;
  44084. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  44085. begin
  44086. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44087. end;
  44088. function TINT_IPC0.getINT0IS : TBits_2; inline;
  44089. begin
  44090. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44091. end;
  44092. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  44093. begin
  44094. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44095. end;
  44096. function TINT_IPC0.getINT0IP : TBits_3; inline;
  44097. begin
  44098. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44099. end;
  44100. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  44101. begin
  44102. pTDefRegMap(@Self)^.val := thebits;
  44103. end;
  44104. function TINT_IPC0.getw : TBits_32; inline;
  44105. begin
  44106. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44107. end;
  44108. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  44109. begin
  44110. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44111. end;
  44112. function TINT_IPC1.getT1IS : TBits_2; inline;
  44113. begin
  44114. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44115. end;
  44116. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  44117. begin
  44118. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44119. end;
  44120. function TINT_IPC1.getT1IP : TBits_3; inline;
  44121. begin
  44122. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44123. end;
  44124. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  44125. begin
  44126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44127. end;
  44128. function TINT_IPC1.getIC1IS : TBits_2; inline;
  44129. begin
  44130. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44131. end;
  44132. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  44133. begin
  44134. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44135. end;
  44136. function TINT_IPC1.getIC1IP : TBits_3; inline;
  44137. begin
  44138. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44139. end;
  44140. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  44141. begin
  44142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44143. end;
  44144. function TINT_IPC1.getOC1IS : TBits_2; inline;
  44145. begin
  44146. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44147. end;
  44148. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  44149. begin
  44150. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44151. end;
  44152. function TINT_IPC1.getOC1IP : TBits_3; inline;
  44153. begin
  44154. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44155. end;
  44156. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  44157. begin
  44158. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44159. end;
  44160. function TINT_IPC1.getINT1IS : TBits_2; inline;
  44161. begin
  44162. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44163. end;
  44164. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  44165. begin
  44166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44167. end;
  44168. function TINT_IPC1.getINT1IP : TBits_3; inline;
  44169. begin
  44170. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44171. end;
  44172. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  44173. begin
  44174. pTDefRegMap(@Self)^.val := thebits;
  44175. end;
  44176. function TINT_IPC1.getw : TBits_32; inline;
  44177. begin
  44178. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44179. end;
  44180. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  44181. begin
  44182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44183. end;
  44184. function TINT_IPC2.getT2IS : TBits_2; inline;
  44185. begin
  44186. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44187. end;
  44188. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  44189. begin
  44190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44191. end;
  44192. function TINT_IPC2.getT2IP : TBits_3; inline;
  44193. begin
  44194. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44195. end;
  44196. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  44197. begin
  44198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44199. end;
  44200. function TINT_IPC2.getIC2IS : TBits_2; inline;
  44201. begin
  44202. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44203. end;
  44204. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  44205. begin
  44206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44207. end;
  44208. function TINT_IPC2.getIC2IP : TBits_3; inline;
  44209. begin
  44210. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44211. end;
  44212. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  44213. begin
  44214. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44215. end;
  44216. function TINT_IPC2.getOC2IS : TBits_2; inline;
  44217. begin
  44218. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44219. end;
  44220. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  44221. begin
  44222. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44223. end;
  44224. function TINT_IPC2.getOC2IP : TBits_3; inline;
  44225. begin
  44226. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44227. end;
  44228. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  44229. begin
  44230. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44231. end;
  44232. function TINT_IPC2.getINT2IS : TBits_2; inline;
  44233. begin
  44234. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44235. end;
  44236. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  44237. begin
  44238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44239. end;
  44240. function TINT_IPC2.getINT2IP : TBits_3; inline;
  44241. begin
  44242. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44243. end;
  44244. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  44245. begin
  44246. pTDefRegMap(@Self)^.val := thebits;
  44247. end;
  44248. function TINT_IPC2.getw : TBits_32; inline;
  44249. begin
  44250. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44251. end;
  44252. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  44253. begin
  44254. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44255. end;
  44256. function TINT_IPC3.getT3IS : TBits_2; inline;
  44257. begin
  44258. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44259. end;
  44260. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  44261. begin
  44262. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44263. end;
  44264. function TINT_IPC3.getT3IP : TBits_3; inline;
  44265. begin
  44266. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44267. end;
  44268. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  44269. begin
  44270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44271. end;
  44272. function TINT_IPC3.getIC3IS : TBits_2; inline;
  44273. begin
  44274. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44275. end;
  44276. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  44277. begin
  44278. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44279. end;
  44280. function TINT_IPC3.getIC3IP : TBits_3; inline;
  44281. begin
  44282. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44283. end;
  44284. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  44285. begin
  44286. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44287. end;
  44288. function TINT_IPC3.getOC3IS : TBits_2; inline;
  44289. begin
  44290. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44291. end;
  44292. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  44293. begin
  44294. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44295. end;
  44296. function TINT_IPC3.getOC3IP : TBits_3; inline;
  44297. begin
  44298. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44299. end;
  44300. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  44301. begin
  44302. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44303. end;
  44304. function TINT_IPC3.getINT3IS : TBits_2; inline;
  44305. begin
  44306. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44307. end;
  44308. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  44309. begin
  44310. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44311. end;
  44312. function TINT_IPC3.getINT3IP : TBits_3; inline;
  44313. begin
  44314. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44315. end;
  44316. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  44317. begin
  44318. pTDefRegMap(@Self)^.val := thebits;
  44319. end;
  44320. function TINT_IPC3.getw : TBits_32; inline;
  44321. begin
  44322. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44323. end;
  44324. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  44325. begin
  44326. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44327. end;
  44328. function TINT_IPC4.getT4IS : TBits_2; inline;
  44329. begin
  44330. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44331. end;
  44332. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  44333. begin
  44334. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44335. end;
  44336. function TINT_IPC4.getT4IP : TBits_3; inline;
  44337. begin
  44338. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44339. end;
  44340. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  44341. begin
  44342. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44343. end;
  44344. function TINT_IPC4.getIC4IS : TBits_2; inline;
  44345. begin
  44346. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44347. end;
  44348. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  44349. begin
  44350. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44351. end;
  44352. function TINT_IPC4.getIC4IP : TBits_3; inline;
  44353. begin
  44354. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44355. end;
  44356. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  44357. begin
  44358. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44359. end;
  44360. function TINT_IPC4.getOC4IS : TBits_2; inline;
  44361. begin
  44362. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44363. end;
  44364. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  44365. begin
  44366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44367. end;
  44368. function TINT_IPC4.getOC4IP : TBits_3; inline;
  44369. begin
  44370. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44371. end;
  44372. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  44373. begin
  44374. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44375. end;
  44376. function TINT_IPC4.getINT4IS : TBits_2; inline;
  44377. begin
  44378. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44379. end;
  44380. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  44381. begin
  44382. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44383. end;
  44384. function TINT_IPC4.getINT4IP : TBits_3; inline;
  44385. begin
  44386. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44387. end;
  44388. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  44389. begin
  44390. pTDefRegMap(@Self)^.val := thebits;
  44391. end;
  44392. function TINT_IPC4.getw : TBits_32; inline;
  44393. begin
  44394. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44395. end;
  44396. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  44397. begin
  44398. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44399. end;
  44400. function TINT_IPC5.getT5IS : TBits_2; inline;
  44401. begin
  44402. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44403. end;
  44404. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  44405. begin
  44406. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44407. end;
  44408. function TINT_IPC5.getT5IP : TBits_3; inline;
  44409. begin
  44410. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44411. end;
  44412. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  44413. begin
  44414. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44415. end;
  44416. function TINT_IPC5.getIC5IS : TBits_2; inline;
  44417. begin
  44418. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44419. end;
  44420. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  44421. begin
  44422. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44423. end;
  44424. function TINT_IPC5.getIC5IP : TBits_3; inline;
  44425. begin
  44426. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44427. end;
  44428. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  44429. begin
  44430. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44431. end;
  44432. function TINT_IPC5.getOC5IS : TBits_2; inline;
  44433. begin
  44434. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44435. end;
  44436. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  44437. begin
  44438. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44439. end;
  44440. function TINT_IPC5.getOC5IP : TBits_3; inline;
  44441. begin
  44442. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44443. end;
  44444. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  44445. begin
  44446. pTDefRegMap(@Self)^.val := thebits;
  44447. end;
  44448. function TINT_IPC5.getw : TBits_32; inline;
  44449. begin
  44450. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44451. end;
  44452. procedure TINT_IPC6.setU1IS(thebits : TBits_2); inline;
  44453. begin
  44454. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44455. end;
  44456. function TINT_IPC6.getU1IS : TBits_2; inline;
  44457. begin
  44458. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44459. end;
  44460. procedure TINT_IPC6.setU1IP(thebits : TBits_3); inline;
  44461. begin
  44462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44463. end;
  44464. function TINT_IPC6.getU1IP : TBits_3; inline;
  44465. begin
  44466. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44467. end;
  44468. procedure TINT_IPC6.setI2C1IS(thebits : TBits_2); inline;
  44469. begin
  44470. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44471. end;
  44472. function TINT_IPC6.getI2C1IS : TBits_2; inline;
  44473. begin
  44474. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44475. end;
  44476. procedure TINT_IPC6.setI2C1IP(thebits : TBits_3); inline;
  44477. begin
  44478. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44479. end;
  44480. function TINT_IPC6.getI2C1IP : TBits_3; inline;
  44481. begin
  44482. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44483. end;
  44484. procedure TINT_IPC6.setCNIS(thebits : TBits_2); inline;
  44485. begin
  44486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44487. end;
  44488. function TINT_IPC6.getCNIS : TBits_2; inline;
  44489. begin
  44490. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44491. end;
  44492. procedure TINT_IPC6.setCNIP(thebits : TBits_3); inline;
  44493. begin
  44494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44495. end;
  44496. function TINT_IPC6.getCNIP : TBits_3; inline;
  44497. begin
  44498. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44499. end;
  44500. procedure TINT_IPC6.setAD1IS(thebits : TBits_2); inline;
  44501. begin
  44502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44503. end;
  44504. function TINT_IPC6.getAD1IS : TBits_2; inline;
  44505. begin
  44506. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44507. end;
  44508. procedure TINT_IPC6.setAD1IP(thebits : TBits_3); inline;
  44509. begin
  44510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44511. end;
  44512. function TINT_IPC6.getAD1IP : TBits_3; inline;
  44513. begin
  44514. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44515. end;
  44516. procedure TINT_IPC6.setU1AIS(thebits : TBits_2); inline;
  44517. begin
  44518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44519. end;
  44520. function TINT_IPC6.getU1AIS : TBits_2; inline;
  44521. begin
  44522. getU1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44523. end;
  44524. procedure TINT_IPC6.setU1AIP(thebits : TBits_3); inline;
  44525. begin
  44526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44527. end;
  44528. function TINT_IPC6.getU1AIP : TBits_3; inline;
  44529. begin
  44530. getU1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44531. end;
  44532. procedure TINT_IPC6.setSPI3IS(thebits : TBits_2); inline;
  44533. begin
  44534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44535. end;
  44536. function TINT_IPC6.getSPI3IS : TBits_2; inline;
  44537. begin
  44538. getSPI3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44539. end;
  44540. procedure TINT_IPC6.setSPI3IP(thebits : TBits_3); inline;
  44541. begin
  44542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44543. end;
  44544. function TINT_IPC6.getSPI3IP : TBits_3; inline;
  44545. begin
  44546. getSPI3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44547. end;
  44548. procedure TINT_IPC6.setSPI1AIS(thebits : TBits_2); inline;
  44549. begin
  44550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44551. end;
  44552. function TINT_IPC6.getSPI1AIS : TBits_2; inline;
  44553. begin
  44554. getSPI1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44555. end;
  44556. procedure TINT_IPC6.setSPI1AIP(thebits : TBits_3); inline;
  44557. begin
  44558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44559. end;
  44560. function TINT_IPC6.getSPI1AIP : TBits_3; inline;
  44561. begin
  44562. getSPI1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44563. end;
  44564. procedure TINT_IPC6.setI2C3IS(thebits : TBits_2); inline;
  44565. begin
  44566. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44567. end;
  44568. function TINT_IPC6.getI2C3IS : TBits_2; inline;
  44569. begin
  44570. getI2C3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44571. end;
  44572. procedure TINT_IPC6.setI2C3IP(thebits : TBits_3); inline;
  44573. begin
  44574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44575. end;
  44576. function TINT_IPC6.getI2C3IP : TBits_3; inline;
  44577. begin
  44578. getI2C3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44579. end;
  44580. procedure TINT_IPC6.setI2C1AIS(thebits : TBits_2); inline;
  44581. begin
  44582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44583. end;
  44584. function TINT_IPC6.getI2C1AIS : TBits_2; inline;
  44585. begin
  44586. getI2C1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44587. end;
  44588. procedure TINT_IPC6.setI2C1AIP(thebits : TBits_3); inline;
  44589. begin
  44590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44591. end;
  44592. function TINT_IPC6.getI2C1AIP : TBits_3; inline;
  44593. begin
  44594. getI2C1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44595. end;
  44596. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  44597. begin
  44598. pTDefRegMap(@Self)^.val := thebits;
  44599. end;
  44600. function TINT_IPC6.getw : TBits_32; inline;
  44601. begin
  44602. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44603. end;
  44604. procedure TINT_IPC7.setPMPIS(thebits : TBits_2); inline;
  44605. begin
  44606. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44607. end;
  44608. function TINT_IPC7.getPMPIS : TBits_2; inline;
  44609. begin
  44610. getPMPIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44611. end;
  44612. procedure TINT_IPC7.setPMPIP(thebits : TBits_3); inline;
  44613. begin
  44614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44615. end;
  44616. function TINT_IPC7.getPMPIP : TBits_3; inline;
  44617. begin
  44618. getPMPIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44619. end;
  44620. procedure TINT_IPC7.setCMP1IS(thebits : TBits_2); inline;
  44621. begin
  44622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44623. end;
  44624. function TINT_IPC7.getCMP1IS : TBits_2; inline;
  44625. begin
  44626. getCMP1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44627. end;
  44628. procedure TINT_IPC7.setCMP1IP(thebits : TBits_3); inline;
  44629. begin
  44630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44631. end;
  44632. function TINT_IPC7.getCMP1IP : TBits_3; inline;
  44633. begin
  44634. getCMP1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44635. end;
  44636. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  44637. begin
  44638. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44639. end;
  44640. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  44641. begin
  44642. getCMP2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44643. end;
  44644. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  44645. begin
  44646. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44647. end;
  44648. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  44649. begin
  44650. getCMP2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44651. end;
  44652. procedure TINT_IPC7.setU3IS(thebits : TBits_2); inline;
  44653. begin
  44654. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44655. end;
  44656. function TINT_IPC7.getU3IS : TBits_2; inline;
  44657. begin
  44658. getU3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44659. end;
  44660. procedure TINT_IPC7.setU3IP(thebits : TBits_3); inline;
  44661. begin
  44662. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44663. end;
  44664. function TINT_IPC7.getU3IP : TBits_3; inline;
  44665. begin
  44666. getU3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44667. end;
  44668. procedure TINT_IPC7.setU2AIS(thebits : TBits_2); inline;
  44669. begin
  44670. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44671. end;
  44672. function TINT_IPC7.getU2AIS : TBits_2; inline;
  44673. begin
  44674. getU2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44675. end;
  44676. procedure TINT_IPC7.setU2AIP(thebits : TBits_3); inline;
  44677. begin
  44678. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44679. end;
  44680. function TINT_IPC7.getU2AIP : TBits_3; inline;
  44681. begin
  44682. getU2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44683. end;
  44684. procedure TINT_IPC7.setSPI2IS(thebits : TBits_2); inline;
  44685. begin
  44686. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44687. end;
  44688. function TINT_IPC7.getSPI2IS : TBits_2; inline;
  44689. begin
  44690. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44691. end;
  44692. procedure TINT_IPC7.setSPI2IP(thebits : TBits_3); inline;
  44693. begin
  44694. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44695. end;
  44696. function TINT_IPC7.getSPI2IP : TBits_3; inline;
  44697. begin
  44698. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44699. end;
  44700. procedure TINT_IPC7.setSPI2AIS(thebits : TBits_2); inline;
  44701. begin
  44702. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44703. end;
  44704. function TINT_IPC7.getSPI2AIS : TBits_2; inline;
  44705. begin
  44706. getSPI2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44707. end;
  44708. procedure TINT_IPC7.setSPI2AIP(thebits : TBits_3); inline;
  44709. begin
  44710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44711. end;
  44712. function TINT_IPC7.getSPI2AIP : TBits_3; inline;
  44713. begin
  44714. getSPI2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44715. end;
  44716. procedure TINT_IPC7.setI2C4IS(thebits : TBits_2); inline;
  44717. begin
  44718. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44719. end;
  44720. function TINT_IPC7.getI2C4IS : TBits_2; inline;
  44721. begin
  44722. getI2C4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44723. end;
  44724. procedure TINT_IPC7.setI2C4IP(thebits : TBits_3); inline;
  44725. begin
  44726. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44727. end;
  44728. function TINT_IPC7.getI2C4IP : TBits_3; inline;
  44729. begin
  44730. getI2C4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44731. end;
  44732. procedure TINT_IPC7.setI2C2AIS(thebits : TBits_2); inline;
  44733. begin
  44734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44735. end;
  44736. function TINT_IPC7.getI2C2AIS : TBits_2; inline;
  44737. begin
  44738. getI2C2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44739. end;
  44740. procedure TINT_IPC7.setI2C2AIP(thebits : TBits_3); inline;
  44741. begin
  44742. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44743. end;
  44744. function TINT_IPC7.getI2C2AIP : TBits_3; inline;
  44745. begin
  44746. getI2C2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44747. end;
  44748. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  44749. begin
  44750. pTDefRegMap(@Self)^.val := thebits;
  44751. end;
  44752. function TINT_IPC7.getw : TBits_32; inline;
  44753. begin
  44754. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44755. end;
  44756. procedure TINT_IPC8.setU2IS(thebits : TBits_2); inline;
  44757. begin
  44758. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44759. end;
  44760. function TINT_IPC8.getU2IS : TBits_2; inline;
  44761. begin
  44762. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44763. end;
  44764. procedure TINT_IPC8.setU2IP(thebits : TBits_3); inline;
  44765. begin
  44766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44767. end;
  44768. function TINT_IPC8.getU2IP : TBits_3; inline;
  44769. begin
  44770. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44771. end;
  44772. procedure TINT_IPC8.setFSCMIS(thebits : TBits_2); inline;
  44773. begin
  44774. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44775. end;
  44776. function TINT_IPC8.getFSCMIS : TBits_2; inline;
  44777. begin
  44778. getFSCMIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44779. end;
  44780. procedure TINT_IPC8.setFSCMIP(thebits : TBits_3); inline;
  44781. begin
  44782. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44783. end;
  44784. function TINT_IPC8.getFSCMIP : TBits_3; inline;
  44785. begin
  44786. getFSCMIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44787. end;
  44788. procedure TINT_IPC8.setRTCCIS(thebits : TBits_2); inline;
  44789. begin
  44790. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44791. end;
  44792. function TINT_IPC8.getRTCCIS : TBits_2; inline;
  44793. begin
  44794. getRTCCIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44795. end;
  44796. procedure TINT_IPC8.setRTCCIP(thebits : TBits_3); inline;
  44797. begin
  44798. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44799. end;
  44800. function TINT_IPC8.getRTCCIP : TBits_3; inline;
  44801. begin
  44802. getRTCCIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44803. end;
  44804. procedure TINT_IPC8.setU3AIS(thebits : TBits_2); inline;
  44805. begin
  44806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44807. end;
  44808. function TINT_IPC8.getU3AIS : TBits_2; inline;
  44809. begin
  44810. getU3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44811. end;
  44812. procedure TINT_IPC8.setU3AIP(thebits : TBits_3); inline;
  44813. begin
  44814. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44815. end;
  44816. function TINT_IPC8.getU3AIP : TBits_3; inline;
  44817. begin
  44818. getU3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44819. end;
  44820. procedure TINT_IPC8.setSPI4IS(thebits : TBits_2); inline;
  44821. begin
  44822. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44823. end;
  44824. function TINT_IPC8.getSPI4IS : TBits_2; inline;
  44825. begin
  44826. getSPI4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44827. end;
  44828. procedure TINT_IPC8.setSPI4IP(thebits : TBits_3); inline;
  44829. begin
  44830. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44831. end;
  44832. function TINT_IPC8.getSPI4IP : TBits_3; inline;
  44833. begin
  44834. getSPI4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44835. end;
  44836. procedure TINT_IPC8.setSPI3AIS(thebits : TBits_2); inline;
  44837. begin
  44838. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44839. end;
  44840. function TINT_IPC8.getSPI3AIS : TBits_2; inline;
  44841. begin
  44842. getSPI3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44843. end;
  44844. procedure TINT_IPC8.setSPI3AIP(thebits : TBits_3); inline;
  44845. begin
  44846. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44847. end;
  44848. function TINT_IPC8.getSPI3AIP : TBits_3; inline;
  44849. begin
  44850. getSPI3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44851. end;
  44852. procedure TINT_IPC8.setI2C5IS(thebits : TBits_2); inline;
  44853. begin
  44854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44855. end;
  44856. function TINT_IPC8.getI2C5IS : TBits_2; inline;
  44857. begin
  44858. getI2C5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44859. end;
  44860. procedure TINT_IPC8.setI2C5IP(thebits : TBits_3); inline;
  44861. begin
  44862. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44863. end;
  44864. function TINT_IPC8.getI2C5IP : TBits_3; inline;
  44865. begin
  44866. getI2C5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44867. end;
  44868. procedure TINT_IPC8.setI2C3AIS(thebits : TBits_2); inline;
  44869. begin
  44870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44871. end;
  44872. function TINT_IPC8.getI2C3AIS : TBits_2; inline;
  44873. begin
  44874. getI2C3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44875. end;
  44876. procedure TINT_IPC8.setI2C3AIP(thebits : TBits_3); inline;
  44877. begin
  44878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44879. end;
  44880. function TINT_IPC8.getI2C3AIP : TBits_3; inline;
  44881. begin
  44882. getI2C3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44883. end;
  44884. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  44885. begin
  44886. pTDefRegMap(@Self)^.val := thebits;
  44887. end;
  44888. function TINT_IPC8.getw : TBits_32; inline;
  44889. begin
  44890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44891. end;
  44892. procedure TINT_IPC9.setDMA0IS(thebits : TBits_2); inline;
  44893. begin
  44894. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44895. end;
  44896. function TINT_IPC9.getDMA0IS : TBits_2; inline;
  44897. begin
  44898. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44899. end;
  44900. procedure TINT_IPC9.setDMA0IP(thebits : TBits_3); inline;
  44901. begin
  44902. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44903. end;
  44904. function TINT_IPC9.getDMA0IP : TBits_3; inline;
  44905. begin
  44906. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44907. end;
  44908. procedure TINT_IPC9.setDMA1IS(thebits : TBits_2); inline;
  44909. begin
  44910. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44911. end;
  44912. function TINT_IPC9.getDMA1IS : TBits_2; inline;
  44913. begin
  44914. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44915. end;
  44916. procedure TINT_IPC9.setDMA1IP(thebits : TBits_3); inline;
  44917. begin
  44918. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44919. end;
  44920. function TINT_IPC9.getDMA1IP : TBits_3; inline;
  44921. begin
  44922. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44923. end;
  44924. procedure TINT_IPC9.setDMA2IS(thebits : TBits_2); inline;
  44925. begin
  44926. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  44927. end;
  44928. function TINT_IPC9.getDMA2IS : TBits_2; inline;
  44929. begin
  44930. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  44931. end;
  44932. procedure TINT_IPC9.setDMA2IP(thebits : TBits_3); inline;
  44933. begin
  44934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  44935. end;
  44936. function TINT_IPC9.getDMA2IP : TBits_3; inline;
  44937. begin
  44938. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  44939. end;
  44940. procedure TINT_IPC9.setDMA3IS(thebits : TBits_2); inline;
  44941. begin
  44942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  44943. end;
  44944. function TINT_IPC9.getDMA3IS : TBits_2; inline;
  44945. begin
  44946. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  44947. end;
  44948. procedure TINT_IPC9.setDMA3IP(thebits : TBits_3); inline;
  44949. begin
  44950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  44951. end;
  44952. function TINT_IPC9.getDMA3IP : TBits_3; inline;
  44953. begin
  44954. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  44955. end;
  44956. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  44957. begin
  44958. pTDefRegMap(@Self)^.val := thebits;
  44959. end;
  44960. function TINT_IPC9.getw : TBits_32; inline;
  44961. begin
  44962. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44963. end;
  44964. procedure TINT_IPC11.setFCEIS(thebits : TBits_2); inline;
  44965. begin
  44966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  44967. end;
  44968. function TINT_IPC11.getFCEIS : TBits_2; inline;
  44969. begin
  44970. getFCEIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  44971. end;
  44972. procedure TINT_IPC11.setFCEIP(thebits : TBits_3); inline;
  44973. begin
  44974. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  44975. end;
  44976. function TINT_IPC11.getFCEIP : TBits_3; inline;
  44977. begin
  44978. getFCEIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  44979. end;
  44980. procedure TINT_IPC11.setUSBIS(thebits : TBits_2); inline;
  44981. begin
  44982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  44983. end;
  44984. function TINT_IPC11.getUSBIS : TBits_2; inline;
  44985. begin
  44986. getUSBIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  44987. end;
  44988. procedure TINT_IPC11.setUSBIP(thebits : TBits_3); inline;
  44989. begin
  44990. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  44991. end;
  44992. function TINT_IPC11.getUSBIP : TBits_3; inline;
  44993. begin
  44994. getUSBIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  44995. end;
  44996. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  44997. begin
  44998. pTDefRegMap(@Self)^.val := thebits;
  44999. end;
  45000. function TINT_IPC11.getw : TBits_32; inline;
  45001. begin
  45002. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45003. end;
  45004. procedure TINT_IPC12.setETHIS(thebits : TBits_2); inline;
  45005. begin
  45006. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45007. end;
  45008. function TINT_IPC12.getETHIS : TBits_2; inline;
  45009. begin
  45010. getETHIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45011. end;
  45012. procedure TINT_IPC12.setETHIP(thebits : TBits_3); inline;
  45013. begin
  45014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  45015. end;
  45016. function TINT_IPC12.getETHIP : TBits_3; inline;
  45017. begin
  45018. getETHIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  45019. end;
  45020. procedure TINT_IPC12.setU4IS(thebits : TBits_2); inline;
  45021. begin
  45022. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45023. end;
  45024. function TINT_IPC12.getU4IS : TBits_2; inline;
  45025. begin
  45026. getU4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45027. end;
  45028. procedure TINT_IPC12.setU4IP(thebits : TBits_3); inline;
  45029. begin
  45030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45031. end;
  45032. function TINT_IPC12.getU4IP : TBits_3; inline;
  45033. begin
  45034. getU4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45035. end;
  45036. procedure TINT_IPC12.setU6IS(thebits : TBits_2); inline;
  45037. begin
  45038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45039. end;
  45040. function TINT_IPC12.getU6IS : TBits_2; inline;
  45041. begin
  45042. getU6IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45043. end;
  45044. procedure TINT_IPC12.setU6IP(thebits : TBits_3); inline;
  45045. begin
  45046. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45047. end;
  45048. function TINT_IPC12.getU6IP : TBits_3; inline;
  45049. begin
  45050. getU6IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45051. end;
  45052. procedure TINT_IPC12.setU5IS(thebits : TBits_2); inline;
  45053. begin
  45054. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45055. end;
  45056. function TINT_IPC12.getU5IS : TBits_2; inline;
  45057. begin
  45058. getU5IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45059. end;
  45060. procedure TINT_IPC12.setU5IP(thebits : TBits_3); inline;
  45061. begin
  45062. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45063. end;
  45064. function TINT_IPC12.getU5IP : TBits_3; inline;
  45065. begin
  45066. getU5IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45067. end;
  45068. procedure TINT_IPC12.setU1BIS(thebits : TBits_2); inline;
  45069. begin
  45070. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  45071. end;
  45072. function TINT_IPC12.getU1BIS : TBits_2; inline;
  45073. begin
  45074. getU1BIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  45075. end;
  45076. procedure TINT_IPC12.setU1BIP(thebits : TBits_3); inline;
  45077. begin
  45078. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  45079. end;
  45080. function TINT_IPC12.getU1BIP : TBits_3; inline;
  45081. begin
  45082. getU1BIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  45083. end;
  45084. procedure TINT_IPC12.setU2BIS(thebits : TBits_2); inline;
  45085. begin
  45086. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  45087. end;
  45088. function TINT_IPC12.getU2BIS : TBits_2; inline;
  45089. begin
  45090. getU2BIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  45091. end;
  45092. procedure TINT_IPC12.setU2BIP(thebits : TBits_3); inline;
  45093. begin
  45094. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  45095. end;
  45096. function TINT_IPC12.getU2BIP : TBits_3; inline;
  45097. begin
  45098. getU2BIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  45099. end;
  45100. procedure TINT_IPC12.setU3BIS(thebits : TBits_2); inline;
  45101. begin
  45102. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  45103. end;
  45104. function TINT_IPC12.getU3BIS : TBits_2; inline;
  45105. begin
  45106. getU3BIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  45107. end;
  45108. procedure TINT_IPC12.setU3BIP(thebits : TBits_3); inline;
  45109. begin
  45110. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  45111. end;
  45112. function TINT_IPC12.getU3BIP : TBits_3; inline;
  45113. begin
  45114. getU3BIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  45115. end;
  45116. procedure TINT_IPC12.setw(thebits : TBits_32); inline;
  45117. begin
  45118. pTDefRegMap(@Self)^.val := thebits;
  45119. end;
  45120. function TINT_IPC12.getw : TBits_32; inline;
  45121. begin
  45122. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45123. end;
  45124. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  45125. begin
  45126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  45127. end;
  45128. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  45129. begin
  45130. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  45131. end;
  45132. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  45133. begin
  45134. pTDefRegMap(@Self)^.&set := $00000040;
  45135. end;
  45136. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  45137. begin
  45138. pTDefRegMap(@Self)^.clr := $00000040;
  45139. end;
  45140. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  45141. begin
  45142. if thebits = 0 then
  45143. pTDefRegMap(@Self)^.clr := $00000040
  45144. else
  45145. pTDefRegMap(@Self)^.&set := $00000040;
  45146. end;
  45147. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  45148. begin
  45149. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45150. end;
  45151. procedure TBMX_BMXCON.setBMXERRIS; inline;
  45152. begin
  45153. pTDefRegMap(@Self)^.&set := $00010000;
  45154. end;
  45155. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  45156. begin
  45157. pTDefRegMap(@Self)^.clr := $00010000;
  45158. end;
  45159. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  45160. begin
  45161. if thebits = 0 then
  45162. pTDefRegMap(@Self)^.clr := $00010000
  45163. else
  45164. pTDefRegMap(@Self)^.&set := $00010000;
  45165. end;
  45166. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  45167. begin
  45168. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  45169. end;
  45170. procedure TBMX_BMXCON.setBMXERRDS; inline;
  45171. begin
  45172. pTDefRegMap(@Self)^.&set := $00020000;
  45173. end;
  45174. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  45175. begin
  45176. pTDefRegMap(@Self)^.clr := $00020000;
  45177. end;
  45178. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  45179. begin
  45180. if thebits = 0 then
  45181. pTDefRegMap(@Self)^.clr := $00020000
  45182. else
  45183. pTDefRegMap(@Self)^.&set := $00020000;
  45184. end;
  45185. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  45186. begin
  45187. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  45188. end;
  45189. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  45190. begin
  45191. pTDefRegMap(@Self)^.&set := $00040000;
  45192. end;
  45193. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  45194. begin
  45195. pTDefRegMap(@Self)^.clr := $00040000;
  45196. end;
  45197. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  45198. begin
  45199. if thebits = 0 then
  45200. pTDefRegMap(@Self)^.clr := $00040000
  45201. else
  45202. pTDefRegMap(@Self)^.&set := $00040000;
  45203. end;
  45204. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  45205. begin
  45206. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  45207. end;
  45208. procedure TBMX_BMXCON.setBMXERRICD; inline;
  45209. begin
  45210. pTDefRegMap(@Self)^.&set := $00080000;
  45211. end;
  45212. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  45213. begin
  45214. pTDefRegMap(@Self)^.clr := $00080000;
  45215. end;
  45216. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  45217. begin
  45218. if thebits = 0 then
  45219. pTDefRegMap(@Self)^.clr := $00080000
  45220. else
  45221. pTDefRegMap(@Self)^.&set := $00080000;
  45222. end;
  45223. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  45224. begin
  45225. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  45226. end;
  45227. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  45228. begin
  45229. pTDefRegMap(@Self)^.&set := $00100000;
  45230. end;
  45231. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  45232. begin
  45233. pTDefRegMap(@Self)^.clr := $00100000;
  45234. end;
  45235. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  45236. begin
  45237. if thebits = 0 then
  45238. pTDefRegMap(@Self)^.clr := $00100000
  45239. else
  45240. pTDefRegMap(@Self)^.&set := $00100000;
  45241. end;
  45242. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  45243. begin
  45244. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  45245. end;
  45246. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  45247. begin
  45248. pTDefRegMap(@Self)^.&set := $04000000;
  45249. end;
  45250. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  45251. begin
  45252. pTDefRegMap(@Self)^.clr := $04000000;
  45253. end;
  45254. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  45255. begin
  45256. if thebits = 0 then
  45257. pTDefRegMap(@Self)^.clr := $04000000
  45258. else
  45259. pTDefRegMap(@Self)^.&set := $04000000;
  45260. end;
  45261. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  45262. begin
  45263. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45264. end;
  45265. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  45266. begin
  45267. pTDefRegMap(@Self)^.val := thebits;
  45268. end;
  45269. function TBMX_BMXCON.getw : TBits_32; inline;
  45270. begin
  45271. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45272. end;
  45273. procedure TDMAC_DMACON.setDMABUSY; inline;
  45274. begin
  45275. pTDefRegMap(@Self)^.&set := $00000800;
  45276. end;
  45277. procedure TDMAC_DMACON.clearDMABUSY; inline;
  45278. begin
  45279. pTDefRegMap(@Self)^.clr := $00000800;
  45280. end;
  45281. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  45282. begin
  45283. if thebits = 0 then
  45284. pTDefRegMap(@Self)^.clr := $00000800
  45285. else
  45286. pTDefRegMap(@Self)^.&set := $00000800;
  45287. end;
  45288. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  45289. begin
  45290. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45291. end;
  45292. procedure TDMAC_DMACON.setSUSPEND; inline;
  45293. begin
  45294. pTDefRegMap(@Self)^.&set := $00001000;
  45295. end;
  45296. procedure TDMAC_DMACON.clearSUSPEND; inline;
  45297. begin
  45298. pTDefRegMap(@Self)^.clr := $00001000;
  45299. end;
  45300. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  45301. begin
  45302. if thebits = 0 then
  45303. pTDefRegMap(@Self)^.clr := $00001000
  45304. else
  45305. pTDefRegMap(@Self)^.&set := $00001000;
  45306. end;
  45307. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  45308. begin
  45309. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45310. end;
  45311. procedure TDMAC_DMACON.setON; inline;
  45312. begin
  45313. pTDefRegMap(@Self)^.&set := $00008000;
  45314. end;
  45315. procedure TDMAC_DMACON.clearON; inline;
  45316. begin
  45317. pTDefRegMap(@Self)^.clr := $00008000;
  45318. end;
  45319. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  45320. begin
  45321. if thebits = 0 then
  45322. pTDefRegMap(@Self)^.clr := $00008000
  45323. else
  45324. pTDefRegMap(@Self)^.&set := $00008000;
  45325. end;
  45326. function TDMAC_DMACON.getON : TBits_1; inline;
  45327. begin
  45328. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45329. end;
  45330. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  45331. begin
  45332. pTDefRegMap(@Self)^.val := thebits;
  45333. end;
  45334. function TDMAC_DMACON.getw : TBits_32; inline;
  45335. begin
  45336. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45337. end;
  45338. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  45339. begin
  45340. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  45341. end;
  45342. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  45343. begin
  45344. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  45345. end;
  45346. procedure TDMAC_DMASTAT.setRDWR; inline;
  45347. begin
  45348. pTDefRegMap(@Self)^.&set := $00000008;
  45349. end;
  45350. procedure TDMAC_DMASTAT.clearRDWR; inline;
  45351. begin
  45352. pTDefRegMap(@Self)^.clr := $00000008;
  45353. end;
  45354. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  45355. begin
  45356. if thebits = 0 then
  45357. pTDefRegMap(@Self)^.clr := $00000008
  45358. else
  45359. pTDefRegMap(@Self)^.&set := $00000008;
  45360. end;
  45361. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  45362. begin
  45363. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45364. end;
  45365. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  45366. begin
  45367. pTDefRegMap(@Self)^.val := thebits;
  45368. end;
  45369. function TDMAC_DMASTAT.getw : TBits_32; inline;
  45370. begin
  45371. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45372. end;
  45373. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  45374. begin
  45375. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  45376. end;
  45377. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  45378. begin
  45379. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  45380. end;
  45381. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  45382. begin
  45383. pTDefRegMap(@Self)^.&set := $00000020;
  45384. end;
  45385. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  45386. begin
  45387. pTDefRegMap(@Self)^.clr := $00000020;
  45388. end;
  45389. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  45390. begin
  45391. if thebits = 0 then
  45392. pTDefRegMap(@Self)^.clr := $00000020
  45393. else
  45394. pTDefRegMap(@Self)^.&set := $00000020;
  45395. end;
  45396. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  45397. begin
  45398. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45399. end;
  45400. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  45401. begin
  45402. pTDefRegMap(@Self)^.&set := $00000040;
  45403. end;
  45404. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  45405. begin
  45406. pTDefRegMap(@Self)^.clr := $00000040;
  45407. end;
  45408. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  45409. begin
  45410. if thebits = 0 then
  45411. pTDefRegMap(@Self)^.clr := $00000040
  45412. else
  45413. pTDefRegMap(@Self)^.&set := $00000040;
  45414. end;
  45415. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  45416. begin
  45417. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45418. end;
  45419. procedure TDMAC_DCRCCON.setCRCEN; inline;
  45420. begin
  45421. pTDefRegMap(@Self)^.&set := $00000080;
  45422. end;
  45423. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  45424. begin
  45425. pTDefRegMap(@Self)^.clr := $00000080;
  45426. end;
  45427. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  45428. begin
  45429. if thebits = 0 then
  45430. pTDefRegMap(@Self)^.clr := $00000080
  45431. else
  45432. pTDefRegMap(@Self)^.&set := $00000080;
  45433. end;
  45434. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  45435. begin
  45436. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45437. end;
  45438. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  45439. begin
  45440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  45441. end;
  45442. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  45443. begin
  45444. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  45445. end;
  45446. procedure TDMAC_DCRCCON.setBITO; inline;
  45447. begin
  45448. pTDefRegMap(@Self)^.&set := $01000000;
  45449. end;
  45450. procedure TDMAC_DCRCCON.clearBITO; inline;
  45451. begin
  45452. pTDefRegMap(@Self)^.clr := $01000000;
  45453. end;
  45454. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  45455. begin
  45456. if thebits = 0 then
  45457. pTDefRegMap(@Self)^.clr := $01000000
  45458. else
  45459. pTDefRegMap(@Self)^.&set := $01000000;
  45460. end;
  45461. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  45462. begin
  45463. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  45464. end;
  45465. procedure TDMAC_DCRCCON.setWBO; inline;
  45466. begin
  45467. pTDefRegMap(@Self)^.&set := $08000000;
  45468. end;
  45469. procedure TDMAC_DCRCCON.clearWBO; inline;
  45470. begin
  45471. pTDefRegMap(@Self)^.clr := $08000000;
  45472. end;
  45473. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  45474. begin
  45475. if thebits = 0 then
  45476. pTDefRegMap(@Self)^.clr := $08000000
  45477. else
  45478. pTDefRegMap(@Self)^.&set := $08000000;
  45479. end;
  45480. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  45481. begin
  45482. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45483. end;
  45484. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  45485. begin
  45486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  45487. end;
  45488. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  45489. begin
  45490. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  45491. end;
  45492. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  45493. begin
  45494. pTDefRegMap(@Self)^.val := thebits;
  45495. end;
  45496. function TDMAC_DCRCCON.getw : TBits_32; inline;
  45497. begin
  45498. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45499. end;
  45500. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  45501. begin
  45502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  45503. end;
  45504. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  45505. begin
  45506. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  45507. end;
  45508. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  45509. begin
  45510. pTDefRegMap(@Self)^.&set := $00000004;
  45511. end;
  45512. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  45513. begin
  45514. pTDefRegMap(@Self)^.clr := $00000004;
  45515. end;
  45516. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  45517. begin
  45518. if thebits = 0 then
  45519. pTDefRegMap(@Self)^.clr := $00000004
  45520. else
  45521. pTDefRegMap(@Self)^.&set := $00000004;
  45522. end;
  45523. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  45524. begin
  45525. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45526. end;
  45527. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  45528. begin
  45529. pTDefRegMap(@Self)^.&set := $00000010;
  45530. end;
  45531. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  45532. begin
  45533. pTDefRegMap(@Self)^.clr := $00000010;
  45534. end;
  45535. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  45536. begin
  45537. if thebits = 0 then
  45538. pTDefRegMap(@Self)^.clr := $00000010
  45539. else
  45540. pTDefRegMap(@Self)^.&set := $00000010;
  45541. end;
  45542. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  45543. begin
  45544. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45545. end;
  45546. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  45547. begin
  45548. pTDefRegMap(@Self)^.&set := $00000020;
  45549. end;
  45550. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  45551. begin
  45552. pTDefRegMap(@Self)^.clr := $00000020;
  45553. end;
  45554. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  45555. begin
  45556. if thebits = 0 then
  45557. pTDefRegMap(@Self)^.clr := $00000020
  45558. else
  45559. pTDefRegMap(@Self)^.&set := $00000020;
  45560. end;
  45561. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  45562. begin
  45563. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45564. end;
  45565. procedure TDMAC0_DCH0CON.setCHAED; inline;
  45566. begin
  45567. pTDefRegMap(@Self)^.&set := $00000040;
  45568. end;
  45569. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  45570. begin
  45571. pTDefRegMap(@Self)^.clr := $00000040;
  45572. end;
  45573. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  45574. begin
  45575. if thebits = 0 then
  45576. pTDefRegMap(@Self)^.clr := $00000040
  45577. else
  45578. pTDefRegMap(@Self)^.&set := $00000040;
  45579. end;
  45580. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  45581. begin
  45582. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45583. end;
  45584. procedure TDMAC0_DCH0CON.setCHEN; inline;
  45585. begin
  45586. pTDefRegMap(@Self)^.&set := $00000080;
  45587. end;
  45588. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  45589. begin
  45590. pTDefRegMap(@Self)^.clr := $00000080;
  45591. end;
  45592. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  45593. begin
  45594. if thebits = 0 then
  45595. pTDefRegMap(@Self)^.clr := $00000080
  45596. else
  45597. pTDefRegMap(@Self)^.&set := $00000080;
  45598. end;
  45599. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  45600. begin
  45601. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45602. end;
  45603. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  45604. begin
  45605. pTDefRegMap(@Self)^.&set := $00000100;
  45606. end;
  45607. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  45608. begin
  45609. pTDefRegMap(@Self)^.clr := $00000100;
  45610. end;
  45611. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  45612. begin
  45613. if thebits = 0 then
  45614. pTDefRegMap(@Self)^.clr := $00000100
  45615. else
  45616. pTDefRegMap(@Self)^.&set := $00000100;
  45617. end;
  45618. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  45619. begin
  45620. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45621. end;
  45622. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  45623. begin
  45624. pTDefRegMap(@Self)^.&set := $00008000;
  45625. end;
  45626. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  45627. begin
  45628. pTDefRegMap(@Self)^.clr := $00008000;
  45629. end;
  45630. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  45631. begin
  45632. if thebits = 0 then
  45633. pTDefRegMap(@Self)^.clr := $00008000
  45634. else
  45635. pTDefRegMap(@Self)^.&set := $00008000;
  45636. end;
  45637. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  45638. begin
  45639. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45640. end;
  45641. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  45642. begin
  45643. pTDefRegMap(@Self)^.val := thebits;
  45644. end;
  45645. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  45646. begin
  45647. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45648. end;
  45649. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  45650. begin
  45651. pTDefRegMap(@Self)^.&set := $00000008;
  45652. end;
  45653. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  45654. begin
  45655. pTDefRegMap(@Self)^.clr := $00000008;
  45656. end;
  45657. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  45658. begin
  45659. if thebits = 0 then
  45660. pTDefRegMap(@Self)^.clr := $00000008
  45661. else
  45662. pTDefRegMap(@Self)^.&set := $00000008;
  45663. end;
  45664. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  45665. begin
  45666. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45667. end;
  45668. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  45669. begin
  45670. pTDefRegMap(@Self)^.&set := $00000010;
  45671. end;
  45672. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  45673. begin
  45674. pTDefRegMap(@Self)^.clr := $00000010;
  45675. end;
  45676. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  45677. begin
  45678. if thebits = 0 then
  45679. pTDefRegMap(@Self)^.clr := $00000010
  45680. else
  45681. pTDefRegMap(@Self)^.&set := $00000010;
  45682. end;
  45683. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  45684. begin
  45685. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45686. end;
  45687. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  45688. begin
  45689. pTDefRegMap(@Self)^.&set := $00000020;
  45690. end;
  45691. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  45692. begin
  45693. pTDefRegMap(@Self)^.clr := $00000020;
  45694. end;
  45695. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  45696. begin
  45697. if thebits = 0 then
  45698. pTDefRegMap(@Self)^.clr := $00000020
  45699. else
  45700. pTDefRegMap(@Self)^.&set := $00000020;
  45701. end;
  45702. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  45703. begin
  45704. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45705. end;
  45706. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  45707. begin
  45708. pTDefRegMap(@Self)^.&set := $00000040;
  45709. end;
  45710. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  45711. begin
  45712. pTDefRegMap(@Self)^.clr := $00000040;
  45713. end;
  45714. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  45715. begin
  45716. if thebits = 0 then
  45717. pTDefRegMap(@Self)^.clr := $00000040
  45718. else
  45719. pTDefRegMap(@Self)^.&set := $00000040;
  45720. end;
  45721. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  45722. begin
  45723. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45724. end;
  45725. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  45726. begin
  45727. pTDefRegMap(@Self)^.&set := $00000080;
  45728. end;
  45729. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  45730. begin
  45731. pTDefRegMap(@Self)^.clr := $00000080;
  45732. end;
  45733. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  45734. begin
  45735. if thebits = 0 then
  45736. pTDefRegMap(@Self)^.clr := $00000080
  45737. else
  45738. pTDefRegMap(@Self)^.&set := $00000080;
  45739. end;
  45740. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  45741. begin
  45742. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45743. end;
  45744. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  45745. begin
  45746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  45747. end;
  45748. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  45749. begin
  45750. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  45751. end;
  45752. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  45753. begin
  45754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  45755. end;
  45756. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  45757. begin
  45758. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  45759. end;
  45760. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  45761. begin
  45762. pTDefRegMap(@Self)^.val := thebits;
  45763. end;
  45764. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  45765. begin
  45766. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45767. end;
  45768. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  45769. begin
  45770. pTDefRegMap(@Self)^.&set := $00000001;
  45771. end;
  45772. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  45773. begin
  45774. pTDefRegMap(@Self)^.clr := $00000001;
  45775. end;
  45776. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  45777. begin
  45778. if thebits = 0 then
  45779. pTDefRegMap(@Self)^.clr := $00000001
  45780. else
  45781. pTDefRegMap(@Self)^.&set := $00000001;
  45782. end;
  45783. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  45784. begin
  45785. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45786. end;
  45787. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  45788. begin
  45789. pTDefRegMap(@Self)^.&set := $00000002;
  45790. end;
  45791. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  45792. begin
  45793. pTDefRegMap(@Self)^.clr := $00000002;
  45794. end;
  45795. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  45796. begin
  45797. if thebits = 0 then
  45798. pTDefRegMap(@Self)^.clr := $00000002
  45799. else
  45800. pTDefRegMap(@Self)^.&set := $00000002;
  45801. end;
  45802. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  45803. begin
  45804. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45805. end;
  45806. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  45807. begin
  45808. pTDefRegMap(@Self)^.&set := $00000004;
  45809. end;
  45810. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  45811. begin
  45812. pTDefRegMap(@Self)^.clr := $00000004;
  45813. end;
  45814. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  45815. begin
  45816. if thebits = 0 then
  45817. pTDefRegMap(@Self)^.clr := $00000004
  45818. else
  45819. pTDefRegMap(@Self)^.&set := $00000004;
  45820. end;
  45821. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  45822. begin
  45823. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45824. end;
  45825. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  45826. begin
  45827. pTDefRegMap(@Self)^.&set := $00000008;
  45828. end;
  45829. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  45830. begin
  45831. pTDefRegMap(@Self)^.clr := $00000008;
  45832. end;
  45833. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  45834. begin
  45835. if thebits = 0 then
  45836. pTDefRegMap(@Self)^.clr := $00000008
  45837. else
  45838. pTDefRegMap(@Self)^.&set := $00000008;
  45839. end;
  45840. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  45841. begin
  45842. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45843. end;
  45844. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  45845. begin
  45846. pTDefRegMap(@Self)^.&set := $00000010;
  45847. end;
  45848. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  45849. begin
  45850. pTDefRegMap(@Self)^.clr := $00000010;
  45851. end;
  45852. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  45853. begin
  45854. if thebits = 0 then
  45855. pTDefRegMap(@Self)^.clr := $00000010
  45856. else
  45857. pTDefRegMap(@Self)^.&set := $00000010;
  45858. end;
  45859. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  45860. begin
  45861. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45862. end;
  45863. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  45864. begin
  45865. pTDefRegMap(@Self)^.&set := $00000020;
  45866. end;
  45867. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  45868. begin
  45869. pTDefRegMap(@Self)^.clr := $00000020;
  45870. end;
  45871. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  45872. begin
  45873. if thebits = 0 then
  45874. pTDefRegMap(@Self)^.clr := $00000020
  45875. else
  45876. pTDefRegMap(@Self)^.&set := $00000020;
  45877. end;
  45878. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  45879. begin
  45880. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45881. end;
  45882. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  45883. begin
  45884. pTDefRegMap(@Self)^.&set := $00000040;
  45885. end;
  45886. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  45887. begin
  45888. pTDefRegMap(@Self)^.clr := $00000040;
  45889. end;
  45890. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  45891. begin
  45892. if thebits = 0 then
  45893. pTDefRegMap(@Self)^.clr := $00000040
  45894. else
  45895. pTDefRegMap(@Self)^.&set := $00000040;
  45896. end;
  45897. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  45898. begin
  45899. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45900. end;
  45901. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  45902. begin
  45903. pTDefRegMap(@Self)^.&set := $00000080;
  45904. end;
  45905. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  45906. begin
  45907. pTDefRegMap(@Self)^.clr := $00000080;
  45908. end;
  45909. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  45910. begin
  45911. if thebits = 0 then
  45912. pTDefRegMap(@Self)^.clr := $00000080
  45913. else
  45914. pTDefRegMap(@Self)^.&set := $00000080;
  45915. end;
  45916. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  45917. begin
  45918. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45919. end;
  45920. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  45921. begin
  45922. pTDefRegMap(@Self)^.&set := $00010000;
  45923. end;
  45924. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  45925. begin
  45926. pTDefRegMap(@Self)^.clr := $00010000;
  45927. end;
  45928. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  45929. begin
  45930. if thebits = 0 then
  45931. pTDefRegMap(@Self)^.clr := $00010000
  45932. else
  45933. pTDefRegMap(@Self)^.&set := $00010000;
  45934. end;
  45935. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  45936. begin
  45937. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  45938. end;
  45939. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  45940. begin
  45941. pTDefRegMap(@Self)^.&set := $00020000;
  45942. end;
  45943. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  45944. begin
  45945. pTDefRegMap(@Self)^.clr := $00020000;
  45946. end;
  45947. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  45948. begin
  45949. if thebits = 0 then
  45950. pTDefRegMap(@Self)^.clr := $00020000
  45951. else
  45952. pTDefRegMap(@Self)^.&set := $00020000;
  45953. end;
  45954. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  45955. begin
  45956. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  45957. end;
  45958. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  45959. begin
  45960. pTDefRegMap(@Self)^.&set := $00040000;
  45961. end;
  45962. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  45963. begin
  45964. pTDefRegMap(@Self)^.clr := $00040000;
  45965. end;
  45966. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  45967. begin
  45968. if thebits = 0 then
  45969. pTDefRegMap(@Self)^.clr := $00040000
  45970. else
  45971. pTDefRegMap(@Self)^.&set := $00040000;
  45972. end;
  45973. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  45974. begin
  45975. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  45976. end;
  45977. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  45978. begin
  45979. pTDefRegMap(@Self)^.&set := $00080000;
  45980. end;
  45981. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  45982. begin
  45983. pTDefRegMap(@Self)^.clr := $00080000;
  45984. end;
  45985. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  45986. begin
  45987. if thebits = 0 then
  45988. pTDefRegMap(@Self)^.clr := $00080000
  45989. else
  45990. pTDefRegMap(@Self)^.&set := $00080000;
  45991. end;
  45992. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  45993. begin
  45994. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  45995. end;
  45996. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  45997. begin
  45998. pTDefRegMap(@Self)^.&set := $00100000;
  45999. end;
  46000. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  46001. begin
  46002. pTDefRegMap(@Self)^.clr := $00100000;
  46003. end;
  46004. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  46005. begin
  46006. if thebits = 0 then
  46007. pTDefRegMap(@Self)^.clr := $00100000
  46008. else
  46009. pTDefRegMap(@Self)^.&set := $00100000;
  46010. end;
  46011. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  46012. begin
  46013. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  46014. end;
  46015. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  46016. begin
  46017. pTDefRegMap(@Self)^.&set := $00200000;
  46018. end;
  46019. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  46020. begin
  46021. pTDefRegMap(@Self)^.clr := $00200000;
  46022. end;
  46023. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  46024. begin
  46025. if thebits = 0 then
  46026. pTDefRegMap(@Self)^.clr := $00200000
  46027. else
  46028. pTDefRegMap(@Self)^.&set := $00200000;
  46029. end;
  46030. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  46031. begin
  46032. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  46033. end;
  46034. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  46035. begin
  46036. pTDefRegMap(@Self)^.&set := $00400000;
  46037. end;
  46038. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  46039. begin
  46040. pTDefRegMap(@Self)^.clr := $00400000;
  46041. end;
  46042. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  46043. begin
  46044. if thebits = 0 then
  46045. pTDefRegMap(@Self)^.clr := $00400000
  46046. else
  46047. pTDefRegMap(@Self)^.&set := $00400000;
  46048. end;
  46049. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  46050. begin
  46051. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  46052. end;
  46053. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  46054. begin
  46055. pTDefRegMap(@Self)^.&set := $00800000;
  46056. end;
  46057. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  46058. begin
  46059. pTDefRegMap(@Self)^.clr := $00800000;
  46060. end;
  46061. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  46062. begin
  46063. if thebits = 0 then
  46064. pTDefRegMap(@Self)^.clr := $00800000
  46065. else
  46066. pTDefRegMap(@Self)^.&set := $00800000;
  46067. end;
  46068. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  46069. begin
  46070. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  46071. end;
  46072. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  46073. begin
  46074. pTDefRegMap(@Self)^.val := thebits;
  46075. end;
  46076. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  46077. begin
  46078. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46079. end;
  46080. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  46081. begin
  46082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46083. end;
  46084. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  46085. begin
  46086. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46087. end;
  46088. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  46089. begin
  46090. pTDefRegMap(@Self)^.&set := $00000004;
  46091. end;
  46092. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  46093. begin
  46094. pTDefRegMap(@Self)^.clr := $00000004;
  46095. end;
  46096. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  46097. begin
  46098. if thebits = 0 then
  46099. pTDefRegMap(@Self)^.clr := $00000004
  46100. else
  46101. pTDefRegMap(@Self)^.&set := $00000004;
  46102. end;
  46103. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  46104. begin
  46105. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46106. end;
  46107. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  46108. begin
  46109. pTDefRegMap(@Self)^.&set := $00000010;
  46110. end;
  46111. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  46112. begin
  46113. pTDefRegMap(@Self)^.clr := $00000010;
  46114. end;
  46115. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  46116. begin
  46117. if thebits = 0 then
  46118. pTDefRegMap(@Self)^.clr := $00000010
  46119. else
  46120. pTDefRegMap(@Self)^.&set := $00000010;
  46121. end;
  46122. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  46123. begin
  46124. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46125. end;
  46126. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  46127. begin
  46128. pTDefRegMap(@Self)^.&set := $00000020;
  46129. end;
  46130. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  46131. begin
  46132. pTDefRegMap(@Self)^.clr := $00000020;
  46133. end;
  46134. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  46135. begin
  46136. if thebits = 0 then
  46137. pTDefRegMap(@Self)^.clr := $00000020
  46138. else
  46139. pTDefRegMap(@Self)^.&set := $00000020;
  46140. end;
  46141. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  46142. begin
  46143. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46144. end;
  46145. procedure TDMAC1_DCH1CON.setCHAED; inline;
  46146. begin
  46147. pTDefRegMap(@Self)^.&set := $00000040;
  46148. end;
  46149. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  46150. begin
  46151. pTDefRegMap(@Self)^.clr := $00000040;
  46152. end;
  46153. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  46154. begin
  46155. if thebits = 0 then
  46156. pTDefRegMap(@Self)^.clr := $00000040
  46157. else
  46158. pTDefRegMap(@Self)^.&set := $00000040;
  46159. end;
  46160. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  46161. begin
  46162. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46163. end;
  46164. procedure TDMAC1_DCH1CON.setCHEN; inline;
  46165. begin
  46166. pTDefRegMap(@Self)^.&set := $00000080;
  46167. end;
  46168. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  46169. begin
  46170. pTDefRegMap(@Self)^.clr := $00000080;
  46171. end;
  46172. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  46173. begin
  46174. if thebits = 0 then
  46175. pTDefRegMap(@Self)^.clr := $00000080
  46176. else
  46177. pTDefRegMap(@Self)^.&set := $00000080;
  46178. end;
  46179. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  46180. begin
  46181. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46182. end;
  46183. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  46184. begin
  46185. pTDefRegMap(@Self)^.&set := $00000100;
  46186. end;
  46187. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  46188. begin
  46189. pTDefRegMap(@Self)^.clr := $00000100;
  46190. end;
  46191. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  46192. begin
  46193. if thebits = 0 then
  46194. pTDefRegMap(@Self)^.clr := $00000100
  46195. else
  46196. pTDefRegMap(@Self)^.&set := $00000100;
  46197. end;
  46198. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  46199. begin
  46200. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46201. end;
  46202. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  46203. begin
  46204. pTDefRegMap(@Self)^.&set := $00008000;
  46205. end;
  46206. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  46207. begin
  46208. pTDefRegMap(@Self)^.clr := $00008000;
  46209. end;
  46210. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  46211. begin
  46212. if thebits = 0 then
  46213. pTDefRegMap(@Self)^.clr := $00008000
  46214. else
  46215. pTDefRegMap(@Self)^.&set := $00008000;
  46216. end;
  46217. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  46218. begin
  46219. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46220. end;
  46221. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  46222. begin
  46223. pTDefRegMap(@Self)^.val := thebits;
  46224. end;
  46225. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  46226. begin
  46227. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46228. end;
  46229. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  46230. begin
  46231. pTDefRegMap(@Self)^.&set := $00000008;
  46232. end;
  46233. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  46234. begin
  46235. pTDefRegMap(@Self)^.clr := $00000008;
  46236. end;
  46237. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  46238. begin
  46239. if thebits = 0 then
  46240. pTDefRegMap(@Self)^.clr := $00000008
  46241. else
  46242. pTDefRegMap(@Self)^.&set := $00000008;
  46243. end;
  46244. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  46245. begin
  46246. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46247. end;
  46248. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  46249. begin
  46250. pTDefRegMap(@Self)^.&set := $00000010;
  46251. end;
  46252. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  46253. begin
  46254. pTDefRegMap(@Self)^.clr := $00000010;
  46255. end;
  46256. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  46257. begin
  46258. if thebits = 0 then
  46259. pTDefRegMap(@Self)^.clr := $00000010
  46260. else
  46261. pTDefRegMap(@Self)^.&set := $00000010;
  46262. end;
  46263. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  46264. begin
  46265. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46266. end;
  46267. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  46268. begin
  46269. pTDefRegMap(@Self)^.&set := $00000020;
  46270. end;
  46271. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  46272. begin
  46273. pTDefRegMap(@Self)^.clr := $00000020;
  46274. end;
  46275. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  46276. begin
  46277. if thebits = 0 then
  46278. pTDefRegMap(@Self)^.clr := $00000020
  46279. else
  46280. pTDefRegMap(@Self)^.&set := $00000020;
  46281. end;
  46282. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  46283. begin
  46284. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46285. end;
  46286. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  46287. begin
  46288. pTDefRegMap(@Self)^.&set := $00000040;
  46289. end;
  46290. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  46291. begin
  46292. pTDefRegMap(@Self)^.clr := $00000040;
  46293. end;
  46294. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  46295. begin
  46296. if thebits = 0 then
  46297. pTDefRegMap(@Self)^.clr := $00000040
  46298. else
  46299. pTDefRegMap(@Self)^.&set := $00000040;
  46300. end;
  46301. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  46302. begin
  46303. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46304. end;
  46305. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  46306. begin
  46307. pTDefRegMap(@Self)^.&set := $00000080;
  46308. end;
  46309. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  46310. begin
  46311. pTDefRegMap(@Self)^.clr := $00000080;
  46312. end;
  46313. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  46314. begin
  46315. if thebits = 0 then
  46316. pTDefRegMap(@Self)^.clr := $00000080
  46317. else
  46318. pTDefRegMap(@Self)^.&set := $00000080;
  46319. end;
  46320. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  46321. begin
  46322. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46323. end;
  46324. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  46325. begin
  46326. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  46327. end;
  46328. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  46329. begin
  46330. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  46331. end;
  46332. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  46333. begin
  46334. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  46335. end;
  46336. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  46337. begin
  46338. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  46339. end;
  46340. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  46341. begin
  46342. pTDefRegMap(@Self)^.val := thebits;
  46343. end;
  46344. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  46345. begin
  46346. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46347. end;
  46348. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  46349. begin
  46350. pTDefRegMap(@Self)^.&set := $00000001;
  46351. end;
  46352. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  46353. begin
  46354. pTDefRegMap(@Self)^.clr := $00000001;
  46355. end;
  46356. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  46357. begin
  46358. if thebits = 0 then
  46359. pTDefRegMap(@Self)^.clr := $00000001
  46360. else
  46361. pTDefRegMap(@Self)^.&set := $00000001;
  46362. end;
  46363. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  46364. begin
  46365. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46366. end;
  46367. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  46368. begin
  46369. pTDefRegMap(@Self)^.&set := $00000002;
  46370. end;
  46371. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  46372. begin
  46373. pTDefRegMap(@Self)^.clr := $00000002;
  46374. end;
  46375. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  46376. begin
  46377. if thebits = 0 then
  46378. pTDefRegMap(@Self)^.clr := $00000002
  46379. else
  46380. pTDefRegMap(@Self)^.&set := $00000002;
  46381. end;
  46382. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  46383. begin
  46384. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46385. end;
  46386. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  46387. begin
  46388. pTDefRegMap(@Self)^.&set := $00000004;
  46389. end;
  46390. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  46391. begin
  46392. pTDefRegMap(@Self)^.clr := $00000004;
  46393. end;
  46394. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  46395. begin
  46396. if thebits = 0 then
  46397. pTDefRegMap(@Self)^.clr := $00000004
  46398. else
  46399. pTDefRegMap(@Self)^.&set := $00000004;
  46400. end;
  46401. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  46402. begin
  46403. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46404. end;
  46405. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  46406. begin
  46407. pTDefRegMap(@Self)^.&set := $00000008;
  46408. end;
  46409. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  46410. begin
  46411. pTDefRegMap(@Self)^.clr := $00000008;
  46412. end;
  46413. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  46414. begin
  46415. if thebits = 0 then
  46416. pTDefRegMap(@Self)^.clr := $00000008
  46417. else
  46418. pTDefRegMap(@Self)^.&set := $00000008;
  46419. end;
  46420. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  46421. begin
  46422. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46423. end;
  46424. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  46425. begin
  46426. pTDefRegMap(@Self)^.&set := $00000010;
  46427. end;
  46428. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  46429. begin
  46430. pTDefRegMap(@Self)^.clr := $00000010;
  46431. end;
  46432. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  46433. begin
  46434. if thebits = 0 then
  46435. pTDefRegMap(@Self)^.clr := $00000010
  46436. else
  46437. pTDefRegMap(@Self)^.&set := $00000010;
  46438. end;
  46439. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  46440. begin
  46441. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46442. end;
  46443. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  46444. begin
  46445. pTDefRegMap(@Self)^.&set := $00000020;
  46446. end;
  46447. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  46448. begin
  46449. pTDefRegMap(@Self)^.clr := $00000020;
  46450. end;
  46451. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  46452. begin
  46453. if thebits = 0 then
  46454. pTDefRegMap(@Self)^.clr := $00000020
  46455. else
  46456. pTDefRegMap(@Self)^.&set := $00000020;
  46457. end;
  46458. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  46459. begin
  46460. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46461. end;
  46462. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  46463. begin
  46464. pTDefRegMap(@Self)^.&set := $00000040;
  46465. end;
  46466. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  46467. begin
  46468. pTDefRegMap(@Self)^.clr := $00000040;
  46469. end;
  46470. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  46471. begin
  46472. if thebits = 0 then
  46473. pTDefRegMap(@Self)^.clr := $00000040
  46474. else
  46475. pTDefRegMap(@Self)^.&set := $00000040;
  46476. end;
  46477. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  46478. begin
  46479. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46480. end;
  46481. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  46482. begin
  46483. pTDefRegMap(@Self)^.&set := $00000080;
  46484. end;
  46485. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  46486. begin
  46487. pTDefRegMap(@Self)^.clr := $00000080;
  46488. end;
  46489. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  46490. begin
  46491. if thebits = 0 then
  46492. pTDefRegMap(@Self)^.clr := $00000080
  46493. else
  46494. pTDefRegMap(@Self)^.&set := $00000080;
  46495. end;
  46496. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  46497. begin
  46498. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46499. end;
  46500. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  46501. begin
  46502. pTDefRegMap(@Self)^.&set := $00010000;
  46503. end;
  46504. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  46505. begin
  46506. pTDefRegMap(@Self)^.clr := $00010000;
  46507. end;
  46508. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  46509. begin
  46510. if thebits = 0 then
  46511. pTDefRegMap(@Self)^.clr := $00010000
  46512. else
  46513. pTDefRegMap(@Self)^.&set := $00010000;
  46514. end;
  46515. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  46516. begin
  46517. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  46518. end;
  46519. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  46520. begin
  46521. pTDefRegMap(@Self)^.&set := $00020000;
  46522. end;
  46523. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  46524. begin
  46525. pTDefRegMap(@Self)^.clr := $00020000;
  46526. end;
  46527. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  46528. begin
  46529. if thebits = 0 then
  46530. pTDefRegMap(@Self)^.clr := $00020000
  46531. else
  46532. pTDefRegMap(@Self)^.&set := $00020000;
  46533. end;
  46534. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  46535. begin
  46536. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  46537. end;
  46538. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  46539. begin
  46540. pTDefRegMap(@Self)^.&set := $00040000;
  46541. end;
  46542. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  46543. begin
  46544. pTDefRegMap(@Self)^.clr := $00040000;
  46545. end;
  46546. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  46547. begin
  46548. if thebits = 0 then
  46549. pTDefRegMap(@Self)^.clr := $00040000
  46550. else
  46551. pTDefRegMap(@Self)^.&set := $00040000;
  46552. end;
  46553. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  46554. begin
  46555. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  46556. end;
  46557. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  46558. begin
  46559. pTDefRegMap(@Self)^.&set := $00080000;
  46560. end;
  46561. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  46562. begin
  46563. pTDefRegMap(@Self)^.clr := $00080000;
  46564. end;
  46565. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  46566. begin
  46567. if thebits = 0 then
  46568. pTDefRegMap(@Self)^.clr := $00080000
  46569. else
  46570. pTDefRegMap(@Self)^.&set := $00080000;
  46571. end;
  46572. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  46573. begin
  46574. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  46575. end;
  46576. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  46577. begin
  46578. pTDefRegMap(@Self)^.&set := $00100000;
  46579. end;
  46580. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  46581. begin
  46582. pTDefRegMap(@Self)^.clr := $00100000;
  46583. end;
  46584. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  46585. begin
  46586. if thebits = 0 then
  46587. pTDefRegMap(@Self)^.clr := $00100000
  46588. else
  46589. pTDefRegMap(@Self)^.&set := $00100000;
  46590. end;
  46591. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  46592. begin
  46593. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  46594. end;
  46595. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  46596. begin
  46597. pTDefRegMap(@Self)^.&set := $00200000;
  46598. end;
  46599. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  46600. begin
  46601. pTDefRegMap(@Self)^.clr := $00200000;
  46602. end;
  46603. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  46604. begin
  46605. if thebits = 0 then
  46606. pTDefRegMap(@Self)^.clr := $00200000
  46607. else
  46608. pTDefRegMap(@Self)^.&set := $00200000;
  46609. end;
  46610. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  46611. begin
  46612. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  46613. end;
  46614. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  46615. begin
  46616. pTDefRegMap(@Self)^.&set := $00400000;
  46617. end;
  46618. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  46619. begin
  46620. pTDefRegMap(@Self)^.clr := $00400000;
  46621. end;
  46622. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  46623. begin
  46624. if thebits = 0 then
  46625. pTDefRegMap(@Self)^.clr := $00400000
  46626. else
  46627. pTDefRegMap(@Self)^.&set := $00400000;
  46628. end;
  46629. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  46630. begin
  46631. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  46632. end;
  46633. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  46634. begin
  46635. pTDefRegMap(@Self)^.&set := $00800000;
  46636. end;
  46637. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  46638. begin
  46639. pTDefRegMap(@Self)^.clr := $00800000;
  46640. end;
  46641. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  46642. begin
  46643. if thebits = 0 then
  46644. pTDefRegMap(@Self)^.clr := $00800000
  46645. else
  46646. pTDefRegMap(@Self)^.&set := $00800000;
  46647. end;
  46648. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  46649. begin
  46650. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  46651. end;
  46652. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  46653. begin
  46654. pTDefRegMap(@Self)^.val := thebits;
  46655. end;
  46656. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  46657. begin
  46658. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46659. end;
  46660. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  46661. begin
  46662. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46663. end;
  46664. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  46665. begin
  46666. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46667. end;
  46668. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  46669. begin
  46670. pTDefRegMap(@Self)^.&set := $00000004;
  46671. end;
  46672. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  46673. begin
  46674. pTDefRegMap(@Self)^.clr := $00000004;
  46675. end;
  46676. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  46677. begin
  46678. if thebits = 0 then
  46679. pTDefRegMap(@Self)^.clr := $00000004
  46680. else
  46681. pTDefRegMap(@Self)^.&set := $00000004;
  46682. end;
  46683. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  46684. begin
  46685. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46686. end;
  46687. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  46688. begin
  46689. pTDefRegMap(@Self)^.&set := $00000010;
  46690. end;
  46691. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  46692. begin
  46693. pTDefRegMap(@Self)^.clr := $00000010;
  46694. end;
  46695. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  46696. begin
  46697. if thebits = 0 then
  46698. pTDefRegMap(@Self)^.clr := $00000010
  46699. else
  46700. pTDefRegMap(@Self)^.&set := $00000010;
  46701. end;
  46702. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  46703. begin
  46704. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46705. end;
  46706. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  46707. begin
  46708. pTDefRegMap(@Self)^.&set := $00000020;
  46709. end;
  46710. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  46711. begin
  46712. pTDefRegMap(@Self)^.clr := $00000020;
  46713. end;
  46714. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  46715. begin
  46716. if thebits = 0 then
  46717. pTDefRegMap(@Self)^.clr := $00000020
  46718. else
  46719. pTDefRegMap(@Self)^.&set := $00000020;
  46720. end;
  46721. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  46722. begin
  46723. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46724. end;
  46725. procedure TDMAC2_DCH2CON.setCHAED; inline;
  46726. begin
  46727. pTDefRegMap(@Self)^.&set := $00000040;
  46728. end;
  46729. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  46730. begin
  46731. pTDefRegMap(@Self)^.clr := $00000040;
  46732. end;
  46733. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  46734. begin
  46735. if thebits = 0 then
  46736. pTDefRegMap(@Self)^.clr := $00000040
  46737. else
  46738. pTDefRegMap(@Self)^.&set := $00000040;
  46739. end;
  46740. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  46741. begin
  46742. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46743. end;
  46744. procedure TDMAC2_DCH2CON.setCHEN; inline;
  46745. begin
  46746. pTDefRegMap(@Self)^.&set := $00000080;
  46747. end;
  46748. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  46749. begin
  46750. pTDefRegMap(@Self)^.clr := $00000080;
  46751. end;
  46752. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  46753. begin
  46754. if thebits = 0 then
  46755. pTDefRegMap(@Self)^.clr := $00000080
  46756. else
  46757. pTDefRegMap(@Self)^.&set := $00000080;
  46758. end;
  46759. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  46760. begin
  46761. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46762. end;
  46763. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  46764. begin
  46765. pTDefRegMap(@Self)^.&set := $00000100;
  46766. end;
  46767. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  46768. begin
  46769. pTDefRegMap(@Self)^.clr := $00000100;
  46770. end;
  46771. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  46772. begin
  46773. if thebits = 0 then
  46774. pTDefRegMap(@Self)^.clr := $00000100
  46775. else
  46776. pTDefRegMap(@Self)^.&set := $00000100;
  46777. end;
  46778. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  46779. begin
  46780. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46781. end;
  46782. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  46783. begin
  46784. pTDefRegMap(@Self)^.&set := $00008000;
  46785. end;
  46786. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  46787. begin
  46788. pTDefRegMap(@Self)^.clr := $00008000;
  46789. end;
  46790. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  46791. begin
  46792. if thebits = 0 then
  46793. pTDefRegMap(@Self)^.clr := $00008000
  46794. else
  46795. pTDefRegMap(@Self)^.&set := $00008000;
  46796. end;
  46797. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  46798. begin
  46799. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  46800. end;
  46801. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  46802. begin
  46803. pTDefRegMap(@Self)^.val := thebits;
  46804. end;
  46805. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  46806. begin
  46807. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46808. end;
  46809. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  46810. begin
  46811. pTDefRegMap(@Self)^.&set := $00000008;
  46812. end;
  46813. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  46814. begin
  46815. pTDefRegMap(@Self)^.clr := $00000008;
  46816. end;
  46817. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  46818. begin
  46819. if thebits = 0 then
  46820. pTDefRegMap(@Self)^.clr := $00000008
  46821. else
  46822. pTDefRegMap(@Self)^.&set := $00000008;
  46823. end;
  46824. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  46825. begin
  46826. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46827. end;
  46828. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  46829. begin
  46830. pTDefRegMap(@Self)^.&set := $00000010;
  46831. end;
  46832. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  46833. begin
  46834. pTDefRegMap(@Self)^.clr := $00000010;
  46835. end;
  46836. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  46837. begin
  46838. if thebits = 0 then
  46839. pTDefRegMap(@Self)^.clr := $00000010
  46840. else
  46841. pTDefRegMap(@Self)^.&set := $00000010;
  46842. end;
  46843. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  46844. begin
  46845. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46846. end;
  46847. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  46848. begin
  46849. pTDefRegMap(@Self)^.&set := $00000020;
  46850. end;
  46851. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  46852. begin
  46853. pTDefRegMap(@Self)^.clr := $00000020;
  46854. end;
  46855. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  46856. begin
  46857. if thebits = 0 then
  46858. pTDefRegMap(@Self)^.clr := $00000020
  46859. else
  46860. pTDefRegMap(@Self)^.&set := $00000020;
  46861. end;
  46862. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  46863. begin
  46864. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46865. end;
  46866. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  46867. begin
  46868. pTDefRegMap(@Self)^.&set := $00000040;
  46869. end;
  46870. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  46871. begin
  46872. pTDefRegMap(@Self)^.clr := $00000040;
  46873. end;
  46874. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  46875. begin
  46876. if thebits = 0 then
  46877. pTDefRegMap(@Self)^.clr := $00000040
  46878. else
  46879. pTDefRegMap(@Self)^.&set := $00000040;
  46880. end;
  46881. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  46882. begin
  46883. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46884. end;
  46885. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  46886. begin
  46887. pTDefRegMap(@Self)^.&set := $00000080;
  46888. end;
  46889. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  46890. begin
  46891. pTDefRegMap(@Self)^.clr := $00000080;
  46892. end;
  46893. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  46894. begin
  46895. if thebits = 0 then
  46896. pTDefRegMap(@Self)^.clr := $00000080
  46897. else
  46898. pTDefRegMap(@Self)^.&set := $00000080;
  46899. end;
  46900. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  46901. begin
  46902. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46903. end;
  46904. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  46905. begin
  46906. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  46907. end;
  46908. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  46909. begin
  46910. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  46911. end;
  46912. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  46913. begin
  46914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  46915. end;
  46916. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  46917. begin
  46918. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  46919. end;
  46920. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  46921. begin
  46922. pTDefRegMap(@Self)^.val := thebits;
  46923. end;
  46924. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  46925. begin
  46926. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46927. end;
  46928. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  46929. begin
  46930. pTDefRegMap(@Self)^.&set := $00000001;
  46931. end;
  46932. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  46933. begin
  46934. pTDefRegMap(@Self)^.clr := $00000001;
  46935. end;
  46936. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  46937. begin
  46938. if thebits = 0 then
  46939. pTDefRegMap(@Self)^.clr := $00000001
  46940. else
  46941. pTDefRegMap(@Self)^.&set := $00000001;
  46942. end;
  46943. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  46944. begin
  46945. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46946. end;
  46947. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  46948. begin
  46949. pTDefRegMap(@Self)^.&set := $00000002;
  46950. end;
  46951. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  46952. begin
  46953. pTDefRegMap(@Self)^.clr := $00000002;
  46954. end;
  46955. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  46956. begin
  46957. if thebits = 0 then
  46958. pTDefRegMap(@Self)^.clr := $00000002
  46959. else
  46960. pTDefRegMap(@Self)^.&set := $00000002;
  46961. end;
  46962. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  46963. begin
  46964. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46965. end;
  46966. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  46967. begin
  46968. pTDefRegMap(@Self)^.&set := $00000004;
  46969. end;
  46970. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  46971. begin
  46972. pTDefRegMap(@Self)^.clr := $00000004;
  46973. end;
  46974. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  46975. begin
  46976. if thebits = 0 then
  46977. pTDefRegMap(@Self)^.clr := $00000004
  46978. else
  46979. pTDefRegMap(@Self)^.&set := $00000004;
  46980. end;
  46981. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  46982. begin
  46983. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46984. end;
  46985. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  46986. begin
  46987. pTDefRegMap(@Self)^.&set := $00000008;
  46988. end;
  46989. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  46990. begin
  46991. pTDefRegMap(@Self)^.clr := $00000008;
  46992. end;
  46993. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  46994. begin
  46995. if thebits = 0 then
  46996. pTDefRegMap(@Self)^.clr := $00000008
  46997. else
  46998. pTDefRegMap(@Self)^.&set := $00000008;
  46999. end;
  47000. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  47001. begin
  47002. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47003. end;
  47004. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  47005. begin
  47006. pTDefRegMap(@Self)^.&set := $00000010;
  47007. end;
  47008. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  47009. begin
  47010. pTDefRegMap(@Self)^.clr := $00000010;
  47011. end;
  47012. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  47013. begin
  47014. if thebits = 0 then
  47015. pTDefRegMap(@Self)^.clr := $00000010
  47016. else
  47017. pTDefRegMap(@Self)^.&set := $00000010;
  47018. end;
  47019. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  47020. begin
  47021. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47022. end;
  47023. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  47024. begin
  47025. pTDefRegMap(@Self)^.&set := $00000020;
  47026. end;
  47027. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  47028. begin
  47029. pTDefRegMap(@Self)^.clr := $00000020;
  47030. end;
  47031. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  47032. begin
  47033. if thebits = 0 then
  47034. pTDefRegMap(@Self)^.clr := $00000020
  47035. else
  47036. pTDefRegMap(@Self)^.&set := $00000020;
  47037. end;
  47038. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  47039. begin
  47040. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47041. end;
  47042. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  47043. begin
  47044. pTDefRegMap(@Self)^.&set := $00000040;
  47045. end;
  47046. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  47047. begin
  47048. pTDefRegMap(@Self)^.clr := $00000040;
  47049. end;
  47050. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  47051. begin
  47052. if thebits = 0 then
  47053. pTDefRegMap(@Self)^.clr := $00000040
  47054. else
  47055. pTDefRegMap(@Self)^.&set := $00000040;
  47056. end;
  47057. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  47058. begin
  47059. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47060. end;
  47061. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  47062. begin
  47063. pTDefRegMap(@Self)^.&set := $00000080;
  47064. end;
  47065. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  47066. begin
  47067. pTDefRegMap(@Self)^.clr := $00000080;
  47068. end;
  47069. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  47070. begin
  47071. if thebits = 0 then
  47072. pTDefRegMap(@Self)^.clr := $00000080
  47073. else
  47074. pTDefRegMap(@Self)^.&set := $00000080;
  47075. end;
  47076. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  47077. begin
  47078. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47079. end;
  47080. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  47081. begin
  47082. pTDefRegMap(@Self)^.&set := $00010000;
  47083. end;
  47084. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  47085. begin
  47086. pTDefRegMap(@Self)^.clr := $00010000;
  47087. end;
  47088. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  47089. begin
  47090. if thebits = 0 then
  47091. pTDefRegMap(@Self)^.clr := $00010000
  47092. else
  47093. pTDefRegMap(@Self)^.&set := $00010000;
  47094. end;
  47095. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  47096. begin
  47097. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  47098. end;
  47099. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  47100. begin
  47101. pTDefRegMap(@Self)^.&set := $00020000;
  47102. end;
  47103. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  47104. begin
  47105. pTDefRegMap(@Self)^.clr := $00020000;
  47106. end;
  47107. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  47108. begin
  47109. if thebits = 0 then
  47110. pTDefRegMap(@Self)^.clr := $00020000
  47111. else
  47112. pTDefRegMap(@Self)^.&set := $00020000;
  47113. end;
  47114. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  47115. begin
  47116. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  47117. end;
  47118. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  47119. begin
  47120. pTDefRegMap(@Self)^.&set := $00040000;
  47121. end;
  47122. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  47123. begin
  47124. pTDefRegMap(@Self)^.clr := $00040000;
  47125. end;
  47126. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  47127. begin
  47128. if thebits = 0 then
  47129. pTDefRegMap(@Self)^.clr := $00040000
  47130. else
  47131. pTDefRegMap(@Self)^.&set := $00040000;
  47132. end;
  47133. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  47134. begin
  47135. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  47136. end;
  47137. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  47138. begin
  47139. pTDefRegMap(@Self)^.&set := $00080000;
  47140. end;
  47141. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  47142. begin
  47143. pTDefRegMap(@Self)^.clr := $00080000;
  47144. end;
  47145. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  47146. begin
  47147. if thebits = 0 then
  47148. pTDefRegMap(@Self)^.clr := $00080000
  47149. else
  47150. pTDefRegMap(@Self)^.&set := $00080000;
  47151. end;
  47152. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  47153. begin
  47154. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  47155. end;
  47156. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  47157. begin
  47158. pTDefRegMap(@Self)^.&set := $00100000;
  47159. end;
  47160. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  47161. begin
  47162. pTDefRegMap(@Self)^.clr := $00100000;
  47163. end;
  47164. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  47165. begin
  47166. if thebits = 0 then
  47167. pTDefRegMap(@Self)^.clr := $00100000
  47168. else
  47169. pTDefRegMap(@Self)^.&set := $00100000;
  47170. end;
  47171. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  47172. begin
  47173. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  47174. end;
  47175. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  47176. begin
  47177. pTDefRegMap(@Self)^.&set := $00200000;
  47178. end;
  47179. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  47180. begin
  47181. pTDefRegMap(@Self)^.clr := $00200000;
  47182. end;
  47183. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  47184. begin
  47185. if thebits = 0 then
  47186. pTDefRegMap(@Self)^.clr := $00200000
  47187. else
  47188. pTDefRegMap(@Self)^.&set := $00200000;
  47189. end;
  47190. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  47191. begin
  47192. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  47193. end;
  47194. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  47195. begin
  47196. pTDefRegMap(@Self)^.&set := $00400000;
  47197. end;
  47198. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  47199. begin
  47200. pTDefRegMap(@Self)^.clr := $00400000;
  47201. end;
  47202. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  47203. begin
  47204. if thebits = 0 then
  47205. pTDefRegMap(@Self)^.clr := $00400000
  47206. else
  47207. pTDefRegMap(@Self)^.&set := $00400000;
  47208. end;
  47209. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  47210. begin
  47211. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  47212. end;
  47213. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  47214. begin
  47215. pTDefRegMap(@Self)^.&set := $00800000;
  47216. end;
  47217. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  47218. begin
  47219. pTDefRegMap(@Self)^.clr := $00800000;
  47220. end;
  47221. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  47222. begin
  47223. if thebits = 0 then
  47224. pTDefRegMap(@Self)^.clr := $00800000
  47225. else
  47226. pTDefRegMap(@Self)^.&set := $00800000;
  47227. end;
  47228. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  47229. begin
  47230. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  47231. end;
  47232. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  47233. begin
  47234. pTDefRegMap(@Self)^.val := thebits;
  47235. end;
  47236. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  47237. begin
  47238. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47239. end;
  47240. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  47241. begin
  47242. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47243. end;
  47244. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  47245. begin
  47246. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47247. end;
  47248. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  47249. begin
  47250. pTDefRegMap(@Self)^.&set := $00000004;
  47251. end;
  47252. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  47253. begin
  47254. pTDefRegMap(@Self)^.clr := $00000004;
  47255. end;
  47256. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  47257. begin
  47258. if thebits = 0 then
  47259. pTDefRegMap(@Self)^.clr := $00000004
  47260. else
  47261. pTDefRegMap(@Self)^.&set := $00000004;
  47262. end;
  47263. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  47264. begin
  47265. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47266. end;
  47267. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  47268. begin
  47269. pTDefRegMap(@Self)^.&set := $00000010;
  47270. end;
  47271. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  47272. begin
  47273. pTDefRegMap(@Self)^.clr := $00000010;
  47274. end;
  47275. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  47276. begin
  47277. if thebits = 0 then
  47278. pTDefRegMap(@Self)^.clr := $00000010
  47279. else
  47280. pTDefRegMap(@Self)^.&set := $00000010;
  47281. end;
  47282. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  47283. begin
  47284. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47285. end;
  47286. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  47287. begin
  47288. pTDefRegMap(@Self)^.&set := $00000020;
  47289. end;
  47290. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  47291. begin
  47292. pTDefRegMap(@Self)^.clr := $00000020;
  47293. end;
  47294. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  47295. begin
  47296. if thebits = 0 then
  47297. pTDefRegMap(@Self)^.clr := $00000020
  47298. else
  47299. pTDefRegMap(@Self)^.&set := $00000020;
  47300. end;
  47301. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  47302. begin
  47303. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47304. end;
  47305. procedure TDMAC3_DCH3CON.setCHAED; inline;
  47306. begin
  47307. pTDefRegMap(@Self)^.&set := $00000040;
  47308. end;
  47309. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  47310. begin
  47311. pTDefRegMap(@Self)^.clr := $00000040;
  47312. end;
  47313. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  47314. begin
  47315. if thebits = 0 then
  47316. pTDefRegMap(@Self)^.clr := $00000040
  47317. else
  47318. pTDefRegMap(@Self)^.&set := $00000040;
  47319. end;
  47320. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  47321. begin
  47322. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47323. end;
  47324. procedure TDMAC3_DCH3CON.setCHEN; inline;
  47325. begin
  47326. pTDefRegMap(@Self)^.&set := $00000080;
  47327. end;
  47328. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  47329. begin
  47330. pTDefRegMap(@Self)^.clr := $00000080;
  47331. end;
  47332. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  47333. begin
  47334. if thebits = 0 then
  47335. pTDefRegMap(@Self)^.clr := $00000080
  47336. else
  47337. pTDefRegMap(@Self)^.&set := $00000080;
  47338. end;
  47339. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  47340. begin
  47341. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47342. end;
  47343. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  47344. begin
  47345. pTDefRegMap(@Self)^.&set := $00000100;
  47346. end;
  47347. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  47348. begin
  47349. pTDefRegMap(@Self)^.clr := $00000100;
  47350. end;
  47351. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  47352. begin
  47353. if thebits = 0 then
  47354. pTDefRegMap(@Self)^.clr := $00000100
  47355. else
  47356. pTDefRegMap(@Self)^.&set := $00000100;
  47357. end;
  47358. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  47359. begin
  47360. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  47361. end;
  47362. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  47363. begin
  47364. pTDefRegMap(@Self)^.&set := $00008000;
  47365. end;
  47366. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  47367. begin
  47368. pTDefRegMap(@Self)^.clr := $00008000;
  47369. end;
  47370. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  47371. begin
  47372. if thebits = 0 then
  47373. pTDefRegMap(@Self)^.clr := $00008000
  47374. else
  47375. pTDefRegMap(@Self)^.&set := $00008000;
  47376. end;
  47377. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  47378. begin
  47379. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  47380. end;
  47381. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  47382. begin
  47383. pTDefRegMap(@Self)^.val := thebits;
  47384. end;
  47385. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  47386. begin
  47387. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47388. end;
  47389. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  47390. begin
  47391. pTDefRegMap(@Self)^.&set := $00000008;
  47392. end;
  47393. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  47394. begin
  47395. pTDefRegMap(@Self)^.clr := $00000008;
  47396. end;
  47397. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  47398. begin
  47399. if thebits = 0 then
  47400. pTDefRegMap(@Self)^.clr := $00000008
  47401. else
  47402. pTDefRegMap(@Self)^.&set := $00000008;
  47403. end;
  47404. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  47405. begin
  47406. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47407. end;
  47408. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  47409. begin
  47410. pTDefRegMap(@Self)^.&set := $00000010;
  47411. end;
  47412. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  47413. begin
  47414. pTDefRegMap(@Self)^.clr := $00000010;
  47415. end;
  47416. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  47417. begin
  47418. if thebits = 0 then
  47419. pTDefRegMap(@Self)^.clr := $00000010
  47420. else
  47421. pTDefRegMap(@Self)^.&set := $00000010;
  47422. end;
  47423. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  47424. begin
  47425. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47426. end;
  47427. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  47428. begin
  47429. pTDefRegMap(@Self)^.&set := $00000020;
  47430. end;
  47431. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  47432. begin
  47433. pTDefRegMap(@Self)^.clr := $00000020;
  47434. end;
  47435. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  47436. begin
  47437. if thebits = 0 then
  47438. pTDefRegMap(@Self)^.clr := $00000020
  47439. else
  47440. pTDefRegMap(@Self)^.&set := $00000020;
  47441. end;
  47442. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  47443. begin
  47444. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47445. end;
  47446. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  47447. begin
  47448. pTDefRegMap(@Self)^.&set := $00000040;
  47449. end;
  47450. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  47451. begin
  47452. pTDefRegMap(@Self)^.clr := $00000040;
  47453. end;
  47454. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  47455. begin
  47456. if thebits = 0 then
  47457. pTDefRegMap(@Self)^.clr := $00000040
  47458. else
  47459. pTDefRegMap(@Self)^.&set := $00000040;
  47460. end;
  47461. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  47462. begin
  47463. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47464. end;
  47465. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  47466. begin
  47467. pTDefRegMap(@Self)^.&set := $00000080;
  47468. end;
  47469. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  47470. begin
  47471. pTDefRegMap(@Self)^.clr := $00000080;
  47472. end;
  47473. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  47474. begin
  47475. if thebits = 0 then
  47476. pTDefRegMap(@Self)^.clr := $00000080
  47477. else
  47478. pTDefRegMap(@Self)^.&set := $00000080;
  47479. end;
  47480. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  47481. begin
  47482. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47483. end;
  47484. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  47485. begin
  47486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  47487. end;
  47488. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  47489. begin
  47490. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  47491. end;
  47492. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  47493. begin
  47494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  47495. end;
  47496. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  47497. begin
  47498. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  47499. end;
  47500. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  47501. begin
  47502. pTDefRegMap(@Self)^.val := thebits;
  47503. end;
  47504. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  47505. begin
  47506. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47507. end;
  47508. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  47509. begin
  47510. pTDefRegMap(@Self)^.&set := $00000001;
  47511. end;
  47512. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  47513. begin
  47514. pTDefRegMap(@Self)^.clr := $00000001;
  47515. end;
  47516. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  47517. begin
  47518. if thebits = 0 then
  47519. pTDefRegMap(@Self)^.clr := $00000001
  47520. else
  47521. pTDefRegMap(@Self)^.&set := $00000001;
  47522. end;
  47523. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  47524. begin
  47525. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47526. end;
  47527. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  47528. begin
  47529. pTDefRegMap(@Self)^.&set := $00000002;
  47530. end;
  47531. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  47532. begin
  47533. pTDefRegMap(@Self)^.clr := $00000002;
  47534. end;
  47535. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  47536. begin
  47537. if thebits = 0 then
  47538. pTDefRegMap(@Self)^.clr := $00000002
  47539. else
  47540. pTDefRegMap(@Self)^.&set := $00000002;
  47541. end;
  47542. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  47543. begin
  47544. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47545. end;
  47546. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  47547. begin
  47548. pTDefRegMap(@Self)^.&set := $00000004;
  47549. end;
  47550. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  47551. begin
  47552. pTDefRegMap(@Self)^.clr := $00000004;
  47553. end;
  47554. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  47555. begin
  47556. if thebits = 0 then
  47557. pTDefRegMap(@Self)^.clr := $00000004
  47558. else
  47559. pTDefRegMap(@Self)^.&set := $00000004;
  47560. end;
  47561. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  47562. begin
  47563. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47564. end;
  47565. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  47566. begin
  47567. pTDefRegMap(@Self)^.&set := $00000008;
  47568. end;
  47569. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  47570. begin
  47571. pTDefRegMap(@Self)^.clr := $00000008;
  47572. end;
  47573. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  47574. begin
  47575. if thebits = 0 then
  47576. pTDefRegMap(@Self)^.clr := $00000008
  47577. else
  47578. pTDefRegMap(@Self)^.&set := $00000008;
  47579. end;
  47580. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  47581. begin
  47582. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47583. end;
  47584. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  47585. begin
  47586. pTDefRegMap(@Self)^.&set := $00000010;
  47587. end;
  47588. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  47589. begin
  47590. pTDefRegMap(@Self)^.clr := $00000010;
  47591. end;
  47592. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  47593. begin
  47594. if thebits = 0 then
  47595. pTDefRegMap(@Self)^.clr := $00000010
  47596. else
  47597. pTDefRegMap(@Self)^.&set := $00000010;
  47598. end;
  47599. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  47600. begin
  47601. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  47602. end;
  47603. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  47604. begin
  47605. pTDefRegMap(@Self)^.&set := $00000020;
  47606. end;
  47607. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  47608. begin
  47609. pTDefRegMap(@Self)^.clr := $00000020;
  47610. end;
  47611. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  47612. begin
  47613. if thebits = 0 then
  47614. pTDefRegMap(@Self)^.clr := $00000020
  47615. else
  47616. pTDefRegMap(@Self)^.&set := $00000020;
  47617. end;
  47618. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  47619. begin
  47620. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  47621. end;
  47622. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  47623. begin
  47624. pTDefRegMap(@Self)^.&set := $00000040;
  47625. end;
  47626. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  47627. begin
  47628. pTDefRegMap(@Self)^.clr := $00000040;
  47629. end;
  47630. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  47631. begin
  47632. if thebits = 0 then
  47633. pTDefRegMap(@Self)^.clr := $00000040
  47634. else
  47635. pTDefRegMap(@Self)^.&set := $00000040;
  47636. end;
  47637. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  47638. begin
  47639. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47640. end;
  47641. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  47642. begin
  47643. pTDefRegMap(@Self)^.&set := $00000080;
  47644. end;
  47645. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  47646. begin
  47647. pTDefRegMap(@Self)^.clr := $00000080;
  47648. end;
  47649. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  47650. begin
  47651. if thebits = 0 then
  47652. pTDefRegMap(@Self)^.clr := $00000080
  47653. else
  47654. pTDefRegMap(@Self)^.&set := $00000080;
  47655. end;
  47656. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  47657. begin
  47658. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  47659. end;
  47660. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  47661. begin
  47662. pTDefRegMap(@Self)^.&set := $00010000;
  47663. end;
  47664. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  47665. begin
  47666. pTDefRegMap(@Self)^.clr := $00010000;
  47667. end;
  47668. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  47669. begin
  47670. if thebits = 0 then
  47671. pTDefRegMap(@Self)^.clr := $00010000
  47672. else
  47673. pTDefRegMap(@Self)^.&set := $00010000;
  47674. end;
  47675. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  47676. begin
  47677. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  47678. end;
  47679. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  47680. begin
  47681. pTDefRegMap(@Self)^.&set := $00020000;
  47682. end;
  47683. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  47684. begin
  47685. pTDefRegMap(@Self)^.clr := $00020000;
  47686. end;
  47687. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  47688. begin
  47689. if thebits = 0 then
  47690. pTDefRegMap(@Self)^.clr := $00020000
  47691. else
  47692. pTDefRegMap(@Self)^.&set := $00020000;
  47693. end;
  47694. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  47695. begin
  47696. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  47697. end;
  47698. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  47699. begin
  47700. pTDefRegMap(@Self)^.&set := $00040000;
  47701. end;
  47702. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  47703. begin
  47704. pTDefRegMap(@Self)^.clr := $00040000;
  47705. end;
  47706. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  47707. begin
  47708. if thebits = 0 then
  47709. pTDefRegMap(@Self)^.clr := $00040000
  47710. else
  47711. pTDefRegMap(@Self)^.&set := $00040000;
  47712. end;
  47713. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  47714. begin
  47715. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  47716. end;
  47717. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  47718. begin
  47719. pTDefRegMap(@Self)^.&set := $00080000;
  47720. end;
  47721. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  47722. begin
  47723. pTDefRegMap(@Self)^.clr := $00080000;
  47724. end;
  47725. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  47726. begin
  47727. if thebits = 0 then
  47728. pTDefRegMap(@Self)^.clr := $00080000
  47729. else
  47730. pTDefRegMap(@Self)^.&set := $00080000;
  47731. end;
  47732. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  47733. begin
  47734. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  47735. end;
  47736. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  47737. begin
  47738. pTDefRegMap(@Self)^.&set := $00100000;
  47739. end;
  47740. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  47741. begin
  47742. pTDefRegMap(@Self)^.clr := $00100000;
  47743. end;
  47744. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  47745. begin
  47746. if thebits = 0 then
  47747. pTDefRegMap(@Self)^.clr := $00100000
  47748. else
  47749. pTDefRegMap(@Self)^.&set := $00100000;
  47750. end;
  47751. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  47752. begin
  47753. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  47754. end;
  47755. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  47756. begin
  47757. pTDefRegMap(@Self)^.&set := $00200000;
  47758. end;
  47759. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  47760. begin
  47761. pTDefRegMap(@Self)^.clr := $00200000;
  47762. end;
  47763. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  47764. begin
  47765. if thebits = 0 then
  47766. pTDefRegMap(@Self)^.clr := $00200000
  47767. else
  47768. pTDefRegMap(@Self)^.&set := $00200000;
  47769. end;
  47770. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  47771. begin
  47772. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  47773. end;
  47774. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  47775. begin
  47776. pTDefRegMap(@Self)^.&set := $00400000;
  47777. end;
  47778. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  47779. begin
  47780. pTDefRegMap(@Self)^.clr := $00400000;
  47781. end;
  47782. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  47783. begin
  47784. if thebits = 0 then
  47785. pTDefRegMap(@Self)^.clr := $00400000
  47786. else
  47787. pTDefRegMap(@Self)^.&set := $00400000;
  47788. end;
  47789. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  47790. begin
  47791. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  47792. end;
  47793. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  47794. begin
  47795. pTDefRegMap(@Self)^.&set := $00800000;
  47796. end;
  47797. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  47798. begin
  47799. pTDefRegMap(@Self)^.clr := $00800000;
  47800. end;
  47801. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  47802. begin
  47803. if thebits = 0 then
  47804. pTDefRegMap(@Self)^.clr := $00800000
  47805. else
  47806. pTDefRegMap(@Self)^.&set := $00800000;
  47807. end;
  47808. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  47809. begin
  47810. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  47811. end;
  47812. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  47813. begin
  47814. pTDefRegMap(@Self)^.val := thebits;
  47815. end;
  47816. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  47817. begin
  47818. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47819. end;
  47820. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  47821. begin
  47822. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  47823. end;
  47824. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  47825. begin
  47826. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  47827. end;
  47828. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  47829. begin
  47830. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  47831. end;
  47832. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  47833. begin
  47834. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  47835. end;
  47836. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  47837. begin
  47838. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47839. end;
  47840. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  47841. begin
  47842. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47843. end;
  47844. procedure TPCACHE_CHECON.setCHECOH; inline;
  47845. begin
  47846. pTDefRegMap(@Self)^.&set := $00010000;
  47847. end;
  47848. procedure TPCACHE_CHECON.clearCHECOH; inline;
  47849. begin
  47850. pTDefRegMap(@Self)^.clr := $00010000;
  47851. end;
  47852. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  47853. begin
  47854. if thebits = 0 then
  47855. pTDefRegMap(@Self)^.clr := $00010000
  47856. else
  47857. pTDefRegMap(@Self)^.&set := $00010000;
  47858. end;
  47859. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  47860. begin
  47861. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  47862. end;
  47863. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  47864. begin
  47865. pTDefRegMap(@Self)^.val := thebits;
  47866. end;
  47867. function TPCACHE_CHECON.getw : TBits_32; inline;
  47868. begin
  47869. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47870. end;
  47871. procedure TPCACHE_CHETAG.setLTYPE; inline;
  47872. begin
  47873. pTDefRegMap(@Self)^.&set := $00000002;
  47874. end;
  47875. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  47876. begin
  47877. pTDefRegMap(@Self)^.clr := $00000002;
  47878. end;
  47879. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  47880. begin
  47881. if thebits = 0 then
  47882. pTDefRegMap(@Self)^.clr := $00000002
  47883. else
  47884. pTDefRegMap(@Self)^.&set := $00000002;
  47885. end;
  47886. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  47887. begin
  47888. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  47889. end;
  47890. procedure TPCACHE_CHETAG.setLLOCK; inline;
  47891. begin
  47892. pTDefRegMap(@Self)^.&set := $00000004;
  47893. end;
  47894. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  47895. begin
  47896. pTDefRegMap(@Self)^.clr := $00000004;
  47897. end;
  47898. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  47899. begin
  47900. if thebits = 0 then
  47901. pTDefRegMap(@Self)^.clr := $00000004
  47902. else
  47903. pTDefRegMap(@Self)^.&set := $00000004;
  47904. end;
  47905. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  47906. begin
  47907. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  47908. end;
  47909. procedure TPCACHE_CHETAG.setLVALID; inline;
  47910. begin
  47911. pTDefRegMap(@Self)^.&set := $00000008;
  47912. end;
  47913. procedure TPCACHE_CHETAG.clearLVALID; inline;
  47914. begin
  47915. pTDefRegMap(@Self)^.clr := $00000008;
  47916. end;
  47917. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  47918. begin
  47919. if thebits = 0 then
  47920. pTDefRegMap(@Self)^.clr := $00000008
  47921. else
  47922. pTDefRegMap(@Self)^.&set := $00000008;
  47923. end;
  47924. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  47925. begin
  47926. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  47927. end;
  47928. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  47929. begin
  47930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  47931. end;
  47932. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  47933. begin
  47934. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  47935. end;
  47936. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  47937. begin
  47938. pTDefRegMap(@Self)^.&set := $80000000;
  47939. end;
  47940. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  47941. begin
  47942. pTDefRegMap(@Self)^.clr := $80000000;
  47943. end;
  47944. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  47945. begin
  47946. if thebits = 0 then
  47947. pTDefRegMap(@Self)^.clr := $80000000
  47948. else
  47949. pTDefRegMap(@Self)^.&set := $80000000;
  47950. end;
  47951. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  47952. begin
  47953. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  47954. end;
  47955. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  47956. begin
  47957. pTDefRegMap(@Self)^.val := thebits;
  47958. end;
  47959. function TPCACHE_CHETAG.getw : TBits_32; inline;
  47960. begin
  47961. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47962. end;
  47963. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  47964. begin
  47965. pTDefRegMap(@Self)^.&set := $00000001;
  47966. end;
  47967. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  47968. begin
  47969. pTDefRegMap(@Self)^.clr := $00000001;
  47970. end;
  47971. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  47972. begin
  47973. if thebits = 0 then
  47974. pTDefRegMap(@Self)^.clr := $00000001
  47975. else
  47976. pTDefRegMap(@Self)^.&set := $00000001;
  47977. end;
  47978. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  47979. begin
  47980. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  47981. end;
  47982. procedure TUSB_U1IR.setUERRIF; inline;
  47983. begin
  47984. pTDefRegMap(@Self)^.&set := $00000002;
  47985. end;
  47986. procedure TUSB_U1IR.clearUERRIF; inline;
  47987. begin
  47988. pTDefRegMap(@Self)^.clr := $00000002;
  47989. end;
  47990. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  47991. begin
  47992. if thebits = 0 then
  47993. pTDefRegMap(@Self)^.clr := $00000002
  47994. else
  47995. pTDefRegMap(@Self)^.&set := $00000002;
  47996. end;
  47997. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  47998. begin
  47999. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48000. end;
  48001. procedure TUSB_U1IR.setSOFIF; inline;
  48002. begin
  48003. pTDefRegMap(@Self)^.&set := $00000004;
  48004. end;
  48005. procedure TUSB_U1IR.clearSOFIF; inline;
  48006. begin
  48007. pTDefRegMap(@Self)^.clr := $00000004;
  48008. end;
  48009. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  48010. begin
  48011. if thebits = 0 then
  48012. pTDefRegMap(@Self)^.clr := $00000004
  48013. else
  48014. pTDefRegMap(@Self)^.&set := $00000004;
  48015. end;
  48016. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  48017. begin
  48018. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48019. end;
  48020. procedure TUSB_U1IR.setTRNIF; inline;
  48021. begin
  48022. pTDefRegMap(@Self)^.&set := $00000008;
  48023. end;
  48024. procedure TUSB_U1IR.clearTRNIF; inline;
  48025. begin
  48026. pTDefRegMap(@Self)^.clr := $00000008;
  48027. end;
  48028. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  48029. begin
  48030. if thebits = 0 then
  48031. pTDefRegMap(@Self)^.clr := $00000008
  48032. else
  48033. pTDefRegMap(@Self)^.&set := $00000008;
  48034. end;
  48035. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  48036. begin
  48037. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48038. end;
  48039. procedure TUSB_U1IR.setIDLEIF; inline;
  48040. begin
  48041. pTDefRegMap(@Self)^.&set := $00000010;
  48042. end;
  48043. procedure TUSB_U1IR.clearIDLEIF; inline;
  48044. begin
  48045. pTDefRegMap(@Self)^.clr := $00000010;
  48046. end;
  48047. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  48048. begin
  48049. if thebits = 0 then
  48050. pTDefRegMap(@Self)^.clr := $00000010
  48051. else
  48052. pTDefRegMap(@Self)^.&set := $00000010;
  48053. end;
  48054. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  48055. begin
  48056. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48057. end;
  48058. procedure TUSB_U1IR.setRESUMEIF; inline;
  48059. begin
  48060. pTDefRegMap(@Self)^.&set := $00000020;
  48061. end;
  48062. procedure TUSB_U1IR.clearRESUMEIF; inline;
  48063. begin
  48064. pTDefRegMap(@Self)^.clr := $00000020;
  48065. end;
  48066. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  48067. begin
  48068. if thebits = 0 then
  48069. pTDefRegMap(@Self)^.clr := $00000020
  48070. else
  48071. pTDefRegMap(@Self)^.&set := $00000020;
  48072. end;
  48073. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  48074. begin
  48075. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48076. end;
  48077. procedure TUSB_U1IR.setATTACHIF; inline;
  48078. begin
  48079. pTDefRegMap(@Self)^.&set := $00000040;
  48080. end;
  48081. procedure TUSB_U1IR.clearATTACHIF; inline;
  48082. begin
  48083. pTDefRegMap(@Self)^.clr := $00000040;
  48084. end;
  48085. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  48086. begin
  48087. if thebits = 0 then
  48088. pTDefRegMap(@Self)^.clr := $00000040
  48089. else
  48090. pTDefRegMap(@Self)^.&set := $00000040;
  48091. end;
  48092. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  48093. begin
  48094. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48095. end;
  48096. procedure TUSB_U1IR.setSTALLIF; inline;
  48097. begin
  48098. pTDefRegMap(@Self)^.&set := $00000080;
  48099. end;
  48100. procedure TUSB_U1IR.clearSTALLIF; inline;
  48101. begin
  48102. pTDefRegMap(@Self)^.clr := $00000080;
  48103. end;
  48104. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  48105. begin
  48106. if thebits = 0 then
  48107. pTDefRegMap(@Self)^.clr := $00000080
  48108. else
  48109. pTDefRegMap(@Self)^.&set := $00000080;
  48110. end;
  48111. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  48112. begin
  48113. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48114. end;
  48115. procedure TUSB_U1IR.setDETACHIF; inline;
  48116. begin
  48117. pTDefRegMap(@Self)^.&set := $00000001;
  48118. end;
  48119. procedure TUSB_U1IR.clearDETACHIF; inline;
  48120. begin
  48121. pTDefRegMap(@Self)^.clr := $00000001;
  48122. end;
  48123. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  48124. begin
  48125. if thebits = 0 then
  48126. pTDefRegMap(@Self)^.clr := $00000001
  48127. else
  48128. pTDefRegMap(@Self)^.&set := $00000001;
  48129. end;
  48130. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  48131. begin
  48132. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48133. end;
  48134. procedure TUSB_U1IR.setURSTIF; inline;
  48135. begin
  48136. pTDefRegMap(@Self)^.&set := $00000001;
  48137. end;
  48138. procedure TUSB_U1IR.clearURSTIF; inline;
  48139. begin
  48140. pTDefRegMap(@Self)^.clr := $00000001;
  48141. end;
  48142. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  48143. begin
  48144. if thebits = 0 then
  48145. pTDefRegMap(@Self)^.clr := $00000001
  48146. else
  48147. pTDefRegMap(@Self)^.&set := $00000001;
  48148. end;
  48149. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  48150. begin
  48151. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48152. end;
  48153. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  48154. begin
  48155. pTDefRegMap(@Self)^.&set := $00000001;
  48156. end;
  48157. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  48158. begin
  48159. pTDefRegMap(@Self)^.clr := $00000001;
  48160. end;
  48161. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  48162. begin
  48163. if thebits = 0 then
  48164. pTDefRegMap(@Self)^.clr := $00000001
  48165. else
  48166. pTDefRegMap(@Self)^.&set := $00000001;
  48167. end;
  48168. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  48169. begin
  48170. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48171. end;
  48172. procedure TUSB_U1IE.setUERRIE; inline;
  48173. begin
  48174. pTDefRegMap(@Self)^.&set := $00000002;
  48175. end;
  48176. procedure TUSB_U1IE.clearUERRIE; inline;
  48177. begin
  48178. pTDefRegMap(@Self)^.clr := $00000002;
  48179. end;
  48180. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  48181. begin
  48182. if thebits = 0 then
  48183. pTDefRegMap(@Self)^.clr := $00000002
  48184. else
  48185. pTDefRegMap(@Self)^.&set := $00000002;
  48186. end;
  48187. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  48188. begin
  48189. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48190. end;
  48191. procedure TUSB_U1IE.setSOFIE; inline;
  48192. begin
  48193. pTDefRegMap(@Self)^.&set := $00000004;
  48194. end;
  48195. procedure TUSB_U1IE.clearSOFIE; inline;
  48196. begin
  48197. pTDefRegMap(@Self)^.clr := $00000004;
  48198. end;
  48199. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  48200. begin
  48201. if thebits = 0 then
  48202. pTDefRegMap(@Self)^.clr := $00000004
  48203. else
  48204. pTDefRegMap(@Self)^.&set := $00000004;
  48205. end;
  48206. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  48207. begin
  48208. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48209. end;
  48210. procedure TUSB_U1IE.setTRNIE; inline;
  48211. begin
  48212. pTDefRegMap(@Self)^.&set := $00000008;
  48213. end;
  48214. procedure TUSB_U1IE.clearTRNIE; inline;
  48215. begin
  48216. pTDefRegMap(@Self)^.clr := $00000008;
  48217. end;
  48218. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  48219. begin
  48220. if thebits = 0 then
  48221. pTDefRegMap(@Self)^.clr := $00000008
  48222. else
  48223. pTDefRegMap(@Self)^.&set := $00000008;
  48224. end;
  48225. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  48226. begin
  48227. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48228. end;
  48229. procedure TUSB_U1IE.setIDLEIE; inline;
  48230. begin
  48231. pTDefRegMap(@Self)^.&set := $00000010;
  48232. end;
  48233. procedure TUSB_U1IE.clearIDLEIE; inline;
  48234. begin
  48235. pTDefRegMap(@Self)^.clr := $00000010;
  48236. end;
  48237. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  48238. begin
  48239. if thebits = 0 then
  48240. pTDefRegMap(@Self)^.clr := $00000010
  48241. else
  48242. pTDefRegMap(@Self)^.&set := $00000010;
  48243. end;
  48244. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  48245. begin
  48246. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48247. end;
  48248. procedure TUSB_U1IE.setRESUMEIE; inline;
  48249. begin
  48250. pTDefRegMap(@Self)^.&set := $00000020;
  48251. end;
  48252. procedure TUSB_U1IE.clearRESUMEIE; inline;
  48253. begin
  48254. pTDefRegMap(@Self)^.clr := $00000020;
  48255. end;
  48256. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  48257. begin
  48258. if thebits = 0 then
  48259. pTDefRegMap(@Self)^.clr := $00000020
  48260. else
  48261. pTDefRegMap(@Self)^.&set := $00000020;
  48262. end;
  48263. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  48264. begin
  48265. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48266. end;
  48267. procedure TUSB_U1IE.setATTACHIE; inline;
  48268. begin
  48269. pTDefRegMap(@Self)^.&set := $00000040;
  48270. end;
  48271. procedure TUSB_U1IE.clearATTACHIE; inline;
  48272. begin
  48273. pTDefRegMap(@Self)^.clr := $00000040;
  48274. end;
  48275. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  48276. begin
  48277. if thebits = 0 then
  48278. pTDefRegMap(@Self)^.clr := $00000040
  48279. else
  48280. pTDefRegMap(@Self)^.&set := $00000040;
  48281. end;
  48282. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  48283. begin
  48284. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48285. end;
  48286. procedure TUSB_U1IE.setSTALLIE; inline;
  48287. begin
  48288. pTDefRegMap(@Self)^.&set := $00000080;
  48289. end;
  48290. procedure TUSB_U1IE.clearSTALLIE; inline;
  48291. begin
  48292. pTDefRegMap(@Self)^.clr := $00000080;
  48293. end;
  48294. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  48295. begin
  48296. if thebits = 0 then
  48297. pTDefRegMap(@Self)^.clr := $00000080
  48298. else
  48299. pTDefRegMap(@Self)^.&set := $00000080;
  48300. end;
  48301. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  48302. begin
  48303. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48304. end;
  48305. procedure TUSB_U1IE.setDETACHIE; inline;
  48306. begin
  48307. pTDefRegMap(@Self)^.&set := $00000001;
  48308. end;
  48309. procedure TUSB_U1IE.clearDETACHIE; inline;
  48310. begin
  48311. pTDefRegMap(@Self)^.clr := $00000001;
  48312. end;
  48313. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  48314. begin
  48315. if thebits = 0 then
  48316. pTDefRegMap(@Self)^.clr := $00000001
  48317. else
  48318. pTDefRegMap(@Self)^.&set := $00000001;
  48319. end;
  48320. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  48321. begin
  48322. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48323. end;
  48324. procedure TUSB_U1IE.setURSTIE; inline;
  48325. begin
  48326. pTDefRegMap(@Self)^.&set := $00000001;
  48327. end;
  48328. procedure TUSB_U1IE.clearURSTIE; inline;
  48329. begin
  48330. pTDefRegMap(@Self)^.clr := $00000001;
  48331. end;
  48332. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  48333. begin
  48334. if thebits = 0 then
  48335. pTDefRegMap(@Self)^.clr := $00000001
  48336. else
  48337. pTDefRegMap(@Self)^.&set := $00000001;
  48338. end;
  48339. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  48340. begin
  48341. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48342. end;
  48343. procedure TUSB_U1EIR.setPIDEF; inline;
  48344. begin
  48345. pTDefRegMap(@Self)^.&set := $00000001;
  48346. end;
  48347. procedure TUSB_U1EIR.clearPIDEF; inline;
  48348. begin
  48349. pTDefRegMap(@Self)^.clr := $00000001;
  48350. end;
  48351. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  48352. begin
  48353. if thebits = 0 then
  48354. pTDefRegMap(@Self)^.clr := $00000001
  48355. else
  48356. pTDefRegMap(@Self)^.&set := $00000001;
  48357. end;
  48358. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  48359. begin
  48360. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48361. end;
  48362. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  48363. begin
  48364. pTDefRegMap(@Self)^.&set := $00000002;
  48365. end;
  48366. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  48367. begin
  48368. pTDefRegMap(@Self)^.clr := $00000002;
  48369. end;
  48370. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  48371. begin
  48372. if thebits = 0 then
  48373. pTDefRegMap(@Self)^.clr := $00000002
  48374. else
  48375. pTDefRegMap(@Self)^.&set := $00000002;
  48376. end;
  48377. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  48378. begin
  48379. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48380. end;
  48381. procedure TUSB_U1EIR.setCRC16EF; inline;
  48382. begin
  48383. pTDefRegMap(@Self)^.&set := $00000004;
  48384. end;
  48385. procedure TUSB_U1EIR.clearCRC16EF; inline;
  48386. begin
  48387. pTDefRegMap(@Self)^.clr := $00000004;
  48388. end;
  48389. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  48390. begin
  48391. if thebits = 0 then
  48392. pTDefRegMap(@Self)^.clr := $00000004
  48393. else
  48394. pTDefRegMap(@Self)^.&set := $00000004;
  48395. end;
  48396. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  48397. begin
  48398. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48399. end;
  48400. procedure TUSB_U1EIR.setDFN8EF; inline;
  48401. begin
  48402. pTDefRegMap(@Self)^.&set := $00000008;
  48403. end;
  48404. procedure TUSB_U1EIR.clearDFN8EF; inline;
  48405. begin
  48406. pTDefRegMap(@Self)^.clr := $00000008;
  48407. end;
  48408. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  48409. begin
  48410. if thebits = 0 then
  48411. pTDefRegMap(@Self)^.clr := $00000008
  48412. else
  48413. pTDefRegMap(@Self)^.&set := $00000008;
  48414. end;
  48415. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  48416. begin
  48417. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48418. end;
  48419. procedure TUSB_U1EIR.setBTOEF; inline;
  48420. begin
  48421. pTDefRegMap(@Self)^.&set := $00000010;
  48422. end;
  48423. procedure TUSB_U1EIR.clearBTOEF; inline;
  48424. begin
  48425. pTDefRegMap(@Self)^.clr := $00000010;
  48426. end;
  48427. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  48428. begin
  48429. if thebits = 0 then
  48430. pTDefRegMap(@Self)^.clr := $00000010
  48431. else
  48432. pTDefRegMap(@Self)^.&set := $00000010;
  48433. end;
  48434. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  48435. begin
  48436. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48437. end;
  48438. procedure TUSB_U1EIR.setDMAEF; inline;
  48439. begin
  48440. pTDefRegMap(@Self)^.&set := $00000020;
  48441. end;
  48442. procedure TUSB_U1EIR.clearDMAEF; inline;
  48443. begin
  48444. pTDefRegMap(@Self)^.clr := $00000020;
  48445. end;
  48446. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  48447. begin
  48448. if thebits = 0 then
  48449. pTDefRegMap(@Self)^.clr := $00000020
  48450. else
  48451. pTDefRegMap(@Self)^.&set := $00000020;
  48452. end;
  48453. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  48454. begin
  48455. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48456. end;
  48457. procedure TUSB_U1EIR.setBMXEF; inline;
  48458. begin
  48459. pTDefRegMap(@Self)^.&set := $00000040;
  48460. end;
  48461. procedure TUSB_U1EIR.clearBMXEF; inline;
  48462. begin
  48463. pTDefRegMap(@Self)^.clr := $00000040;
  48464. end;
  48465. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  48466. begin
  48467. if thebits = 0 then
  48468. pTDefRegMap(@Self)^.clr := $00000040
  48469. else
  48470. pTDefRegMap(@Self)^.&set := $00000040;
  48471. end;
  48472. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  48473. begin
  48474. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48475. end;
  48476. procedure TUSB_U1EIR.setBTSEF; inline;
  48477. begin
  48478. pTDefRegMap(@Self)^.&set := $00000080;
  48479. end;
  48480. procedure TUSB_U1EIR.clearBTSEF; inline;
  48481. begin
  48482. pTDefRegMap(@Self)^.clr := $00000080;
  48483. end;
  48484. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  48485. begin
  48486. if thebits = 0 then
  48487. pTDefRegMap(@Self)^.clr := $00000080
  48488. else
  48489. pTDefRegMap(@Self)^.&set := $00000080;
  48490. end;
  48491. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  48492. begin
  48493. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48494. end;
  48495. procedure TUSB_U1EIR.setCRC5EF; inline;
  48496. begin
  48497. pTDefRegMap(@Self)^.&set := $00000002;
  48498. end;
  48499. procedure TUSB_U1EIR.clearCRC5EF; inline;
  48500. begin
  48501. pTDefRegMap(@Self)^.clr := $00000002;
  48502. end;
  48503. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  48504. begin
  48505. if thebits = 0 then
  48506. pTDefRegMap(@Self)^.clr := $00000002
  48507. else
  48508. pTDefRegMap(@Self)^.&set := $00000002;
  48509. end;
  48510. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  48511. begin
  48512. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48513. end;
  48514. procedure TUSB_U1EIR.setEOFEF; inline;
  48515. begin
  48516. pTDefRegMap(@Self)^.&set := $00000002;
  48517. end;
  48518. procedure TUSB_U1EIR.clearEOFEF; inline;
  48519. begin
  48520. pTDefRegMap(@Self)^.clr := $00000002;
  48521. end;
  48522. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  48523. begin
  48524. if thebits = 0 then
  48525. pTDefRegMap(@Self)^.clr := $00000002
  48526. else
  48527. pTDefRegMap(@Self)^.&set := $00000002;
  48528. end;
  48529. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  48530. begin
  48531. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48532. end;
  48533. procedure TUSB_U1EIE.setPIDEE; inline;
  48534. begin
  48535. pTDefRegMap(@Self)^.&set := $00000001;
  48536. end;
  48537. procedure TUSB_U1EIE.clearPIDEE; inline;
  48538. begin
  48539. pTDefRegMap(@Self)^.clr := $00000001;
  48540. end;
  48541. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  48542. begin
  48543. if thebits = 0 then
  48544. pTDefRegMap(@Self)^.clr := $00000001
  48545. else
  48546. pTDefRegMap(@Self)^.&set := $00000001;
  48547. end;
  48548. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  48549. begin
  48550. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48551. end;
  48552. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  48553. begin
  48554. pTDefRegMap(@Self)^.&set := $00000002;
  48555. end;
  48556. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  48557. begin
  48558. pTDefRegMap(@Self)^.clr := $00000002;
  48559. end;
  48560. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  48561. begin
  48562. if thebits = 0 then
  48563. pTDefRegMap(@Self)^.clr := $00000002
  48564. else
  48565. pTDefRegMap(@Self)^.&set := $00000002;
  48566. end;
  48567. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  48568. begin
  48569. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48570. end;
  48571. procedure TUSB_U1EIE.setCRC16EE; inline;
  48572. begin
  48573. pTDefRegMap(@Self)^.&set := $00000004;
  48574. end;
  48575. procedure TUSB_U1EIE.clearCRC16EE; inline;
  48576. begin
  48577. pTDefRegMap(@Self)^.clr := $00000004;
  48578. end;
  48579. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  48580. begin
  48581. if thebits = 0 then
  48582. pTDefRegMap(@Self)^.clr := $00000004
  48583. else
  48584. pTDefRegMap(@Self)^.&set := $00000004;
  48585. end;
  48586. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  48587. begin
  48588. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48589. end;
  48590. procedure TUSB_U1EIE.setDFN8EE; inline;
  48591. begin
  48592. pTDefRegMap(@Self)^.&set := $00000008;
  48593. end;
  48594. procedure TUSB_U1EIE.clearDFN8EE; inline;
  48595. begin
  48596. pTDefRegMap(@Self)^.clr := $00000008;
  48597. end;
  48598. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  48599. begin
  48600. if thebits = 0 then
  48601. pTDefRegMap(@Self)^.clr := $00000008
  48602. else
  48603. pTDefRegMap(@Self)^.&set := $00000008;
  48604. end;
  48605. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  48606. begin
  48607. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48608. end;
  48609. procedure TUSB_U1EIE.setBTOEE; inline;
  48610. begin
  48611. pTDefRegMap(@Self)^.&set := $00000010;
  48612. end;
  48613. procedure TUSB_U1EIE.clearBTOEE; inline;
  48614. begin
  48615. pTDefRegMap(@Self)^.clr := $00000010;
  48616. end;
  48617. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  48618. begin
  48619. if thebits = 0 then
  48620. pTDefRegMap(@Self)^.clr := $00000010
  48621. else
  48622. pTDefRegMap(@Self)^.&set := $00000010;
  48623. end;
  48624. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  48625. begin
  48626. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48627. end;
  48628. procedure TUSB_U1EIE.setDMAEE; inline;
  48629. begin
  48630. pTDefRegMap(@Self)^.&set := $00000020;
  48631. end;
  48632. procedure TUSB_U1EIE.clearDMAEE; inline;
  48633. begin
  48634. pTDefRegMap(@Self)^.clr := $00000020;
  48635. end;
  48636. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  48637. begin
  48638. if thebits = 0 then
  48639. pTDefRegMap(@Self)^.clr := $00000020
  48640. else
  48641. pTDefRegMap(@Self)^.&set := $00000020;
  48642. end;
  48643. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  48644. begin
  48645. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48646. end;
  48647. procedure TUSB_U1EIE.setBMXEE; inline;
  48648. begin
  48649. pTDefRegMap(@Self)^.&set := $00000040;
  48650. end;
  48651. procedure TUSB_U1EIE.clearBMXEE; inline;
  48652. begin
  48653. pTDefRegMap(@Self)^.clr := $00000040;
  48654. end;
  48655. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  48656. begin
  48657. if thebits = 0 then
  48658. pTDefRegMap(@Self)^.clr := $00000040
  48659. else
  48660. pTDefRegMap(@Self)^.&set := $00000040;
  48661. end;
  48662. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  48663. begin
  48664. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48665. end;
  48666. procedure TUSB_U1EIE.setBTSEE; inline;
  48667. begin
  48668. pTDefRegMap(@Self)^.&set := $00000080;
  48669. end;
  48670. procedure TUSB_U1EIE.clearBTSEE; inline;
  48671. begin
  48672. pTDefRegMap(@Self)^.clr := $00000080;
  48673. end;
  48674. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  48675. begin
  48676. if thebits = 0 then
  48677. pTDefRegMap(@Self)^.clr := $00000080
  48678. else
  48679. pTDefRegMap(@Self)^.&set := $00000080;
  48680. end;
  48681. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  48682. begin
  48683. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48684. end;
  48685. procedure TUSB_U1EIE.setCRC5EE; inline;
  48686. begin
  48687. pTDefRegMap(@Self)^.&set := $00000002;
  48688. end;
  48689. procedure TUSB_U1EIE.clearCRC5EE; inline;
  48690. begin
  48691. pTDefRegMap(@Self)^.clr := $00000002;
  48692. end;
  48693. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  48694. begin
  48695. if thebits = 0 then
  48696. pTDefRegMap(@Self)^.clr := $00000002
  48697. else
  48698. pTDefRegMap(@Self)^.&set := $00000002;
  48699. end;
  48700. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  48701. begin
  48702. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48703. end;
  48704. procedure TUSB_U1EIE.setEOFEE; inline;
  48705. begin
  48706. pTDefRegMap(@Self)^.&set := $00000002;
  48707. end;
  48708. procedure TUSB_U1EIE.clearEOFEE; inline;
  48709. begin
  48710. pTDefRegMap(@Self)^.clr := $00000002;
  48711. end;
  48712. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  48713. begin
  48714. if thebits = 0 then
  48715. pTDefRegMap(@Self)^.clr := $00000002
  48716. else
  48717. pTDefRegMap(@Self)^.&set := $00000002;
  48718. end;
  48719. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  48720. begin
  48721. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48722. end;
  48723. procedure TUSB_U1STAT.setPPBI; inline;
  48724. begin
  48725. pTDefRegMap(@Self)^.&set := $00000004;
  48726. end;
  48727. procedure TUSB_U1STAT.clearPPBI; inline;
  48728. begin
  48729. pTDefRegMap(@Self)^.clr := $00000004;
  48730. end;
  48731. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  48732. begin
  48733. if thebits = 0 then
  48734. pTDefRegMap(@Self)^.clr := $00000004
  48735. else
  48736. pTDefRegMap(@Self)^.&set := $00000004;
  48737. end;
  48738. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  48739. begin
  48740. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48741. end;
  48742. procedure TUSB_U1STAT.setDIR; inline;
  48743. begin
  48744. pTDefRegMap(@Self)^.&set := $00000008;
  48745. end;
  48746. procedure TUSB_U1STAT.clearDIR; inline;
  48747. begin
  48748. pTDefRegMap(@Self)^.clr := $00000008;
  48749. end;
  48750. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  48751. begin
  48752. if thebits = 0 then
  48753. pTDefRegMap(@Self)^.clr := $00000008
  48754. else
  48755. pTDefRegMap(@Self)^.&set := $00000008;
  48756. end;
  48757. function TUSB_U1STAT.getDIR : TBits_1; inline;
  48758. begin
  48759. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48760. end;
  48761. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  48762. begin
  48763. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  48764. end;
  48765. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  48766. begin
  48767. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  48768. end;
  48769. procedure TUSB_U1STAT.setENDPT0; inline;
  48770. begin
  48771. pTDefRegMap(@Self)^.&set := $00000010;
  48772. end;
  48773. procedure TUSB_U1STAT.clearENDPT0; inline;
  48774. begin
  48775. pTDefRegMap(@Self)^.clr := $00000010;
  48776. end;
  48777. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  48778. begin
  48779. if thebits = 0 then
  48780. pTDefRegMap(@Self)^.clr := $00000010
  48781. else
  48782. pTDefRegMap(@Self)^.&set := $00000010;
  48783. end;
  48784. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  48785. begin
  48786. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48787. end;
  48788. procedure TUSB_U1STAT.setENDPT1; inline;
  48789. begin
  48790. pTDefRegMap(@Self)^.&set := $00000020;
  48791. end;
  48792. procedure TUSB_U1STAT.clearENDPT1; inline;
  48793. begin
  48794. pTDefRegMap(@Self)^.clr := $00000020;
  48795. end;
  48796. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  48797. begin
  48798. if thebits = 0 then
  48799. pTDefRegMap(@Self)^.clr := $00000020
  48800. else
  48801. pTDefRegMap(@Self)^.&set := $00000020;
  48802. end;
  48803. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  48804. begin
  48805. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48806. end;
  48807. procedure TUSB_U1STAT.setENDPT2; inline;
  48808. begin
  48809. pTDefRegMap(@Self)^.&set := $00000040;
  48810. end;
  48811. procedure TUSB_U1STAT.clearENDPT2; inline;
  48812. begin
  48813. pTDefRegMap(@Self)^.clr := $00000040;
  48814. end;
  48815. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  48816. begin
  48817. if thebits = 0 then
  48818. pTDefRegMap(@Self)^.clr := $00000040
  48819. else
  48820. pTDefRegMap(@Self)^.&set := $00000040;
  48821. end;
  48822. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  48823. begin
  48824. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48825. end;
  48826. procedure TUSB_U1STAT.setENDPT3; inline;
  48827. begin
  48828. pTDefRegMap(@Self)^.&set := $00000080;
  48829. end;
  48830. procedure TUSB_U1STAT.clearENDPT3; inline;
  48831. begin
  48832. pTDefRegMap(@Self)^.clr := $00000080;
  48833. end;
  48834. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  48835. begin
  48836. if thebits = 0 then
  48837. pTDefRegMap(@Self)^.clr := $00000080
  48838. else
  48839. pTDefRegMap(@Self)^.&set := $00000080;
  48840. end;
  48841. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  48842. begin
  48843. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48844. end;
  48845. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  48846. begin
  48847. pTDefRegMap(@Self)^.&set := $00000001;
  48848. end;
  48849. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  48850. begin
  48851. pTDefRegMap(@Self)^.clr := $00000001;
  48852. end;
  48853. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  48854. begin
  48855. if thebits = 0 then
  48856. pTDefRegMap(@Self)^.clr := $00000001
  48857. else
  48858. pTDefRegMap(@Self)^.&set := $00000001;
  48859. end;
  48860. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  48861. begin
  48862. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48863. end;
  48864. procedure TUSB_U1CON.setPPBRST; inline;
  48865. begin
  48866. pTDefRegMap(@Self)^.&set := $00000002;
  48867. end;
  48868. procedure TUSB_U1CON.clearPPBRST; inline;
  48869. begin
  48870. pTDefRegMap(@Self)^.clr := $00000002;
  48871. end;
  48872. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  48873. begin
  48874. if thebits = 0 then
  48875. pTDefRegMap(@Self)^.clr := $00000002
  48876. else
  48877. pTDefRegMap(@Self)^.&set := $00000002;
  48878. end;
  48879. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  48880. begin
  48881. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48882. end;
  48883. procedure TUSB_U1CON.setRESUME; inline;
  48884. begin
  48885. pTDefRegMap(@Self)^.&set := $00000004;
  48886. end;
  48887. procedure TUSB_U1CON.clearRESUME; inline;
  48888. begin
  48889. pTDefRegMap(@Self)^.clr := $00000004;
  48890. end;
  48891. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  48892. begin
  48893. if thebits = 0 then
  48894. pTDefRegMap(@Self)^.clr := $00000004
  48895. else
  48896. pTDefRegMap(@Self)^.&set := $00000004;
  48897. end;
  48898. function TUSB_U1CON.getRESUME : TBits_1; inline;
  48899. begin
  48900. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48901. end;
  48902. procedure TUSB_U1CON.setHOSTEN; inline;
  48903. begin
  48904. pTDefRegMap(@Self)^.&set := $00000008;
  48905. end;
  48906. procedure TUSB_U1CON.clearHOSTEN; inline;
  48907. begin
  48908. pTDefRegMap(@Self)^.clr := $00000008;
  48909. end;
  48910. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  48911. begin
  48912. if thebits = 0 then
  48913. pTDefRegMap(@Self)^.clr := $00000008
  48914. else
  48915. pTDefRegMap(@Self)^.&set := $00000008;
  48916. end;
  48917. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  48918. begin
  48919. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48920. end;
  48921. procedure TUSB_U1CON.setUSBRST; inline;
  48922. begin
  48923. pTDefRegMap(@Self)^.&set := $00000010;
  48924. end;
  48925. procedure TUSB_U1CON.clearUSBRST; inline;
  48926. begin
  48927. pTDefRegMap(@Self)^.clr := $00000010;
  48928. end;
  48929. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  48930. begin
  48931. if thebits = 0 then
  48932. pTDefRegMap(@Self)^.clr := $00000010
  48933. else
  48934. pTDefRegMap(@Self)^.&set := $00000010;
  48935. end;
  48936. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  48937. begin
  48938. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48939. end;
  48940. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  48941. begin
  48942. pTDefRegMap(@Self)^.&set := $00000020;
  48943. end;
  48944. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  48945. begin
  48946. pTDefRegMap(@Self)^.clr := $00000020;
  48947. end;
  48948. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  48949. begin
  48950. if thebits = 0 then
  48951. pTDefRegMap(@Self)^.clr := $00000020
  48952. else
  48953. pTDefRegMap(@Self)^.&set := $00000020;
  48954. end;
  48955. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  48956. begin
  48957. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48958. end;
  48959. procedure TUSB_U1CON.setSE0; inline;
  48960. begin
  48961. pTDefRegMap(@Self)^.&set := $00000040;
  48962. end;
  48963. procedure TUSB_U1CON.clearSE0; inline;
  48964. begin
  48965. pTDefRegMap(@Self)^.clr := $00000040;
  48966. end;
  48967. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  48968. begin
  48969. if thebits = 0 then
  48970. pTDefRegMap(@Self)^.clr := $00000040
  48971. else
  48972. pTDefRegMap(@Self)^.&set := $00000040;
  48973. end;
  48974. function TUSB_U1CON.getSE0 : TBits_1; inline;
  48975. begin
  48976. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48977. end;
  48978. procedure TUSB_U1CON.setJSTATE; inline;
  48979. begin
  48980. pTDefRegMap(@Self)^.&set := $00000080;
  48981. end;
  48982. procedure TUSB_U1CON.clearJSTATE; inline;
  48983. begin
  48984. pTDefRegMap(@Self)^.clr := $00000080;
  48985. end;
  48986. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  48987. begin
  48988. if thebits = 0 then
  48989. pTDefRegMap(@Self)^.clr := $00000080
  48990. else
  48991. pTDefRegMap(@Self)^.&set := $00000080;
  48992. end;
  48993. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  48994. begin
  48995. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48996. end;
  48997. procedure TUSB_U1CON.setUSBEN; inline;
  48998. begin
  48999. pTDefRegMap(@Self)^.&set := $00000001;
  49000. end;
  49001. procedure TUSB_U1CON.clearUSBEN; inline;
  49002. begin
  49003. pTDefRegMap(@Self)^.clr := $00000001;
  49004. end;
  49005. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  49006. begin
  49007. if thebits = 0 then
  49008. pTDefRegMap(@Self)^.clr := $00000001
  49009. else
  49010. pTDefRegMap(@Self)^.&set := $00000001;
  49011. end;
  49012. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  49013. begin
  49014. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49015. end;
  49016. procedure TUSB_U1CON.setSOFEN; inline;
  49017. begin
  49018. pTDefRegMap(@Self)^.&set := $00000001;
  49019. end;
  49020. procedure TUSB_U1CON.clearSOFEN; inline;
  49021. begin
  49022. pTDefRegMap(@Self)^.clr := $00000001;
  49023. end;
  49024. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  49025. begin
  49026. if thebits = 0 then
  49027. pTDefRegMap(@Self)^.clr := $00000001
  49028. else
  49029. pTDefRegMap(@Self)^.&set := $00000001;
  49030. end;
  49031. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  49032. begin
  49033. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49034. end;
  49035. procedure TUSB_U1CON.setPKTDIS; inline;
  49036. begin
  49037. pTDefRegMap(@Self)^.&set := $00000020;
  49038. end;
  49039. procedure TUSB_U1CON.clearPKTDIS; inline;
  49040. begin
  49041. pTDefRegMap(@Self)^.clr := $00000020;
  49042. end;
  49043. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  49044. begin
  49045. if thebits = 0 then
  49046. pTDefRegMap(@Self)^.clr := $00000020
  49047. else
  49048. pTDefRegMap(@Self)^.&set := $00000020;
  49049. end;
  49050. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  49051. begin
  49052. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49053. end;
  49054. procedure TUSB_U1CON.setTOKBUSY; inline;
  49055. begin
  49056. pTDefRegMap(@Self)^.&set := $00000020;
  49057. end;
  49058. procedure TUSB_U1CON.clearTOKBUSY; inline;
  49059. begin
  49060. pTDefRegMap(@Self)^.clr := $00000020;
  49061. end;
  49062. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  49063. begin
  49064. if thebits = 0 then
  49065. pTDefRegMap(@Self)^.clr := $00000020
  49066. else
  49067. pTDefRegMap(@Self)^.&set := $00000020;
  49068. end;
  49069. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  49070. begin
  49071. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49072. end;
  49073. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  49074. begin
  49075. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  49076. end;
  49077. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  49078. begin
  49079. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  49080. end;
  49081. procedure TUSB_U1ADDR.setLSPDEN; inline;
  49082. begin
  49083. pTDefRegMap(@Self)^.&set := $00000080;
  49084. end;
  49085. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  49086. begin
  49087. pTDefRegMap(@Self)^.clr := $00000080;
  49088. end;
  49089. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  49090. begin
  49091. if thebits = 0 then
  49092. pTDefRegMap(@Self)^.clr := $00000080
  49093. else
  49094. pTDefRegMap(@Self)^.&set := $00000080;
  49095. end;
  49096. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  49097. begin
  49098. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49099. end;
  49100. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  49101. begin
  49102. pTDefRegMap(@Self)^.&set := $00000001;
  49103. end;
  49104. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  49105. begin
  49106. pTDefRegMap(@Self)^.clr := $00000001;
  49107. end;
  49108. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  49109. begin
  49110. if thebits = 0 then
  49111. pTDefRegMap(@Self)^.clr := $00000001
  49112. else
  49113. pTDefRegMap(@Self)^.&set := $00000001;
  49114. end;
  49115. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  49116. begin
  49117. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49118. end;
  49119. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  49120. begin
  49121. pTDefRegMap(@Self)^.&set := $00000002;
  49122. end;
  49123. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  49124. begin
  49125. pTDefRegMap(@Self)^.clr := $00000002;
  49126. end;
  49127. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  49128. begin
  49129. if thebits = 0 then
  49130. pTDefRegMap(@Self)^.clr := $00000002
  49131. else
  49132. pTDefRegMap(@Self)^.&set := $00000002;
  49133. end;
  49134. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  49135. begin
  49136. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49137. end;
  49138. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  49139. begin
  49140. pTDefRegMap(@Self)^.&set := $00000004;
  49141. end;
  49142. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  49143. begin
  49144. pTDefRegMap(@Self)^.clr := $00000004;
  49145. end;
  49146. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  49147. begin
  49148. if thebits = 0 then
  49149. pTDefRegMap(@Self)^.clr := $00000004
  49150. else
  49151. pTDefRegMap(@Self)^.&set := $00000004;
  49152. end;
  49153. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  49154. begin
  49155. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49156. end;
  49157. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  49158. begin
  49159. pTDefRegMap(@Self)^.&set := $00000008;
  49160. end;
  49161. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  49162. begin
  49163. pTDefRegMap(@Self)^.clr := $00000008;
  49164. end;
  49165. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  49166. begin
  49167. if thebits = 0 then
  49168. pTDefRegMap(@Self)^.clr := $00000008
  49169. else
  49170. pTDefRegMap(@Self)^.&set := $00000008;
  49171. end;
  49172. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  49173. begin
  49174. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49175. end;
  49176. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  49177. begin
  49178. pTDefRegMap(@Self)^.&set := $00000010;
  49179. end;
  49180. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  49181. begin
  49182. pTDefRegMap(@Self)^.clr := $00000010;
  49183. end;
  49184. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  49185. begin
  49186. if thebits = 0 then
  49187. pTDefRegMap(@Self)^.clr := $00000010
  49188. else
  49189. pTDefRegMap(@Self)^.&set := $00000010;
  49190. end;
  49191. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  49192. begin
  49193. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49194. end;
  49195. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  49196. begin
  49197. pTDefRegMap(@Self)^.&set := $00000020;
  49198. end;
  49199. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  49200. begin
  49201. pTDefRegMap(@Self)^.clr := $00000020;
  49202. end;
  49203. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  49204. begin
  49205. if thebits = 0 then
  49206. pTDefRegMap(@Self)^.clr := $00000020
  49207. else
  49208. pTDefRegMap(@Self)^.&set := $00000020;
  49209. end;
  49210. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  49211. begin
  49212. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49213. end;
  49214. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  49215. begin
  49216. pTDefRegMap(@Self)^.&set := $00000040;
  49217. end;
  49218. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  49219. begin
  49220. pTDefRegMap(@Self)^.clr := $00000040;
  49221. end;
  49222. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  49223. begin
  49224. if thebits = 0 then
  49225. pTDefRegMap(@Self)^.clr := $00000040
  49226. else
  49227. pTDefRegMap(@Self)^.&set := $00000040;
  49228. end;
  49229. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  49230. begin
  49231. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49232. end;
  49233. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  49234. begin
  49235. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  49236. end;
  49237. function TUSB_U1FRML.getFRML : TBits_8; inline;
  49238. begin
  49239. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  49240. end;
  49241. procedure TUSB_U1FRML.setFRM0; inline;
  49242. begin
  49243. pTDefRegMap(@Self)^.&set := $00000001;
  49244. end;
  49245. procedure TUSB_U1FRML.clearFRM0; inline;
  49246. begin
  49247. pTDefRegMap(@Self)^.clr := $00000001;
  49248. end;
  49249. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  49250. begin
  49251. if thebits = 0 then
  49252. pTDefRegMap(@Self)^.clr := $00000001
  49253. else
  49254. pTDefRegMap(@Self)^.&set := $00000001;
  49255. end;
  49256. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  49257. begin
  49258. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49259. end;
  49260. procedure TUSB_U1FRML.setFRM1; inline;
  49261. begin
  49262. pTDefRegMap(@Self)^.&set := $00000002;
  49263. end;
  49264. procedure TUSB_U1FRML.clearFRM1; inline;
  49265. begin
  49266. pTDefRegMap(@Self)^.clr := $00000002;
  49267. end;
  49268. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  49269. begin
  49270. if thebits = 0 then
  49271. pTDefRegMap(@Self)^.clr := $00000002
  49272. else
  49273. pTDefRegMap(@Self)^.&set := $00000002;
  49274. end;
  49275. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  49276. begin
  49277. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49278. end;
  49279. procedure TUSB_U1FRML.setFRM2; inline;
  49280. begin
  49281. pTDefRegMap(@Self)^.&set := $00000004;
  49282. end;
  49283. procedure TUSB_U1FRML.clearFRM2; inline;
  49284. begin
  49285. pTDefRegMap(@Self)^.clr := $00000004;
  49286. end;
  49287. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  49288. begin
  49289. if thebits = 0 then
  49290. pTDefRegMap(@Self)^.clr := $00000004
  49291. else
  49292. pTDefRegMap(@Self)^.&set := $00000004;
  49293. end;
  49294. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  49295. begin
  49296. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49297. end;
  49298. procedure TUSB_U1FRML.setFRM3; inline;
  49299. begin
  49300. pTDefRegMap(@Self)^.&set := $00000008;
  49301. end;
  49302. procedure TUSB_U1FRML.clearFRM3; inline;
  49303. begin
  49304. pTDefRegMap(@Self)^.clr := $00000008;
  49305. end;
  49306. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  49307. begin
  49308. if thebits = 0 then
  49309. pTDefRegMap(@Self)^.clr := $00000008
  49310. else
  49311. pTDefRegMap(@Self)^.&set := $00000008;
  49312. end;
  49313. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  49314. begin
  49315. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49316. end;
  49317. procedure TUSB_U1FRML.setFRM4; inline;
  49318. begin
  49319. pTDefRegMap(@Self)^.&set := $00000010;
  49320. end;
  49321. procedure TUSB_U1FRML.clearFRM4; inline;
  49322. begin
  49323. pTDefRegMap(@Self)^.clr := $00000010;
  49324. end;
  49325. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  49326. begin
  49327. if thebits = 0 then
  49328. pTDefRegMap(@Self)^.clr := $00000010
  49329. else
  49330. pTDefRegMap(@Self)^.&set := $00000010;
  49331. end;
  49332. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  49333. begin
  49334. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49335. end;
  49336. procedure TUSB_U1FRML.setFRM5; inline;
  49337. begin
  49338. pTDefRegMap(@Self)^.&set := $00000020;
  49339. end;
  49340. procedure TUSB_U1FRML.clearFRM5; inline;
  49341. begin
  49342. pTDefRegMap(@Self)^.clr := $00000020;
  49343. end;
  49344. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  49345. begin
  49346. if thebits = 0 then
  49347. pTDefRegMap(@Self)^.clr := $00000020
  49348. else
  49349. pTDefRegMap(@Self)^.&set := $00000020;
  49350. end;
  49351. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  49352. begin
  49353. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49354. end;
  49355. procedure TUSB_U1FRML.setFRM6; inline;
  49356. begin
  49357. pTDefRegMap(@Self)^.&set := $00000040;
  49358. end;
  49359. procedure TUSB_U1FRML.clearFRM6; inline;
  49360. begin
  49361. pTDefRegMap(@Self)^.clr := $00000040;
  49362. end;
  49363. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  49364. begin
  49365. if thebits = 0 then
  49366. pTDefRegMap(@Self)^.clr := $00000040
  49367. else
  49368. pTDefRegMap(@Self)^.&set := $00000040;
  49369. end;
  49370. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  49371. begin
  49372. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49373. end;
  49374. procedure TUSB_U1FRML.setFRM7; inline;
  49375. begin
  49376. pTDefRegMap(@Self)^.&set := $00000080;
  49377. end;
  49378. procedure TUSB_U1FRML.clearFRM7; inline;
  49379. begin
  49380. pTDefRegMap(@Self)^.clr := $00000080;
  49381. end;
  49382. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  49383. begin
  49384. if thebits = 0 then
  49385. pTDefRegMap(@Self)^.clr := $00000080
  49386. else
  49387. pTDefRegMap(@Self)^.&set := $00000080;
  49388. end;
  49389. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  49390. begin
  49391. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49392. end;
  49393. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  49394. begin
  49395. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  49396. end;
  49397. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  49398. begin
  49399. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  49400. end;
  49401. procedure TUSB_U1FRMH.setFRM8; inline;
  49402. begin
  49403. pTDefRegMap(@Self)^.&set := $00000001;
  49404. end;
  49405. procedure TUSB_U1FRMH.clearFRM8; inline;
  49406. begin
  49407. pTDefRegMap(@Self)^.clr := $00000001;
  49408. end;
  49409. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  49410. begin
  49411. if thebits = 0 then
  49412. pTDefRegMap(@Self)^.clr := $00000001
  49413. else
  49414. pTDefRegMap(@Self)^.&set := $00000001;
  49415. end;
  49416. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  49417. begin
  49418. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49419. end;
  49420. procedure TUSB_U1FRMH.setFRM9; inline;
  49421. begin
  49422. pTDefRegMap(@Self)^.&set := $00000002;
  49423. end;
  49424. procedure TUSB_U1FRMH.clearFRM9; inline;
  49425. begin
  49426. pTDefRegMap(@Self)^.clr := $00000002;
  49427. end;
  49428. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  49429. begin
  49430. if thebits = 0 then
  49431. pTDefRegMap(@Self)^.clr := $00000002
  49432. else
  49433. pTDefRegMap(@Self)^.&set := $00000002;
  49434. end;
  49435. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  49436. begin
  49437. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49438. end;
  49439. procedure TUSB_U1FRMH.setFRM10; inline;
  49440. begin
  49441. pTDefRegMap(@Self)^.&set := $00000004;
  49442. end;
  49443. procedure TUSB_U1FRMH.clearFRM10; inline;
  49444. begin
  49445. pTDefRegMap(@Self)^.clr := $00000004;
  49446. end;
  49447. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  49448. begin
  49449. if thebits = 0 then
  49450. pTDefRegMap(@Self)^.clr := $00000004
  49451. else
  49452. pTDefRegMap(@Self)^.&set := $00000004;
  49453. end;
  49454. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  49455. begin
  49456. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49457. end;
  49458. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  49459. begin
  49460. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  49461. end;
  49462. function TUSB_U1TOK.getEP : TBits_4; inline;
  49463. begin
  49464. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  49465. end;
  49466. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  49467. begin
  49468. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  49469. end;
  49470. function TUSB_U1TOK.getPID : TBits_4; inline;
  49471. begin
  49472. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  49473. end;
  49474. procedure TUSB_U1TOK.setEP0; inline;
  49475. begin
  49476. pTDefRegMap(@Self)^.&set := $00000001;
  49477. end;
  49478. procedure TUSB_U1TOK.clearEP0; inline;
  49479. begin
  49480. pTDefRegMap(@Self)^.clr := $00000001;
  49481. end;
  49482. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  49483. begin
  49484. if thebits = 0 then
  49485. pTDefRegMap(@Self)^.clr := $00000001
  49486. else
  49487. pTDefRegMap(@Self)^.&set := $00000001;
  49488. end;
  49489. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  49490. begin
  49491. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49492. end;
  49493. procedure TUSB_U1TOK.setEP1; inline;
  49494. begin
  49495. pTDefRegMap(@Self)^.&set := $00000002;
  49496. end;
  49497. procedure TUSB_U1TOK.clearEP1; inline;
  49498. begin
  49499. pTDefRegMap(@Self)^.clr := $00000002;
  49500. end;
  49501. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  49502. begin
  49503. if thebits = 0 then
  49504. pTDefRegMap(@Self)^.clr := $00000002
  49505. else
  49506. pTDefRegMap(@Self)^.&set := $00000002;
  49507. end;
  49508. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  49509. begin
  49510. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49511. end;
  49512. procedure TUSB_U1TOK.setEP2; inline;
  49513. begin
  49514. pTDefRegMap(@Self)^.&set := $00000004;
  49515. end;
  49516. procedure TUSB_U1TOK.clearEP2; inline;
  49517. begin
  49518. pTDefRegMap(@Self)^.clr := $00000004;
  49519. end;
  49520. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  49521. begin
  49522. if thebits = 0 then
  49523. pTDefRegMap(@Self)^.clr := $00000004
  49524. else
  49525. pTDefRegMap(@Self)^.&set := $00000004;
  49526. end;
  49527. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  49528. begin
  49529. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49530. end;
  49531. procedure TUSB_U1TOK.setEP3; inline;
  49532. begin
  49533. pTDefRegMap(@Self)^.&set := $00000008;
  49534. end;
  49535. procedure TUSB_U1TOK.clearEP3; inline;
  49536. begin
  49537. pTDefRegMap(@Self)^.clr := $00000008;
  49538. end;
  49539. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  49540. begin
  49541. if thebits = 0 then
  49542. pTDefRegMap(@Self)^.clr := $00000008
  49543. else
  49544. pTDefRegMap(@Self)^.&set := $00000008;
  49545. end;
  49546. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  49547. begin
  49548. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49549. end;
  49550. procedure TUSB_U1TOK.setPID0; inline;
  49551. begin
  49552. pTDefRegMap(@Self)^.&set := $00000010;
  49553. end;
  49554. procedure TUSB_U1TOK.clearPID0; inline;
  49555. begin
  49556. pTDefRegMap(@Self)^.clr := $00000010;
  49557. end;
  49558. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  49559. begin
  49560. if thebits = 0 then
  49561. pTDefRegMap(@Self)^.clr := $00000010
  49562. else
  49563. pTDefRegMap(@Self)^.&set := $00000010;
  49564. end;
  49565. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  49566. begin
  49567. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49568. end;
  49569. procedure TUSB_U1TOK.setPID1; inline;
  49570. begin
  49571. pTDefRegMap(@Self)^.&set := $00000020;
  49572. end;
  49573. procedure TUSB_U1TOK.clearPID1; inline;
  49574. begin
  49575. pTDefRegMap(@Self)^.clr := $00000020;
  49576. end;
  49577. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  49578. begin
  49579. if thebits = 0 then
  49580. pTDefRegMap(@Self)^.clr := $00000020
  49581. else
  49582. pTDefRegMap(@Self)^.&set := $00000020;
  49583. end;
  49584. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  49585. begin
  49586. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49587. end;
  49588. procedure TUSB_U1TOK.setPID2; inline;
  49589. begin
  49590. pTDefRegMap(@Self)^.&set := $00000040;
  49591. end;
  49592. procedure TUSB_U1TOK.clearPID2; inline;
  49593. begin
  49594. pTDefRegMap(@Self)^.clr := $00000040;
  49595. end;
  49596. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  49597. begin
  49598. if thebits = 0 then
  49599. pTDefRegMap(@Self)^.clr := $00000040
  49600. else
  49601. pTDefRegMap(@Self)^.&set := $00000040;
  49602. end;
  49603. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  49604. begin
  49605. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49606. end;
  49607. procedure TUSB_U1TOK.setPID3; inline;
  49608. begin
  49609. pTDefRegMap(@Self)^.&set := $00000080;
  49610. end;
  49611. procedure TUSB_U1TOK.clearPID3; inline;
  49612. begin
  49613. pTDefRegMap(@Self)^.clr := $00000080;
  49614. end;
  49615. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  49616. begin
  49617. if thebits = 0 then
  49618. pTDefRegMap(@Self)^.clr := $00000080
  49619. else
  49620. pTDefRegMap(@Self)^.&set := $00000080;
  49621. end;
  49622. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  49623. begin
  49624. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49625. end;
  49626. procedure TPORTB_TRISB.setTRISB0; inline;
  49627. begin
  49628. pTDefRegMap(@Self)^.&set := $00000001;
  49629. end;
  49630. procedure TPORTB_TRISB.clearTRISB0; inline;
  49631. begin
  49632. pTDefRegMap(@Self)^.clr := $00000001;
  49633. end;
  49634. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  49635. begin
  49636. if thebits = 0 then
  49637. pTDefRegMap(@Self)^.clr := $00000001
  49638. else
  49639. pTDefRegMap(@Self)^.&set := $00000001;
  49640. end;
  49641. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  49642. begin
  49643. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49644. end;
  49645. procedure TPORTB_TRISB.setTRISB1; inline;
  49646. begin
  49647. pTDefRegMap(@Self)^.&set := $00000002;
  49648. end;
  49649. procedure TPORTB_TRISB.clearTRISB1; inline;
  49650. begin
  49651. pTDefRegMap(@Self)^.clr := $00000002;
  49652. end;
  49653. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  49654. begin
  49655. if thebits = 0 then
  49656. pTDefRegMap(@Self)^.clr := $00000002
  49657. else
  49658. pTDefRegMap(@Self)^.&set := $00000002;
  49659. end;
  49660. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  49661. begin
  49662. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49663. end;
  49664. procedure TPORTB_TRISB.setTRISB2; inline;
  49665. begin
  49666. pTDefRegMap(@Self)^.&set := $00000004;
  49667. end;
  49668. procedure TPORTB_TRISB.clearTRISB2; inline;
  49669. begin
  49670. pTDefRegMap(@Self)^.clr := $00000004;
  49671. end;
  49672. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  49673. begin
  49674. if thebits = 0 then
  49675. pTDefRegMap(@Self)^.clr := $00000004
  49676. else
  49677. pTDefRegMap(@Self)^.&set := $00000004;
  49678. end;
  49679. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  49680. begin
  49681. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49682. end;
  49683. procedure TPORTB_TRISB.setTRISB3; inline;
  49684. begin
  49685. pTDefRegMap(@Self)^.&set := $00000008;
  49686. end;
  49687. procedure TPORTB_TRISB.clearTRISB3; inline;
  49688. begin
  49689. pTDefRegMap(@Self)^.clr := $00000008;
  49690. end;
  49691. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  49692. begin
  49693. if thebits = 0 then
  49694. pTDefRegMap(@Self)^.clr := $00000008
  49695. else
  49696. pTDefRegMap(@Self)^.&set := $00000008;
  49697. end;
  49698. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  49699. begin
  49700. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49701. end;
  49702. procedure TPORTB_TRISB.setTRISB4; inline;
  49703. begin
  49704. pTDefRegMap(@Self)^.&set := $00000010;
  49705. end;
  49706. procedure TPORTB_TRISB.clearTRISB4; inline;
  49707. begin
  49708. pTDefRegMap(@Self)^.clr := $00000010;
  49709. end;
  49710. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  49711. begin
  49712. if thebits = 0 then
  49713. pTDefRegMap(@Self)^.clr := $00000010
  49714. else
  49715. pTDefRegMap(@Self)^.&set := $00000010;
  49716. end;
  49717. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  49718. begin
  49719. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49720. end;
  49721. procedure TPORTB_TRISB.setTRISB5; inline;
  49722. begin
  49723. pTDefRegMap(@Self)^.&set := $00000020;
  49724. end;
  49725. procedure TPORTB_TRISB.clearTRISB5; inline;
  49726. begin
  49727. pTDefRegMap(@Self)^.clr := $00000020;
  49728. end;
  49729. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  49730. begin
  49731. if thebits = 0 then
  49732. pTDefRegMap(@Self)^.clr := $00000020
  49733. else
  49734. pTDefRegMap(@Self)^.&set := $00000020;
  49735. end;
  49736. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  49737. begin
  49738. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49739. end;
  49740. procedure TPORTB_TRISB.setTRISB6; inline;
  49741. begin
  49742. pTDefRegMap(@Self)^.&set := $00000040;
  49743. end;
  49744. procedure TPORTB_TRISB.clearTRISB6; inline;
  49745. begin
  49746. pTDefRegMap(@Self)^.clr := $00000040;
  49747. end;
  49748. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  49749. begin
  49750. if thebits = 0 then
  49751. pTDefRegMap(@Self)^.clr := $00000040
  49752. else
  49753. pTDefRegMap(@Self)^.&set := $00000040;
  49754. end;
  49755. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  49756. begin
  49757. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49758. end;
  49759. procedure TPORTB_TRISB.setTRISB7; inline;
  49760. begin
  49761. pTDefRegMap(@Self)^.&set := $00000080;
  49762. end;
  49763. procedure TPORTB_TRISB.clearTRISB7; inline;
  49764. begin
  49765. pTDefRegMap(@Self)^.clr := $00000080;
  49766. end;
  49767. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  49768. begin
  49769. if thebits = 0 then
  49770. pTDefRegMap(@Self)^.clr := $00000080
  49771. else
  49772. pTDefRegMap(@Self)^.&set := $00000080;
  49773. end;
  49774. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  49775. begin
  49776. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49777. end;
  49778. procedure TPORTB_TRISB.setTRISB8; inline;
  49779. begin
  49780. pTDefRegMap(@Self)^.&set := $00000100;
  49781. end;
  49782. procedure TPORTB_TRISB.clearTRISB8; inline;
  49783. begin
  49784. pTDefRegMap(@Self)^.clr := $00000100;
  49785. end;
  49786. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  49787. begin
  49788. if thebits = 0 then
  49789. pTDefRegMap(@Self)^.clr := $00000100
  49790. else
  49791. pTDefRegMap(@Self)^.&set := $00000100;
  49792. end;
  49793. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  49794. begin
  49795. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49796. end;
  49797. procedure TPORTB_TRISB.setTRISB9; inline;
  49798. begin
  49799. pTDefRegMap(@Self)^.&set := $00000200;
  49800. end;
  49801. procedure TPORTB_TRISB.clearTRISB9; inline;
  49802. begin
  49803. pTDefRegMap(@Self)^.clr := $00000200;
  49804. end;
  49805. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  49806. begin
  49807. if thebits = 0 then
  49808. pTDefRegMap(@Self)^.clr := $00000200
  49809. else
  49810. pTDefRegMap(@Self)^.&set := $00000200;
  49811. end;
  49812. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  49813. begin
  49814. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  49815. end;
  49816. procedure TPORTB_TRISB.setTRISB10; inline;
  49817. begin
  49818. pTDefRegMap(@Self)^.&set := $00000400;
  49819. end;
  49820. procedure TPORTB_TRISB.clearTRISB10; inline;
  49821. begin
  49822. pTDefRegMap(@Self)^.clr := $00000400;
  49823. end;
  49824. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  49825. begin
  49826. if thebits = 0 then
  49827. pTDefRegMap(@Self)^.clr := $00000400
  49828. else
  49829. pTDefRegMap(@Self)^.&set := $00000400;
  49830. end;
  49831. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  49832. begin
  49833. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  49834. end;
  49835. procedure TPORTB_TRISB.setTRISB11; inline;
  49836. begin
  49837. pTDefRegMap(@Self)^.&set := $00000800;
  49838. end;
  49839. procedure TPORTB_TRISB.clearTRISB11; inline;
  49840. begin
  49841. pTDefRegMap(@Self)^.clr := $00000800;
  49842. end;
  49843. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  49844. begin
  49845. if thebits = 0 then
  49846. pTDefRegMap(@Self)^.clr := $00000800
  49847. else
  49848. pTDefRegMap(@Self)^.&set := $00000800;
  49849. end;
  49850. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  49851. begin
  49852. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  49853. end;
  49854. procedure TPORTB_TRISB.setTRISB12; inline;
  49855. begin
  49856. pTDefRegMap(@Self)^.&set := $00001000;
  49857. end;
  49858. procedure TPORTB_TRISB.clearTRISB12; inline;
  49859. begin
  49860. pTDefRegMap(@Self)^.clr := $00001000;
  49861. end;
  49862. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  49863. begin
  49864. if thebits = 0 then
  49865. pTDefRegMap(@Self)^.clr := $00001000
  49866. else
  49867. pTDefRegMap(@Self)^.&set := $00001000;
  49868. end;
  49869. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  49870. begin
  49871. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  49872. end;
  49873. procedure TPORTB_TRISB.setTRISB13; inline;
  49874. begin
  49875. pTDefRegMap(@Self)^.&set := $00002000;
  49876. end;
  49877. procedure TPORTB_TRISB.clearTRISB13; inline;
  49878. begin
  49879. pTDefRegMap(@Self)^.clr := $00002000;
  49880. end;
  49881. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  49882. begin
  49883. if thebits = 0 then
  49884. pTDefRegMap(@Self)^.clr := $00002000
  49885. else
  49886. pTDefRegMap(@Self)^.&set := $00002000;
  49887. end;
  49888. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  49889. begin
  49890. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  49891. end;
  49892. procedure TPORTB_TRISB.setTRISB14; inline;
  49893. begin
  49894. pTDefRegMap(@Self)^.&set := $00004000;
  49895. end;
  49896. procedure TPORTB_TRISB.clearTRISB14; inline;
  49897. begin
  49898. pTDefRegMap(@Self)^.clr := $00004000;
  49899. end;
  49900. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  49901. begin
  49902. if thebits = 0 then
  49903. pTDefRegMap(@Self)^.clr := $00004000
  49904. else
  49905. pTDefRegMap(@Self)^.&set := $00004000;
  49906. end;
  49907. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  49908. begin
  49909. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  49910. end;
  49911. procedure TPORTB_TRISB.setTRISB15; inline;
  49912. begin
  49913. pTDefRegMap(@Self)^.&set := $00008000;
  49914. end;
  49915. procedure TPORTB_TRISB.clearTRISB15; inline;
  49916. begin
  49917. pTDefRegMap(@Self)^.clr := $00008000;
  49918. end;
  49919. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  49920. begin
  49921. if thebits = 0 then
  49922. pTDefRegMap(@Self)^.clr := $00008000
  49923. else
  49924. pTDefRegMap(@Self)^.&set := $00008000;
  49925. end;
  49926. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  49927. begin
  49928. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49929. end;
  49930. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  49931. begin
  49932. pTDefRegMap(@Self)^.val := thebits;
  49933. end;
  49934. function TPORTB_TRISB.getw : TBits_32; inline;
  49935. begin
  49936. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49937. end;
  49938. procedure TPORTB_PORTB.setRB0; inline;
  49939. begin
  49940. pTDefRegMap(@Self)^.&set := $00000001;
  49941. end;
  49942. procedure TPORTB_PORTB.clearRB0; inline;
  49943. begin
  49944. pTDefRegMap(@Self)^.clr := $00000001;
  49945. end;
  49946. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  49947. begin
  49948. if thebits = 0 then
  49949. pTDefRegMap(@Self)^.clr := $00000001
  49950. else
  49951. pTDefRegMap(@Self)^.&set := $00000001;
  49952. end;
  49953. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  49954. begin
  49955. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49956. end;
  49957. procedure TPORTB_PORTB.setRB1; inline;
  49958. begin
  49959. pTDefRegMap(@Self)^.&set := $00000002;
  49960. end;
  49961. procedure TPORTB_PORTB.clearRB1; inline;
  49962. begin
  49963. pTDefRegMap(@Self)^.clr := $00000002;
  49964. end;
  49965. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  49966. begin
  49967. if thebits = 0 then
  49968. pTDefRegMap(@Self)^.clr := $00000002
  49969. else
  49970. pTDefRegMap(@Self)^.&set := $00000002;
  49971. end;
  49972. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  49973. begin
  49974. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49975. end;
  49976. procedure TPORTB_PORTB.setRB2; inline;
  49977. begin
  49978. pTDefRegMap(@Self)^.&set := $00000004;
  49979. end;
  49980. procedure TPORTB_PORTB.clearRB2; inline;
  49981. begin
  49982. pTDefRegMap(@Self)^.clr := $00000004;
  49983. end;
  49984. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  49985. begin
  49986. if thebits = 0 then
  49987. pTDefRegMap(@Self)^.clr := $00000004
  49988. else
  49989. pTDefRegMap(@Self)^.&set := $00000004;
  49990. end;
  49991. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  49992. begin
  49993. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49994. end;
  49995. procedure TPORTB_PORTB.setRB3; inline;
  49996. begin
  49997. pTDefRegMap(@Self)^.&set := $00000008;
  49998. end;
  49999. procedure TPORTB_PORTB.clearRB3; inline;
  50000. begin
  50001. pTDefRegMap(@Self)^.clr := $00000008;
  50002. end;
  50003. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  50004. begin
  50005. if thebits = 0 then
  50006. pTDefRegMap(@Self)^.clr := $00000008
  50007. else
  50008. pTDefRegMap(@Self)^.&set := $00000008;
  50009. end;
  50010. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  50011. begin
  50012. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50013. end;
  50014. procedure TPORTB_PORTB.setRB4; inline;
  50015. begin
  50016. pTDefRegMap(@Self)^.&set := $00000010;
  50017. end;
  50018. procedure TPORTB_PORTB.clearRB4; inline;
  50019. begin
  50020. pTDefRegMap(@Self)^.clr := $00000010;
  50021. end;
  50022. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  50023. begin
  50024. if thebits = 0 then
  50025. pTDefRegMap(@Self)^.clr := $00000010
  50026. else
  50027. pTDefRegMap(@Self)^.&set := $00000010;
  50028. end;
  50029. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  50030. begin
  50031. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50032. end;
  50033. procedure TPORTB_PORTB.setRB5; inline;
  50034. begin
  50035. pTDefRegMap(@Self)^.&set := $00000020;
  50036. end;
  50037. procedure TPORTB_PORTB.clearRB5; inline;
  50038. begin
  50039. pTDefRegMap(@Self)^.clr := $00000020;
  50040. end;
  50041. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  50042. begin
  50043. if thebits = 0 then
  50044. pTDefRegMap(@Self)^.clr := $00000020
  50045. else
  50046. pTDefRegMap(@Self)^.&set := $00000020;
  50047. end;
  50048. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  50049. begin
  50050. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50051. end;
  50052. procedure TPORTB_PORTB.setRB6; inline;
  50053. begin
  50054. pTDefRegMap(@Self)^.&set := $00000040;
  50055. end;
  50056. procedure TPORTB_PORTB.clearRB6; inline;
  50057. begin
  50058. pTDefRegMap(@Self)^.clr := $00000040;
  50059. end;
  50060. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  50061. begin
  50062. if thebits = 0 then
  50063. pTDefRegMap(@Self)^.clr := $00000040
  50064. else
  50065. pTDefRegMap(@Self)^.&set := $00000040;
  50066. end;
  50067. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  50068. begin
  50069. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50070. end;
  50071. procedure TPORTB_PORTB.setRB7; inline;
  50072. begin
  50073. pTDefRegMap(@Self)^.&set := $00000080;
  50074. end;
  50075. procedure TPORTB_PORTB.clearRB7; inline;
  50076. begin
  50077. pTDefRegMap(@Self)^.clr := $00000080;
  50078. end;
  50079. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  50080. begin
  50081. if thebits = 0 then
  50082. pTDefRegMap(@Self)^.clr := $00000080
  50083. else
  50084. pTDefRegMap(@Self)^.&set := $00000080;
  50085. end;
  50086. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  50087. begin
  50088. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50089. end;
  50090. procedure TPORTB_PORTB.setRB8; inline;
  50091. begin
  50092. pTDefRegMap(@Self)^.&set := $00000100;
  50093. end;
  50094. procedure TPORTB_PORTB.clearRB8; inline;
  50095. begin
  50096. pTDefRegMap(@Self)^.clr := $00000100;
  50097. end;
  50098. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  50099. begin
  50100. if thebits = 0 then
  50101. pTDefRegMap(@Self)^.clr := $00000100
  50102. else
  50103. pTDefRegMap(@Self)^.&set := $00000100;
  50104. end;
  50105. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  50106. begin
  50107. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50108. end;
  50109. procedure TPORTB_PORTB.setRB9; inline;
  50110. begin
  50111. pTDefRegMap(@Self)^.&set := $00000200;
  50112. end;
  50113. procedure TPORTB_PORTB.clearRB9; inline;
  50114. begin
  50115. pTDefRegMap(@Self)^.clr := $00000200;
  50116. end;
  50117. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  50118. begin
  50119. if thebits = 0 then
  50120. pTDefRegMap(@Self)^.clr := $00000200
  50121. else
  50122. pTDefRegMap(@Self)^.&set := $00000200;
  50123. end;
  50124. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  50125. begin
  50126. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50127. end;
  50128. procedure TPORTB_PORTB.setRB10; inline;
  50129. begin
  50130. pTDefRegMap(@Self)^.&set := $00000400;
  50131. end;
  50132. procedure TPORTB_PORTB.clearRB10; inline;
  50133. begin
  50134. pTDefRegMap(@Self)^.clr := $00000400;
  50135. end;
  50136. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  50137. begin
  50138. if thebits = 0 then
  50139. pTDefRegMap(@Self)^.clr := $00000400
  50140. else
  50141. pTDefRegMap(@Self)^.&set := $00000400;
  50142. end;
  50143. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  50144. begin
  50145. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  50146. end;
  50147. procedure TPORTB_PORTB.setRB11; inline;
  50148. begin
  50149. pTDefRegMap(@Self)^.&set := $00000800;
  50150. end;
  50151. procedure TPORTB_PORTB.clearRB11; inline;
  50152. begin
  50153. pTDefRegMap(@Self)^.clr := $00000800;
  50154. end;
  50155. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  50156. begin
  50157. if thebits = 0 then
  50158. pTDefRegMap(@Self)^.clr := $00000800
  50159. else
  50160. pTDefRegMap(@Self)^.&set := $00000800;
  50161. end;
  50162. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  50163. begin
  50164. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  50165. end;
  50166. procedure TPORTB_PORTB.setRB12; inline;
  50167. begin
  50168. pTDefRegMap(@Self)^.&set := $00001000;
  50169. end;
  50170. procedure TPORTB_PORTB.clearRB12; inline;
  50171. begin
  50172. pTDefRegMap(@Self)^.clr := $00001000;
  50173. end;
  50174. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  50175. begin
  50176. if thebits = 0 then
  50177. pTDefRegMap(@Self)^.clr := $00001000
  50178. else
  50179. pTDefRegMap(@Self)^.&set := $00001000;
  50180. end;
  50181. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  50182. begin
  50183. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  50184. end;
  50185. procedure TPORTB_PORTB.setRB13; inline;
  50186. begin
  50187. pTDefRegMap(@Self)^.&set := $00002000;
  50188. end;
  50189. procedure TPORTB_PORTB.clearRB13; inline;
  50190. begin
  50191. pTDefRegMap(@Self)^.clr := $00002000;
  50192. end;
  50193. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  50194. begin
  50195. if thebits = 0 then
  50196. pTDefRegMap(@Self)^.clr := $00002000
  50197. else
  50198. pTDefRegMap(@Self)^.&set := $00002000;
  50199. end;
  50200. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  50201. begin
  50202. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50203. end;
  50204. procedure TPORTB_PORTB.setRB14; inline;
  50205. begin
  50206. pTDefRegMap(@Self)^.&set := $00004000;
  50207. end;
  50208. procedure TPORTB_PORTB.clearRB14; inline;
  50209. begin
  50210. pTDefRegMap(@Self)^.clr := $00004000;
  50211. end;
  50212. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  50213. begin
  50214. if thebits = 0 then
  50215. pTDefRegMap(@Self)^.clr := $00004000
  50216. else
  50217. pTDefRegMap(@Self)^.&set := $00004000;
  50218. end;
  50219. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  50220. begin
  50221. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  50222. end;
  50223. procedure TPORTB_PORTB.setRB15; inline;
  50224. begin
  50225. pTDefRegMap(@Self)^.&set := $00008000;
  50226. end;
  50227. procedure TPORTB_PORTB.clearRB15; inline;
  50228. begin
  50229. pTDefRegMap(@Self)^.clr := $00008000;
  50230. end;
  50231. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  50232. begin
  50233. if thebits = 0 then
  50234. pTDefRegMap(@Self)^.clr := $00008000
  50235. else
  50236. pTDefRegMap(@Self)^.&set := $00008000;
  50237. end;
  50238. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  50239. begin
  50240. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50241. end;
  50242. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  50243. begin
  50244. pTDefRegMap(@Self)^.val := thebits;
  50245. end;
  50246. function TPORTB_PORTB.getw : TBits_32; inline;
  50247. begin
  50248. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50249. end;
  50250. procedure TPORTB_LATB.setLATB0; inline;
  50251. begin
  50252. pTDefRegMap(@Self)^.&set := $00000001;
  50253. end;
  50254. procedure TPORTB_LATB.clearLATB0; inline;
  50255. begin
  50256. pTDefRegMap(@Self)^.clr := $00000001;
  50257. end;
  50258. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  50259. begin
  50260. if thebits = 0 then
  50261. pTDefRegMap(@Self)^.clr := $00000001
  50262. else
  50263. pTDefRegMap(@Self)^.&set := $00000001;
  50264. end;
  50265. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  50266. begin
  50267. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50268. end;
  50269. procedure TPORTB_LATB.setLATB1; inline;
  50270. begin
  50271. pTDefRegMap(@Self)^.&set := $00000002;
  50272. end;
  50273. procedure TPORTB_LATB.clearLATB1; inline;
  50274. begin
  50275. pTDefRegMap(@Self)^.clr := $00000002;
  50276. end;
  50277. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  50278. begin
  50279. if thebits = 0 then
  50280. pTDefRegMap(@Self)^.clr := $00000002
  50281. else
  50282. pTDefRegMap(@Self)^.&set := $00000002;
  50283. end;
  50284. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  50285. begin
  50286. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50287. end;
  50288. procedure TPORTB_LATB.setLATB2; inline;
  50289. begin
  50290. pTDefRegMap(@Self)^.&set := $00000004;
  50291. end;
  50292. procedure TPORTB_LATB.clearLATB2; inline;
  50293. begin
  50294. pTDefRegMap(@Self)^.clr := $00000004;
  50295. end;
  50296. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  50297. begin
  50298. if thebits = 0 then
  50299. pTDefRegMap(@Self)^.clr := $00000004
  50300. else
  50301. pTDefRegMap(@Self)^.&set := $00000004;
  50302. end;
  50303. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  50304. begin
  50305. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50306. end;
  50307. procedure TPORTB_LATB.setLATB3; inline;
  50308. begin
  50309. pTDefRegMap(@Self)^.&set := $00000008;
  50310. end;
  50311. procedure TPORTB_LATB.clearLATB3; inline;
  50312. begin
  50313. pTDefRegMap(@Self)^.clr := $00000008;
  50314. end;
  50315. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  50316. begin
  50317. if thebits = 0 then
  50318. pTDefRegMap(@Self)^.clr := $00000008
  50319. else
  50320. pTDefRegMap(@Self)^.&set := $00000008;
  50321. end;
  50322. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  50323. begin
  50324. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50325. end;
  50326. procedure TPORTB_LATB.setLATB4; inline;
  50327. begin
  50328. pTDefRegMap(@Self)^.&set := $00000010;
  50329. end;
  50330. procedure TPORTB_LATB.clearLATB4; inline;
  50331. begin
  50332. pTDefRegMap(@Self)^.clr := $00000010;
  50333. end;
  50334. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  50335. begin
  50336. if thebits = 0 then
  50337. pTDefRegMap(@Self)^.clr := $00000010
  50338. else
  50339. pTDefRegMap(@Self)^.&set := $00000010;
  50340. end;
  50341. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  50342. begin
  50343. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50344. end;
  50345. procedure TPORTB_LATB.setLATB5; inline;
  50346. begin
  50347. pTDefRegMap(@Self)^.&set := $00000020;
  50348. end;
  50349. procedure TPORTB_LATB.clearLATB5; inline;
  50350. begin
  50351. pTDefRegMap(@Self)^.clr := $00000020;
  50352. end;
  50353. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  50354. begin
  50355. if thebits = 0 then
  50356. pTDefRegMap(@Self)^.clr := $00000020
  50357. else
  50358. pTDefRegMap(@Self)^.&set := $00000020;
  50359. end;
  50360. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  50361. begin
  50362. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50363. end;
  50364. procedure TPORTB_LATB.setLATB6; inline;
  50365. begin
  50366. pTDefRegMap(@Self)^.&set := $00000040;
  50367. end;
  50368. procedure TPORTB_LATB.clearLATB6; inline;
  50369. begin
  50370. pTDefRegMap(@Self)^.clr := $00000040;
  50371. end;
  50372. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  50373. begin
  50374. if thebits = 0 then
  50375. pTDefRegMap(@Self)^.clr := $00000040
  50376. else
  50377. pTDefRegMap(@Self)^.&set := $00000040;
  50378. end;
  50379. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  50380. begin
  50381. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50382. end;
  50383. procedure TPORTB_LATB.setLATB7; inline;
  50384. begin
  50385. pTDefRegMap(@Self)^.&set := $00000080;
  50386. end;
  50387. procedure TPORTB_LATB.clearLATB7; inline;
  50388. begin
  50389. pTDefRegMap(@Self)^.clr := $00000080;
  50390. end;
  50391. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  50392. begin
  50393. if thebits = 0 then
  50394. pTDefRegMap(@Self)^.clr := $00000080
  50395. else
  50396. pTDefRegMap(@Self)^.&set := $00000080;
  50397. end;
  50398. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  50399. begin
  50400. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50401. end;
  50402. procedure TPORTB_LATB.setLATB8; inline;
  50403. begin
  50404. pTDefRegMap(@Self)^.&set := $00000100;
  50405. end;
  50406. procedure TPORTB_LATB.clearLATB8; inline;
  50407. begin
  50408. pTDefRegMap(@Self)^.clr := $00000100;
  50409. end;
  50410. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  50411. begin
  50412. if thebits = 0 then
  50413. pTDefRegMap(@Self)^.clr := $00000100
  50414. else
  50415. pTDefRegMap(@Self)^.&set := $00000100;
  50416. end;
  50417. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  50418. begin
  50419. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50420. end;
  50421. procedure TPORTB_LATB.setLATB9; inline;
  50422. begin
  50423. pTDefRegMap(@Self)^.&set := $00000200;
  50424. end;
  50425. procedure TPORTB_LATB.clearLATB9; inline;
  50426. begin
  50427. pTDefRegMap(@Self)^.clr := $00000200;
  50428. end;
  50429. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  50430. begin
  50431. if thebits = 0 then
  50432. pTDefRegMap(@Self)^.clr := $00000200
  50433. else
  50434. pTDefRegMap(@Self)^.&set := $00000200;
  50435. end;
  50436. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  50437. begin
  50438. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50439. end;
  50440. procedure TPORTB_LATB.setLATB10; inline;
  50441. begin
  50442. pTDefRegMap(@Self)^.&set := $00000400;
  50443. end;
  50444. procedure TPORTB_LATB.clearLATB10; inline;
  50445. begin
  50446. pTDefRegMap(@Self)^.clr := $00000400;
  50447. end;
  50448. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  50449. begin
  50450. if thebits = 0 then
  50451. pTDefRegMap(@Self)^.clr := $00000400
  50452. else
  50453. pTDefRegMap(@Self)^.&set := $00000400;
  50454. end;
  50455. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  50456. begin
  50457. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  50458. end;
  50459. procedure TPORTB_LATB.setLATB11; inline;
  50460. begin
  50461. pTDefRegMap(@Self)^.&set := $00000800;
  50462. end;
  50463. procedure TPORTB_LATB.clearLATB11; inline;
  50464. begin
  50465. pTDefRegMap(@Self)^.clr := $00000800;
  50466. end;
  50467. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  50468. begin
  50469. if thebits = 0 then
  50470. pTDefRegMap(@Self)^.clr := $00000800
  50471. else
  50472. pTDefRegMap(@Self)^.&set := $00000800;
  50473. end;
  50474. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  50475. begin
  50476. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  50477. end;
  50478. procedure TPORTB_LATB.setLATB12; inline;
  50479. begin
  50480. pTDefRegMap(@Self)^.&set := $00001000;
  50481. end;
  50482. procedure TPORTB_LATB.clearLATB12; inline;
  50483. begin
  50484. pTDefRegMap(@Self)^.clr := $00001000;
  50485. end;
  50486. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  50487. begin
  50488. if thebits = 0 then
  50489. pTDefRegMap(@Self)^.clr := $00001000
  50490. else
  50491. pTDefRegMap(@Self)^.&set := $00001000;
  50492. end;
  50493. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  50494. begin
  50495. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  50496. end;
  50497. procedure TPORTB_LATB.setLATB13; inline;
  50498. begin
  50499. pTDefRegMap(@Self)^.&set := $00002000;
  50500. end;
  50501. procedure TPORTB_LATB.clearLATB13; inline;
  50502. begin
  50503. pTDefRegMap(@Self)^.clr := $00002000;
  50504. end;
  50505. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  50506. begin
  50507. if thebits = 0 then
  50508. pTDefRegMap(@Self)^.clr := $00002000
  50509. else
  50510. pTDefRegMap(@Self)^.&set := $00002000;
  50511. end;
  50512. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  50513. begin
  50514. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50515. end;
  50516. procedure TPORTB_LATB.setLATB14; inline;
  50517. begin
  50518. pTDefRegMap(@Self)^.&set := $00004000;
  50519. end;
  50520. procedure TPORTB_LATB.clearLATB14; inline;
  50521. begin
  50522. pTDefRegMap(@Self)^.clr := $00004000;
  50523. end;
  50524. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  50525. begin
  50526. if thebits = 0 then
  50527. pTDefRegMap(@Self)^.clr := $00004000
  50528. else
  50529. pTDefRegMap(@Self)^.&set := $00004000;
  50530. end;
  50531. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  50532. begin
  50533. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  50534. end;
  50535. procedure TPORTB_LATB.setLATB15; inline;
  50536. begin
  50537. pTDefRegMap(@Self)^.&set := $00008000;
  50538. end;
  50539. procedure TPORTB_LATB.clearLATB15; inline;
  50540. begin
  50541. pTDefRegMap(@Self)^.clr := $00008000;
  50542. end;
  50543. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  50544. begin
  50545. if thebits = 0 then
  50546. pTDefRegMap(@Self)^.clr := $00008000
  50547. else
  50548. pTDefRegMap(@Self)^.&set := $00008000;
  50549. end;
  50550. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  50551. begin
  50552. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50553. end;
  50554. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  50555. begin
  50556. pTDefRegMap(@Self)^.val := thebits;
  50557. end;
  50558. function TPORTB_LATB.getw : TBits_32; inline;
  50559. begin
  50560. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50561. end;
  50562. procedure TPORTB_ODCB.setODCB0; inline;
  50563. begin
  50564. pTDefRegMap(@Self)^.&set := $00000001;
  50565. end;
  50566. procedure TPORTB_ODCB.clearODCB0; inline;
  50567. begin
  50568. pTDefRegMap(@Self)^.clr := $00000001;
  50569. end;
  50570. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  50571. begin
  50572. if thebits = 0 then
  50573. pTDefRegMap(@Self)^.clr := $00000001
  50574. else
  50575. pTDefRegMap(@Self)^.&set := $00000001;
  50576. end;
  50577. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  50578. begin
  50579. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50580. end;
  50581. procedure TPORTB_ODCB.setODCB1; inline;
  50582. begin
  50583. pTDefRegMap(@Self)^.&set := $00000002;
  50584. end;
  50585. procedure TPORTB_ODCB.clearODCB1; inline;
  50586. begin
  50587. pTDefRegMap(@Self)^.clr := $00000002;
  50588. end;
  50589. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  50590. begin
  50591. if thebits = 0 then
  50592. pTDefRegMap(@Self)^.clr := $00000002
  50593. else
  50594. pTDefRegMap(@Self)^.&set := $00000002;
  50595. end;
  50596. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  50597. begin
  50598. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50599. end;
  50600. procedure TPORTB_ODCB.setODCB2; inline;
  50601. begin
  50602. pTDefRegMap(@Self)^.&set := $00000004;
  50603. end;
  50604. procedure TPORTB_ODCB.clearODCB2; inline;
  50605. begin
  50606. pTDefRegMap(@Self)^.clr := $00000004;
  50607. end;
  50608. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  50609. begin
  50610. if thebits = 0 then
  50611. pTDefRegMap(@Self)^.clr := $00000004
  50612. else
  50613. pTDefRegMap(@Self)^.&set := $00000004;
  50614. end;
  50615. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  50616. begin
  50617. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50618. end;
  50619. procedure TPORTB_ODCB.setODCB3; inline;
  50620. begin
  50621. pTDefRegMap(@Self)^.&set := $00000008;
  50622. end;
  50623. procedure TPORTB_ODCB.clearODCB3; inline;
  50624. begin
  50625. pTDefRegMap(@Self)^.clr := $00000008;
  50626. end;
  50627. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  50628. begin
  50629. if thebits = 0 then
  50630. pTDefRegMap(@Self)^.clr := $00000008
  50631. else
  50632. pTDefRegMap(@Self)^.&set := $00000008;
  50633. end;
  50634. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  50635. begin
  50636. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50637. end;
  50638. procedure TPORTB_ODCB.setODCB4; inline;
  50639. begin
  50640. pTDefRegMap(@Self)^.&set := $00000010;
  50641. end;
  50642. procedure TPORTB_ODCB.clearODCB4; inline;
  50643. begin
  50644. pTDefRegMap(@Self)^.clr := $00000010;
  50645. end;
  50646. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  50647. begin
  50648. if thebits = 0 then
  50649. pTDefRegMap(@Self)^.clr := $00000010
  50650. else
  50651. pTDefRegMap(@Self)^.&set := $00000010;
  50652. end;
  50653. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  50654. begin
  50655. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50656. end;
  50657. procedure TPORTB_ODCB.setODCB5; inline;
  50658. begin
  50659. pTDefRegMap(@Self)^.&set := $00000020;
  50660. end;
  50661. procedure TPORTB_ODCB.clearODCB5; inline;
  50662. begin
  50663. pTDefRegMap(@Self)^.clr := $00000020;
  50664. end;
  50665. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  50666. begin
  50667. if thebits = 0 then
  50668. pTDefRegMap(@Self)^.clr := $00000020
  50669. else
  50670. pTDefRegMap(@Self)^.&set := $00000020;
  50671. end;
  50672. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  50673. begin
  50674. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50675. end;
  50676. procedure TPORTB_ODCB.setODCB6; inline;
  50677. begin
  50678. pTDefRegMap(@Self)^.&set := $00000040;
  50679. end;
  50680. procedure TPORTB_ODCB.clearODCB6; inline;
  50681. begin
  50682. pTDefRegMap(@Self)^.clr := $00000040;
  50683. end;
  50684. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  50685. begin
  50686. if thebits = 0 then
  50687. pTDefRegMap(@Self)^.clr := $00000040
  50688. else
  50689. pTDefRegMap(@Self)^.&set := $00000040;
  50690. end;
  50691. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  50692. begin
  50693. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50694. end;
  50695. procedure TPORTB_ODCB.setODCB7; inline;
  50696. begin
  50697. pTDefRegMap(@Self)^.&set := $00000080;
  50698. end;
  50699. procedure TPORTB_ODCB.clearODCB7; inline;
  50700. begin
  50701. pTDefRegMap(@Self)^.clr := $00000080;
  50702. end;
  50703. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  50704. begin
  50705. if thebits = 0 then
  50706. pTDefRegMap(@Self)^.clr := $00000080
  50707. else
  50708. pTDefRegMap(@Self)^.&set := $00000080;
  50709. end;
  50710. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  50711. begin
  50712. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50713. end;
  50714. procedure TPORTB_ODCB.setODCB8; inline;
  50715. begin
  50716. pTDefRegMap(@Self)^.&set := $00000100;
  50717. end;
  50718. procedure TPORTB_ODCB.clearODCB8; inline;
  50719. begin
  50720. pTDefRegMap(@Self)^.clr := $00000100;
  50721. end;
  50722. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  50723. begin
  50724. if thebits = 0 then
  50725. pTDefRegMap(@Self)^.clr := $00000100
  50726. else
  50727. pTDefRegMap(@Self)^.&set := $00000100;
  50728. end;
  50729. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  50730. begin
  50731. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50732. end;
  50733. procedure TPORTB_ODCB.setODCB9; inline;
  50734. begin
  50735. pTDefRegMap(@Self)^.&set := $00000200;
  50736. end;
  50737. procedure TPORTB_ODCB.clearODCB9; inline;
  50738. begin
  50739. pTDefRegMap(@Self)^.clr := $00000200;
  50740. end;
  50741. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  50742. begin
  50743. if thebits = 0 then
  50744. pTDefRegMap(@Self)^.clr := $00000200
  50745. else
  50746. pTDefRegMap(@Self)^.&set := $00000200;
  50747. end;
  50748. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  50749. begin
  50750. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  50751. end;
  50752. procedure TPORTB_ODCB.setODCB10; inline;
  50753. begin
  50754. pTDefRegMap(@Self)^.&set := $00000400;
  50755. end;
  50756. procedure TPORTB_ODCB.clearODCB10; inline;
  50757. begin
  50758. pTDefRegMap(@Self)^.clr := $00000400;
  50759. end;
  50760. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  50761. begin
  50762. if thebits = 0 then
  50763. pTDefRegMap(@Self)^.clr := $00000400
  50764. else
  50765. pTDefRegMap(@Self)^.&set := $00000400;
  50766. end;
  50767. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  50768. begin
  50769. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  50770. end;
  50771. procedure TPORTB_ODCB.setODCB11; inline;
  50772. begin
  50773. pTDefRegMap(@Self)^.&set := $00000800;
  50774. end;
  50775. procedure TPORTB_ODCB.clearODCB11; inline;
  50776. begin
  50777. pTDefRegMap(@Self)^.clr := $00000800;
  50778. end;
  50779. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  50780. begin
  50781. if thebits = 0 then
  50782. pTDefRegMap(@Self)^.clr := $00000800
  50783. else
  50784. pTDefRegMap(@Self)^.&set := $00000800;
  50785. end;
  50786. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  50787. begin
  50788. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  50789. end;
  50790. procedure TPORTB_ODCB.setODCB12; inline;
  50791. begin
  50792. pTDefRegMap(@Self)^.&set := $00001000;
  50793. end;
  50794. procedure TPORTB_ODCB.clearODCB12; inline;
  50795. begin
  50796. pTDefRegMap(@Self)^.clr := $00001000;
  50797. end;
  50798. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  50799. begin
  50800. if thebits = 0 then
  50801. pTDefRegMap(@Self)^.clr := $00001000
  50802. else
  50803. pTDefRegMap(@Self)^.&set := $00001000;
  50804. end;
  50805. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  50806. begin
  50807. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  50808. end;
  50809. procedure TPORTB_ODCB.setODCB13; inline;
  50810. begin
  50811. pTDefRegMap(@Self)^.&set := $00002000;
  50812. end;
  50813. procedure TPORTB_ODCB.clearODCB13; inline;
  50814. begin
  50815. pTDefRegMap(@Self)^.clr := $00002000;
  50816. end;
  50817. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  50818. begin
  50819. if thebits = 0 then
  50820. pTDefRegMap(@Self)^.clr := $00002000
  50821. else
  50822. pTDefRegMap(@Self)^.&set := $00002000;
  50823. end;
  50824. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  50825. begin
  50826. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50827. end;
  50828. procedure TPORTB_ODCB.setODCB14; inline;
  50829. begin
  50830. pTDefRegMap(@Self)^.&set := $00004000;
  50831. end;
  50832. procedure TPORTB_ODCB.clearODCB14; inline;
  50833. begin
  50834. pTDefRegMap(@Self)^.clr := $00004000;
  50835. end;
  50836. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  50837. begin
  50838. if thebits = 0 then
  50839. pTDefRegMap(@Self)^.clr := $00004000
  50840. else
  50841. pTDefRegMap(@Self)^.&set := $00004000;
  50842. end;
  50843. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  50844. begin
  50845. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  50846. end;
  50847. procedure TPORTB_ODCB.setODCB15; inline;
  50848. begin
  50849. pTDefRegMap(@Self)^.&set := $00008000;
  50850. end;
  50851. procedure TPORTB_ODCB.clearODCB15; inline;
  50852. begin
  50853. pTDefRegMap(@Self)^.clr := $00008000;
  50854. end;
  50855. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  50856. begin
  50857. if thebits = 0 then
  50858. pTDefRegMap(@Self)^.clr := $00008000
  50859. else
  50860. pTDefRegMap(@Self)^.&set := $00008000;
  50861. end;
  50862. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  50863. begin
  50864. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50865. end;
  50866. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  50867. begin
  50868. pTDefRegMap(@Self)^.val := thebits;
  50869. end;
  50870. function TPORTB_ODCB.getw : TBits_32; inline;
  50871. begin
  50872. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50873. end;
  50874. procedure TPORTC_TRISC.setTRISC12; inline;
  50875. begin
  50876. pTDefRegMap(@Self)^.&set := $00001000;
  50877. end;
  50878. procedure TPORTC_TRISC.clearTRISC12; inline;
  50879. begin
  50880. pTDefRegMap(@Self)^.clr := $00001000;
  50881. end;
  50882. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  50883. begin
  50884. if thebits = 0 then
  50885. pTDefRegMap(@Self)^.clr := $00001000
  50886. else
  50887. pTDefRegMap(@Self)^.&set := $00001000;
  50888. end;
  50889. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  50890. begin
  50891. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  50892. end;
  50893. procedure TPORTC_TRISC.setTRISC13; inline;
  50894. begin
  50895. pTDefRegMap(@Self)^.&set := $00002000;
  50896. end;
  50897. procedure TPORTC_TRISC.clearTRISC13; inline;
  50898. begin
  50899. pTDefRegMap(@Self)^.clr := $00002000;
  50900. end;
  50901. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  50902. begin
  50903. if thebits = 0 then
  50904. pTDefRegMap(@Self)^.clr := $00002000
  50905. else
  50906. pTDefRegMap(@Self)^.&set := $00002000;
  50907. end;
  50908. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  50909. begin
  50910. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50911. end;
  50912. procedure TPORTC_TRISC.setTRISC14; inline;
  50913. begin
  50914. pTDefRegMap(@Self)^.&set := $00004000;
  50915. end;
  50916. procedure TPORTC_TRISC.clearTRISC14; inline;
  50917. begin
  50918. pTDefRegMap(@Self)^.clr := $00004000;
  50919. end;
  50920. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  50921. begin
  50922. if thebits = 0 then
  50923. pTDefRegMap(@Self)^.clr := $00004000
  50924. else
  50925. pTDefRegMap(@Self)^.&set := $00004000;
  50926. end;
  50927. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  50928. begin
  50929. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  50930. end;
  50931. procedure TPORTC_TRISC.setTRISC15; inline;
  50932. begin
  50933. pTDefRegMap(@Self)^.&set := $00008000;
  50934. end;
  50935. procedure TPORTC_TRISC.clearTRISC15; inline;
  50936. begin
  50937. pTDefRegMap(@Self)^.clr := $00008000;
  50938. end;
  50939. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  50940. begin
  50941. if thebits = 0 then
  50942. pTDefRegMap(@Self)^.clr := $00008000
  50943. else
  50944. pTDefRegMap(@Self)^.&set := $00008000;
  50945. end;
  50946. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  50947. begin
  50948. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50949. end;
  50950. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  50951. begin
  50952. pTDefRegMap(@Self)^.val := thebits;
  50953. end;
  50954. function TPORTC_TRISC.getw : TBits_32; inline;
  50955. begin
  50956. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50957. end;
  50958. procedure TPORTC_PORTC.setRC12; inline;
  50959. begin
  50960. pTDefRegMap(@Self)^.&set := $00001000;
  50961. end;
  50962. procedure TPORTC_PORTC.clearRC12; inline;
  50963. begin
  50964. pTDefRegMap(@Self)^.clr := $00001000;
  50965. end;
  50966. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  50967. begin
  50968. if thebits = 0 then
  50969. pTDefRegMap(@Self)^.clr := $00001000
  50970. else
  50971. pTDefRegMap(@Self)^.&set := $00001000;
  50972. end;
  50973. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  50974. begin
  50975. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  50976. end;
  50977. procedure TPORTC_PORTC.setRC13; inline;
  50978. begin
  50979. pTDefRegMap(@Self)^.&set := $00002000;
  50980. end;
  50981. procedure TPORTC_PORTC.clearRC13; inline;
  50982. begin
  50983. pTDefRegMap(@Self)^.clr := $00002000;
  50984. end;
  50985. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  50986. begin
  50987. if thebits = 0 then
  50988. pTDefRegMap(@Self)^.clr := $00002000
  50989. else
  50990. pTDefRegMap(@Self)^.&set := $00002000;
  50991. end;
  50992. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  50993. begin
  50994. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  50995. end;
  50996. procedure TPORTC_PORTC.setRC14; inline;
  50997. begin
  50998. pTDefRegMap(@Self)^.&set := $00004000;
  50999. end;
  51000. procedure TPORTC_PORTC.clearRC14; inline;
  51001. begin
  51002. pTDefRegMap(@Self)^.clr := $00004000;
  51003. end;
  51004. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  51005. begin
  51006. if thebits = 0 then
  51007. pTDefRegMap(@Self)^.clr := $00004000
  51008. else
  51009. pTDefRegMap(@Self)^.&set := $00004000;
  51010. end;
  51011. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  51012. begin
  51013. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  51014. end;
  51015. procedure TPORTC_PORTC.setRC15; inline;
  51016. begin
  51017. pTDefRegMap(@Self)^.&set := $00008000;
  51018. end;
  51019. procedure TPORTC_PORTC.clearRC15; inline;
  51020. begin
  51021. pTDefRegMap(@Self)^.clr := $00008000;
  51022. end;
  51023. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  51024. begin
  51025. if thebits = 0 then
  51026. pTDefRegMap(@Self)^.clr := $00008000
  51027. else
  51028. pTDefRegMap(@Self)^.&set := $00008000;
  51029. end;
  51030. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  51031. begin
  51032. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  51033. end;
  51034. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  51035. begin
  51036. pTDefRegMap(@Self)^.val := thebits;
  51037. end;
  51038. function TPORTC_PORTC.getw : TBits_32; inline;
  51039. begin
  51040. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51041. end;
  51042. procedure TPORTC_LATC.setLATC12; inline;
  51043. begin
  51044. pTDefRegMap(@Self)^.&set := $00001000;
  51045. end;
  51046. procedure TPORTC_LATC.clearLATC12; inline;
  51047. begin
  51048. pTDefRegMap(@Self)^.clr := $00001000;
  51049. end;
  51050. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  51051. begin
  51052. if thebits = 0 then
  51053. pTDefRegMap(@Self)^.clr := $00001000
  51054. else
  51055. pTDefRegMap(@Self)^.&set := $00001000;
  51056. end;
  51057. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  51058. begin
  51059. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  51060. end;
  51061. procedure TPORTC_LATC.setLATC13; inline;
  51062. begin
  51063. pTDefRegMap(@Self)^.&set := $00002000;
  51064. end;
  51065. procedure TPORTC_LATC.clearLATC13; inline;
  51066. begin
  51067. pTDefRegMap(@Self)^.clr := $00002000;
  51068. end;
  51069. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  51070. begin
  51071. if thebits = 0 then
  51072. pTDefRegMap(@Self)^.clr := $00002000
  51073. else
  51074. pTDefRegMap(@Self)^.&set := $00002000;
  51075. end;
  51076. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  51077. begin
  51078. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  51079. end;
  51080. procedure TPORTC_LATC.setLATC14; inline;
  51081. begin
  51082. pTDefRegMap(@Self)^.&set := $00004000;
  51083. end;
  51084. procedure TPORTC_LATC.clearLATC14; inline;
  51085. begin
  51086. pTDefRegMap(@Self)^.clr := $00004000;
  51087. end;
  51088. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  51089. begin
  51090. if thebits = 0 then
  51091. pTDefRegMap(@Self)^.clr := $00004000
  51092. else
  51093. pTDefRegMap(@Self)^.&set := $00004000;
  51094. end;
  51095. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  51096. begin
  51097. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  51098. end;
  51099. procedure TPORTC_LATC.setLATC15; inline;
  51100. begin
  51101. pTDefRegMap(@Self)^.&set := $00008000;
  51102. end;
  51103. procedure TPORTC_LATC.clearLATC15; inline;
  51104. begin
  51105. pTDefRegMap(@Self)^.clr := $00008000;
  51106. end;
  51107. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  51108. begin
  51109. if thebits = 0 then
  51110. pTDefRegMap(@Self)^.clr := $00008000
  51111. else
  51112. pTDefRegMap(@Self)^.&set := $00008000;
  51113. end;
  51114. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  51115. begin
  51116. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  51117. end;
  51118. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  51119. begin
  51120. pTDefRegMap(@Self)^.val := thebits;
  51121. end;
  51122. function TPORTC_LATC.getw : TBits_32; inline;
  51123. begin
  51124. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51125. end;
  51126. procedure TPORTC_ODCC.setODCC12; inline;
  51127. begin
  51128. pTDefRegMap(@Self)^.&set := $00001000;
  51129. end;
  51130. procedure TPORTC_ODCC.clearODCC12; inline;
  51131. begin
  51132. pTDefRegMap(@Self)^.clr := $00001000;
  51133. end;
  51134. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  51135. begin
  51136. if thebits = 0 then
  51137. pTDefRegMap(@Self)^.clr := $00001000
  51138. else
  51139. pTDefRegMap(@Self)^.&set := $00001000;
  51140. end;
  51141. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  51142. begin
  51143. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  51144. end;
  51145. procedure TPORTC_ODCC.setODCC13; inline;
  51146. begin
  51147. pTDefRegMap(@Self)^.&set := $00002000;
  51148. end;
  51149. procedure TPORTC_ODCC.clearODCC13; inline;
  51150. begin
  51151. pTDefRegMap(@Self)^.clr := $00002000;
  51152. end;
  51153. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  51154. begin
  51155. if thebits = 0 then
  51156. pTDefRegMap(@Self)^.clr := $00002000
  51157. else
  51158. pTDefRegMap(@Self)^.&set := $00002000;
  51159. end;
  51160. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  51161. begin
  51162. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  51163. end;
  51164. procedure TPORTC_ODCC.setODCC14; inline;
  51165. begin
  51166. pTDefRegMap(@Self)^.&set := $00004000;
  51167. end;
  51168. procedure TPORTC_ODCC.clearODCC14; inline;
  51169. begin
  51170. pTDefRegMap(@Self)^.clr := $00004000;
  51171. end;
  51172. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  51173. begin
  51174. if thebits = 0 then
  51175. pTDefRegMap(@Self)^.clr := $00004000
  51176. else
  51177. pTDefRegMap(@Self)^.&set := $00004000;
  51178. end;
  51179. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  51180. begin
  51181. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  51182. end;
  51183. procedure TPORTC_ODCC.setODCC15; inline;
  51184. begin
  51185. pTDefRegMap(@Self)^.&set := $00008000;
  51186. end;
  51187. procedure TPORTC_ODCC.clearODCC15; inline;
  51188. begin
  51189. pTDefRegMap(@Self)^.clr := $00008000;
  51190. end;
  51191. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  51192. begin
  51193. if thebits = 0 then
  51194. pTDefRegMap(@Self)^.clr := $00008000
  51195. else
  51196. pTDefRegMap(@Self)^.&set := $00008000;
  51197. end;
  51198. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  51199. begin
  51200. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  51201. end;
  51202. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  51203. begin
  51204. pTDefRegMap(@Self)^.val := thebits;
  51205. end;
  51206. function TPORTC_ODCC.getw : TBits_32; inline;
  51207. begin
  51208. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51209. end;
  51210. procedure TPORTD_TRISD.setTRISD0; inline;
  51211. begin
  51212. pTDefRegMap(@Self)^.&set := $00000001;
  51213. end;
  51214. procedure TPORTD_TRISD.clearTRISD0; inline;
  51215. begin
  51216. pTDefRegMap(@Self)^.clr := $00000001;
  51217. end;
  51218. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  51219. begin
  51220. if thebits = 0 then
  51221. pTDefRegMap(@Self)^.clr := $00000001
  51222. else
  51223. pTDefRegMap(@Self)^.&set := $00000001;
  51224. end;
  51225. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  51226. begin
  51227. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51228. end;
  51229. procedure TPORTD_TRISD.setTRISD1; inline;
  51230. begin
  51231. pTDefRegMap(@Self)^.&set := $00000002;
  51232. end;
  51233. procedure TPORTD_TRISD.clearTRISD1; inline;
  51234. begin
  51235. pTDefRegMap(@Self)^.clr := $00000002;
  51236. end;
  51237. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  51238. begin
  51239. if thebits = 0 then
  51240. pTDefRegMap(@Self)^.clr := $00000002
  51241. else
  51242. pTDefRegMap(@Self)^.&set := $00000002;
  51243. end;
  51244. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  51245. begin
  51246. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51247. end;
  51248. procedure TPORTD_TRISD.setTRISD2; inline;
  51249. begin
  51250. pTDefRegMap(@Self)^.&set := $00000004;
  51251. end;
  51252. procedure TPORTD_TRISD.clearTRISD2; inline;
  51253. begin
  51254. pTDefRegMap(@Self)^.clr := $00000004;
  51255. end;
  51256. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  51257. begin
  51258. if thebits = 0 then
  51259. pTDefRegMap(@Self)^.clr := $00000004
  51260. else
  51261. pTDefRegMap(@Self)^.&set := $00000004;
  51262. end;
  51263. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  51264. begin
  51265. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51266. end;
  51267. procedure TPORTD_TRISD.setTRISD3; inline;
  51268. begin
  51269. pTDefRegMap(@Self)^.&set := $00000008;
  51270. end;
  51271. procedure TPORTD_TRISD.clearTRISD3; inline;
  51272. begin
  51273. pTDefRegMap(@Self)^.clr := $00000008;
  51274. end;
  51275. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  51276. begin
  51277. if thebits = 0 then
  51278. pTDefRegMap(@Self)^.clr := $00000008
  51279. else
  51280. pTDefRegMap(@Self)^.&set := $00000008;
  51281. end;
  51282. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  51283. begin
  51284. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51285. end;
  51286. procedure TPORTD_TRISD.setTRISD4; inline;
  51287. begin
  51288. pTDefRegMap(@Self)^.&set := $00000010;
  51289. end;
  51290. procedure TPORTD_TRISD.clearTRISD4; inline;
  51291. begin
  51292. pTDefRegMap(@Self)^.clr := $00000010;
  51293. end;
  51294. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  51295. begin
  51296. if thebits = 0 then
  51297. pTDefRegMap(@Self)^.clr := $00000010
  51298. else
  51299. pTDefRegMap(@Self)^.&set := $00000010;
  51300. end;
  51301. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  51302. begin
  51303. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51304. end;
  51305. procedure TPORTD_TRISD.setTRISD5; inline;
  51306. begin
  51307. pTDefRegMap(@Self)^.&set := $00000020;
  51308. end;
  51309. procedure TPORTD_TRISD.clearTRISD5; inline;
  51310. begin
  51311. pTDefRegMap(@Self)^.clr := $00000020;
  51312. end;
  51313. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  51314. begin
  51315. if thebits = 0 then
  51316. pTDefRegMap(@Self)^.clr := $00000020
  51317. else
  51318. pTDefRegMap(@Self)^.&set := $00000020;
  51319. end;
  51320. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  51321. begin
  51322. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51323. end;
  51324. procedure TPORTD_TRISD.setTRISD6; inline;
  51325. begin
  51326. pTDefRegMap(@Self)^.&set := $00000040;
  51327. end;
  51328. procedure TPORTD_TRISD.clearTRISD6; inline;
  51329. begin
  51330. pTDefRegMap(@Self)^.clr := $00000040;
  51331. end;
  51332. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  51333. begin
  51334. if thebits = 0 then
  51335. pTDefRegMap(@Self)^.clr := $00000040
  51336. else
  51337. pTDefRegMap(@Self)^.&set := $00000040;
  51338. end;
  51339. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  51340. begin
  51341. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51342. end;
  51343. procedure TPORTD_TRISD.setTRISD7; inline;
  51344. begin
  51345. pTDefRegMap(@Self)^.&set := $00000080;
  51346. end;
  51347. procedure TPORTD_TRISD.clearTRISD7; inline;
  51348. begin
  51349. pTDefRegMap(@Self)^.clr := $00000080;
  51350. end;
  51351. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  51352. begin
  51353. if thebits = 0 then
  51354. pTDefRegMap(@Self)^.clr := $00000080
  51355. else
  51356. pTDefRegMap(@Self)^.&set := $00000080;
  51357. end;
  51358. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  51359. begin
  51360. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51361. end;
  51362. procedure TPORTD_TRISD.setTRISD8; inline;
  51363. begin
  51364. pTDefRegMap(@Self)^.&set := $00000100;
  51365. end;
  51366. procedure TPORTD_TRISD.clearTRISD8; inline;
  51367. begin
  51368. pTDefRegMap(@Self)^.clr := $00000100;
  51369. end;
  51370. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  51371. begin
  51372. if thebits = 0 then
  51373. pTDefRegMap(@Self)^.clr := $00000100
  51374. else
  51375. pTDefRegMap(@Self)^.&set := $00000100;
  51376. end;
  51377. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  51378. begin
  51379. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51380. end;
  51381. procedure TPORTD_TRISD.setTRISD9; inline;
  51382. begin
  51383. pTDefRegMap(@Self)^.&set := $00000200;
  51384. end;
  51385. procedure TPORTD_TRISD.clearTRISD9; inline;
  51386. begin
  51387. pTDefRegMap(@Self)^.clr := $00000200;
  51388. end;
  51389. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  51390. begin
  51391. if thebits = 0 then
  51392. pTDefRegMap(@Self)^.clr := $00000200
  51393. else
  51394. pTDefRegMap(@Self)^.&set := $00000200;
  51395. end;
  51396. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  51397. begin
  51398. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  51399. end;
  51400. procedure TPORTD_TRISD.setTRISD10; inline;
  51401. begin
  51402. pTDefRegMap(@Self)^.&set := $00000400;
  51403. end;
  51404. procedure TPORTD_TRISD.clearTRISD10; inline;
  51405. begin
  51406. pTDefRegMap(@Self)^.clr := $00000400;
  51407. end;
  51408. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  51409. begin
  51410. if thebits = 0 then
  51411. pTDefRegMap(@Self)^.clr := $00000400
  51412. else
  51413. pTDefRegMap(@Self)^.&set := $00000400;
  51414. end;
  51415. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  51416. begin
  51417. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  51418. end;
  51419. procedure TPORTD_TRISD.setTRISD11; inline;
  51420. begin
  51421. pTDefRegMap(@Self)^.&set := $00000800;
  51422. end;
  51423. procedure TPORTD_TRISD.clearTRISD11; inline;
  51424. begin
  51425. pTDefRegMap(@Self)^.clr := $00000800;
  51426. end;
  51427. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  51428. begin
  51429. if thebits = 0 then
  51430. pTDefRegMap(@Self)^.clr := $00000800
  51431. else
  51432. pTDefRegMap(@Self)^.&set := $00000800;
  51433. end;
  51434. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  51435. begin
  51436. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  51437. end;
  51438. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  51439. begin
  51440. pTDefRegMap(@Self)^.val := thebits;
  51441. end;
  51442. function TPORTD_TRISD.getw : TBits_32; inline;
  51443. begin
  51444. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51445. end;
  51446. procedure TPORTD_PORTD.setRD0; inline;
  51447. begin
  51448. pTDefRegMap(@Self)^.&set := $00000001;
  51449. end;
  51450. procedure TPORTD_PORTD.clearRD0; inline;
  51451. begin
  51452. pTDefRegMap(@Self)^.clr := $00000001;
  51453. end;
  51454. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  51455. begin
  51456. if thebits = 0 then
  51457. pTDefRegMap(@Self)^.clr := $00000001
  51458. else
  51459. pTDefRegMap(@Self)^.&set := $00000001;
  51460. end;
  51461. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  51462. begin
  51463. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51464. end;
  51465. procedure TPORTD_PORTD.setRD1; inline;
  51466. begin
  51467. pTDefRegMap(@Self)^.&set := $00000002;
  51468. end;
  51469. procedure TPORTD_PORTD.clearRD1; inline;
  51470. begin
  51471. pTDefRegMap(@Self)^.clr := $00000002;
  51472. end;
  51473. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  51474. begin
  51475. if thebits = 0 then
  51476. pTDefRegMap(@Self)^.clr := $00000002
  51477. else
  51478. pTDefRegMap(@Self)^.&set := $00000002;
  51479. end;
  51480. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  51481. begin
  51482. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51483. end;
  51484. procedure TPORTD_PORTD.setRD2; inline;
  51485. begin
  51486. pTDefRegMap(@Self)^.&set := $00000004;
  51487. end;
  51488. procedure TPORTD_PORTD.clearRD2; inline;
  51489. begin
  51490. pTDefRegMap(@Self)^.clr := $00000004;
  51491. end;
  51492. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  51493. begin
  51494. if thebits = 0 then
  51495. pTDefRegMap(@Self)^.clr := $00000004
  51496. else
  51497. pTDefRegMap(@Self)^.&set := $00000004;
  51498. end;
  51499. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  51500. begin
  51501. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51502. end;
  51503. procedure TPORTD_PORTD.setRD3; inline;
  51504. begin
  51505. pTDefRegMap(@Self)^.&set := $00000008;
  51506. end;
  51507. procedure TPORTD_PORTD.clearRD3; inline;
  51508. begin
  51509. pTDefRegMap(@Self)^.clr := $00000008;
  51510. end;
  51511. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  51512. begin
  51513. if thebits = 0 then
  51514. pTDefRegMap(@Self)^.clr := $00000008
  51515. else
  51516. pTDefRegMap(@Self)^.&set := $00000008;
  51517. end;
  51518. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  51519. begin
  51520. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51521. end;
  51522. procedure TPORTD_PORTD.setRD4; inline;
  51523. begin
  51524. pTDefRegMap(@Self)^.&set := $00000010;
  51525. end;
  51526. procedure TPORTD_PORTD.clearRD4; inline;
  51527. begin
  51528. pTDefRegMap(@Self)^.clr := $00000010;
  51529. end;
  51530. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  51531. begin
  51532. if thebits = 0 then
  51533. pTDefRegMap(@Self)^.clr := $00000010
  51534. else
  51535. pTDefRegMap(@Self)^.&set := $00000010;
  51536. end;
  51537. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  51538. begin
  51539. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51540. end;
  51541. procedure TPORTD_PORTD.setRD5; inline;
  51542. begin
  51543. pTDefRegMap(@Self)^.&set := $00000020;
  51544. end;
  51545. procedure TPORTD_PORTD.clearRD5; inline;
  51546. begin
  51547. pTDefRegMap(@Self)^.clr := $00000020;
  51548. end;
  51549. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  51550. begin
  51551. if thebits = 0 then
  51552. pTDefRegMap(@Self)^.clr := $00000020
  51553. else
  51554. pTDefRegMap(@Self)^.&set := $00000020;
  51555. end;
  51556. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  51557. begin
  51558. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51559. end;
  51560. procedure TPORTD_PORTD.setRD6; inline;
  51561. begin
  51562. pTDefRegMap(@Self)^.&set := $00000040;
  51563. end;
  51564. procedure TPORTD_PORTD.clearRD6; inline;
  51565. begin
  51566. pTDefRegMap(@Self)^.clr := $00000040;
  51567. end;
  51568. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  51569. begin
  51570. if thebits = 0 then
  51571. pTDefRegMap(@Self)^.clr := $00000040
  51572. else
  51573. pTDefRegMap(@Self)^.&set := $00000040;
  51574. end;
  51575. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  51576. begin
  51577. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51578. end;
  51579. procedure TPORTD_PORTD.setRD7; inline;
  51580. begin
  51581. pTDefRegMap(@Self)^.&set := $00000080;
  51582. end;
  51583. procedure TPORTD_PORTD.clearRD7; inline;
  51584. begin
  51585. pTDefRegMap(@Self)^.clr := $00000080;
  51586. end;
  51587. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  51588. begin
  51589. if thebits = 0 then
  51590. pTDefRegMap(@Self)^.clr := $00000080
  51591. else
  51592. pTDefRegMap(@Self)^.&set := $00000080;
  51593. end;
  51594. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  51595. begin
  51596. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51597. end;
  51598. procedure TPORTD_PORTD.setRD8; inline;
  51599. begin
  51600. pTDefRegMap(@Self)^.&set := $00000100;
  51601. end;
  51602. procedure TPORTD_PORTD.clearRD8; inline;
  51603. begin
  51604. pTDefRegMap(@Self)^.clr := $00000100;
  51605. end;
  51606. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  51607. begin
  51608. if thebits = 0 then
  51609. pTDefRegMap(@Self)^.clr := $00000100
  51610. else
  51611. pTDefRegMap(@Self)^.&set := $00000100;
  51612. end;
  51613. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  51614. begin
  51615. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51616. end;
  51617. procedure TPORTD_PORTD.setRD9; inline;
  51618. begin
  51619. pTDefRegMap(@Self)^.&set := $00000200;
  51620. end;
  51621. procedure TPORTD_PORTD.clearRD9; inline;
  51622. begin
  51623. pTDefRegMap(@Self)^.clr := $00000200;
  51624. end;
  51625. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  51626. begin
  51627. if thebits = 0 then
  51628. pTDefRegMap(@Self)^.clr := $00000200
  51629. else
  51630. pTDefRegMap(@Self)^.&set := $00000200;
  51631. end;
  51632. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  51633. begin
  51634. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  51635. end;
  51636. procedure TPORTD_PORTD.setRD10; inline;
  51637. begin
  51638. pTDefRegMap(@Self)^.&set := $00000400;
  51639. end;
  51640. procedure TPORTD_PORTD.clearRD10; inline;
  51641. begin
  51642. pTDefRegMap(@Self)^.clr := $00000400;
  51643. end;
  51644. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  51645. begin
  51646. if thebits = 0 then
  51647. pTDefRegMap(@Self)^.clr := $00000400
  51648. else
  51649. pTDefRegMap(@Self)^.&set := $00000400;
  51650. end;
  51651. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  51652. begin
  51653. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  51654. end;
  51655. procedure TPORTD_PORTD.setRD11; inline;
  51656. begin
  51657. pTDefRegMap(@Self)^.&set := $00000800;
  51658. end;
  51659. procedure TPORTD_PORTD.clearRD11; inline;
  51660. begin
  51661. pTDefRegMap(@Self)^.clr := $00000800;
  51662. end;
  51663. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  51664. begin
  51665. if thebits = 0 then
  51666. pTDefRegMap(@Self)^.clr := $00000800
  51667. else
  51668. pTDefRegMap(@Self)^.&set := $00000800;
  51669. end;
  51670. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  51671. begin
  51672. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  51673. end;
  51674. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  51675. begin
  51676. pTDefRegMap(@Self)^.val := thebits;
  51677. end;
  51678. function TPORTD_PORTD.getw : TBits_32; inline;
  51679. begin
  51680. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51681. end;
  51682. procedure TPORTD_LATD.setLATD0; inline;
  51683. begin
  51684. pTDefRegMap(@Self)^.&set := $00000001;
  51685. end;
  51686. procedure TPORTD_LATD.clearLATD0; inline;
  51687. begin
  51688. pTDefRegMap(@Self)^.clr := $00000001;
  51689. end;
  51690. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  51691. begin
  51692. if thebits = 0 then
  51693. pTDefRegMap(@Self)^.clr := $00000001
  51694. else
  51695. pTDefRegMap(@Self)^.&set := $00000001;
  51696. end;
  51697. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  51698. begin
  51699. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51700. end;
  51701. procedure TPORTD_LATD.setLATD1; inline;
  51702. begin
  51703. pTDefRegMap(@Self)^.&set := $00000002;
  51704. end;
  51705. procedure TPORTD_LATD.clearLATD1; inline;
  51706. begin
  51707. pTDefRegMap(@Self)^.clr := $00000002;
  51708. end;
  51709. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  51710. begin
  51711. if thebits = 0 then
  51712. pTDefRegMap(@Self)^.clr := $00000002
  51713. else
  51714. pTDefRegMap(@Self)^.&set := $00000002;
  51715. end;
  51716. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  51717. begin
  51718. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51719. end;
  51720. procedure TPORTD_LATD.setLATD2; inline;
  51721. begin
  51722. pTDefRegMap(@Self)^.&set := $00000004;
  51723. end;
  51724. procedure TPORTD_LATD.clearLATD2; inline;
  51725. begin
  51726. pTDefRegMap(@Self)^.clr := $00000004;
  51727. end;
  51728. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  51729. begin
  51730. if thebits = 0 then
  51731. pTDefRegMap(@Self)^.clr := $00000004
  51732. else
  51733. pTDefRegMap(@Self)^.&set := $00000004;
  51734. end;
  51735. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  51736. begin
  51737. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51738. end;
  51739. procedure TPORTD_LATD.setLATD3; inline;
  51740. begin
  51741. pTDefRegMap(@Self)^.&set := $00000008;
  51742. end;
  51743. procedure TPORTD_LATD.clearLATD3; inline;
  51744. begin
  51745. pTDefRegMap(@Self)^.clr := $00000008;
  51746. end;
  51747. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  51748. begin
  51749. if thebits = 0 then
  51750. pTDefRegMap(@Self)^.clr := $00000008
  51751. else
  51752. pTDefRegMap(@Self)^.&set := $00000008;
  51753. end;
  51754. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  51755. begin
  51756. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51757. end;
  51758. procedure TPORTD_LATD.setLATD4; inline;
  51759. begin
  51760. pTDefRegMap(@Self)^.&set := $00000010;
  51761. end;
  51762. procedure TPORTD_LATD.clearLATD4; inline;
  51763. begin
  51764. pTDefRegMap(@Self)^.clr := $00000010;
  51765. end;
  51766. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  51767. begin
  51768. if thebits = 0 then
  51769. pTDefRegMap(@Self)^.clr := $00000010
  51770. else
  51771. pTDefRegMap(@Self)^.&set := $00000010;
  51772. end;
  51773. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  51774. begin
  51775. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51776. end;
  51777. procedure TPORTD_LATD.setLATD5; inline;
  51778. begin
  51779. pTDefRegMap(@Self)^.&set := $00000020;
  51780. end;
  51781. procedure TPORTD_LATD.clearLATD5; inline;
  51782. begin
  51783. pTDefRegMap(@Self)^.clr := $00000020;
  51784. end;
  51785. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  51786. begin
  51787. if thebits = 0 then
  51788. pTDefRegMap(@Self)^.clr := $00000020
  51789. else
  51790. pTDefRegMap(@Self)^.&set := $00000020;
  51791. end;
  51792. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  51793. begin
  51794. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51795. end;
  51796. procedure TPORTD_LATD.setLATD6; inline;
  51797. begin
  51798. pTDefRegMap(@Self)^.&set := $00000040;
  51799. end;
  51800. procedure TPORTD_LATD.clearLATD6; inline;
  51801. begin
  51802. pTDefRegMap(@Self)^.clr := $00000040;
  51803. end;
  51804. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  51805. begin
  51806. if thebits = 0 then
  51807. pTDefRegMap(@Self)^.clr := $00000040
  51808. else
  51809. pTDefRegMap(@Self)^.&set := $00000040;
  51810. end;
  51811. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  51812. begin
  51813. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51814. end;
  51815. procedure TPORTD_LATD.setLATD7; inline;
  51816. begin
  51817. pTDefRegMap(@Self)^.&set := $00000080;
  51818. end;
  51819. procedure TPORTD_LATD.clearLATD7; inline;
  51820. begin
  51821. pTDefRegMap(@Self)^.clr := $00000080;
  51822. end;
  51823. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  51824. begin
  51825. if thebits = 0 then
  51826. pTDefRegMap(@Self)^.clr := $00000080
  51827. else
  51828. pTDefRegMap(@Self)^.&set := $00000080;
  51829. end;
  51830. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  51831. begin
  51832. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51833. end;
  51834. procedure TPORTD_LATD.setLATD8; inline;
  51835. begin
  51836. pTDefRegMap(@Self)^.&set := $00000100;
  51837. end;
  51838. procedure TPORTD_LATD.clearLATD8; inline;
  51839. begin
  51840. pTDefRegMap(@Self)^.clr := $00000100;
  51841. end;
  51842. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  51843. begin
  51844. if thebits = 0 then
  51845. pTDefRegMap(@Self)^.clr := $00000100
  51846. else
  51847. pTDefRegMap(@Self)^.&set := $00000100;
  51848. end;
  51849. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  51850. begin
  51851. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  51852. end;
  51853. procedure TPORTD_LATD.setLATD9; inline;
  51854. begin
  51855. pTDefRegMap(@Self)^.&set := $00000200;
  51856. end;
  51857. procedure TPORTD_LATD.clearLATD9; inline;
  51858. begin
  51859. pTDefRegMap(@Self)^.clr := $00000200;
  51860. end;
  51861. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  51862. begin
  51863. if thebits = 0 then
  51864. pTDefRegMap(@Self)^.clr := $00000200
  51865. else
  51866. pTDefRegMap(@Self)^.&set := $00000200;
  51867. end;
  51868. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  51869. begin
  51870. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  51871. end;
  51872. procedure TPORTD_LATD.setLATD10; inline;
  51873. begin
  51874. pTDefRegMap(@Self)^.&set := $00000400;
  51875. end;
  51876. procedure TPORTD_LATD.clearLATD10; inline;
  51877. begin
  51878. pTDefRegMap(@Self)^.clr := $00000400;
  51879. end;
  51880. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  51881. begin
  51882. if thebits = 0 then
  51883. pTDefRegMap(@Self)^.clr := $00000400
  51884. else
  51885. pTDefRegMap(@Self)^.&set := $00000400;
  51886. end;
  51887. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  51888. begin
  51889. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  51890. end;
  51891. procedure TPORTD_LATD.setLATD11; inline;
  51892. begin
  51893. pTDefRegMap(@Self)^.&set := $00000800;
  51894. end;
  51895. procedure TPORTD_LATD.clearLATD11; inline;
  51896. begin
  51897. pTDefRegMap(@Self)^.clr := $00000800;
  51898. end;
  51899. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  51900. begin
  51901. if thebits = 0 then
  51902. pTDefRegMap(@Self)^.clr := $00000800
  51903. else
  51904. pTDefRegMap(@Self)^.&set := $00000800;
  51905. end;
  51906. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  51907. begin
  51908. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  51909. end;
  51910. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  51911. begin
  51912. pTDefRegMap(@Self)^.val := thebits;
  51913. end;
  51914. function TPORTD_LATD.getw : TBits_32; inline;
  51915. begin
  51916. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  51917. end;
  51918. procedure TPORTD_ODCD.setODCD0; inline;
  51919. begin
  51920. pTDefRegMap(@Self)^.&set := $00000001;
  51921. end;
  51922. procedure TPORTD_ODCD.clearODCD0; inline;
  51923. begin
  51924. pTDefRegMap(@Self)^.clr := $00000001;
  51925. end;
  51926. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  51927. begin
  51928. if thebits = 0 then
  51929. pTDefRegMap(@Self)^.clr := $00000001
  51930. else
  51931. pTDefRegMap(@Self)^.&set := $00000001;
  51932. end;
  51933. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  51934. begin
  51935. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51936. end;
  51937. procedure TPORTD_ODCD.setODCD1; inline;
  51938. begin
  51939. pTDefRegMap(@Self)^.&set := $00000002;
  51940. end;
  51941. procedure TPORTD_ODCD.clearODCD1; inline;
  51942. begin
  51943. pTDefRegMap(@Self)^.clr := $00000002;
  51944. end;
  51945. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  51946. begin
  51947. if thebits = 0 then
  51948. pTDefRegMap(@Self)^.clr := $00000002
  51949. else
  51950. pTDefRegMap(@Self)^.&set := $00000002;
  51951. end;
  51952. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  51953. begin
  51954. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51955. end;
  51956. procedure TPORTD_ODCD.setODCD2; inline;
  51957. begin
  51958. pTDefRegMap(@Self)^.&set := $00000004;
  51959. end;
  51960. procedure TPORTD_ODCD.clearODCD2; inline;
  51961. begin
  51962. pTDefRegMap(@Self)^.clr := $00000004;
  51963. end;
  51964. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  51965. begin
  51966. if thebits = 0 then
  51967. pTDefRegMap(@Self)^.clr := $00000004
  51968. else
  51969. pTDefRegMap(@Self)^.&set := $00000004;
  51970. end;
  51971. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  51972. begin
  51973. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51974. end;
  51975. procedure TPORTD_ODCD.setODCD3; inline;
  51976. begin
  51977. pTDefRegMap(@Self)^.&set := $00000008;
  51978. end;
  51979. procedure TPORTD_ODCD.clearODCD3; inline;
  51980. begin
  51981. pTDefRegMap(@Self)^.clr := $00000008;
  51982. end;
  51983. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  51984. begin
  51985. if thebits = 0 then
  51986. pTDefRegMap(@Self)^.clr := $00000008
  51987. else
  51988. pTDefRegMap(@Self)^.&set := $00000008;
  51989. end;
  51990. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  51991. begin
  51992. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51993. end;
  51994. procedure TPORTD_ODCD.setODCD4; inline;
  51995. begin
  51996. pTDefRegMap(@Self)^.&set := $00000010;
  51997. end;
  51998. procedure TPORTD_ODCD.clearODCD4; inline;
  51999. begin
  52000. pTDefRegMap(@Self)^.clr := $00000010;
  52001. end;
  52002. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  52003. begin
  52004. if thebits = 0 then
  52005. pTDefRegMap(@Self)^.clr := $00000010
  52006. else
  52007. pTDefRegMap(@Self)^.&set := $00000010;
  52008. end;
  52009. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  52010. begin
  52011. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52012. end;
  52013. procedure TPORTD_ODCD.setODCD5; inline;
  52014. begin
  52015. pTDefRegMap(@Self)^.&set := $00000020;
  52016. end;
  52017. procedure TPORTD_ODCD.clearODCD5; inline;
  52018. begin
  52019. pTDefRegMap(@Self)^.clr := $00000020;
  52020. end;
  52021. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  52022. begin
  52023. if thebits = 0 then
  52024. pTDefRegMap(@Self)^.clr := $00000020
  52025. else
  52026. pTDefRegMap(@Self)^.&set := $00000020;
  52027. end;
  52028. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  52029. begin
  52030. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52031. end;
  52032. procedure TPORTD_ODCD.setODCD6; inline;
  52033. begin
  52034. pTDefRegMap(@Self)^.&set := $00000040;
  52035. end;
  52036. procedure TPORTD_ODCD.clearODCD6; inline;
  52037. begin
  52038. pTDefRegMap(@Self)^.clr := $00000040;
  52039. end;
  52040. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  52041. begin
  52042. if thebits = 0 then
  52043. pTDefRegMap(@Self)^.clr := $00000040
  52044. else
  52045. pTDefRegMap(@Self)^.&set := $00000040;
  52046. end;
  52047. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  52048. begin
  52049. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52050. end;
  52051. procedure TPORTD_ODCD.setODCD7; inline;
  52052. begin
  52053. pTDefRegMap(@Self)^.&set := $00000080;
  52054. end;
  52055. procedure TPORTD_ODCD.clearODCD7; inline;
  52056. begin
  52057. pTDefRegMap(@Self)^.clr := $00000080;
  52058. end;
  52059. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  52060. begin
  52061. if thebits = 0 then
  52062. pTDefRegMap(@Self)^.clr := $00000080
  52063. else
  52064. pTDefRegMap(@Self)^.&set := $00000080;
  52065. end;
  52066. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  52067. begin
  52068. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52069. end;
  52070. procedure TPORTD_ODCD.setODCD8; inline;
  52071. begin
  52072. pTDefRegMap(@Self)^.&set := $00000100;
  52073. end;
  52074. procedure TPORTD_ODCD.clearODCD8; inline;
  52075. begin
  52076. pTDefRegMap(@Self)^.clr := $00000100;
  52077. end;
  52078. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  52079. begin
  52080. if thebits = 0 then
  52081. pTDefRegMap(@Self)^.clr := $00000100
  52082. else
  52083. pTDefRegMap(@Self)^.&set := $00000100;
  52084. end;
  52085. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  52086. begin
  52087. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  52088. end;
  52089. procedure TPORTD_ODCD.setODCD9; inline;
  52090. begin
  52091. pTDefRegMap(@Self)^.&set := $00000200;
  52092. end;
  52093. procedure TPORTD_ODCD.clearODCD9; inline;
  52094. begin
  52095. pTDefRegMap(@Self)^.clr := $00000200;
  52096. end;
  52097. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  52098. begin
  52099. if thebits = 0 then
  52100. pTDefRegMap(@Self)^.clr := $00000200
  52101. else
  52102. pTDefRegMap(@Self)^.&set := $00000200;
  52103. end;
  52104. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  52105. begin
  52106. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52107. end;
  52108. procedure TPORTD_ODCD.setODCD10; inline;
  52109. begin
  52110. pTDefRegMap(@Self)^.&set := $00000400;
  52111. end;
  52112. procedure TPORTD_ODCD.clearODCD10; inline;
  52113. begin
  52114. pTDefRegMap(@Self)^.clr := $00000400;
  52115. end;
  52116. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  52117. begin
  52118. if thebits = 0 then
  52119. pTDefRegMap(@Self)^.clr := $00000400
  52120. else
  52121. pTDefRegMap(@Self)^.&set := $00000400;
  52122. end;
  52123. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  52124. begin
  52125. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  52126. end;
  52127. procedure TPORTD_ODCD.setODCD11; inline;
  52128. begin
  52129. pTDefRegMap(@Self)^.&set := $00000800;
  52130. end;
  52131. procedure TPORTD_ODCD.clearODCD11; inline;
  52132. begin
  52133. pTDefRegMap(@Self)^.clr := $00000800;
  52134. end;
  52135. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  52136. begin
  52137. if thebits = 0 then
  52138. pTDefRegMap(@Self)^.clr := $00000800
  52139. else
  52140. pTDefRegMap(@Self)^.&set := $00000800;
  52141. end;
  52142. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  52143. begin
  52144. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  52145. end;
  52146. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  52147. begin
  52148. pTDefRegMap(@Self)^.val := thebits;
  52149. end;
  52150. function TPORTD_ODCD.getw : TBits_32; inline;
  52151. begin
  52152. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52153. end;
  52154. procedure TPORTE_TRISE.setTRISE0; inline;
  52155. begin
  52156. pTDefRegMap(@Self)^.&set := $00000001;
  52157. end;
  52158. procedure TPORTE_TRISE.clearTRISE0; inline;
  52159. begin
  52160. pTDefRegMap(@Self)^.clr := $00000001;
  52161. end;
  52162. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  52163. begin
  52164. if thebits = 0 then
  52165. pTDefRegMap(@Self)^.clr := $00000001
  52166. else
  52167. pTDefRegMap(@Self)^.&set := $00000001;
  52168. end;
  52169. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  52170. begin
  52171. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52172. end;
  52173. procedure TPORTE_TRISE.setTRISE1; inline;
  52174. begin
  52175. pTDefRegMap(@Self)^.&set := $00000002;
  52176. end;
  52177. procedure TPORTE_TRISE.clearTRISE1; inline;
  52178. begin
  52179. pTDefRegMap(@Self)^.clr := $00000002;
  52180. end;
  52181. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  52182. begin
  52183. if thebits = 0 then
  52184. pTDefRegMap(@Self)^.clr := $00000002
  52185. else
  52186. pTDefRegMap(@Self)^.&set := $00000002;
  52187. end;
  52188. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  52189. begin
  52190. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52191. end;
  52192. procedure TPORTE_TRISE.setTRISE2; inline;
  52193. begin
  52194. pTDefRegMap(@Self)^.&set := $00000004;
  52195. end;
  52196. procedure TPORTE_TRISE.clearTRISE2; inline;
  52197. begin
  52198. pTDefRegMap(@Self)^.clr := $00000004;
  52199. end;
  52200. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  52201. begin
  52202. if thebits = 0 then
  52203. pTDefRegMap(@Self)^.clr := $00000004
  52204. else
  52205. pTDefRegMap(@Self)^.&set := $00000004;
  52206. end;
  52207. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  52208. begin
  52209. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52210. end;
  52211. procedure TPORTE_TRISE.setTRISE3; inline;
  52212. begin
  52213. pTDefRegMap(@Self)^.&set := $00000008;
  52214. end;
  52215. procedure TPORTE_TRISE.clearTRISE3; inline;
  52216. begin
  52217. pTDefRegMap(@Self)^.clr := $00000008;
  52218. end;
  52219. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  52220. begin
  52221. if thebits = 0 then
  52222. pTDefRegMap(@Self)^.clr := $00000008
  52223. else
  52224. pTDefRegMap(@Self)^.&set := $00000008;
  52225. end;
  52226. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  52227. begin
  52228. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52229. end;
  52230. procedure TPORTE_TRISE.setTRISE4; inline;
  52231. begin
  52232. pTDefRegMap(@Self)^.&set := $00000010;
  52233. end;
  52234. procedure TPORTE_TRISE.clearTRISE4; inline;
  52235. begin
  52236. pTDefRegMap(@Self)^.clr := $00000010;
  52237. end;
  52238. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  52239. begin
  52240. if thebits = 0 then
  52241. pTDefRegMap(@Self)^.clr := $00000010
  52242. else
  52243. pTDefRegMap(@Self)^.&set := $00000010;
  52244. end;
  52245. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  52246. begin
  52247. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52248. end;
  52249. procedure TPORTE_TRISE.setTRISE5; inline;
  52250. begin
  52251. pTDefRegMap(@Self)^.&set := $00000020;
  52252. end;
  52253. procedure TPORTE_TRISE.clearTRISE5; inline;
  52254. begin
  52255. pTDefRegMap(@Self)^.clr := $00000020;
  52256. end;
  52257. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  52258. begin
  52259. if thebits = 0 then
  52260. pTDefRegMap(@Self)^.clr := $00000020
  52261. else
  52262. pTDefRegMap(@Self)^.&set := $00000020;
  52263. end;
  52264. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  52265. begin
  52266. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52267. end;
  52268. procedure TPORTE_TRISE.setTRISE6; inline;
  52269. begin
  52270. pTDefRegMap(@Self)^.&set := $00000040;
  52271. end;
  52272. procedure TPORTE_TRISE.clearTRISE6; inline;
  52273. begin
  52274. pTDefRegMap(@Self)^.clr := $00000040;
  52275. end;
  52276. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  52277. begin
  52278. if thebits = 0 then
  52279. pTDefRegMap(@Self)^.clr := $00000040
  52280. else
  52281. pTDefRegMap(@Self)^.&set := $00000040;
  52282. end;
  52283. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  52284. begin
  52285. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52286. end;
  52287. procedure TPORTE_TRISE.setTRISE7; inline;
  52288. begin
  52289. pTDefRegMap(@Self)^.&set := $00000080;
  52290. end;
  52291. procedure TPORTE_TRISE.clearTRISE7; inline;
  52292. begin
  52293. pTDefRegMap(@Self)^.clr := $00000080;
  52294. end;
  52295. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  52296. begin
  52297. if thebits = 0 then
  52298. pTDefRegMap(@Self)^.clr := $00000080
  52299. else
  52300. pTDefRegMap(@Self)^.&set := $00000080;
  52301. end;
  52302. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  52303. begin
  52304. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52305. end;
  52306. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  52307. begin
  52308. pTDefRegMap(@Self)^.val := thebits;
  52309. end;
  52310. function TPORTE_TRISE.getw : TBits_32; inline;
  52311. begin
  52312. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52313. end;
  52314. procedure TPORTE_PORTE.setRE0; inline;
  52315. begin
  52316. pTDefRegMap(@Self)^.&set := $00000001;
  52317. end;
  52318. procedure TPORTE_PORTE.clearRE0; inline;
  52319. begin
  52320. pTDefRegMap(@Self)^.clr := $00000001;
  52321. end;
  52322. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  52323. begin
  52324. if thebits = 0 then
  52325. pTDefRegMap(@Self)^.clr := $00000001
  52326. else
  52327. pTDefRegMap(@Self)^.&set := $00000001;
  52328. end;
  52329. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  52330. begin
  52331. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52332. end;
  52333. procedure TPORTE_PORTE.setRE1; inline;
  52334. begin
  52335. pTDefRegMap(@Self)^.&set := $00000002;
  52336. end;
  52337. procedure TPORTE_PORTE.clearRE1; inline;
  52338. begin
  52339. pTDefRegMap(@Self)^.clr := $00000002;
  52340. end;
  52341. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  52342. begin
  52343. if thebits = 0 then
  52344. pTDefRegMap(@Self)^.clr := $00000002
  52345. else
  52346. pTDefRegMap(@Self)^.&set := $00000002;
  52347. end;
  52348. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  52349. begin
  52350. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52351. end;
  52352. procedure TPORTE_PORTE.setRE2; inline;
  52353. begin
  52354. pTDefRegMap(@Self)^.&set := $00000004;
  52355. end;
  52356. procedure TPORTE_PORTE.clearRE2; inline;
  52357. begin
  52358. pTDefRegMap(@Self)^.clr := $00000004;
  52359. end;
  52360. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  52361. begin
  52362. if thebits = 0 then
  52363. pTDefRegMap(@Self)^.clr := $00000004
  52364. else
  52365. pTDefRegMap(@Self)^.&set := $00000004;
  52366. end;
  52367. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  52368. begin
  52369. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52370. end;
  52371. procedure TPORTE_PORTE.setRE3; inline;
  52372. begin
  52373. pTDefRegMap(@Self)^.&set := $00000008;
  52374. end;
  52375. procedure TPORTE_PORTE.clearRE3; inline;
  52376. begin
  52377. pTDefRegMap(@Self)^.clr := $00000008;
  52378. end;
  52379. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  52380. begin
  52381. if thebits = 0 then
  52382. pTDefRegMap(@Self)^.clr := $00000008
  52383. else
  52384. pTDefRegMap(@Self)^.&set := $00000008;
  52385. end;
  52386. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  52387. begin
  52388. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52389. end;
  52390. procedure TPORTE_PORTE.setRE4; inline;
  52391. begin
  52392. pTDefRegMap(@Self)^.&set := $00000010;
  52393. end;
  52394. procedure TPORTE_PORTE.clearRE4; inline;
  52395. begin
  52396. pTDefRegMap(@Self)^.clr := $00000010;
  52397. end;
  52398. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  52399. begin
  52400. if thebits = 0 then
  52401. pTDefRegMap(@Self)^.clr := $00000010
  52402. else
  52403. pTDefRegMap(@Self)^.&set := $00000010;
  52404. end;
  52405. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  52406. begin
  52407. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52408. end;
  52409. procedure TPORTE_PORTE.setRE5; inline;
  52410. begin
  52411. pTDefRegMap(@Self)^.&set := $00000020;
  52412. end;
  52413. procedure TPORTE_PORTE.clearRE5; inline;
  52414. begin
  52415. pTDefRegMap(@Self)^.clr := $00000020;
  52416. end;
  52417. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  52418. begin
  52419. if thebits = 0 then
  52420. pTDefRegMap(@Self)^.clr := $00000020
  52421. else
  52422. pTDefRegMap(@Self)^.&set := $00000020;
  52423. end;
  52424. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  52425. begin
  52426. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52427. end;
  52428. procedure TPORTE_PORTE.setRE6; inline;
  52429. begin
  52430. pTDefRegMap(@Self)^.&set := $00000040;
  52431. end;
  52432. procedure TPORTE_PORTE.clearRE6; inline;
  52433. begin
  52434. pTDefRegMap(@Self)^.clr := $00000040;
  52435. end;
  52436. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  52437. begin
  52438. if thebits = 0 then
  52439. pTDefRegMap(@Self)^.clr := $00000040
  52440. else
  52441. pTDefRegMap(@Self)^.&set := $00000040;
  52442. end;
  52443. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  52444. begin
  52445. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52446. end;
  52447. procedure TPORTE_PORTE.setRE7; inline;
  52448. begin
  52449. pTDefRegMap(@Self)^.&set := $00000080;
  52450. end;
  52451. procedure TPORTE_PORTE.clearRE7; inline;
  52452. begin
  52453. pTDefRegMap(@Self)^.clr := $00000080;
  52454. end;
  52455. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  52456. begin
  52457. if thebits = 0 then
  52458. pTDefRegMap(@Self)^.clr := $00000080
  52459. else
  52460. pTDefRegMap(@Self)^.&set := $00000080;
  52461. end;
  52462. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  52463. begin
  52464. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52465. end;
  52466. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  52467. begin
  52468. pTDefRegMap(@Self)^.val := thebits;
  52469. end;
  52470. function TPORTE_PORTE.getw : TBits_32; inline;
  52471. begin
  52472. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52473. end;
  52474. procedure TPORTE_LATE.setLATE0; inline;
  52475. begin
  52476. pTDefRegMap(@Self)^.&set := $00000001;
  52477. end;
  52478. procedure TPORTE_LATE.clearLATE0; inline;
  52479. begin
  52480. pTDefRegMap(@Self)^.clr := $00000001;
  52481. end;
  52482. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  52483. begin
  52484. if thebits = 0 then
  52485. pTDefRegMap(@Self)^.clr := $00000001
  52486. else
  52487. pTDefRegMap(@Self)^.&set := $00000001;
  52488. end;
  52489. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  52490. begin
  52491. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52492. end;
  52493. procedure TPORTE_LATE.setLATE1; inline;
  52494. begin
  52495. pTDefRegMap(@Self)^.&set := $00000002;
  52496. end;
  52497. procedure TPORTE_LATE.clearLATE1; inline;
  52498. begin
  52499. pTDefRegMap(@Self)^.clr := $00000002;
  52500. end;
  52501. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  52502. begin
  52503. if thebits = 0 then
  52504. pTDefRegMap(@Self)^.clr := $00000002
  52505. else
  52506. pTDefRegMap(@Self)^.&set := $00000002;
  52507. end;
  52508. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  52509. begin
  52510. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52511. end;
  52512. procedure TPORTE_LATE.setLATE2; inline;
  52513. begin
  52514. pTDefRegMap(@Self)^.&set := $00000004;
  52515. end;
  52516. procedure TPORTE_LATE.clearLATE2; inline;
  52517. begin
  52518. pTDefRegMap(@Self)^.clr := $00000004;
  52519. end;
  52520. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  52521. begin
  52522. if thebits = 0 then
  52523. pTDefRegMap(@Self)^.clr := $00000004
  52524. else
  52525. pTDefRegMap(@Self)^.&set := $00000004;
  52526. end;
  52527. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  52528. begin
  52529. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52530. end;
  52531. procedure TPORTE_LATE.setLATE3; inline;
  52532. begin
  52533. pTDefRegMap(@Self)^.&set := $00000008;
  52534. end;
  52535. procedure TPORTE_LATE.clearLATE3; inline;
  52536. begin
  52537. pTDefRegMap(@Self)^.clr := $00000008;
  52538. end;
  52539. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  52540. begin
  52541. if thebits = 0 then
  52542. pTDefRegMap(@Self)^.clr := $00000008
  52543. else
  52544. pTDefRegMap(@Self)^.&set := $00000008;
  52545. end;
  52546. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  52547. begin
  52548. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52549. end;
  52550. procedure TPORTE_LATE.setLATE4; inline;
  52551. begin
  52552. pTDefRegMap(@Self)^.&set := $00000010;
  52553. end;
  52554. procedure TPORTE_LATE.clearLATE4; inline;
  52555. begin
  52556. pTDefRegMap(@Self)^.clr := $00000010;
  52557. end;
  52558. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  52559. begin
  52560. if thebits = 0 then
  52561. pTDefRegMap(@Self)^.clr := $00000010
  52562. else
  52563. pTDefRegMap(@Self)^.&set := $00000010;
  52564. end;
  52565. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  52566. begin
  52567. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52568. end;
  52569. procedure TPORTE_LATE.setLATE5; inline;
  52570. begin
  52571. pTDefRegMap(@Self)^.&set := $00000020;
  52572. end;
  52573. procedure TPORTE_LATE.clearLATE5; inline;
  52574. begin
  52575. pTDefRegMap(@Self)^.clr := $00000020;
  52576. end;
  52577. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  52578. begin
  52579. if thebits = 0 then
  52580. pTDefRegMap(@Self)^.clr := $00000020
  52581. else
  52582. pTDefRegMap(@Self)^.&set := $00000020;
  52583. end;
  52584. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  52585. begin
  52586. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52587. end;
  52588. procedure TPORTE_LATE.setLATE6; inline;
  52589. begin
  52590. pTDefRegMap(@Self)^.&set := $00000040;
  52591. end;
  52592. procedure TPORTE_LATE.clearLATE6; inline;
  52593. begin
  52594. pTDefRegMap(@Self)^.clr := $00000040;
  52595. end;
  52596. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  52597. begin
  52598. if thebits = 0 then
  52599. pTDefRegMap(@Self)^.clr := $00000040
  52600. else
  52601. pTDefRegMap(@Self)^.&set := $00000040;
  52602. end;
  52603. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  52604. begin
  52605. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52606. end;
  52607. procedure TPORTE_LATE.setLATE7; inline;
  52608. begin
  52609. pTDefRegMap(@Self)^.&set := $00000080;
  52610. end;
  52611. procedure TPORTE_LATE.clearLATE7; inline;
  52612. begin
  52613. pTDefRegMap(@Self)^.clr := $00000080;
  52614. end;
  52615. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  52616. begin
  52617. if thebits = 0 then
  52618. pTDefRegMap(@Self)^.clr := $00000080
  52619. else
  52620. pTDefRegMap(@Self)^.&set := $00000080;
  52621. end;
  52622. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  52623. begin
  52624. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52625. end;
  52626. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  52627. begin
  52628. pTDefRegMap(@Self)^.val := thebits;
  52629. end;
  52630. function TPORTE_LATE.getw : TBits_32; inline;
  52631. begin
  52632. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52633. end;
  52634. procedure TPORTE_ODCE.setODCE0; inline;
  52635. begin
  52636. pTDefRegMap(@Self)^.&set := $00000001;
  52637. end;
  52638. procedure TPORTE_ODCE.clearODCE0; inline;
  52639. begin
  52640. pTDefRegMap(@Self)^.clr := $00000001;
  52641. end;
  52642. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  52643. begin
  52644. if thebits = 0 then
  52645. pTDefRegMap(@Self)^.clr := $00000001
  52646. else
  52647. pTDefRegMap(@Self)^.&set := $00000001;
  52648. end;
  52649. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  52650. begin
  52651. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52652. end;
  52653. procedure TPORTE_ODCE.setODCE1; inline;
  52654. begin
  52655. pTDefRegMap(@Self)^.&set := $00000002;
  52656. end;
  52657. procedure TPORTE_ODCE.clearODCE1; inline;
  52658. begin
  52659. pTDefRegMap(@Self)^.clr := $00000002;
  52660. end;
  52661. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  52662. begin
  52663. if thebits = 0 then
  52664. pTDefRegMap(@Self)^.clr := $00000002
  52665. else
  52666. pTDefRegMap(@Self)^.&set := $00000002;
  52667. end;
  52668. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  52669. begin
  52670. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52671. end;
  52672. procedure TPORTE_ODCE.setODCE2; inline;
  52673. begin
  52674. pTDefRegMap(@Self)^.&set := $00000004;
  52675. end;
  52676. procedure TPORTE_ODCE.clearODCE2; inline;
  52677. begin
  52678. pTDefRegMap(@Self)^.clr := $00000004;
  52679. end;
  52680. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  52681. begin
  52682. if thebits = 0 then
  52683. pTDefRegMap(@Self)^.clr := $00000004
  52684. else
  52685. pTDefRegMap(@Self)^.&set := $00000004;
  52686. end;
  52687. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  52688. begin
  52689. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52690. end;
  52691. procedure TPORTE_ODCE.setODCE3; inline;
  52692. begin
  52693. pTDefRegMap(@Self)^.&set := $00000008;
  52694. end;
  52695. procedure TPORTE_ODCE.clearODCE3; inline;
  52696. begin
  52697. pTDefRegMap(@Self)^.clr := $00000008;
  52698. end;
  52699. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  52700. begin
  52701. if thebits = 0 then
  52702. pTDefRegMap(@Self)^.clr := $00000008
  52703. else
  52704. pTDefRegMap(@Self)^.&set := $00000008;
  52705. end;
  52706. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  52707. begin
  52708. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52709. end;
  52710. procedure TPORTE_ODCE.setODCE4; inline;
  52711. begin
  52712. pTDefRegMap(@Self)^.&set := $00000010;
  52713. end;
  52714. procedure TPORTE_ODCE.clearODCE4; inline;
  52715. begin
  52716. pTDefRegMap(@Self)^.clr := $00000010;
  52717. end;
  52718. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  52719. begin
  52720. if thebits = 0 then
  52721. pTDefRegMap(@Self)^.clr := $00000010
  52722. else
  52723. pTDefRegMap(@Self)^.&set := $00000010;
  52724. end;
  52725. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  52726. begin
  52727. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52728. end;
  52729. procedure TPORTE_ODCE.setODCE5; inline;
  52730. begin
  52731. pTDefRegMap(@Self)^.&set := $00000020;
  52732. end;
  52733. procedure TPORTE_ODCE.clearODCE5; inline;
  52734. begin
  52735. pTDefRegMap(@Self)^.clr := $00000020;
  52736. end;
  52737. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  52738. begin
  52739. if thebits = 0 then
  52740. pTDefRegMap(@Self)^.clr := $00000020
  52741. else
  52742. pTDefRegMap(@Self)^.&set := $00000020;
  52743. end;
  52744. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  52745. begin
  52746. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52747. end;
  52748. procedure TPORTE_ODCE.setODCE6; inline;
  52749. begin
  52750. pTDefRegMap(@Self)^.&set := $00000040;
  52751. end;
  52752. procedure TPORTE_ODCE.clearODCE6; inline;
  52753. begin
  52754. pTDefRegMap(@Self)^.clr := $00000040;
  52755. end;
  52756. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  52757. begin
  52758. if thebits = 0 then
  52759. pTDefRegMap(@Self)^.clr := $00000040
  52760. else
  52761. pTDefRegMap(@Self)^.&set := $00000040;
  52762. end;
  52763. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  52764. begin
  52765. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52766. end;
  52767. procedure TPORTE_ODCE.setODCE7; inline;
  52768. begin
  52769. pTDefRegMap(@Self)^.&set := $00000080;
  52770. end;
  52771. procedure TPORTE_ODCE.clearODCE7; inline;
  52772. begin
  52773. pTDefRegMap(@Self)^.clr := $00000080;
  52774. end;
  52775. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  52776. begin
  52777. if thebits = 0 then
  52778. pTDefRegMap(@Self)^.clr := $00000080
  52779. else
  52780. pTDefRegMap(@Self)^.&set := $00000080;
  52781. end;
  52782. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  52783. begin
  52784. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52785. end;
  52786. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  52787. begin
  52788. pTDefRegMap(@Self)^.val := thebits;
  52789. end;
  52790. function TPORTE_ODCE.getw : TBits_32; inline;
  52791. begin
  52792. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52793. end;
  52794. procedure TPORTF_TRISF.setTRISF0; inline;
  52795. begin
  52796. pTDefRegMap(@Self)^.&set := $00000001;
  52797. end;
  52798. procedure TPORTF_TRISF.clearTRISF0; inline;
  52799. begin
  52800. pTDefRegMap(@Self)^.clr := $00000001;
  52801. end;
  52802. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  52803. begin
  52804. if thebits = 0 then
  52805. pTDefRegMap(@Self)^.clr := $00000001
  52806. else
  52807. pTDefRegMap(@Self)^.&set := $00000001;
  52808. end;
  52809. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  52810. begin
  52811. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52812. end;
  52813. procedure TPORTF_TRISF.setTRISF1; inline;
  52814. begin
  52815. pTDefRegMap(@Self)^.&set := $00000002;
  52816. end;
  52817. procedure TPORTF_TRISF.clearTRISF1; inline;
  52818. begin
  52819. pTDefRegMap(@Self)^.clr := $00000002;
  52820. end;
  52821. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  52822. begin
  52823. if thebits = 0 then
  52824. pTDefRegMap(@Self)^.clr := $00000002
  52825. else
  52826. pTDefRegMap(@Self)^.&set := $00000002;
  52827. end;
  52828. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  52829. begin
  52830. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52831. end;
  52832. procedure TPORTF_TRISF.setTRISF2; inline;
  52833. begin
  52834. pTDefRegMap(@Self)^.&set := $00000004;
  52835. end;
  52836. procedure TPORTF_TRISF.clearTRISF2; inline;
  52837. begin
  52838. pTDefRegMap(@Self)^.clr := $00000004;
  52839. end;
  52840. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  52841. begin
  52842. if thebits = 0 then
  52843. pTDefRegMap(@Self)^.clr := $00000004
  52844. else
  52845. pTDefRegMap(@Self)^.&set := $00000004;
  52846. end;
  52847. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  52848. begin
  52849. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52850. end;
  52851. procedure TPORTF_TRISF.setTRISF3; inline;
  52852. begin
  52853. pTDefRegMap(@Self)^.&set := $00000008;
  52854. end;
  52855. procedure TPORTF_TRISF.clearTRISF3; inline;
  52856. begin
  52857. pTDefRegMap(@Self)^.clr := $00000008;
  52858. end;
  52859. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  52860. begin
  52861. if thebits = 0 then
  52862. pTDefRegMap(@Self)^.clr := $00000008
  52863. else
  52864. pTDefRegMap(@Self)^.&set := $00000008;
  52865. end;
  52866. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  52867. begin
  52868. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52869. end;
  52870. procedure TPORTF_TRISF.setTRISF4; inline;
  52871. begin
  52872. pTDefRegMap(@Self)^.&set := $00000010;
  52873. end;
  52874. procedure TPORTF_TRISF.clearTRISF4; inline;
  52875. begin
  52876. pTDefRegMap(@Self)^.clr := $00000010;
  52877. end;
  52878. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  52879. begin
  52880. if thebits = 0 then
  52881. pTDefRegMap(@Self)^.clr := $00000010
  52882. else
  52883. pTDefRegMap(@Self)^.&set := $00000010;
  52884. end;
  52885. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  52886. begin
  52887. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52888. end;
  52889. procedure TPORTF_TRISF.setTRISF5; inline;
  52890. begin
  52891. pTDefRegMap(@Self)^.&set := $00000020;
  52892. end;
  52893. procedure TPORTF_TRISF.clearTRISF5; inline;
  52894. begin
  52895. pTDefRegMap(@Self)^.clr := $00000020;
  52896. end;
  52897. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  52898. begin
  52899. if thebits = 0 then
  52900. pTDefRegMap(@Self)^.clr := $00000020
  52901. else
  52902. pTDefRegMap(@Self)^.&set := $00000020;
  52903. end;
  52904. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  52905. begin
  52906. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52907. end;
  52908. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  52909. begin
  52910. pTDefRegMap(@Self)^.val := thebits;
  52911. end;
  52912. function TPORTF_TRISF.getw : TBits_32; inline;
  52913. begin
  52914. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52915. end;
  52916. procedure TPORTF_PORTF.setRF0; inline;
  52917. begin
  52918. pTDefRegMap(@Self)^.&set := $00000001;
  52919. end;
  52920. procedure TPORTF_PORTF.clearRF0; inline;
  52921. begin
  52922. pTDefRegMap(@Self)^.clr := $00000001;
  52923. end;
  52924. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  52925. begin
  52926. if thebits = 0 then
  52927. pTDefRegMap(@Self)^.clr := $00000001
  52928. else
  52929. pTDefRegMap(@Self)^.&set := $00000001;
  52930. end;
  52931. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  52932. begin
  52933. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52934. end;
  52935. procedure TPORTF_PORTF.setRF1; inline;
  52936. begin
  52937. pTDefRegMap(@Self)^.&set := $00000002;
  52938. end;
  52939. procedure TPORTF_PORTF.clearRF1; inline;
  52940. begin
  52941. pTDefRegMap(@Self)^.clr := $00000002;
  52942. end;
  52943. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  52944. begin
  52945. if thebits = 0 then
  52946. pTDefRegMap(@Self)^.clr := $00000002
  52947. else
  52948. pTDefRegMap(@Self)^.&set := $00000002;
  52949. end;
  52950. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  52951. begin
  52952. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52953. end;
  52954. procedure TPORTF_PORTF.setRF2; inline;
  52955. begin
  52956. pTDefRegMap(@Self)^.&set := $00000004;
  52957. end;
  52958. procedure TPORTF_PORTF.clearRF2; inline;
  52959. begin
  52960. pTDefRegMap(@Self)^.clr := $00000004;
  52961. end;
  52962. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  52963. begin
  52964. if thebits = 0 then
  52965. pTDefRegMap(@Self)^.clr := $00000004
  52966. else
  52967. pTDefRegMap(@Self)^.&set := $00000004;
  52968. end;
  52969. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  52970. begin
  52971. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52972. end;
  52973. procedure TPORTF_PORTF.setRF3; inline;
  52974. begin
  52975. pTDefRegMap(@Self)^.&set := $00000008;
  52976. end;
  52977. procedure TPORTF_PORTF.clearRF3; inline;
  52978. begin
  52979. pTDefRegMap(@Self)^.clr := $00000008;
  52980. end;
  52981. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  52982. begin
  52983. if thebits = 0 then
  52984. pTDefRegMap(@Self)^.clr := $00000008
  52985. else
  52986. pTDefRegMap(@Self)^.&set := $00000008;
  52987. end;
  52988. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  52989. begin
  52990. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52991. end;
  52992. procedure TPORTF_PORTF.setRF4; inline;
  52993. begin
  52994. pTDefRegMap(@Self)^.&set := $00000010;
  52995. end;
  52996. procedure TPORTF_PORTF.clearRF4; inline;
  52997. begin
  52998. pTDefRegMap(@Self)^.clr := $00000010;
  52999. end;
  53000. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  53001. begin
  53002. if thebits = 0 then
  53003. pTDefRegMap(@Self)^.clr := $00000010
  53004. else
  53005. pTDefRegMap(@Self)^.&set := $00000010;
  53006. end;
  53007. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  53008. begin
  53009. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53010. end;
  53011. procedure TPORTF_PORTF.setRF5; inline;
  53012. begin
  53013. pTDefRegMap(@Self)^.&set := $00000020;
  53014. end;
  53015. procedure TPORTF_PORTF.clearRF5; inline;
  53016. begin
  53017. pTDefRegMap(@Self)^.clr := $00000020;
  53018. end;
  53019. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  53020. begin
  53021. if thebits = 0 then
  53022. pTDefRegMap(@Self)^.clr := $00000020
  53023. else
  53024. pTDefRegMap(@Self)^.&set := $00000020;
  53025. end;
  53026. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  53027. begin
  53028. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53029. end;
  53030. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  53031. begin
  53032. pTDefRegMap(@Self)^.val := thebits;
  53033. end;
  53034. function TPORTF_PORTF.getw : TBits_32; inline;
  53035. begin
  53036. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53037. end;
  53038. procedure TPORTF_LATF.setLATF0; inline;
  53039. begin
  53040. pTDefRegMap(@Self)^.&set := $00000001;
  53041. end;
  53042. procedure TPORTF_LATF.clearLATF0; inline;
  53043. begin
  53044. pTDefRegMap(@Self)^.clr := $00000001;
  53045. end;
  53046. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  53047. begin
  53048. if thebits = 0 then
  53049. pTDefRegMap(@Self)^.clr := $00000001
  53050. else
  53051. pTDefRegMap(@Self)^.&set := $00000001;
  53052. end;
  53053. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  53054. begin
  53055. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53056. end;
  53057. procedure TPORTF_LATF.setLATF1; inline;
  53058. begin
  53059. pTDefRegMap(@Self)^.&set := $00000002;
  53060. end;
  53061. procedure TPORTF_LATF.clearLATF1; inline;
  53062. begin
  53063. pTDefRegMap(@Self)^.clr := $00000002;
  53064. end;
  53065. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  53066. begin
  53067. if thebits = 0 then
  53068. pTDefRegMap(@Self)^.clr := $00000002
  53069. else
  53070. pTDefRegMap(@Self)^.&set := $00000002;
  53071. end;
  53072. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  53073. begin
  53074. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53075. end;
  53076. procedure TPORTF_LATF.setLATF2; inline;
  53077. begin
  53078. pTDefRegMap(@Self)^.&set := $00000004;
  53079. end;
  53080. procedure TPORTF_LATF.clearLATF2; inline;
  53081. begin
  53082. pTDefRegMap(@Self)^.clr := $00000004;
  53083. end;
  53084. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  53085. begin
  53086. if thebits = 0 then
  53087. pTDefRegMap(@Self)^.clr := $00000004
  53088. else
  53089. pTDefRegMap(@Self)^.&set := $00000004;
  53090. end;
  53091. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  53092. begin
  53093. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53094. end;
  53095. procedure TPORTF_LATF.setLATF3; inline;
  53096. begin
  53097. pTDefRegMap(@Self)^.&set := $00000008;
  53098. end;
  53099. procedure TPORTF_LATF.clearLATF3; inline;
  53100. begin
  53101. pTDefRegMap(@Self)^.clr := $00000008;
  53102. end;
  53103. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  53104. begin
  53105. if thebits = 0 then
  53106. pTDefRegMap(@Self)^.clr := $00000008
  53107. else
  53108. pTDefRegMap(@Self)^.&set := $00000008;
  53109. end;
  53110. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  53111. begin
  53112. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53113. end;
  53114. procedure TPORTF_LATF.setLATF4; inline;
  53115. begin
  53116. pTDefRegMap(@Self)^.&set := $00000010;
  53117. end;
  53118. procedure TPORTF_LATF.clearLATF4; inline;
  53119. begin
  53120. pTDefRegMap(@Self)^.clr := $00000010;
  53121. end;
  53122. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  53123. begin
  53124. if thebits = 0 then
  53125. pTDefRegMap(@Self)^.clr := $00000010
  53126. else
  53127. pTDefRegMap(@Self)^.&set := $00000010;
  53128. end;
  53129. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  53130. begin
  53131. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53132. end;
  53133. procedure TPORTF_LATF.setLATF5; inline;
  53134. begin
  53135. pTDefRegMap(@Self)^.&set := $00000020;
  53136. end;
  53137. procedure TPORTF_LATF.clearLATF5; inline;
  53138. begin
  53139. pTDefRegMap(@Self)^.clr := $00000020;
  53140. end;
  53141. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  53142. begin
  53143. if thebits = 0 then
  53144. pTDefRegMap(@Self)^.clr := $00000020
  53145. else
  53146. pTDefRegMap(@Self)^.&set := $00000020;
  53147. end;
  53148. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  53149. begin
  53150. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53151. end;
  53152. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  53153. begin
  53154. pTDefRegMap(@Self)^.val := thebits;
  53155. end;
  53156. function TPORTF_LATF.getw : TBits_32; inline;
  53157. begin
  53158. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53159. end;
  53160. procedure TPORTF_ODCF.setODCF0; inline;
  53161. begin
  53162. pTDefRegMap(@Self)^.&set := $00000001;
  53163. end;
  53164. procedure TPORTF_ODCF.clearODCF0; inline;
  53165. begin
  53166. pTDefRegMap(@Self)^.clr := $00000001;
  53167. end;
  53168. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  53169. begin
  53170. if thebits = 0 then
  53171. pTDefRegMap(@Self)^.clr := $00000001
  53172. else
  53173. pTDefRegMap(@Self)^.&set := $00000001;
  53174. end;
  53175. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  53176. begin
  53177. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53178. end;
  53179. procedure TPORTF_ODCF.setODCF1; inline;
  53180. begin
  53181. pTDefRegMap(@Self)^.&set := $00000002;
  53182. end;
  53183. procedure TPORTF_ODCF.clearODCF1; inline;
  53184. begin
  53185. pTDefRegMap(@Self)^.clr := $00000002;
  53186. end;
  53187. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  53188. begin
  53189. if thebits = 0 then
  53190. pTDefRegMap(@Self)^.clr := $00000002
  53191. else
  53192. pTDefRegMap(@Self)^.&set := $00000002;
  53193. end;
  53194. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  53195. begin
  53196. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53197. end;
  53198. procedure TPORTF_ODCF.setODCF2; inline;
  53199. begin
  53200. pTDefRegMap(@Self)^.&set := $00000004;
  53201. end;
  53202. procedure TPORTF_ODCF.clearODCF2; inline;
  53203. begin
  53204. pTDefRegMap(@Self)^.clr := $00000004;
  53205. end;
  53206. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  53207. begin
  53208. if thebits = 0 then
  53209. pTDefRegMap(@Self)^.clr := $00000004
  53210. else
  53211. pTDefRegMap(@Self)^.&set := $00000004;
  53212. end;
  53213. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  53214. begin
  53215. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53216. end;
  53217. procedure TPORTF_ODCF.setODCF3; inline;
  53218. begin
  53219. pTDefRegMap(@Self)^.&set := $00000008;
  53220. end;
  53221. procedure TPORTF_ODCF.clearODCF3; inline;
  53222. begin
  53223. pTDefRegMap(@Self)^.clr := $00000008;
  53224. end;
  53225. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  53226. begin
  53227. if thebits = 0 then
  53228. pTDefRegMap(@Self)^.clr := $00000008
  53229. else
  53230. pTDefRegMap(@Self)^.&set := $00000008;
  53231. end;
  53232. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  53233. begin
  53234. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53235. end;
  53236. procedure TPORTF_ODCF.setODCF4; inline;
  53237. begin
  53238. pTDefRegMap(@Self)^.&set := $00000010;
  53239. end;
  53240. procedure TPORTF_ODCF.clearODCF4; inline;
  53241. begin
  53242. pTDefRegMap(@Self)^.clr := $00000010;
  53243. end;
  53244. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  53245. begin
  53246. if thebits = 0 then
  53247. pTDefRegMap(@Self)^.clr := $00000010
  53248. else
  53249. pTDefRegMap(@Self)^.&set := $00000010;
  53250. end;
  53251. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  53252. begin
  53253. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53254. end;
  53255. procedure TPORTF_ODCF.setODCF5; inline;
  53256. begin
  53257. pTDefRegMap(@Self)^.&set := $00000020;
  53258. end;
  53259. procedure TPORTF_ODCF.clearODCF5; inline;
  53260. begin
  53261. pTDefRegMap(@Self)^.clr := $00000020;
  53262. end;
  53263. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  53264. begin
  53265. if thebits = 0 then
  53266. pTDefRegMap(@Self)^.clr := $00000020
  53267. else
  53268. pTDefRegMap(@Self)^.&set := $00000020;
  53269. end;
  53270. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  53271. begin
  53272. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53273. end;
  53274. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  53275. begin
  53276. pTDefRegMap(@Self)^.val := thebits;
  53277. end;
  53278. function TPORTF_ODCF.getw : TBits_32; inline;
  53279. begin
  53280. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53281. end;
  53282. procedure TPORTG_TRISG.setTRISG2; inline;
  53283. begin
  53284. pTDefRegMap(@Self)^.&set := $00000004;
  53285. end;
  53286. procedure TPORTG_TRISG.clearTRISG2; inline;
  53287. begin
  53288. pTDefRegMap(@Self)^.clr := $00000004;
  53289. end;
  53290. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  53291. begin
  53292. if thebits = 0 then
  53293. pTDefRegMap(@Self)^.clr := $00000004
  53294. else
  53295. pTDefRegMap(@Self)^.&set := $00000004;
  53296. end;
  53297. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  53298. begin
  53299. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53300. end;
  53301. procedure TPORTG_TRISG.setTRISG3; inline;
  53302. begin
  53303. pTDefRegMap(@Self)^.&set := $00000008;
  53304. end;
  53305. procedure TPORTG_TRISG.clearTRISG3; inline;
  53306. begin
  53307. pTDefRegMap(@Self)^.clr := $00000008;
  53308. end;
  53309. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  53310. begin
  53311. if thebits = 0 then
  53312. pTDefRegMap(@Self)^.clr := $00000008
  53313. else
  53314. pTDefRegMap(@Self)^.&set := $00000008;
  53315. end;
  53316. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  53317. begin
  53318. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53319. end;
  53320. procedure TPORTG_TRISG.setTRISG6; inline;
  53321. begin
  53322. pTDefRegMap(@Self)^.&set := $00000040;
  53323. end;
  53324. procedure TPORTG_TRISG.clearTRISG6; inline;
  53325. begin
  53326. pTDefRegMap(@Self)^.clr := $00000040;
  53327. end;
  53328. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  53329. begin
  53330. if thebits = 0 then
  53331. pTDefRegMap(@Self)^.clr := $00000040
  53332. else
  53333. pTDefRegMap(@Self)^.&set := $00000040;
  53334. end;
  53335. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  53336. begin
  53337. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53338. end;
  53339. procedure TPORTG_TRISG.setTRISG7; inline;
  53340. begin
  53341. pTDefRegMap(@Self)^.&set := $00000080;
  53342. end;
  53343. procedure TPORTG_TRISG.clearTRISG7; inline;
  53344. begin
  53345. pTDefRegMap(@Self)^.clr := $00000080;
  53346. end;
  53347. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  53348. begin
  53349. if thebits = 0 then
  53350. pTDefRegMap(@Self)^.clr := $00000080
  53351. else
  53352. pTDefRegMap(@Self)^.&set := $00000080;
  53353. end;
  53354. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  53355. begin
  53356. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53357. end;
  53358. procedure TPORTG_TRISG.setTRISG8; inline;
  53359. begin
  53360. pTDefRegMap(@Self)^.&set := $00000100;
  53361. end;
  53362. procedure TPORTG_TRISG.clearTRISG8; inline;
  53363. begin
  53364. pTDefRegMap(@Self)^.clr := $00000100;
  53365. end;
  53366. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  53367. begin
  53368. if thebits = 0 then
  53369. pTDefRegMap(@Self)^.clr := $00000100
  53370. else
  53371. pTDefRegMap(@Self)^.&set := $00000100;
  53372. end;
  53373. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  53374. begin
  53375. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53376. end;
  53377. procedure TPORTG_TRISG.setTRISG9; inline;
  53378. begin
  53379. pTDefRegMap(@Self)^.&set := $00000200;
  53380. end;
  53381. procedure TPORTG_TRISG.clearTRISG9; inline;
  53382. begin
  53383. pTDefRegMap(@Self)^.clr := $00000200;
  53384. end;
  53385. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  53386. begin
  53387. if thebits = 0 then
  53388. pTDefRegMap(@Self)^.clr := $00000200
  53389. else
  53390. pTDefRegMap(@Self)^.&set := $00000200;
  53391. end;
  53392. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  53393. begin
  53394. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53395. end;
  53396. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  53397. begin
  53398. pTDefRegMap(@Self)^.val := thebits;
  53399. end;
  53400. function TPORTG_TRISG.getw : TBits_32; inline;
  53401. begin
  53402. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53403. end;
  53404. procedure TPORTG_PORTG.setRG2; inline;
  53405. begin
  53406. pTDefRegMap(@Self)^.&set := $00000004;
  53407. end;
  53408. procedure TPORTG_PORTG.clearRG2; inline;
  53409. begin
  53410. pTDefRegMap(@Self)^.clr := $00000004;
  53411. end;
  53412. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  53413. begin
  53414. if thebits = 0 then
  53415. pTDefRegMap(@Self)^.clr := $00000004
  53416. else
  53417. pTDefRegMap(@Self)^.&set := $00000004;
  53418. end;
  53419. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  53420. begin
  53421. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53422. end;
  53423. procedure TPORTG_PORTG.setRG3; inline;
  53424. begin
  53425. pTDefRegMap(@Self)^.&set := $00000008;
  53426. end;
  53427. procedure TPORTG_PORTG.clearRG3; inline;
  53428. begin
  53429. pTDefRegMap(@Self)^.clr := $00000008;
  53430. end;
  53431. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  53432. begin
  53433. if thebits = 0 then
  53434. pTDefRegMap(@Self)^.clr := $00000008
  53435. else
  53436. pTDefRegMap(@Self)^.&set := $00000008;
  53437. end;
  53438. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  53439. begin
  53440. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53441. end;
  53442. procedure TPORTG_PORTG.setRG6; inline;
  53443. begin
  53444. pTDefRegMap(@Self)^.&set := $00000040;
  53445. end;
  53446. procedure TPORTG_PORTG.clearRG6; inline;
  53447. begin
  53448. pTDefRegMap(@Self)^.clr := $00000040;
  53449. end;
  53450. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  53451. begin
  53452. if thebits = 0 then
  53453. pTDefRegMap(@Self)^.clr := $00000040
  53454. else
  53455. pTDefRegMap(@Self)^.&set := $00000040;
  53456. end;
  53457. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  53458. begin
  53459. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53460. end;
  53461. procedure TPORTG_PORTG.setRG7; inline;
  53462. begin
  53463. pTDefRegMap(@Self)^.&set := $00000080;
  53464. end;
  53465. procedure TPORTG_PORTG.clearRG7; inline;
  53466. begin
  53467. pTDefRegMap(@Self)^.clr := $00000080;
  53468. end;
  53469. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  53470. begin
  53471. if thebits = 0 then
  53472. pTDefRegMap(@Self)^.clr := $00000080
  53473. else
  53474. pTDefRegMap(@Self)^.&set := $00000080;
  53475. end;
  53476. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  53477. begin
  53478. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53479. end;
  53480. procedure TPORTG_PORTG.setRG8; inline;
  53481. begin
  53482. pTDefRegMap(@Self)^.&set := $00000100;
  53483. end;
  53484. procedure TPORTG_PORTG.clearRG8; inline;
  53485. begin
  53486. pTDefRegMap(@Self)^.clr := $00000100;
  53487. end;
  53488. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  53489. begin
  53490. if thebits = 0 then
  53491. pTDefRegMap(@Self)^.clr := $00000100
  53492. else
  53493. pTDefRegMap(@Self)^.&set := $00000100;
  53494. end;
  53495. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  53496. begin
  53497. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53498. end;
  53499. procedure TPORTG_PORTG.setRG9; inline;
  53500. begin
  53501. pTDefRegMap(@Self)^.&set := $00000200;
  53502. end;
  53503. procedure TPORTG_PORTG.clearRG9; inline;
  53504. begin
  53505. pTDefRegMap(@Self)^.clr := $00000200;
  53506. end;
  53507. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  53508. begin
  53509. if thebits = 0 then
  53510. pTDefRegMap(@Self)^.clr := $00000200
  53511. else
  53512. pTDefRegMap(@Self)^.&set := $00000200;
  53513. end;
  53514. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  53515. begin
  53516. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53517. end;
  53518. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  53519. begin
  53520. pTDefRegMap(@Self)^.val := thebits;
  53521. end;
  53522. function TPORTG_PORTG.getw : TBits_32; inline;
  53523. begin
  53524. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53525. end;
  53526. procedure TPORTG_LATG.setLATG2; inline;
  53527. begin
  53528. pTDefRegMap(@Self)^.&set := $00000004;
  53529. end;
  53530. procedure TPORTG_LATG.clearLATG2; inline;
  53531. begin
  53532. pTDefRegMap(@Self)^.clr := $00000004;
  53533. end;
  53534. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  53535. begin
  53536. if thebits = 0 then
  53537. pTDefRegMap(@Self)^.clr := $00000004
  53538. else
  53539. pTDefRegMap(@Self)^.&set := $00000004;
  53540. end;
  53541. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  53542. begin
  53543. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53544. end;
  53545. procedure TPORTG_LATG.setLATG3; inline;
  53546. begin
  53547. pTDefRegMap(@Self)^.&set := $00000008;
  53548. end;
  53549. procedure TPORTG_LATG.clearLATG3; inline;
  53550. begin
  53551. pTDefRegMap(@Self)^.clr := $00000008;
  53552. end;
  53553. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  53554. begin
  53555. if thebits = 0 then
  53556. pTDefRegMap(@Self)^.clr := $00000008
  53557. else
  53558. pTDefRegMap(@Self)^.&set := $00000008;
  53559. end;
  53560. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  53561. begin
  53562. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53563. end;
  53564. procedure TPORTG_LATG.setLATG6; inline;
  53565. begin
  53566. pTDefRegMap(@Self)^.&set := $00000040;
  53567. end;
  53568. procedure TPORTG_LATG.clearLATG6; inline;
  53569. begin
  53570. pTDefRegMap(@Self)^.clr := $00000040;
  53571. end;
  53572. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  53573. begin
  53574. if thebits = 0 then
  53575. pTDefRegMap(@Self)^.clr := $00000040
  53576. else
  53577. pTDefRegMap(@Self)^.&set := $00000040;
  53578. end;
  53579. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  53580. begin
  53581. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53582. end;
  53583. procedure TPORTG_LATG.setLATG7; inline;
  53584. begin
  53585. pTDefRegMap(@Self)^.&set := $00000080;
  53586. end;
  53587. procedure TPORTG_LATG.clearLATG7; inline;
  53588. begin
  53589. pTDefRegMap(@Self)^.clr := $00000080;
  53590. end;
  53591. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  53592. begin
  53593. if thebits = 0 then
  53594. pTDefRegMap(@Self)^.clr := $00000080
  53595. else
  53596. pTDefRegMap(@Self)^.&set := $00000080;
  53597. end;
  53598. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  53599. begin
  53600. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53601. end;
  53602. procedure TPORTG_LATG.setLATG8; inline;
  53603. begin
  53604. pTDefRegMap(@Self)^.&set := $00000100;
  53605. end;
  53606. procedure TPORTG_LATG.clearLATG8; inline;
  53607. begin
  53608. pTDefRegMap(@Self)^.clr := $00000100;
  53609. end;
  53610. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  53611. begin
  53612. if thebits = 0 then
  53613. pTDefRegMap(@Self)^.clr := $00000100
  53614. else
  53615. pTDefRegMap(@Self)^.&set := $00000100;
  53616. end;
  53617. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  53618. begin
  53619. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53620. end;
  53621. procedure TPORTG_LATG.setLATG9; inline;
  53622. begin
  53623. pTDefRegMap(@Self)^.&set := $00000200;
  53624. end;
  53625. procedure TPORTG_LATG.clearLATG9; inline;
  53626. begin
  53627. pTDefRegMap(@Self)^.clr := $00000200;
  53628. end;
  53629. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  53630. begin
  53631. if thebits = 0 then
  53632. pTDefRegMap(@Self)^.clr := $00000200
  53633. else
  53634. pTDefRegMap(@Self)^.&set := $00000200;
  53635. end;
  53636. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  53637. begin
  53638. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53639. end;
  53640. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  53641. begin
  53642. pTDefRegMap(@Self)^.val := thebits;
  53643. end;
  53644. function TPORTG_LATG.getw : TBits_32; inline;
  53645. begin
  53646. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53647. end;
  53648. procedure TPORTG_ODCG.setODCG2; inline;
  53649. begin
  53650. pTDefRegMap(@Self)^.&set := $00000004;
  53651. end;
  53652. procedure TPORTG_ODCG.clearODCG2; inline;
  53653. begin
  53654. pTDefRegMap(@Self)^.clr := $00000004;
  53655. end;
  53656. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  53657. begin
  53658. if thebits = 0 then
  53659. pTDefRegMap(@Self)^.clr := $00000004
  53660. else
  53661. pTDefRegMap(@Self)^.&set := $00000004;
  53662. end;
  53663. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  53664. begin
  53665. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53666. end;
  53667. procedure TPORTG_ODCG.setODCG3; inline;
  53668. begin
  53669. pTDefRegMap(@Self)^.&set := $00000008;
  53670. end;
  53671. procedure TPORTG_ODCG.clearODCG3; inline;
  53672. begin
  53673. pTDefRegMap(@Self)^.clr := $00000008;
  53674. end;
  53675. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  53676. begin
  53677. if thebits = 0 then
  53678. pTDefRegMap(@Self)^.clr := $00000008
  53679. else
  53680. pTDefRegMap(@Self)^.&set := $00000008;
  53681. end;
  53682. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  53683. begin
  53684. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53685. end;
  53686. procedure TPORTG_ODCG.setODCG6; inline;
  53687. begin
  53688. pTDefRegMap(@Self)^.&set := $00000040;
  53689. end;
  53690. procedure TPORTG_ODCG.clearODCG6; inline;
  53691. begin
  53692. pTDefRegMap(@Self)^.clr := $00000040;
  53693. end;
  53694. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  53695. begin
  53696. if thebits = 0 then
  53697. pTDefRegMap(@Self)^.clr := $00000040
  53698. else
  53699. pTDefRegMap(@Self)^.&set := $00000040;
  53700. end;
  53701. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  53702. begin
  53703. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53704. end;
  53705. procedure TPORTG_ODCG.setODCG7; inline;
  53706. begin
  53707. pTDefRegMap(@Self)^.&set := $00000080;
  53708. end;
  53709. procedure TPORTG_ODCG.clearODCG7; inline;
  53710. begin
  53711. pTDefRegMap(@Self)^.clr := $00000080;
  53712. end;
  53713. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  53714. begin
  53715. if thebits = 0 then
  53716. pTDefRegMap(@Self)^.clr := $00000080
  53717. else
  53718. pTDefRegMap(@Self)^.&set := $00000080;
  53719. end;
  53720. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  53721. begin
  53722. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53723. end;
  53724. procedure TPORTG_ODCG.setODCG8; inline;
  53725. begin
  53726. pTDefRegMap(@Self)^.&set := $00000100;
  53727. end;
  53728. procedure TPORTG_ODCG.clearODCG8; inline;
  53729. begin
  53730. pTDefRegMap(@Self)^.clr := $00000100;
  53731. end;
  53732. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  53733. begin
  53734. if thebits = 0 then
  53735. pTDefRegMap(@Self)^.clr := $00000100
  53736. else
  53737. pTDefRegMap(@Self)^.&set := $00000100;
  53738. end;
  53739. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  53740. begin
  53741. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53742. end;
  53743. procedure TPORTG_ODCG.setODCG9; inline;
  53744. begin
  53745. pTDefRegMap(@Self)^.&set := $00000200;
  53746. end;
  53747. procedure TPORTG_ODCG.clearODCG9; inline;
  53748. begin
  53749. pTDefRegMap(@Self)^.clr := $00000200;
  53750. end;
  53751. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  53752. begin
  53753. if thebits = 0 then
  53754. pTDefRegMap(@Self)^.clr := $00000200
  53755. else
  53756. pTDefRegMap(@Self)^.&set := $00000200;
  53757. end;
  53758. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  53759. begin
  53760. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53761. end;
  53762. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  53763. begin
  53764. pTDefRegMap(@Self)^.val := thebits;
  53765. end;
  53766. function TPORTG_ODCG.getw : TBits_32; inline;
  53767. begin
  53768. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53769. end;
  53770. procedure TPORTG_CNCON.setSIDL; inline;
  53771. begin
  53772. pTDefRegMap(@Self)^.&set := $00002000;
  53773. end;
  53774. procedure TPORTG_CNCON.clearSIDL; inline;
  53775. begin
  53776. pTDefRegMap(@Self)^.clr := $00002000;
  53777. end;
  53778. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  53779. begin
  53780. if thebits = 0 then
  53781. pTDefRegMap(@Self)^.clr := $00002000
  53782. else
  53783. pTDefRegMap(@Self)^.&set := $00002000;
  53784. end;
  53785. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  53786. begin
  53787. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53788. end;
  53789. procedure TPORTG_CNCON.setON; inline;
  53790. begin
  53791. pTDefRegMap(@Self)^.&set := $00008000;
  53792. end;
  53793. procedure TPORTG_CNCON.clearON; inline;
  53794. begin
  53795. pTDefRegMap(@Self)^.clr := $00008000;
  53796. end;
  53797. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  53798. begin
  53799. if thebits = 0 then
  53800. pTDefRegMap(@Self)^.clr := $00008000
  53801. else
  53802. pTDefRegMap(@Self)^.&set := $00008000;
  53803. end;
  53804. function TPORTG_CNCON.getON : TBits_1; inline;
  53805. begin
  53806. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53807. end;
  53808. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  53809. begin
  53810. pTDefRegMap(@Self)^.val := thebits;
  53811. end;
  53812. function TPORTG_CNCON.getw : TBits_32; inline;
  53813. begin
  53814. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53815. end;
  53816. procedure TPORTG_CNEN.setCNEN0; inline;
  53817. begin
  53818. pTDefRegMap(@Self)^.&set := $00000001;
  53819. end;
  53820. procedure TPORTG_CNEN.clearCNEN0; inline;
  53821. begin
  53822. pTDefRegMap(@Self)^.clr := $00000001;
  53823. end;
  53824. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  53825. begin
  53826. if thebits = 0 then
  53827. pTDefRegMap(@Self)^.clr := $00000001
  53828. else
  53829. pTDefRegMap(@Self)^.&set := $00000001;
  53830. end;
  53831. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  53832. begin
  53833. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53834. end;
  53835. procedure TPORTG_CNEN.setCNEN1; inline;
  53836. begin
  53837. pTDefRegMap(@Self)^.&set := $00000002;
  53838. end;
  53839. procedure TPORTG_CNEN.clearCNEN1; inline;
  53840. begin
  53841. pTDefRegMap(@Self)^.clr := $00000002;
  53842. end;
  53843. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  53844. begin
  53845. if thebits = 0 then
  53846. pTDefRegMap(@Self)^.clr := $00000002
  53847. else
  53848. pTDefRegMap(@Self)^.&set := $00000002;
  53849. end;
  53850. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  53851. begin
  53852. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53853. end;
  53854. procedure TPORTG_CNEN.setCNEN2; inline;
  53855. begin
  53856. pTDefRegMap(@Self)^.&set := $00000004;
  53857. end;
  53858. procedure TPORTG_CNEN.clearCNEN2; inline;
  53859. begin
  53860. pTDefRegMap(@Self)^.clr := $00000004;
  53861. end;
  53862. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  53863. begin
  53864. if thebits = 0 then
  53865. pTDefRegMap(@Self)^.clr := $00000004
  53866. else
  53867. pTDefRegMap(@Self)^.&set := $00000004;
  53868. end;
  53869. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  53870. begin
  53871. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53872. end;
  53873. procedure TPORTG_CNEN.setCNEN3; inline;
  53874. begin
  53875. pTDefRegMap(@Self)^.&set := $00000008;
  53876. end;
  53877. procedure TPORTG_CNEN.clearCNEN3; inline;
  53878. begin
  53879. pTDefRegMap(@Self)^.clr := $00000008;
  53880. end;
  53881. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  53882. begin
  53883. if thebits = 0 then
  53884. pTDefRegMap(@Self)^.clr := $00000008
  53885. else
  53886. pTDefRegMap(@Self)^.&set := $00000008;
  53887. end;
  53888. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  53889. begin
  53890. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53891. end;
  53892. procedure TPORTG_CNEN.setCNEN4; inline;
  53893. begin
  53894. pTDefRegMap(@Self)^.&set := $00000010;
  53895. end;
  53896. procedure TPORTG_CNEN.clearCNEN4; inline;
  53897. begin
  53898. pTDefRegMap(@Self)^.clr := $00000010;
  53899. end;
  53900. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  53901. begin
  53902. if thebits = 0 then
  53903. pTDefRegMap(@Self)^.clr := $00000010
  53904. else
  53905. pTDefRegMap(@Self)^.&set := $00000010;
  53906. end;
  53907. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  53908. begin
  53909. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53910. end;
  53911. procedure TPORTG_CNEN.setCNEN5; inline;
  53912. begin
  53913. pTDefRegMap(@Self)^.&set := $00000020;
  53914. end;
  53915. procedure TPORTG_CNEN.clearCNEN5; inline;
  53916. begin
  53917. pTDefRegMap(@Self)^.clr := $00000020;
  53918. end;
  53919. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  53920. begin
  53921. if thebits = 0 then
  53922. pTDefRegMap(@Self)^.clr := $00000020
  53923. else
  53924. pTDefRegMap(@Self)^.&set := $00000020;
  53925. end;
  53926. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  53927. begin
  53928. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53929. end;
  53930. procedure TPORTG_CNEN.setCNEN6; inline;
  53931. begin
  53932. pTDefRegMap(@Self)^.&set := $00000040;
  53933. end;
  53934. procedure TPORTG_CNEN.clearCNEN6; inline;
  53935. begin
  53936. pTDefRegMap(@Self)^.clr := $00000040;
  53937. end;
  53938. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  53939. begin
  53940. if thebits = 0 then
  53941. pTDefRegMap(@Self)^.clr := $00000040
  53942. else
  53943. pTDefRegMap(@Self)^.&set := $00000040;
  53944. end;
  53945. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  53946. begin
  53947. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53948. end;
  53949. procedure TPORTG_CNEN.setCNEN7; inline;
  53950. begin
  53951. pTDefRegMap(@Self)^.&set := $00000080;
  53952. end;
  53953. procedure TPORTG_CNEN.clearCNEN7; inline;
  53954. begin
  53955. pTDefRegMap(@Self)^.clr := $00000080;
  53956. end;
  53957. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  53958. begin
  53959. if thebits = 0 then
  53960. pTDefRegMap(@Self)^.clr := $00000080
  53961. else
  53962. pTDefRegMap(@Self)^.&set := $00000080;
  53963. end;
  53964. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  53965. begin
  53966. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53967. end;
  53968. procedure TPORTG_CNEN.setCNEN8; inline;
  53969. begin
  53970. pTDefRegMap(@Self)^.&set := $00000100;
  53971. end;
  53972. procedure TPORTG_CNEN.clearCNEN8; inline;
  53973. begin
  53974. pTDefRegMap(@Self)^.clr := $00000100;
  53975. end;
  53976. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  53977. begin
  53978. if thebits = 0 then
  53979. pTDefRegMap(@Self)^.clr := $00000100
  53980. else
  53981. pTDefRegMap(@Self)^.&set := $00000100;
  53982. end;
  53983. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  53984. begin
  53985. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53986. end;
  53987. procedure TPORTG_CNEN.setCNEN9; inline;
  53988. begin
  53989. pTDefRegMap(@Self)^.&set := $00000200;
  53990. end;
  53991. procedure TPORTG_CNEN.clearCNEN9; inline;
  53992. begin
  53993. pTDefRegMap(@Self)^.clr := $00000200;
  53994. end;
  53995. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  53996. begin
  53997. if thebits = 0 then
  53998. pTDefRegMap(@Self)^.clr := $00000200
  53999. else
  54000. pTDefRegMap(@Self)^.&set := $00000200;
  54001. end;
  54002. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  54003. begin
  54004. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54005. end;
  54006. procedure TPORTG_CNEN.setCNEN10; inline;
  54007. begin
  54008. pTDefRegMap(@Self)^.&set := $00000400;
  54009. end;
  54010. procedure TPORTG_CNEN.clearCNEN10; inline;
  54011. begin
  54012. pTDefRegMap(@Self)^.clr := $00000400;
  54013. end;
  54014. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  54015. begin
  54016. if thebits = 0 then
  54017. pTDefRegMap(@Self)^.clr := $00000400
  54018. else
  54019. pTDefRegMap(@Self)^.&set := $00000400;
  54020. end;
  54021. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  54022. begin
  54023. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54024. end;
  54025. procedure TPORTG_CNEN.setCNEN11; inline;
  54026. begin
  54027. pTDefRegMap(@Self)^.&set := $00000800;
  54028. end;
  54029. procedure TPORTG_CNEN.clearCNEN11; inline;
  54030. begin
  54031. pTDefRegMap(@Self)^.clr := $00000800;
  54032. end;
  54033. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  54034. begin
  54035. if thebits = 0 then
  54036. pTDefRegMap(@Self)^.clr := $00000800
  54037. else
  54038. pTDefRegMap(@Self)^.&set := $00000800;
  54039. end;
  54040. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  54041. begin
  54042. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  54043. end;
  54044. procedure TPORTG_CNEN.setCNEN12; inline;
  54045. begin
  54046. pTDefRegMap(@Self)^.&set := $00001000;
  54047. end;
  54048. procedure TPORTG_CNEN.clearCNEN12; inline;
  54049. begin
  54050. pTDefRegMap(@Self)^.clr := $00001000;
  54051. end;
  54052. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  54053. begin
  54054. if thebits = 0 then
  54055. pTDefRegMap(@Self)^.clr := $00001000
  54056. else
  54057. pTDefRegMap(@Self)^.&set := $00001000;
  54058. end;
  54059. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  54060. begin
  54061. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54062. end;
  54063. procedure TPORTG_CNEN.setCNEN13; inline;
  54064. begin
  54065. pTDefRegMap(@Self)^.&set := $00002000;
  54066. end;
  54067. procedure TPORTG_CNEN.clearCNEN13; inline;
  54068. begin
  54069. pTDefRegMap(@Self)^.clr := $00002000;
  54070. end;
  54071. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  54072. begin
  54073. if thebits = 0 then
  54074. pTDefRegMap(@Self)^.clr := $00002000
  54075. else
  54076. pTDefRegMap(@Self)^.&set := $00002000;
  54077. end;
  54078. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  54079. begin
  54080. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54081. end;
  54082. procedure TPORTG_CNEN.setCNEN14; inline;
  54083. begin
  54084. pTDefRegMap(@Self)^.&set := $00004000;
  54085. end;
  54086. procedure TPORTG_CNEN.clearCNEN14; inline;
  54087. begin
  54088. pTDefRegMap(@Self)^.clr := $00004000;
  54089. end;
  54090. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  54091. begin
  54092. if thebits = 0 then
  54093. pTDefRegMap(@Self)^.clr := $00004000
  54094. else
  54095. pTDefRegMap(@Self)^.&set := $00004000;
  54096. end;
  54097. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  54098. begin
  54099. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54100. end;
  54101. procedure TPORTG_CNEN.setCNEN15; inline;
  54102. begin
  54103. pTDefRegMap(@Self)^.&set := $00008000;
  54104. end;
  54105. procedure TPORTG_CNEN.clearCNEN15; inline;
  54106. begin
  54107. pTDefRegMap(@Self)^.clr := $00008000;
  54108. end;
  54109. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  54110. begin
  54111. if thebits = 0 then
  54112. pTDefRegMap(@Self)^.clr := $00008000
  54113. else
  54114. pTDefRegMap(@Self)^.&set := $00008000;
  54115. end;
  54116. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  54117. begin
  54118. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54119. end;
  54120. procedure TPORTG_CNEN.setCNEN16; inline;
  54121. begin
  54122. pTDefRegMap(@Self)^.&set := $00010000;
  54123. end;
  54124. procedure TPORTG_CNEN.clearCNEN16; inline;
  54125. begin
  54126. pTDefRegMap(@Self)^.clr := $00010000;
  54127. end;
  54128. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  54129. begin
  54130. if thebits = 0 then
  54131. pTDefRegMap(@Self)^.clr := $00010000
  54132. else
  54133. pTDefRegMap(@Self)^.&set := $00010000;
  54134. end;
  54135. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  54136. begin
  54137. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  54138. end;
  54139. procedure TPORTG_CNEN.setCNEN17; inline;
  54140. begin
  54141. pTDefRegMap(@Self)^.&set := $00020000;
  54142. end;
  54143. procedure TPORTG_CNEN.clearCNEN17; inline;
  54144. begin
  54145. pTDefRegMap(@Self)^.clr := $00020000;
  54146. end;
  54147. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  54148. begin
  54149. if thebits = 0 then
  54150. pTDefRegMap(@Self)^.clr := $00020000
  54151. else
  54152. pTDefRegMap(@Self)^.&set := $00020000;
  54153. end;
  54154. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  54155. begin
  54156. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  54157. end;
  54158. procedure TPORTG_CNEN.setCNEN18; inline;
  54159. begin
  54160. pTDefRegMap(@Self)^.&set := $00040000;
  54161. end;
  54162. procedure TPORTG_CNEN.clearCNEN18; inline;
  54163. begin
  54164. pTDefRegMap(@Self)^.clr := $00040000;
  54165. end;
  54166. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  54167. begin
  54168. if thebits = 0 then
  54169. pTDefRegMap(@Self)^.clr := $00040000
  54170. else
  54171. pTDefRegMap(@Self)^.&set := $00040000;
  54172. end;
  54173. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  54174. begin
  54175. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  54176. end;
  54177. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  54178. begin
  54179. pTDefRegMap(@Self)^.val := thebits;
  54180. end;
  54181. function TPORTG_CNEN.getw : TBits_32; inline;
  54182. begin
  54183. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54184. end;
  54185. procedure TPORTG_CNPUE.setCNPUE0; inline;
  54186. begin
  54187. pTDefRegMap(@Self)^.&set := $00000001;
  54188. end;
  54189. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  54190. begin
  54191. pTDefRegMap(@Self)^.clr := $00000001;
  54192. end;
  54193. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  54194. begin
  54195. if thebits = 0 then
  54196. pTDefRegMap(@Self)^.clr := $00000001
  54197. else
  54198. pTDefRegMap(@Self)^.&set := $00000001;
  54199. end;
  54200. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  54201. begin
  54202. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54203. end;
  54204. procedure TPORTG_CNPUE.setCNPUE1; inline;
  54205. begin
  54206. pTDefRegMap(@Self)^.&set := $00000002;
  54207. end;
  54208. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  54209. begin
  54210. pTDefRegMap(@Self)^.clr := $00000002;
  54211. end;
  54212. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  54213. begin
  54214. if thebits = 0 then
  54215. pTDefRegMap(@Self)^.clr := $00000002
  54216. else
  54217. pTDefRegMap(@Self)^.&set := $00000002;
  54218. end;
  54219. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  54220. begin
  54221. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54222. end;
  54223. procedure TPORTG_CNPUE.setCNPUE2; inline;
  54224. begin
  54225. pTDefRegMap(@Self)^.&set := $00000004;
  54226. end;
  54227. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  54228. begin
  54229. pTDefRegMap(@Self)^.clr := $00000004;
  54230. end;
  54231. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  54232. begin
  54233. if thebits = 0 then
  54234. pTDefRegMap(@Self)^.clr := $00000004
  54235. else
  54236. pTDefRegMap(@Self)^.&set := $00000004;
  54237. end;
  54238. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  54239. begin
  54240. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54241. end;
  54242. procedure TPORTG_CNPUE.setCNPUE3; inline;
  54243. begin
  54244. pTDefRegMap(@Self)^.&set := $00000008;
  54245. end;
  54246. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  54247. begin
  54248. pTDefRegMap(@Self)^.clr := $00000008;
  54249. end;
  54250. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  54251. begin
  54252. if thebits = 0 then
  54253. pTDefRegMap(@Self)^.clr := $00000008
  54254. else
  54255. pTDefRegMap(@Self)^.&set := $00000008;
  54256. end;
  54257. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  54258. begin
  54259. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54260. end;
  54261. procedure TPORTG_CNPUE.setCNPUE4; inline;
  54262. begin
  54263. pTDefRegMap(@Self)^.&set := $00000010;
  54264. end;
  54265. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  54266. begin
  54267. pTDefRegMap(@Self)^.clr := $00000010;
  54268. end;
  54269. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  54270. begin
  54271. if thebits = 0 then
  54272. pTDefRegMap(@Self)^.clr := $00000010
  54273. else
  54274. pTDefRegMap(@Self)^.&set := $00000010;
  54275. end;
  54276. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  54277. begin
  54278. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54279. end;
  54280. procedure TPORTG_CNPUE.setCNPUE5; inline;
  54281. begin
  54282. pTDefRegMap(@Self)^.&set := $00000020;
  54283. end;
  54284. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  54285. begin
  54286. pTDefRegMap(@Self)^.clr := $00000020;
  54287. end;
  54288. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  54289. begin
  54290. if thebits = 0 then
  54291. pTDefRegMap(@Self)^.clr := $00000020
  54292. else
  54293. pTDefRegMap(@Self)^.&set := $00000020;
  54294. end;
  54295. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  54296. begin
  54297. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54298. end;
  54299. procedure TPORTG_CNPUE.setCNPUE6; inline;
  54300. begin
  54301. pTDefRegMap(@Self)^.&set := $00000040;
  54302. end;
  54303. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  54304. begin
  54305. pTDefRegMap(@Self)^.clr := $00000040;
  54306. end;
  54307. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  54308. begin
  54309. if thebits = 0 then
  54310. pTDefRegMap(@Self)^.clr := $00000040
  54311. else
  54312. pTDefRegMap(@Self)^.&set := $00000040;
  54313. end;
  54314. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  54315. begin
  54316. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54317. end;
  54318. procedure TPORTG_CNPUE.setCNPUE7; inline;
  54319. begin
  54320. pTDefRegMap(@Self)^.&set := $00000080;
  54321. end;
  54322. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  54323. begin
  54324. pTDefRegMap(@Self)^.clr := $00000080;
  54325. end;
  54326. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  54327. begin
  54328. if thebits = 0 then
  54329. pTDefRegMap(@Self)^.clr := $00000080
  54330. else
  54331. pTDefRegMap(@Self)^.&set := $00000080;
  54332. end;
  54333. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  54334. begin
  54335. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54336. end;
  54337. procedure TPORTG_CNPUE.setCNPUE8; inline;
  54338. begin
  54339. pTDefRegMap(@Self)^.&set := $00000100;
  54340. end;
  54341. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  54342. begin
  54343. pTDefRegMap(@Self)^.clr := $00000100;
  54344. end;
  54345. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  54346. begin
  54347. if thebits = 0 then
  54348. pTDefRegMap(@Self)^.clr := $00000100
  54349. else
  54350. pTDefRegMap(@Self)^.&set := $00000100;
  54351. end;
  54352. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  54353. begin
  54354. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54355. end;
  54356. procedure TPORTG_CNPUE.setCNPUE9; inline;
  54357. begin
  54358. pTDefRegMap(@Self)^.&set := $00000200;
  54359. end;
  54360. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  54361. begin
  54362. pTDefRegMap(@Self)^.clr := $00000200;
  54363. end;
  54364. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  54365. begin
  54366. if thebits = 0 then
  54367. pTDefRegMap(@Self)^.clr := $00000200
  54368. else
  54369. pTDefRegMap(@Self)^.&set := $00000200;
  54370. end;
  54371. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  54372. begin
  54373. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54374. end;
  54375. procedure TPORTG_CNPUE.setCNPUE10; inline;
  54376. begin
  54377. pTDefRegMap(@Self)^.&set := $00000400;
  54378. end;
  54379. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  54380. begin
  54381. pTDefRegMap(@Self)^.clr := $00000400;
  54382. end;
  54383. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  54384. begin
  54385. if thebits = 0 then
  54386. pTDefRegMap(@Self)^.clr := $00000400
  54387. else
  54388. pTDefRegMap(@Self)^.&set := $00000400;
  54389. end;
  54390. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  54391. begin
  54392. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54393. end;
  54394. procedure TPORTG_CNPUE.setCNPUE11; inline;
  54395. begin
  54396. pTDefRegMap(@Self)^.&set := $00000800;
  54397. end;
  54398. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  54399. begin
  54400. pTDefRegMap(@Self)^.clr := $00000800;
  54401. end;
  54402. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  54403. begin
  54404. if thebits = 0 then
  54405. pTDefRegMap(@Self)^.clr := $00000800
  54406. else
  54407. pTDefRegMap(@Self)^.&set := $00000800;
  54408. end;
  54409. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  54410. begin
  54411. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  54412. end;
  54413. procedure TPORTG_CNPUE.setCNPUE12; inline;
  54414. begin
  54415. pTDefRegMap(@Self)^.&set := $00001000;
  54416. end;
  54417. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  54418. begin
  54419. pTDefRegMap(@Self)^.clr := $00001000;
  54420. end;
  54421. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  54422. begin
  54423. if thebits = 0 then
  54424. pTDefRegMap(@Self)^.clr := $00001000
  54425. else
  54426. pTDefRegMap(@Self)^.&set := $00001000;
  54427. end;
  54428. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  54429. begin
  54430. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54431. end;
  54432. procedure TPORTG_CNPUE.setCNPUE13; inline;
  54433. begin
  54434. pTDefRegMap(@Self)^.&set := $00002000;
  54435. end;
  54436. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  54437. begin
  54438. pTDefRegMap(@Self)^.clr := $00002000;
  54439. end;
  54440. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  54441. begin
  54442. if thebits = 0 then
  54443. pTDefRegMap(@Self)^.clr := $00002000
  54444. else
  54445. pTDefRegMap(@Self)^.&set := $00002000;
  54446. end;
  54447. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  54448. begin
  54449. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54450. end;
  54451. procedure TPORTG_CNPUE.setCNPUE14; inline;
  54452. begin
  54453. pTDefRegMap(@Self)^.&set := $00004000;
  54454. end;
  54455. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  54456. begin
  54457. pTDefRegMap(@Self)^.clr := $00004000;
  54458. end;
  54459. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  54460. begin
  54461. if thebits = 0 then
  54462. pTDefRegMap(@Self)^.clr := $00004000
  54463. else
  54464. pTDefRegMap(@Self)^.&set := $00004000;
  54465. end;
  54466. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  54467. begin
  54468. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54469. end;
  54470. procedure TPORTG_CNPUE.setCNPUE15; inline;
  54471. begin
  54472. pTDefRegMap(@Self)^.&set := $00008000;
  54473. end;
  54474. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  54475. begin
  54476. pTDefRegMap(@Self)^.clr := $00008000;
  54477. end;
  54478. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  54479. begin
  54480. if thebits = 0 then
  54481. pTDefRegMap(@Self)^.clr := $00008000
  54482. else
  54483. pTDefRegMap(@Self)^.&set := $00008000;
  54484. end;
  54485. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  54486. begin
  54487. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54488. end;
  54489. procedure TPORTG_CNPUE.setCNPUE16; inline;
  54490. begin
  54491. pTDefRegMap(@Self)^.&set := $00010000;
  54492. end;
  54493. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  54494. begin
  54495. pTDefRegMap(@Self)^.clr := $00010000;
  54496. end;
  54497. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  54498. begin
  54499. if thebits = 0 then
  54500. pTDefRegMap(@Self)^.clr := $00010000
  54501. else
  54502. pTDefRegMap(@Self)^.&set := $00010000;
  54503. end;
  54504. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  54505. begin
  54506. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  54507. end;
  54508. procedure TPORTG_CNPUE.setCNPUE17; inline;
  54509. begin
  54510. pTDefRegMap(@Self)^.&set := $00020000;
  54511. end;
  54512. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  54513. begin
  54514. pTDefRegMap(@Self)^.clr := $00020000;
  54515. end;
  54516. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  54517. begin
  54518. if thebits = 0 then
  54519. pTDefRegMap(@Self)^.clr := $00020000
  54520. else
  54521. pTDefRegMap(@Self)^.&set := $00020000;
  54522. end;
  54523. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  54524. begin
  54525. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  54526. end;
  54527. procedure TPORTG_CNPUE.setCNPUE18; inline;
  54528. begin
  54529. pTDefRegMap(@Self)^.&set := $00040000;
  54530. end;
  54531. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  54532. begin
  54533. pTDefRegMap(@Self)^.clr := $00040000;
  54534. end;
  54535. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  54536. begin
  54537. if thebits = 0 then
  54538. pTDefRegMap(@Self)^.clr := $00040000
  54539. else
  54540. pTDefRegMap(@Self)^.&set := $00040000;
  54541. end;
  54542. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  54543. begin
  54544. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  54545. end;
  54546. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  54547. begin
  54548. pTDefRegMap(@Self)^.val := thebits;
  54549. end;
  54550. function TPORTG_CNPUE.getw : TBits_32; inline;
  54551. begin
  54552. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54553. end;
  54554. procedure TETH_ETHCON1.setBUFCDEC; inline;
  54555. begin
  54556. pTDefRegMap(@Self)^.&set := $00000001;
  54557. end;
  54558. procedure TETH_ETHCON1.clearBUFCDEC; inline;
  54559. begin
  54560. pTDefRegMap(@Self)^.clr := $00000001;
  54561. end;
  54562. procedure TETH_ETHCON1.setBUFCDEC(thebits : TBits_1); inline;
  54563. begin
  54564. if thebits = 0 then
  54565. pTDefRegMap(@Self)^.clr := $00000001
  54566. else
  54567. pTDefRegMap(@Self)^.&set := $00000001;
  54568. end;
  54569. function TETH_ETHCON1.getBUFCDEC : TBits_1; inline;
  54570. begin
  54571. getBUFCDEC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54572. end;
  54573. procedure TETH_ETHCON1.setMANFC; inline;
  54574. begin
  54575. pTDefRegMap(@Self)^.&set := $00000010;
  54576. end;
  54577. procedure TETH_ETHCON1.clearMANFC; inline;
  54578. begin
  54579. pTDefRegMap(@Self)^.clr := $00000010;
  54580. end;
  54581. procedure TETH_ETHCON1.setMANFC(thebits : TBits_1); inline;
  54582. begin
  54583. if thebits = 0 then
  54584. pTDefRegMap(@Self)^.clr := $00000010
  54585. else
  54586. pTDefRegMap(@Self)^.&set := $00000010;
  54587. end;
  54588. function TETH_ETHCON1.getMANFC : TBits_1; inline;
  54589. begin
  54590. getMANFC := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54591. end;
  54592. procedure TETH_ETHCON1.setAUTOFC; inline;
  54593. begin
  54594. pTDefRegMap(@Self)^.&set := $00000080;
  54595. end;
  54596. procedure TETH_ETHCON1.clearAUTOFC; inline;
  54597. begin
  54598. pTDefRegMap(@Self)^.clr := $00000080;
  54599. end;
  54600. procedure TETH_ETHCON1.setAUTOFC(thebits : TBits_1); inline;
  54601. begin
  54602. if thebits = 0 then
  54603. pTDefRegMap(@Self)^.clr := $00000080
  54604. else
  54605. pTDefRegMap(@Self)^.&set := $00000080;
  54606. end;
  54607. function TETH_ETHCON1.getAUTOFC : TBits_1; inline;
  54608. begin
  54609. getAUTOFC := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54610. end;
  54611. procedure TETH_ETHCON1.setRXEN; inline;
  54612. begin
  54613. pTDefRegMap(@Self)^.&set := $00000100;
  54614. end;
  54615. procedure TETH_ETHCON1.clearRXEN; inline;
  54616. begin
  54617. pTDefRegMap(@Self)^.clr := $00000100;
  54618. end;
  54619. procedure TETH_ETHCON1.setRXEN(thebits : TBits_1); inline;
  54620. begin
  54621. if thebits = 0 then
  54622. pTDefRegMap(@Self)^.clr := $00000100
  54623. else
  54624. pTDefRegMap(@Self)^.&set := $00000100;
  54625. end;
  54626. function TETH_ETHCON1.getRXEN : TBits_1; inline;
  54627. begin
  54628. getRXEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54629. end;
  54630. procedure TETH_ETHCON1.setTXRTS; inline;
  54631. begin
  54632. pTDefRegMap(@Self)^.&set := $00000200;
  54633. end;
  54634. procedure TETH_ETHCON1.clearTXRTS; inline;
  54635. begin
  54636. pTDefRegMap(@Self)^.clr := $00000200;
  54637. end;
  54638. procedure TETH_ETHCON1.setTXRTS(thebits : TBits_1); inline;
  54639. begin
  54640. if thebits = 0 then
  54641. pTDefRegMap(@Self)^.clr := $00000200
  54642. else
  54643. pTDefRegMap(@Self)^.&set := $00000200;
  54644. end;
  54645. function TETH_ETHCON1.getTXRTS : TBits_1; inline;
  54646. begin
  54647. getTXRTS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54648. end;
  54649. procedure TETH_ETHCON1.setSIDL; inline;
  54650. begin
  54651. pTDefRegMap(@Self)^.&set := $00002000;
  54652. end;
  54653. procedure TETH_ETHCON1.clearSIDL; inline;
  54654. begin
  54655. pTDefRegMap(@Self)^.clr := $00002000;
  54656. end;
  54657. procedure TETH_ETHCON1.setSIDL(thebits : TBits_1); inline;
  54658. begin
  54659. if thebits = 0 then
  54660. pTDefRegMap(@Self)^.clr := $00002000
  54661. else
  54662. pTDefRegMap(@Self)^.&set := $00002000;
  54663. end;
  54664. function TETH_ETHCON1.getSIDL : TBits_1; inline;
  54665. begin
  54666. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54667. end;
  54668. procedure TETH_ETHCON1.setON; inline;
  54669. begin
  54670. pTDefRegMap(@Self)^.&set := $00008000;
  54671. end;
  54672. procedure TETH_ETHCON1.clearON; inline;
  54673. begin
  54674. pTDefRegMap(@Self)^.clr := $00008000;
  54675. end;
  54676. procedure TETH_ETHCON1.setON(thebits : TBits_1); inline;
  54677. begin
  54678. if thebits = 0 then
  54679. pTDefRegMap(@Self)^.clr := $00008000
  54680. else
  54681. pTDefRegMap(@Self)^.&set := $00008000;
  54682. end;
  54683. function TETH_ETHCON1.getON : TBits_1; inline;
  54684. begin
  54685. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54686. end;
  54687. procedure TETH_ETHCON1.setPTV(thebits : TBits_16); inline;
  54688. begin
  54689. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0000FFFF or ( thebits shl 16 );
  54690. end;
  54691. function TETH_ETHCON1.getPTV : TBits_16; inline;
  54692. begin
  54693. getPTV := (pTDefRegMap(@Self)^.val and $FFFF0000) shr 16;
  54694. end;
  54695. procedure TETH_ETHCON1.setw(thebits : TBits_32); inline;
  54696. begin
  54697. pTDefRegMap(@Self)^.val := thebits;
  54698. end;
  54699. function TETH_ETHCON1.getw : TBits_32; inline;
  54700. begin
  54701. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54702. end;
  54703. procedure TETH_ETHCON2.setRXBUF_SZ(thebits : TBits_7); inline;
  54704. begin
  54705. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF80F or ( thebits shl 4 );
  54706. end;
  54707. function TETH_ETHCON2.getRXBUF_SZ : TBits_7; inline;
  54708. begin
  54709. getRXBUF_SZ := (pTDefRegMap(@Self)^.val and $000007F0) shr 4;
  54710. end;
  54711. procedure TETH_ETHCON2.setw(thebits : TBits_32); inline;
  54712. begin
  54713. pTDefRegMap(@Self)^.val := thebits;
  54714. end;
  54715. function TETH_ETHCON2.getw : TBits_32; inline;
  54716. begin
  54717. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54718. end;
  54719. procedure TETH_ETHTXST.setTXSTADDR(thebits : TBits_30); inline;
  54720. begin
  54721. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  54722. end;
  54723. function TETH_ETHTXST.getTXSTADDR : TBits_30; inline;
  54724. begin
  54725. getTXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  54726. end;
  54727. procedure TETH_ETHTXST.setw(thebits : TBits_32); inline;
  54728. begin
  54729. pTDefRegMap(@Self)^.val := thebits;
  54730. end;
  54731. function TETH_ETHTXST.getw : TBits_32; inline;
  54732. begin
  54733. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54734. end;
  54735. procedure TETH_ETHRXST.setRXSTADDR(thebits : TBits_30); inline;
  54736. begin
  54737. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  54738. end;
  54739. function TETH_ETHRXST.getRXSTADDR : TBits_30; inline;
  54740. begin
  54741. getRXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  54742. end;
  54743. procedure TETH_ETHRXST.setw(thebits : TBits_32); inline;
  54744. begin
  54745. pTDefRegMap(@Self)^.val := thebits;
  54746. end;
  54747. function TETH_ETHRXST.getw : TBits_32; inline;
  54748. begin
  54749. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54750. end;
  54751. procedure TETH_ETHHT0.setw(thebits : TBits_32); inline;
  54752. begin
  54753. pTDefRegMap(@Self)^.val := thebits;
  54754. end;
  54755. function TETH_ETHHT0.getw : TBits_32; inline;
  54756. begin
  54757. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54758. end;
  54759. procedure TETH_ETHHT0.setHTLOWER(thebits : TBits_32); inline;
  54760. begin
  54761. pTDefRegMap(@Self)^.val := thebits;
  54762. end;
  54763. function TETH_ETHHT0.getHTLOWER : TBits_32; inline;
  54764. begin
  54765. getHTLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54766. end;
  54767. procedure TETH_ETHHT1.setw(thebits : TBits_32); inline;
  54768. begin
  54769. pTDefRegMap(@Self)^.val := thebits;
  54770. end;
  54771. function TETH_ETHHT1.getw : TBits_32; inline;
  54772. begin
  54773. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54774. end;
  54775. procedure TETH_ETHHT1.setHTUPPER(thebits : TBits_32); inline;
  54776. begin
  54777. pTDefRegMap(@Self)^.val := thebits;
  54778. end;
  54779. function TETH_ETHHT1.getHTUPPER : TBits_32; inline;
  54780. begin
  54781. getHTUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54782. end;
  54783. procedure TETH_ETHPMM0.setw(thebits : TBits_32); inline;
  54784. begin
  54785. pTDefRegMap(@Self)^.val := thebits;
  54786. end;
  54787. function TETH_ETHPMM0.getw : TBits_32; inline;
  54788. begin
  54789. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54790. end;
  54791. procedure TETH_ETHPMM0.setPMMLOWER(thebits : TBits_32); inline;
  54792. begin
  54793. pTDefRegMap(@Self)^.val := thebits;
  54794. end;
  54795. function TETH_ETHPMM0.getPMMLOWER : TBits_32; inline;
  54796. begin
  54797. getPMMLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54798. end;
  54799. procedure TETH_ETHPMM1.setw(thebits : TBits_32); inline;
  54800. begin
  54801. pTDefRegMap(@Self)^.val := thebits;
  54802. end;
  54803. function TETH_ETHPMM1.getw : TBits_32; inline;
  54804. begin
  54805. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54806. end;
  54807. procedure TETH_ETHPMM1.setPMMUPPER(thebits : TBits_32); inline;
  54808. begin
  54809. pTDefRegMap(@Self)^.val := thebits;
  54810. end;
  54811. function TETH_ETHPMM1.getPMMUPPER : TBits_32; inline;
  54812. begin
  54813. getPMMUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54814. end;
  54815. procedure TETH_ETHPMCS.setPMCS(thebits : TBits_16); inline;
  54816. begin
  54817. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  54818. end;
  54819. function TETH_ETHPMCS.getPMCS : TBits_16; inline;
  54820. begin
  54821. getPMCS := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  54822. end;
  54823. procedure TETH_ETHPMCS.setw(thebits : TBits_32); inline;
  54824. begin
  54825. pTDefRegMap(@Self)^.val := thebits;
  54826. end;
  54827. function TETH_ETHPMCS.getw : TBits_32; inline;
  54828. begin
  54829. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54830. end;
  54831. procedure TETH_ETHPMO.setPMO(thebits : TBits_16); inline;
  54832. begin
  54833. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  54834. end;
  54835. function TETH_ETHPMO.getPMO : TBits_16; inline;
  54836. begin
  54837. getPMO := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  54838. end;
  54839. procedure TETH_ETHPMO.setw(thebits : TBits_32); inline;
  54840. begin
  54841. pTDefRegMap(@Self)^.val := thebits;
  54842. end;
  54843. function TETH_ETHPMO.getw : TBits_32; inline;
  54844. begin
  54845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54846. end;
  54847. procedure TETH_ETHRXFC.setBCEN; inline;
  54848. begin
  54849. pTDefRegMap(@Self)^.&set := $00000001;
  54850. end;
  54851. procedure TETH_ETHRXFC.clearBCEN; inline;
  54852. begin
  54853. pTDefRegMap(@Self)^.clr := $00000001;
  54854. end;
  54855. procedure TETH_ETHRXFC.setBCEN(thebits : TBits_1); inline;
  54856. begin
  54857. if thebits = 0 then
  54858. pTDefRegMap(@Self)^.clr := $00000001
  54859. else
  54860. pTDefRegMap(@Self)^.&set := $00000001;
  54861. end;
  54862. function TETH_ETHRXFC.getBCEN : TBits_1; inline;
  54863. begin
  54864. getBCEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54865. end;
  54866. procedure TETH_ETHRXFC.setMCEN; inline;
  54867. begin
  54868. pTDefRegMap(@Self)^.&set := $00000002;
  54869. end;
  54870. procedure TETH_ETHRXFC.clearMCEN; inline;
  54871. begin
  54872. pTDefRegMap(@Self)^.clr := $00000002;
  54873. end;
  54874. procedure TETH_ETHRXFC.setMCEN(thebits : TBits_1); inline;
  54875. begin
  54876. if thebits = 0 then
  54877. pTDefRegMap(@Self)^.clr := $00000002
  54878. else
  54879. pTDefRegMap(@Self)^.&set := $00000002;
  54880. end;
  54881. function TETH_ETHRXFC.getMCEN : TBits_1; inline;
  54882. begin
  54883. getMCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54884. end;
  54885. procedure TETH_ETHRXFC.setNOTMEEN; inline;
  54886. begin
  54887. pTDefRegMap(@Self)^.&set := $00000004;
  54888. end;
  54889. procedure TETH_ETHRXFC.clearNOTMEEN; inline;
  54890. begin
  54891. pTDefRegMap(@Self)^.clr := $00000004;
  54892. end;
  54893. procedure TETH_ETHRXFC.setNOTMEEN(thebits : TBits_1); inline;
  54894. begin
  54895. if thebits = 0 then
  54896. pTDefRegMap(@Self)^.clr := $00000004
  54897. else
  54898. pTDefRegMap(@Self)^.&set := $00000004;
  54899. end;
  54900. function TETH_ETHRXFC.getNOTMEEN : TBits_1; inline;
  54901. begin
  54902. getNOTMEEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54903. end;
  54904. procedure TETH_ETHRXFC.setUCEN; inline;
  54905. begin
  54906. pTDefRegMap(@Self)^.&set := $00000008;
  54907. end;
  54908. procedure TETH_ETHRXFC.clearUCEN; inline;
  54909. begin
  54910. pTDefRegMap(@Self)^.clr := $00000008;
  54911. end;
  54912. procedure TETH_ETHRXFC.setUCEN(thebits : TBits_1); inline;
  54913. begin
  54914. if thebits = 0 then
  54915. pTDefRegMap(@Self)^.clr := $00000008
  54916. else
  54917. pTDefRegMap(@Self)^.&set := $00000008;
  54918. end;
  54919. function TETH_ETHRXFC.getUCEN : TBits_1; inline;
  54920. begin
  54921. getUCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54922. end;
  54923. procedure TETH_ETHRXFC.setRUNTEN; inline;
  54924. begin
  54925. pTDefRegMap(@Self)^.&set := $00000010;
  54926. end;
  54927. procedure TETH_ETHRXFC.clearRUNTEN; inline;
  54928. begin
  54929. pTDefRegMap(@Self)^.clr := $00000010;
  54930. end;
  54931. procedure TETH_ETHRXFC.setRUNTEN(thebits : TBits_1); inline;
  54932. begin
  54933. if thebits = 0 then
  54934. pTDefRegMap(@Self)^.clr := $00000010
  54935. else
  54936. pTDefRegMap(@Self)^.&set := $00000010;
  54937. end;
  54938. function TETH_ETHRXFC.getRUNTEN : TBits_1; inline;
  54939. begin
  54940. getRUNTEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54941. end;
  54942. procedure TETH_ETHRXFC.setRUNTERREN; inline;
  54943. begin
  54944. pTDefRegMap(@Self)^.&set := $00000020;
  54945. end;
  54946. procedure TETH_ETHRXFC.clearRUNTERREN; inline;
  54947. begin
  54948. pTDefRegMap(@Self)^.clr := $00000020;
  54949. end;
  54950. procedure TETH_ETHRXFC.setRUNTERREN(thebits : TBits_1); inline;
  54951. begin
  54952. if thebits = 0 then
  54953. pTDefRegMap(@Self)^.clr := $00000020
  54954. else
  54955. pTDefRegMap(@Self)^.&set := $00000020;
  54956. end;
  54957. function TETH_ETHRXFC.getRUNTERREN : TBits_1; inline;
  54958. begin
  54959. getRUNTERREN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54960. end;
  54961. procedure TETH_ETHRXFC.setCRCOKEN; inline;
  54962. begin
  54963. pTDefRegMap(@Self)^.&set := $00000040;
  54964. end;
  54965. procedure TETH_ETHRXFC.clearCRCOKEN; inline;
  54966. begin
  54967. pTDefRegMap(@Self)^.clr := $00000040;
  54968. end;
  54969. procedure TETH_ETHRXFC.setCRCOKEN(thebits : TBits_1); inline;
  54970. begin
  54971. if thebits = 0 then
  54972. pTDefRegMap(@Self)^.clr := $00000040
  54973. else
  54974. pTDefRegMap(@Self)^.&set := $00000040;
  54975. end;
  54976. function TETH_ETHRXFC.getCRCOKEN : TBits_1; inline;
  54977. begin
  54978. getCRCOKEN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54979. end;
  54980. procedure TETH_ETHRXFC.setCRCERREN; inline;
  54981. begin
  54982. pTDefRegMap(@Self)^.&set := $00000080;
  54983. end;
  54984. procedure TETH_ETHRXFC.clearCRCERREN; inline;
  54985. begin
  54986. pTDefRegMap(@Self)^.clr := $00000080;
  54987. end;
  54988. procedure TETH_ETHRXFC.setCRCERREN(thebits : TBits_1); inline;
  54989. begin
  54990. if thebits = 0 then
  54991. pTDefRegMap(@Self)^.clr := $00000080
  54992. else
  54993. pTDefRegMap(@Self)^.&set := $00000080;
  54994. end;
  54995. function TETH_ETHRXFC.getCRCERREN : TBits_1; inline;
  54996. begin
  54997. getCRCERREN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54998. end;
  54999. procedure TETH_ETHRXFC.setPMMODE(thebits : TBits_4); inline;
  55000. begin
  55001. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  55002. end;
  55003. function TETH_ETHRXFC.getPMMODE : TBits_4; inline;
  55004. begin
  55005. getPMMODE := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  55006. end;
  55007. procedure TETH_ETHRXFC.setNOTPM; inline;
  55008. begin
  55009. pTDefRegMap(@Self)^.&set := $00001000;
  55010. end;
  55011. procedure TETH_ETHRXFC.clearNOTPM; inline;
  55012. begin
  55013. pTDefRegMap(@Self)^.clr := $00001000;
  55014. end;
  55015. procedure TETH_ETHRXFC.setNOTPM(thebits : TBits_1); inline;
  55016. begin
  55017. if thebits = 0 then
  55018. pTDefRegMap(@Self)^.clr := $00001000
  55019. else
  55020. pTDefRegMap(@Self)^.&set := $00001000;
  55021. end;
  55022. function TETH_ETHRXFC.getNOTPM : TBits_1; inline;
  55023. begin
  55024. getNOTPM := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55025. end;
  55026. procedure TETH_ETHRXFC.setMPEN; inline;
  55027. begin
  55028. pTDefRegMap(@Self)^.&set := $00004000;
  55029. end;
  55030. procedure TETH_ETHRXFC.clearMPEN; inline;
  55031. begin
  55032. pTDefRegMap(@Self)^.clr := $00004000;
  55033. end;
  55034. procedure TETH_ETHRXFC.setMPEN(thebits : TBits_1); inline;
  55035. begin
  55036. if thebits = 0 then
  55037. pTDefRegMap(@Self)^.clr := $00004000
  55038. else
  55039. pTDefRegMap(@Self)^.&set := $00004000;
  55040. end;
  55041. function TETH_ETHRXFC.getMPEN : TBits_1; inline;
  55042. begin
  55043. getMPEN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55044. end;
  55045. procedure TETH_ETHRXFC.setHTEN; inline;
  55046. begin
  55047. pTDefRegMap(@Self)^.&set := $00008000;
  55048. end;
  55049. procedure TETH_ETHRXFC.clearHTEN; inline;
  55050. begin
  55051. pTDefRegMap(@Self)^.clr := $00008000;
  55052. end;
  55053. procedure TETH_ETHRXFC.setHTEN(thebits : TBits_1); inline;
  55054. begin
  55055. if thebits = 0 then
  55056. pTDefRegMap(@Self)^.clr := $00008000
  55057. else
  55058. pTDefRegMap(@Self)^.&set := $00008000;
  55059. end;
  55060. function TETH_ETHRXFC.getHTEN : TBits_1; inline;
  55061. begin
  55062. getHTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55063. end;
  55064. procedure TETH_ETHRXFC.setw(thebits : TBits_32); inline;
  55065. begin
  55066. pTDefRegMap(@Self)^.val := thebits;
  55067. end;
  55068. function TETH_ETHRXFC.getw : TBits_32; inline;
  55069. begin
  55070. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55071. end;
  55072. procedure TETH_ETHRXWM.setRXEWM(thebits : TBits_8); inline;
  55073. begin
  55074. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  55075. end;
  55076. function TETH_ETHRXWM.getRXEWM : TBits_8; inline;
  55077. begin
  55078. getRXEWM := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  55079. end;
  55080. procedure TETH_ETHRXWM.setRXFWM(thebits : TBits_8); inline;
  55081. begin
  55082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  55083. end;
  55084. function TETH_ETHRXWM.getRXFWM : TBits_8; inline;
  55085. begin
  55086. getRXFWM := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  55087. end;
  55088. procedure TETH_ETHRXWM.setw(thebits : TBits_32); inline;
  55089. begin
  55090. pTDefRegMap(@Self)^.val := thebits;
  55091. end;
  55092. function TETH_ETHRXWM.getw : TBits_32; inline;
  55093. begin
  55094. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55095. end;
  55096. procedure TETH_ETHIEN.setRXOVFLWIE; inline;
  55097. begin
  55098. pTDefRegMap(@Self)^.&set := $00000001;
  55099. end;
  55100. procedure TETH_ETHIEN.clearRXOVFLWIE; inline;
  55101. begin
  55102. pTDefRegMap(@Self)^.clr := $00000001;
  55103. end;
  55104. procedure TETH_ETHIEN.setRXOVFLWIE(thebits : TBits_1); inline;
  55105. begin
  55106. if thebits = 0 then
  55107. pTDefRegMap(@Self)^.clr := $00000001
  55108. else
  55109. pTDefRegMap(@Self)^.&set := $00000001;
  55110. end;
  55111. function TETH_ETHIEN.getRXOVFLWIE : TBits_1; inline;
  55112. begin
  55113. getRXOVFLWIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55114. end;
  55115. procedure TETH_ETHIEN.setRXBUFNAIE; inline;
  55116. begin
  55117. pTDefRegMap(@Self)^.&set := $00000002;
  55118. end;
  55119. procedure TETH_ETHIEN.clearRXBUFNAIE; inline;
  55120. begin
  55121. pTDefRegMap(@Self)^.clr := $00000002;
  55122. end;
  55123. procedure TETH_ETHIEN.setRXBUFNAIE(thebits : TBits_1); inline;
  55124. begin
  55125. if thebits = 0 then
  55126. pTDefRegMap(@Self)^.clr := $00000002
  55127. else
  55128. pTDefRegMap(@Self)^.&set := $00000002;
  55129. end;
  55130. function TETH_ETHIEN.getRXBUFNAIE : TBits_1; inline;
  55131. begin
  55132. getRXBUFNAIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55133. end;
  55134. procedure TETH_ETHIEN.setTXABORTIE; inline;
  55135. begin
  55136. pTDefRegMap(@Self)^.&set := $00000004;
  55137. end;
  55138. procedure TETH_ETHIEN.clearTXABORTIE; inline;
  55139. begin
  55140. pTDefRegMap(@Self)^.clr := $00000004;
  55141. end;
  55142. procedure TETH_ETHIEN.setTXABORTIE(thebits : TBits_1); inline;
  55143. begin
  55144. if thebits = 0 then
  55145. pTDefRegMap(@Self)^.clr := $00000004
  55146. else
  55147. pTDefRegMap(@Self)^.&set := $00000004;
  55148. end;
  55149. function TETH_ETHIEN.getTXABORTIE : TBits_1; inline;
  55150. begin
  55151. getTXABORTIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55152. end;
  55153. procedure TETH_ETHIEN.setTXDONEIE; inline;
  55154. begin
  55155. pTDefRegMap(@Self)^.&set := $00000008;
  55156. end;
  55157. procedure TETH_ETHIEN.clearTXDONEIE; inline;
  55158. begin
  55159. pTDefRegMap(@Self)^.clr := $00000008;
  55160. end;
  55161. procedure TETH_ETHIEN.setTXDONEIE(thebits : TBits_1); inline;
  55162. begin
  55163. if thebits = 0 then
  55164. pTDefRegMap(@Self)^.clr := $00000008
  55165. else
  55166. pTDefRegMap(@Self)^.&set := $00000008;
  55167. end;
  55168. function TETH_ETHIEN.getTXDONEIE : TBits_1; inline;
  55169. begin
  55170. getTXDONEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55171. end;
  55172. procedure TETH_ETHIEN.setRXACTIE; inline;
  55173. begin
  55174. pTDefRegMap(@Self)^.&set := $00000020;
  55175. end;
  55176. procedure TETH_ETHIEN.clearRXACTIE; inline;
  55177. begin
  55178. pTDefRegMap(@Self)^.clr := $00000020;
  55179. end;
  55180. procedure TETH_ETHIEN.setRXACTIE(thebits : TBits_1); inline;
  55181. begin
  55182. if thebits = 0 then
  55183. pTDefRegMap(@Self)^.clr := $00000020
  55184. else
  55185. pTDefRegMap(@Self)^.&set := $00000020;
  55186. end;
  55187. function TETH_ETHIEN.getRXACTIE : TBits_1; inline;
  55188. begin
  55189. getRXACTIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55190. end;
  55191. procedure TETH_ETHIEN.setPKTPENDIE; inline;
  55192. begin
  55193. pTDefRegMap(@Self)^.&set := $00000040;
  55194. end;
  55195. procedure TETH_ETHIEN.clearPKTPENDIE; inline;
  55196. begin
  55197. pTDefRegMap(@Self)^.clr := $00000040;
  55198. end;
  55199. procedure TETH_ETHIEN.setPKTPENDIE(thebits : TBits_1); inline;
  55200. begin
  55201. if thebits = 0 then
  55202. pTDefRegMap(@Self)^.clr := $00000040
  55203. else
  55204. pTDefRegMap(@Self)^.&set := $00000040;
  55205. end;
  55206. function TETH_ETHIEN.getPKTPENDIE : TBits_1; inline;
  55207. begin
  55208. getPKTPENDIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55209. end;
  55210. procedure TETH_ETHIEN.setRXDONEIE; inline;
  55211. begin
  55212. pTDefRegMap(@Self)^.&set := $00000080;
  55213. end;
  55214. procedure TETH_ETHIEN.clearRXDONEIE; inline;
  55215. begin
  55216. pTDefRegMap(@Self)^.clr := $00000080;
  55217. end;
  55218. procedure TETH_ETHIEN.setRXDONEIE(thebits : TBits_1); inline;
  55219. begin
  55220. if thebits = 0 then
  55221. pTDefRegMap(@Self)^.clr := $00000080
  55222. else
  55223. pTDefRegMap(@Self)^.&set := $00000080;
  55224. end;
  55225. function TETH_ETHIEN.getRXDONEIE : TBits_1; inline;
  55226. begin
  55227. getRXDONEIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55228. end;
  55229. procedure TETH_ETHIEN.setFWMARKIE; inline;
  55230. begin
  55231. pTDefRegMap(@Self)^.&set := $00000100;
  55232. end;
  55233. procedure TETH_ETHIEN.clearFWMARKIE; inline;
  55234. begin
  55235. pTDefRegMap(@Self)^.clr := $00000100;
  55236. end;
  55237. procedure TETH_ETHIEN.setFWMARKIE(thebits : TBits_1); inline;
  55238. begin
  55239. if thebits = 0 then
  55240. pTDefRegMap(@Self)^.clr := $00000100
  55241. else
  55242. pTDefRegMap(@Self)^.&set := $00000100;
  55243. end;
  55244. function TETH_ETHIEN.getFWMARKIE : TBits_1; inline;
  55245. begin
  55246. getFWMARKIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55247. end;
  55248. procedure TETH_ETHIEN.setEWMARKIE; inline;
  55249. begin
  55250. pTDefRegMap(@Self)^.&set := $00000200;
  55251. end;
  55252. procedure TETH_ETHIEN.clearEWMARKIE; inline;
  55253. begin
  55254. pTDefRegMap(@Self)^.clr := $00000200;
  55255. end;
  55256. procedure TETH_ETHIEN.setEWMARKIE(thebits : TBits_1); inline;
  55257. begin
  55258. if thebits = 0 then
  55259. pTDefRegMap(@Self)^.clr := $00000200
  55260. else
  55261. pTDefRegMap(@Self)^.&set := $00000200;
  55262. end;
  55263. function TETH_ETHIEN.getEWMARKIE : TBits_1; inline;
  55264. begin
  55265. getEWMARKIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55266. end;
  55267. procedure TETH_ETHIEN.setRXBUSEIE; inline;
  55268. begin
  55269. pTDefRegMap(@Self)^.&set := $00002000;
  55270. end;
  55271. procedure TETH_ETHIEN.clearRXBUSEIE; inline;
  55272. begin
  55273. pTDefRegMap(@Self)^.clr := $00002000;
  55274. end;
  55275. procedure TETH_ETHIEN.setRXBUSEIE(thebits : TBits_1); inline;
  55276. begin
  55277. if thebits = 0 then
  55278. pTDefRegMap(@Self)^.clr := $00002000
  55279. else
  55280. pTDefRegMap(@Self)^.&set := $00002000;
  55281. end;
  55282. function TETH_ETHIEN.getRXBUSEIE : TBits_1; inline;
  55283. begin
  55284. getRXBUSEIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55285. end;
  55286. procedure TETH_ETHIEN.setTXBUSEIE; inline;
  55287. begin
  55288. pTDefRegMap(@Self)^.&set := $00004000;
  55289. end;
  55290. procedure TETH_ETHIEN.clearTXBUSEIE; inline;
  55291. begin
  55292. pTDefRegMap(@Self)^.clr := $00004000;
  55293. end;
  55294. procedure TETH_ETHIEN.setTXBUSEIE(thebits : TBits_1); inline;
  55295. begin
  55296. if thebits = 0 then
  55297. pTDefRegMap(@Self)^.clr := $00004000
  55298. else
  55299. pTDefRegMap(@Self)^.&set := $00004000;
  55300. end;
  55301. function TETH_ETHIEN.getTXBUSEIE : TBits_1; inline;
  55302. begin
  55303. getTXBUSEIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55304. end;
  55305. procedure TETH_ETHIEN.setw(thebits : TBits_32); inline;
  55306. begin
  55307. pTDefRegMap(@Self)^.val := thebits;
  55308. end;
  55309. function TETH_ETHIEN.getw : TBits_32; inline;
  55310. begin
  55311. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55312. end;
  55313. procedure TETH_ETHIRQ.setRXOVFLW; inline;
  55314. begin
  55315. pTDefRegMap(@Self)^.&set := $00000001;
  55316. end;
  55317. procedure TETH_ETHIRQ.clearRXOVFLW; inline;
  55318. begin
  55319. pTDefRegMap(@Self)^.clr := $00000001;
  55320. end;
  55321. procedure TETH_ETHIRQ.setRXOVFLW(thebits : TBits_1); inline;
  55322. begin
  55323. if thebits = 0 then
  55324. pTDefRegMap(@Self)^.clr := $00000001
  55325. else
  55326. pTDefRegMap(@Self)^.&set := $00000001;
  55327. end;
  55328. function TETH_ETHIRQ.getRXOVFLW : TBits_1; inline;
  55329. begin
  55330. getRXOVFLW := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55331. end;
  55332. procedure TETH_ETHIRQ.setRXBUFNA; inline;
  55333. begin
  55334. pTDefRegMap(@Self)^.&set := $00000002;
  55335. end;
  55336. procedure TETH_ETHIRQ.clearRXBUFNA; inline;
  55337. begin
  55338. pTDefRegMap(@Self)^.clr := $00000002;
  55339. end;
  55340. procedure TETH_ETHIRQ.setRXBUFNA(thebits : TBits_1); inline;
  55341. begin
  55342. if thebits = 0 then
  55343. pTDefRegMap(@Self)^.clr := $00000002
  55344. else
  55345. pTDefRegMap(@Self)^.&set := $00000002;
  55346. end;
  55347. function TETH_ETHIRQ.getRXBUFNA : TBits_1; inline;
  55348. begin
  55349. getRXBUFNA := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55350. end;
  55351. procedure TETH_ETHIRQ.setTXABORT; inline;
  55352. begin
  55353. pTDefRegMap(@Self)^.&set := $00000004;
  55354. end;
  55355. procedure TETH_ETHIRQ.clearTXABORT; inline;
  55356. begin
  55357. pTDefRegMap(@Self)^.clr := $00000004;
  55358. end;
  55359. procedure TETH_ETHIRQ.setTXABORT(thebits : TBits_1); inline;
  55360. begin
  55361. if thebits = 0 then
  55362. pTDefRegMap(@Self)^.clr := $00000004
  55363. else
  55364. pTDefRegMap(@Self)^.&set := $00000004;
  55365. end;
  55366. function TETH_ETHIRQ.getTXABORT : TBits_1; inline;
  55367. begin
  55368. getTXABORT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55369. end;
  55370. procedure TETH_ETHIRQ.setTXDONE; inline;
  55371. begin
  55372. pTDefRegMap(@Self)^.&set := $00000008;
  55373. end;
  55374. procedure TETH_ETHIRQ.clearTXDONE; inline;
  55375. begin
  55376. pTDefRegMap(@Self)^.clr := $00000008;
  55377. end;
  55378. procedure TETH_ETHIRQ.setTXDONE(thebits : TBits_1); inline;
  55379. begin
  55380. if thebits = 0 then
  55381. pTDefRegMap(@Self)^.clr := $00000008
  55382. else
  55383. pTDefRegMap(@Self)^.&set := $00000008;
  55384. end;
  55385. function TETH_ETHIRQ.getTXDONE : TBits_1; inline;
  55386. begin
  55387. getTXDONE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55388. end;
  55389. procedure TETH_ETHIRQ.setRXACT; inline;
  55390. begin
  55391. pTDefRegMap(@Self)^.&set := $00000020;
  55392. end;
  55393. procedure TETH_ETHIRQ.clearRXACT; inline;
  55394. begin
  55395. pTDefRegMap(@Self)^.clr := $00000020;
  55396. end;
  55397. procedure TETH_ETHIRQ.setRXACT(thebits : TBits_1); inline;
  55398. begin
  55399. if thebits = 0 then
  55400. pTDefRegMap(@Self)^.clr := $00000020
  55401. else
  55402. pTDefRegMap(@Self)^.&set := $00000020;
  55403. end;
  55404. function TETH_ETHIRQ.getRXACT : TBits_1; inline;
  55405. begin
  55406. getRXACT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55407. end;
  55408. procedure TETH_ETHIRQ.setPKTPEND; inline;
  55409. begin
  55410. pTDefRegMap(@Self)^.&set := $00000040;
  55411. end;
  55412. procedure TETH_ETHIRQ.clearPKTPEND; inline;
  55413. begin
  55414. pTDefRegMap(@Self)^.clr := $00000040;
  55415. end;
  55416. procedure TETH_ETHIRQ.setPKTPEND(thebits : TBits_1); inline;
  55417. begin
  55418. if thebits = 0 then
  55419. pTDefRegMap(@Self)^.clr := $00000040
  55420. else
  55421. pTDefRegMap(@Self)^.&set := $00000040;
  55422. end;
  55423. function TETH_ETHIRQ.getPKTPEND : TBits_1; inline;
  55424. begin
  55425. getPKTPEND := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55426. end;
  55427. procedure TETH_ETHIRQ.setRXDONE; inline;
  55428. begin
  55429. pTDefRegMap(@Self)^.&set := $00000080;
  55430. end;
  55431. procedure TETH_ETHIRQ.clearRXDONE; inline;
  55432. begin
  55433. pTDefRegMap(@Self)^.clr := $00000080;
  55434. end;
  55435. procedure TETH_ETHIRQ.setRXDONE(thebits : TBits_1); inline;
  55436. begin
  55437. if thebits = 0 then
  55438. pTDefRegMap(@Self)^.clr := $00000080
  55439. else
  55440. pTDefRegMap(@Self)^.&set := $00000080;
  55441. end;
  55442. function TETH_ETHIRQ.getRXDONE : TBits_1; inline;
  55443. begin
  55444. getRXDONE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55445. end;
  55446. procedure TETH_ETHIRQ.setFWMARK; inline;
  55447. begin
  55448. pTDefRegMap(@Self)^.&set := $00000100;
  55449. end;
  55450. procedure TETH_ETHIRQ.clearFWMARK; inline;
  55451. begin
  55452. pTDefRegMap(@Self)^.clr := $00000100;
  55453. end;
  55454. procedure TETH_ETHIRQ.setFWMARK(thebits : TBits_1); inline;
  55455. begin
  55456. if thebits = 0 then
  55457. pTDefRegMap(@Self)^.clr := $00000100
  55458. else
  55459. pTDefRegMap(@Self)^.&set := $00000100;
  55460. end;
  55461. function TETH_ETHIRQ.getFWMARK : TBits_1; inline;
  55462. begin
  55463. getFWMARK := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55464. end;
  55465. procedure TETH_ETHIRQ.setEWMARK; inline;
  55466. begin
  55467. pTDefRegMap(@Self)^.&set := $00000200;
  55468. end;
  55469. procedure TETH_ETHIRQ.clearEWMARK; inline;
  55470. begin
  55471. pTDefRegMap(@Self)^.clr := $00000200;
  55472. end;
  55473. procedure TETH_ETHIRQ.setEWMARK(thebits : TBits_1); inline;
  55474. begin
  55475. if thebits = 0 then
  55476. pTDefRegMap(@Self)^.clr := $00000200
  55477. else
  55478. pTDefRegMap(@Self)^.&set := $00000200;
  55479. end;
  55480. function TETH_ETHIRQ.getEWMARK : TBits_1; inline;
  55481. begin
  55482. getEWMARK := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55483. end;
  55484. procedure TETH_ETHIRQ.setRXBUSE; inline;
  55485. begin
  55486. pTDefRegMap(@Self)^.&set := $00002000;
  55487. end;
  55488. procedure TETH_ETHIRQ.clearRXBUSE; inline;
  55489. begin
  55490. pTDefRegMap(@Self)^.clr := $00002000;
  55491. end;
  55492. procedure TETH_ETHIRQ.setRXBUSE(thebits : TBits_1); inline;
  55493. begin
  55494. if thebits = 0 then
  55495. pTDefRegMap(@Self)^.clr := $00002000
  55496. else
  55497. pTDefRegMap(@Self)^.&set := $00002000;
  55498. end;
  55499. function TETH_ETHIRQ.getRXBUSE : TBits_1; inline;
  55500. begin
  55501. getRXBUSE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55502. end;
  55503. procedure TETH_ETHIRQ.setTXBUSE; inline;
  55504. begin
  55505. pTDefRegMap(@Self)^.&set := $00004000;
  55506. end;
  55507. procedure TETH_ETHIRQ.clearTXBUSE; inline;
  55508. begin
  55509. pTDefRegMap(@Self)^.clr := $00004000;
  55510. end;
  55511. procedure TETH_ETHIRQ.setTXBUSE(thebits : TBits_1); inline;
  55512. begin
  55513. if thebits = 0 then
  55514. pTDefRegMap(@Self)^.clr := $00004000
  55515. else
  55516. pTDefRegMap(@Self)^.&set := $00004000;
  55517. end;
  55518. function TETH_ETHIRQ.getTXBUSE : TBits_1; inline;
  55519. begin
  55520. getTXBUSE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55521. end;
  55522. procedure TETH_ETHIRQ.setw(thebits : TBits_32); inline;
  55523. begin
  55524. pTDefRegMap(@Self)^.val := thebits;
  55525. end;
  55526. function TETH_ETHIRQ.getw : TBits_32; inline;
  55527. begin
  55528. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55529. end;
  55530. procedure TETH_ETHSTAT.setRXBUSY; inline;
  55531. begin
  55532. pTDefRegMap(@Self)^.&set := $00000020;
  55533. end;
  55534. procedure TETH_ETHSTAT.clearRXBUSY; inline;
  55535. begin
  55536. pTDefRegMap(@Self)^.clr := $00000020;
  55537. end;
  55538. procedure TETH_ETHSTAT.setRXBUSY(thebits : TBits_1); inline;
  55539. begin
  55540. if thebits = 0 then
  55541. pTDefRegMap(@Self)^.clr := $00000020
  55542. else
  55543. pTDefRegMap(@Self)^.&set := $00000020;
  55544. end;
  55545. function TETH_ETHSTAT.getRXBUSY : TBits_1; inline;
  55546. begin
  55547. getRXBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55548. end;
  55549. procedure TETH_ETHSTAT.setTXBUSY; inline;
  55550. begin
  55551. pTDefRegMap(@Self)^.&set := $00000040;
  55552. end;
  55553. procedure TETH_ETHSTAT.clearTXBUSY; inline;
  55554. begin
  55555. pTDefRegMap(@Self)^.clr := $00000040;
  55556. end;
  55557. procedure TETH_ETHSTAT.setTXBUSY(thebits : TBits_1); inline;
  55558. begin
  55559. if thebits = 0 then
  55560. pTDefRegMap(@Self)^.clr := $00000040
  55561. else
  55562. pTDefRegMap(@Self)^.&set := $00000040;
  55563. end;
  55564. function TETH_ETHSTAT.getTXBUSY : TBits_1; inline;
  55565. begin
  55566. getTXBUSY := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55567. end;
  55568. procedure TETH_ETHSTAT.setBUSY; inline;
  55569. begin
  55570. pTDefRegMap(@Self)^.&set := $00000080;
  55571. end;
  55572. procedure TETH_ETHSTAT.clearBUSY; inline;
  55573. begin
  55574. pTDefRegMap(@Self)^.clr := $00000080;
  55575. end;
  55576. procedure TETH_ETHSTAT.setBUSY(thebits : TBits_1); inline;
  55577. begin
  55578. if thebits = 0 then
  55579. pTDefRegMap(@Self)^.clr := $00000080
  55580. else
  55581. pTDefRegMap(@Self)^.&set := $00000080;
  55582. end;
  55583. function TETH_ETHSTAT.getBUSY : TBits_1; inline;
  55584. begin
  55585. getBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55586. end;
  55587. procedure TETH_ETHSTAT.setBUFCNT(thebits : TBits_8); inline;
  55588. begin
  55589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  55590. end;
  55591. function TETH_ETHSTAT.getBUFCNT : TBits_8; inline;
  55592. begin
  55593. getBUFCNT := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  55594. end;
  55595. procedure TETH_ETHSTAT.setETHBUSY; inline;
  55596. begin
  55597. pTDefRegMap(@Self)^.&set := $00000080;
  55598. end;
  55599. procedure TETH_ETHSTAT.clearETHBUSY; inline;
  55600. begin
  55601. pTDefRegMap(@Self)^.clr := $00000080;
  55602. end;
  55603. procedure TETH_ETHSTAT.setETHBUSY(thebits : TBits_1); inline;
  55604. begin
  55605. if thebits = 0 then
  55606. pTDefRegMap(@Self)^.clr := $00000080
  55607. else
  55608. pTDefRegMap(@Self)^.&set := $00000080;
  55609. end;
  55610. function TETH_ETHSTAT.getETHBUSY : TBits_1; inline;
  55611. begin
  55612. getETHBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55613. end;
  55614. procedure TETH_ETHSTAT.setw(thebits : TBits_32); inline;
  55615. begin
  55616. pTDefRegMap(@Self)^.val := thebits;
  55617. end;
  55618. function TETH_ETHSTAT.getw : TBits_32; inline;
  55619. begin
  55620. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55621. end;
  55622. procedure TETH_ETHRXOVFLOW.setRXOVFLWCNT(thebits : TBits_16); inline;
  55623. begin
  55624. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  55625. end;
  55626. function TETH_ETHRXOVFLOW.getRXOVFLWCNT : TBits_16; inline;
  55627. begin
  55628. getRXOVFLWCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  55629. end;
  55630. procedure TETH_ETHRXOVFLOW.setw(thebits : TBits_32); inline;
  55631. begin
  55632. pTDefRegMap(@Self)^.val := thebits;
  55633. end;
  55634. function TETH_ETHRXOVFLOW.getw : TBits_32; inline;
  55635. begin
  55636. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55637. end;
  55638. procedure TETH_ETHFRMTXOK.setFRMTXOKCNT(thebits : TBits_16); inline;
  55639. begin
  55640. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  55641. end;
  55642. function TETH_ETHFRMTXOK.getFRMTXOKCNT : TBits_16; inline;
  55643. begin
  55644. getFRMTXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  55645. end;
  55646. procedure TETH_ETHFRMTXOK.setw(thebits : TBits_32); inline;
  55647. begin
  55648. pTDefRegMap(@Self)^.val := thebits;
  55649. end;
  55650. function TETH_ETHFRMTXOK.getw : TBits_32; inline;
  55651. begin
  55652. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55653. end;
  55654. procedure TETH_ETHSCOLFRM.setSCOLFRMCNT(thebits : TBits_16); inline;
  55655. begin
  55656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  55657. end;
  55658. function TETH_ETHSCOLFRM.getSCOLFRMCNT : TBits_16; inline;
  55659. begin
  55660. getSCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  55661. end;
  55662. procedure TETH_ETHSCOLFRM.setw(thebits : TBits_32); inline;
  55663. begin
  55664. pTDefRegMap(@Self)^.val := thebits;
  55665. end;
  55666. function TETH_ETHSCOLFRM.getw : TBits_32; inline;
  55667. begin
  55668. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55669. end;
  55670. procedure TETH_ETHMCOLFRM.setMCOLFRMCNT(thebits : TBits_16); inline;
  55671. begin
  55672. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  55673. end;
  55674. function TETH_ETHMCOLFRM.getMCOLFRMCNT : TBits_16; inline;
  55675. begin
  55676. getMCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  55677. end;
  55678. procedure TETH_ETHMCOLFRM.setMCOLFRM_CNT(thebits : TBits_16); inline;
  55679. begin
  55680. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  55681. end;
  55682. function TETH_ETHMCOLFRM.getMCOLFRM_CNT : TBits_16; inline;
  55683. begin
  55684. getMCOLFRM_CNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  55685. end;
  55686. procedure TETH_ETHMCOLFRM.setw(thebits : TBits_32); inline;
  55687. begin
  55688. pTDefRegMap(@Self)^.val := thebits;
  55689. end;
  55690. function TETH_ETHMCOLFRM.getw : TBits_32; inline;
  55691. begin
  55692. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55693. end;
  55694. procedure TETH_ETHFRMRXOK.setFRMRXOKCNT(thebits : TBits_16); inline;
  55695. begin
  55696. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  55697. end;
  55698. function TETH_ETHFRMRXOK.getFRMRXOKCNT : TBits_16; inline;
  55699. begin
  55700. getFRMRXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  55701. end;
  55702. procedure TETH_ETHFRMRXOK.setw(thebits : TBits_32); inline;
  55703. begin
  55704. pTDefRegMap(@Self)^.val := thebits;
  55705. end;
  55706. function TETH_ETHFRMRXOK.getw : TBits_32; inline;
  55707. begin
  55708. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55709. end;
  55710. procedure TETH_ETHFCSERR.setFCSERRCNT(thebits : TBits_16); inline;
  55711. begin
  55712. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  55713. end;
  55714. function TETH_ETHFCSERR.getFCSERRCNT : TBits_16; inline;
  55715. begin
  55716. getFCSERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  55717. end;
  55718. procedure TETH_ETHFCSERR.setw(thebits : TBits_32); inline;
  55719. begin
  55720. pTDefRegMap(@Self)^.val := thebits;
  55721. end;
  55722. function TETH_ETHFCSERR.getw : TBits_32; inline;
  55723. begin
  55724. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55725. end;
  55726. procedure TETH_ETHALGNERR.setALGNERRCNT(thebits : TBits_16); inline;
  55727. begin
  55728. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  55729. end;
  55730. function TETH_ETHALGNERR.getALGNERRCNT : TBits_16; inline;
  55731. begin
  55732. getALGNERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  55733. end;
  55734. procedure TETH_ETHALGNERR.setw(thebits : TBits_32); inline;
  55735. begin
  55736. pTDefRegMap(@Self)^.val := thebits;
  55737. end;
  55738. function TETH_ETHALGNERR.getw : TBits_32; inline;
  55739. begin
  55740. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55741. end;
  55742. procedure TETH_EMAC1CFG1.setRXENABLE; inline;
  55743. begin
  55744. pTDefRegMap(@Self)^.&set := $00000001;
  55745. end;
  55746. procedure TETH_EMAC1CFG1.clearRXENABLE; inline;
  55747. begin
  55748. pTDefRegMap(@Self)^.clr := $00000001;
  55749. end;
  55750. procedure TETH_EMAC1CFG1.setRXENABLE(thebits : TBits_1); inline;
  55751. begin
  55752. if thebits = 0 then
  55753. pTDefRegMap(@Self)^.clr := $00000001
  55754. else
  55755. pTDefRegMap(@Self)^.&set := $00000001;
  55756. end;
  55757. function TETH_EMAC1CFG1.getRXENABLE : TBits_1; inline;
  55758. begin
  55759. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55760. end;
  55761. procedure TETH_EMAC1CFG1.setPASSALL; inline;
  55762. begin
  55763. pTDefRegMap(@Self)^.&set := $00000002;
  55764. end;
  55765. procedure TETH_EMAC1CFG1.clearPASSALL; inline;
  55766. begin
  55767. pTDefRegMap(@Self)^.clr := $00000002;
  55768. end;
  55769. procedure TETH_EMAC1CFG1.setPASSALL(thebits : TBits_1); inline;
  55770. begin
  55771. if thebits = 0 then
  55772. pTDefRegMap(@Self)^.clr := $00000002
  55773. else
  55774. pTDefRegMap(@Self)^.&set := $00000002;
  55775. end;
  55776. function TETH_EMAC1CFG1.getPASSALL : TBits_1; inline;
  55777. begin
  55778. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55779. end;
  55780. procedure TETH_EMAC1CFG1.setRXPAUSE; inline;
  55781. begin
  55782. pTDefRegMap(@Self)^.&set := $00000004;
  55783. end;
  55784. procedure TETH_EMAC1CFG1.clearRXPAUSE; inline;
  55785. begin
  55786. pTDefRegMap(@Self)^.clr := $00000004;
  55787. end;
  55788. procedure TETH_EMAC1CFG1.setRXPAUSE(thebits : TBits_1); inline;
  55789. begin
  55790. if thebits = 0 then
  55791. pTDefRegMap(@Self)^.clr := $00000004
  55792. else
  55793. pTDefRegMap(@Self)^.&set := $00000004;
  55794. end;
  55795. function TETH_EMAC1CFG1.getRXPAUSE : TBits_1; inline;
  55796. begin
  55797. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55798. end;
  55799. procedure TETH_EMAC1CFG1.setTXPAUSE; inline;
  55800. begin
  55801. pTDefRegMap(@Self)^.&set := $00000008;
  55802. end;
  55803. procedure TETH_EMAC1CFG1.clearTXPAUSE; inline;
  55804. begin
  55805. pTDefRegMap(@Self)^.clr := $00000008;
  55806. end;
  55807. procedure TETH_EMAC1CFG1.setTXPAUSE(thebits : TBits_1); inline;
  55808. begin
  55809. if thebits = 0 then
  55810. pTDefRegMap(@Self)^.clr := $00000008
  55811. else
  55812. pTDefRegMap(@Self)^.&set := $00000008;
  55813. end;
  55814. function TETH_EMAC1CFG1.getTXPAUSE : TBits_1; inline;
  55815. begin
  55816. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55817. end;
  55818. procedure TETH_EMAC1CFG1.setLOOPBACK; inline;
  55819. begin
  55820. pTDefRegMap(@Self)^.&set := $00000010;
  55821. end;
  55822. procedure TETH_EMAC1CFG1.clearLOOPBACK; inline;
  55823. begin
  55824. pTDefRegMap(@Self)^.clr := $00000010;
  55825. end;
  55826. procedure TETH_EMAC1CFG1.setLOOPBACK(thebits : TBits_1); inline;
  55827. begin
  55828. if thebits = 0 then
  55829. pTDefRegMap(@Self)^.clr := $00000010
  55830. else
  55831. pTDefRegMap(@Self)^.&set := $00000010;
  55832. end;
  55833. function TETH_EMAC1CFG1.getLOOPBACK : TBits_1; inline;
  55834. begin
  55835. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55836. end;
  55837. procedure TETH_EMAC1CFG1.setRESETTFUN; inline;
  55838. begin
  55839. pTDefRegMap(@Self)^.&set := $00000100;
  55840. end;
  55841. procedure TETH_EMAC1CFG1.clearRESETTFUN; inline;
  55842. begin
  55843. pTDefRegMap(@Self)^.clr := $00000100;
  55844. end;
  55845. procedure TETH_EMAC1CFG1.setRESETTFUN(thebits : TBits_1); inline;
  55846. begin
  55847. if thebits = 0 then
  55848. pTDefRegMap(@Self)^.clr := $00000100
  55849. else
  55850. pTDefRegMap(@Self)^.&set := $00000100;
  55851. end;
  55852. function TETH_EMAC1CFG1.getRESETTFUN : TBits_1; inline;
  55853. begin
  55854. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55855. end;
  55856. procedure TETH_EMAC1CFG1.setRESETTMCS; inline;
  55857. begin
  55858. pTDefRegMap(@Self)^.&set := $00000200;
  55859. end;
  55860. procedure TETH_EMAC1CFG1.clearRESETTMCS; inline;
  55861. begin
  55862. pTDefRegMap(@Self)^.clr := $00000200;
  55863. end;
  55864. procedure TETH_EMAC1CFG1.setRESETTMCS(thebits : TBits_1); inline;
  55865. begin
  55866. if thebits = 0 then
  55867. pTDefRegMap(@Self)^.clr := $00000200
  55868. else
  55869. pTDefRegMap(@Self)^.&set := $00000200;
  55870. end;
  55871. function TETH_EMAC1CFG1.getRESETTMCS : TBits_1; inline;
  55872. begin
  55873. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55874. end;
  55875. procedure TETH_EMAC1CFG1.setRESETRFUN; inline;
  55876. begin
  55877. pTDefRegMap(@Self)^.&set := $00000400;
  55878. end;
  55879. procedure TETH_EMAC1CFG1.clearRESETRFUN; inline;
  55880. begin
  55881. pTDefRegMap(@Self)^.clr := $00000400;
  55882. end;
  55883. procedure TETH_EMAC1CFG1.setRESETRFUN(thebits : TBits_1); inline;
  55884. begin
  55885. if thebits = 0 then
  55886. pTDefRegMap(@Self)^.clr := $00000400
  55887. else
  55888. pTDefRegMap(@Self)^.&set := $00000400;
  55889. end;
  55890. function TETH_EMAC1CFG1.getRESETRFUN : TBits_1; inline;
  55891. begin
  55892. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55893. end;
  55894. procedure TETH_EMAC1CFG1.setRESETRMCS; inline;
  55895. begin
  55896. pTDefRegMap(@Self)^.&set := $00000800;
  55897. end;
  55898. procedure TETH_EMAC1CFG1.clearRESETRMCS; inline;
  55899. begin
  55900. pTDefRegMap(@Self)^.clr := $00000800;
  55901. end;
  55902. procedure TETH_EMAC1CFG1.setRESETRMCS(thebits : TBits_1); inline;
  55903. begin
  55904. if thebits = 0 then
  55905. pTDefRegMap(@Self)^.clr := $00000800
  55906. else
  55907. pTDefRegMap(@Self)^.&set := $00000800;
  55908. end;
  55909. function TETH_EMAC1CFG1.getRESETRMCS : TBits_1; inline;
  55910. begin
  55911. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55912. end;
  55913. procedure TETH_EMAC1CFG1.setSIMRESET; inline;
  55914. begin
  55915. pTDefRegMap(@Self)^.&set := $00004000;
  55916. end;
  55917. procedure TETH_EMAC1CFG1.clearSIMRESET; inline;
  55918. begin
  55919. pTDefRegMap(@Self)^.clr := $00004000;
  55920. end;
  55921. procedure TETH_EMAC1CFG1.setSIMRESET(thebits : TBits_1); inline;
  55922. begin
  55923. if thebits = 0 then
  55924. pTDefRegMap(@Self)^.clr := $00004000
  55925. else
  55926. pTDefRegMap(@Self)^.&set := $00004000;
  55927. end;
  55928. function TETH_EMAC1CFG1.getSIMRESET : TBits_1; inline;
  55929. begin
  55930. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55931. end;
  55932. procedure TETH_EMAC1CFG1.setSOFTRESET; inline;
  55933. begin
  55934. pTDefRegMap(@Self)^.&set := $00008000;
  55935. end;
  55936. procedure TETH_EMAC1CFG1.clearSOFTRESET; inline;
  55937. begin
  55938. pTDefRegMap(@Self)^.clr := $00008000;
  55939. end;
  55940. procedure TETH_EMAC1CFG1.setSOFTRESET(thebits : TBits_1); inline;
  55941. begin
  55942. if thebits = 0 then
  55943. pTDefRegMap(@Self)^.clr := $00008000
  55944. else
  55945. pTDefRegMap(@Self)^.&set := $00008000;
  55946. end;
  55947. function TETH_EMAC1CFG1.getSOFTRESET : TBits_1; inline;
  55948. begin
  55949. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55950. end;
  55951. procedure TETH_EMAC1CFG1.setw(thebits : TBits_32); inline;
  55952. begin
  55953. pTDefRegMap(@Self)^.val := thebits;
  55954. end;
  55955. function TETH_EMAC1CFG1.getw : TBits_32; inline;
  55956. begin
  55957. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55958. end;
  55959. procedure TETH_EMACxCFG1.setRXENABLE; inline;
  55960. begin
  55961. pTDefRegMap(@Self)^.&set := $00000001;
  55962. end;
  55963. procedure TETH_EMACxCFG1.clearRXENABLE; inline;
  55964. begin
  55965. pTDefRegMap(@Self)^.clr := $00000001;
  55966. end;
  55967. procedure TETH_EMACxCFG1.setRXENABLE(thebits : TBits_1); inline;
  55968. begin
  55969. if thebits = 0 then
  55970. pTDefRegMap(@Self)^.clr := $00000001
  55971. else
  55972. pTDefRegMap(@Self)^.&set := $00000001;
  55973. end;
  55974. function TETH_EMACxCFG1.getRXENABLE : TBits_1; inline;
  55975. begin
  55976. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55977. end;
  55978. procedure TETH_EMACxCFG1.setPASSALL; inline;
  55979. begin
  55980. pTDefRegMap(@Self)^.&set := $00000002;
  55981. end;
  55982. procedure TETH_EMACxCFG1.clearPASSALL; inline;
  55983. begin
  55984. pTDefRegMap(@Self)^.clr := $00000002;
  55985. end;
  55986. procedure TETH_EMACxCFG1.setPASSALL(thebits : TBits_1); inline;
  55987. begin
  55988. if thebits = 0 then
  55989. pTDefRegMap(@Self)^.clr := $00000002
  55990. else
  55991. pTDefRegMap(@Self)^.&set := $00000002;
  55992. end;
  55993. function TETH_EMACxCFG1.getPASSALL : TBits_1; inline;
  55994. begin
  55995. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55996. end;
  55997. procedure TETH_EMACxCFG1.setRXPAUSE; inline;
  55998. begin
  55999. pTDefRegMap(@Self)^.&set := $00000004;
  56000. end;
  56001. procedure TETH_EMACxCFG1.clearRXPAUSE; inline;
  56002. begin
  56003. pTDefRegMap(@Self)^.clr := $00000004;
  56004. end;
  56005. procedure TETH_EMACxCFG1.setRXPAUSE(thebits : TBits_1); inline;
  56006. begin
  56007. if thebits = 0 then
  56008. pTDefRegMap(@Self)^.clr := $00000004
  56009. else
  56010. pTDefRegMap(@Self)^.&set := $00000004;
  56011. end;
  56012. function TETH_EMACxCFG1.getRXPAUSE : TBits_1; inline;
  56013. begin
  56014. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56015. end;
  56016. procedure TETH_EMACxCFG1.setTXPAUSE; inline;
  56017. begin
  56018. pTDefRegMap(@Self)^.&set := $00000008;
  56019. end;
  56020. procedure TETH_EMACxCFG1.clearTXPAUSE; inline;
  56021. begin
  56022. pTDefRegMap(@Self)^.clr := $00000008;
  56023. end;
  56024. procedure TETH_EMACxCFG1.setTXPAUSE(thebits : TBits_1); inline;
  56025. begin
  56026. if thebits = 0 then
  56027. pTDefRegMap(@Self)^.clr := $00000008
  56028. else
  56029. pTDefRegMap(@Self)^.&set := $00000008;
  56030. end;
  56031. function TETH_EMACxCFG1.getTXPAUSE : TBits_1; inline;
  56032. begin
  56033. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56034. end;
  56035. procedure TETH_EMACxCFG1.setLOOPBACK; inline;
  56036. begin
  56037. pTDefRegMap(@Self)^.&set := $00000010;
  56038. end;
  56039. procedure TETH_EMACxCFG1.clearLOOPBACK; inline;
  56040. begin
  56041. pTDefRegMap(@Self)^.clr := $00000010;
  56042. end;
  56043. procedure TETH_EMACxCFG1.setLOOPBACK(thebits : TBits_1); inline;
  56044. begin
  56045. if thebits = 0 then
  56046. pTDefRegMap(@Self)^.clr := $00000010
  56047. else
  56048. pTDefRegMap(@Self)^.&set := $00000010;
  56049. end;
  56050. function TETH_EMACxCFG1.getLOOPBACK : TBits_1; inline;
  56051. begin
  56052. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56053. end;
  56054. procedure TETH_EMACxCFG1.setRESETTFUN; inline;
  56055. begin
  56056. pTDefRegMap(@Self)^.&set := $00000100;
  56057. end;
  56058. procedure TETH_EMACxCFG1.clearRESETTFUN; inline;
  56059. begin
  56060. pTDefRegMap(@Self)^.clr := $00000100;
  56061. end;
  56062. procedure TETH_EMACxCFG1.setRESETTFUN(thebits : TBits_1); inline;
  56063. begin
  56064. if thebits = 0 then
  56065. pTDefRegMap(@Self)^.clr := $00000100
  56066. else
  56067. pTDefRegMap(@Self)^.&set := $00000100;
  56068. end;
  56069. function TETH_EMACxCFG1.getRESETTFUN : TBits_1; inline;
  56070. begin
  56071. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56072. end;
  56073. procedure TETH_EMACxCFG1.setRESETTMCS; inline;
  56074. begin
  56075. pTDefRegMap(@Self)^.&set := $00000200;
  56076. end;
  56077. procedure TETH_EMACxCFG1.clearRESETTMCS; inline;
  56078. begin
  56079. pTDefRegMap(@Self)^.clr := $00000200;
  56080. end;
  56081. procedure TETH_EMACxCFG1.setRESETTMCS(thebits : TBits_1); inline;
  56082. begin
  56083. if thebits = 0 then
  56084. pTDefRegMap(@Self)^.clr := $00000200
  56085. else
  56086. pTDefRegMap(@Self)^.&set := $00000200;
  56087. end;
  56088. function TETH_EMACxCFG1.getRESETTMCS : TBits_1; inline;
  56089. begin
  56090. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56091. end;
  56092. procedure TETH_EMACxCFG1.setRESETRFUN; inline;
  56093. begin
  56094. pTDefRegMap(@Self)^.&set := $00000400;
  56095. end;
  56096. procedure TETH_EMACxCFG1.clearRESETRFUN; inline;
  56097. begin
  56098. pTDefRegMap(@Self)^.clr := $00000400;
  56099. end;
  56100. procedure TETH_EMACxCFG1.setRESETRFUN(thebits : TBits_1); inline;
  56101. begin
  56102. if thebits = 0 then
  56103. pTDefRegMap(@Self)^.clr := $00000400
  56104. else
  56105. pTDefRegMap(@Self)^.&set := $00000400;
  56106. end;
  56107. function TETH_EMACxCFG1.getRESETRFUN : TBits_1; inline;
  56108. begin
  56109. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  56110. end;
  56111. procedure TETH_EMACxCFG1.setRESETRMCS; inline;
  56112. begin
  56113. pTDefRegMap(@Self)^.&set := $00000800;
  56114. end;
  56115. procedure TETH_EMACxCFG1.clearRESETRMCS; inline;
  56116. begin
  56117. pTDefRegMap(@Self)^.clr := $00000800;
  56118. end;
  56119. procedure TETH_EMACxCFG1.setRESETRMCS(thebits : TBits_1); inline;
  56120. begin
  56121. if thebits = 0 then
  56122. pTDefRegMap(@Self)^.clr := $00000800
  56123. else
  56124. pTDefRegMap(@Self)^.&set := $00000800;
  56125. end;
  56126. function TETH_EMACxCFG1.getRESETRMCS : TBits_1; inline;
  56127. begin
  56128. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  56129. end;
  56130. procedure TETH_EMACxCFG1.setSIMRESET; inline;
  56131. begin
  56132. pTDefRegMap(@Self)^.&set := $00004000;
  56133. end;
  56134. procedure TETH_EMACxCFG1.clearSIMRESET; inline;
  56135. begin
  56136. pTDefRegMap(@Self)^.clr := $00004000;
  56137. end;
  56138. procedure TETH_EMACxCFG1.setSIMRESET(thebits : TBits_1); inline;
  56139. begin
  56140. if thebits = 0 then
  56141. pTDefRegMap(@Self)^.clr := $00004000
  56142. else
  56143. pTDefRegMap(@Self)^.&set := $00004000;
  56144. end;
  56145. function TETH_EMACxCFG1.getSIMRESET : TBits_1; inline;
  56146. begin
  56147. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56148. end;
  56149. procedure TETH_EMACxCFG1.setSOFTRESET; inline;
  56150. begin
  56151. pTDefRegMap(@Self)^.&set := $00008000;
  56152. end;
  56153. procedure TETH_EMACxCFG1.clearSOFTRESET; inline;
  56154. begin
  56155. pTDefRegMap(@Self)^.clr := $00008000;
  56156. end;
  56157. procedure TETH_EMACxCFG1.setSOFTRESET(thebits : TBits_1); inline;
  56158. begin
  56159. if thebits = 0 then
  56160. pTDefRegMap(@Self)^.clr := $00008000
  56161. else
  56162. pTDefRegMap(@Self)^.&set := $00008000;
  56163. end;
  56164. function TETH_EMACxCFG1.getSOFTRESET : TBits_1; inline;
  56165. begin
  56166. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56167. end;
  56168. procedure TETH_EMACxCFG1.setw(thebits : TBits_32); inline;
  56169. begin
  56170. pTDefRegMap(@Self)^.val := thebits;
  56171. end;
  56172. function TETH_EMACxCFG1.getw : TBits_32; inline;
  56173. begin
  56174. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56175. end;
  56176. procedure TETH_EMAC1CFG2.setFULLDPLX; inline;
  56177. begin
  56178. pTDefRegMap(@Self)^.&set := $00000001;
  56179. end;
  56180. procedure TETH_EMAC1CFG2.clearFULLDPLX; inline;
  56181. begin
  56182. pTDefRegMap(@Self)^.clr := $00000001;
  56183. end;
  56184. procedure TETH_EMAC1CFG2.setFULLDPLX(thebits : TBits_1); inline;
  56185. begin
  56186. if thebits = 0 then
  56187. pTDefRegMap(@Self)^.clr := $00000001
  56188. else
  56189. pTDefRegMap(@Self)^.&set := $00000001;
  56190. end;
  56191. function TETH_EMAC1CFG2.getFULLDPLX : TBits_1; inline;
  56192. begin
  56193. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56194. end;
  56195. procedure TETH_EMAC1CFG2.setLENGTHCK; inline;
  56196. begin
  56197. pTDefRegMap(@Self)^.&set := $00000002;
  56198. end;
  56199. procedure TETH_EMAC1CFG2.clearLENGTHCK; inline;
  56200. begin
  56201. pTDefRegMap(@Self)^.clr := $00000002;
  56202. end;
  56203. procedure TETH_EMAC1CFG2.setLENGTHCK(thebits : TBits_1); inline;
  56204. begin
  56205. if thebits = 0 then
  56206. pTDefRegMap(@Self)^.clr := $00000002
  56207. else
  56208. pTDefRegMap(@Self)^.&set := $00000002;
  56209. end;
  56210. function TETH_EMAC1CFG2.getLENGTHCK : TBits_1; inline;
  56211. begin
  56212. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56213. end;
  56214. procedure TETH_EMAC1CFG2.setHUGEFRM; inline;
  56215. begin
  56216. pTDefRegMap(@Self)^.&set := $00000004;
  56217. end;
  56218. procedure TETH_EMAC1CFG2.clearHUGEFRM; inline;
  56219. begin
  56220. pTDefRegMap(@Self)^.clr := $00000004;
  56221. end;
  56222. procedure TETH_EMAC1CFG2.setHUGEFRM(thebits : TBits_1); inline;
  56223. begin
  56224. if thebits = 0 then
  56225. pTDefRegMap(@Self)^.clr := $00000004
  56226. else
  56227. pTDefRegMap(@Self)^.&set := $00000004;
  56228. end;
  56229. function TETH_EMAC1CFG2.getHUGEFRM : TBits_1; inline;
  56230. begin
  56231. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56232. end;
  56233. procedure TETH_EMAC1CFG2.setDELAYCRC; inline;
  56234. begin
  56235. pTDefRegMap(@Self)^.&set := $00000008;
  56236. end;
  56237. procedure TETH_EMAC1CFG2.clearDELAYCRC; inline;
  56238. begin
  56239. pTDefRegMap(@Self)^.clr := $00000008;
  56240. end;
  56241. procedure TETH_EMAC1CFG2.setDELAYCRC(thebits : TBits_1); inline;
  56242. begin
  56243. if thebits = 0 then
  56244. pTDefRegMap(@Self)^.clr := $00000008
  56245. else
  56246. pTDefRegMap(@Self)^.&set := $00000008;
  56247. end;
  56248. function TETH_EMAC1CFG2.getDELAYCRC : TBits_1; inline;
  56249. begin
  56250. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56251. end;
  56252. procedure TETH_EMAC1CFG2.setCRCENABLE; inline;
  56253. begin
  56254. pTDefRegMap(@Self)^.&set := $00000010;
  56255. end;
  56256. procedure TETH_EMAC1CFG2.clearCRCENABLE; inline;
  56257. begin
  56258. pTDefRegMap(@Self)^.clr := $00000010;
  56259. end;
  56260. procedure TETH_EMAC1CFG2.setCRCENABLE(thebits : TBits_1); inline;
  56261. begin
  56262. if thebits = 0 then
  56263. pTDefRegMap(@Self)^.clr := $00000010
  56264. else
  56265. pTDefRegMap(@Self)^.&set := $00000010;
  56266. end;
  56267. function TETH_EMAC1CFG2.getCRCENABLE : TBits_1; inline;
  56268. begin
  56269. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56270. end;
  56271. procedure TETH_EMAC1CFG2.setPADENABLE; inline;
  56272. begin
  56273. pTDefRegMap(@Self)^.&set := $00000020;
  56274. end;
  56275. procedure TETH_EMAC1CFG2.clearPADENABLE; inline;
  56276. begin
  56277. pTDefRegMap(@Self)^.clr := $00000020;
  56278. end;
  56279. procedure TETH_EMAC1CFG2.setPADENABLE(thebits : TBits_1); inline;
  56280. begin
  56281. if thebits = 0 then
  56282. pTDefRegMap(@Self)^.clr := $00000020
  56283. else
  56284. pTDefRegMap(@Self)^.&set := $00000020;
  56285. end;
  56286. function TETH_EMAC1CFG2.getPADENABLE : TBits_1; inline;
  56287. begin
  56288. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56289. end;
  56290. procedure TETH_EMAC1CFG2.setVLANPAD; inline;
  56291. begin
  56292. pTDefRegMap(@Self)^.&set := $00000040;
  56293. end;
  56294. procedure TETH_EMAC1CFG2.clearVLANPAD; inline;
  56295. begin
  56296. pTDefRegMap(@Self)^.clr := $00000040;
  56297. end;
  56298. procedure TETH_EMAC1CFG2.setVLANPAD(thebits : TBits_1); inline;
  56299. begin
  56300. if thebits = 0 then
  56301. pTDefRegMap(@Self)^.clr := $00000040
  56302. else
  56303. pTDefRegMap(@Self)^.&set := $00000040;
  56304. end;
  56305. function TETH_EMAC1CFG2.getVLANPAD : TBits_1; inline;
  56306. begin
  56307. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56308. end;
  56309. procedure TETH_EMAC1CFG2.setAUTOPAD; inline;
  56310. begin
  56311. pTDefRegMap(@Self)^.&set := $00000080;
  56312. end;
  56313. procedure TETH_EMAC1CFG2.clearAUTOPAD; inline;
  56314. begin
  56315. pTDefRegMap(@Self)^.clr := $00000080;
  56316. end;
  56317. procedure TETH_EMAC1CFG2.setAUTOPAD(thebits : TBits_1); inline;
  56318. begin
  56319. if thebits = 0 then
  56320. pTDefRegMap(@Self)^.clr := $00000080
  56321. else
  56322. pTDefRegMap(@Self)^.&set := $00000080;
  56323. end;
  56324. function TETH_EMAC1CFG2.getAUTOPAD : TBits_1; inline;
  56325. begin
  56326. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56327. end;
  56328. procedure TETH_EMAC1CFG2.setPUREPRE; inline;
  56329. begin
  56330. pTDefRegMap(@Self)^.&set := $00000100;
  56331. end;
  56332. procedure TETH_EMAC1CFG2.clearPUREPRE; inline;
  56333. begin
  56334. pTDefRegMap(@Self)^.clr := $00000100;
  56335. end;
  56336. procedure TETH_EMAC1CFG2.setPUREPRE(thebits : TBits_1); inline;
  56337. begin
  56338. if thebits = 0 then
  56339. pTDefRegMap(@Self)^.clr := $00000100
  56340. else
  56341. pTDefRegMap(@Self)^.&set := $00000100;
  56342. end;
  56343. function TETH_EMAC1CFG2.getPUREPRE : TBits_1; inline;
  56344. begin
  56345. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56346. end;
  56347. procedure TETH_EMAC1CFG2.setLONGPRE; inline;
  56348. begin
  56349. pTDefRegMap(@Self)^.&set := $00000200;
  56350. end;
  56351. procedure TETH_EMAC1CFG2.clearLONGPRE; inline;
  56352. begin
  56353. pTDefRegMap(@Self)^.clr := $00000200;
  56354. end;
  56355. procedure TETH_EMAC1CFG2.setLONGPRE(thebits : TBits_1); inline;
  56356. begin
  56357. if thebits = 0 then
  56358. pTDefRegMap(@Self)^.clr := $00000200
  56359. else
  56360. pTDefRegMap(@Self)^.&set := $00000200;
  56361. end;
  56362. function TETH_EMAC1CFG2.getLONGPRE : TBits_1; inline;
  56363. begin
  56364. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56365. end;
  56366. procedure TETH_EMAC1CFG2.setNOBKOFF; inline;
  56367. begin
  56368. pTDefRegMap(@Self)^.&set := $00001000;
  56369. end;
  56370. procedure TETH_EMAC1CFG2.clearNOBKOFF; inline;
  56371. begin
  56372. pTDefRegMap(@Self)^.clr := $00001000;
  56373. end;
  56374. procedure TETH_EMAC1CFG2.setNOBKOFF(thebits : TBits_1); inline;
  56375. begin
  56376. if thebits = 0 then
  56377. pTDefRegMap(@Self)^.clr := $00001000
  56378. else
  56379. pTDefRegMap(@Self)^.&set := $00001000;
  56380. end;
  56381. function TETH_EMAC1CFG2.getNOBKOFF : TBits_1; inline;
  56382. begin
  56383. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56384. end;
  56385. procedure TETH_EMAC1CFG2.setBPNOBKOFF; inline;
  56386. begin
  56387. pTDefRegMap(@Self)^.&set := $00002000;
  56388. end;
  56389. procedure TETH_EMAC1CFG2.clearBPNOBKOFF; inline;
  56390. begin
  56391. pTDefRegMap(@Self)^.clr := $00002000;
  56392. end;
  56393. procedure TETH_EMAC1CFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  56394. begin
  56395. if thebits = 0 then
  56396. pTDefRegMap(@Self)^.clr := $00002000
  56397. else
  56398. pTDefRegMap(@Self)^.&set := $00002000;
  56399. end;
  56400. function TETH_EMAC1CFG2.getBPNOBKOFF : TBits_1; inline;
  56401. begin
  56402. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56403. end;
  56404. procedure TETH_EMAC1CFG2.setEXCESSDFR; inline;
  56405. begin
  56406. pTDefRegMap(@Self)^.&set := $00004000;
  56407. end;
  56408. procedure TETH_EMAC1CFG2.clearEXCESSDFR; inline;
  56409. begin
  56410. pTDefRegMap(@Self)^.clr := $00004000;
  56411. end;
  56412. procedure TETH_EMAC1CFG2.setEXCESSDFR(thebits : TBits_1); inline;
  56413. begin
  56414. if thebits = 0 then
  56415. pTDefRegMap(@Self)^.clr := $00004000
  56416. else
  56417. pTDefRegMap(@Self)^.&set := $00004000;
  56418. end;
  56419. function TETH_EMAC1CFG2.getEXCESSDFR : TBits_1; inline;
  56420. begin
  56421. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56422. end;
  56423. procedure TETH_EMAC1CFG2.setw(thebits : TBits_32); inline;
  56424. begin
  56425. pTDefRegMap(@Self)^.val := thebits;
  56426. end;
  56427. function TETH_EMAC1CFG2.getw : TBits_32; inline;
  56428. begin
  56429. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56430. end;
  56431. procedure TETH_EMACxCFG2.setFULLDPLX; inline;
  56432. begin
  56433. pTDefRegMap(@Self)^.&set := $00000001;
  56434. end;
  56435. procedure TETH_EMACxCFG2.clearFULLDPLX; inline;
  56436. begin
  56437. pTDefRegMap(@Self)^.clr := $00000001;
  56438. end;
  56439. procedure TETH_EMACxCFG2.setFULLDPLX(thebits : TBits_1); inline;
  56440. begin
  56441. if thebits = 0 then
  56442. pTDefRegMap(@Self)^.clr := $00000001
  56443. else
  56444. pTDefRegMap(@Self)^.&set := $00000001;
  56445. end;
  56446. function TETH_EMACxCFG2.getFULLDPLX : TBits_1; inline;
  56447. begin
  56448. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56449. end;
  56450. procedure TETH_EMACxCFG2.setLENGTHCK; inline;
  56451. begin
  56452. pTDefRegMap(@Self)^.&set := $00000002;
  56453. end;
  56454. procedure TETH_EMACxCFG2.clearLENGTHCK; inline;
  56455. begin
  56456. pTDefRegMap(@Self)^.clr := $00000002;
  56457. end;
  56458. procedure TETH_EMACxCFG2.setLENGTHCK(thebits : TBits_1); inline;
  56459. begin
  56460. if thebits = 0 then
  56461. pTDefRegMap(@Self)^.clr := $00000002
  56462. else
  56463. pTDefRegMap(@Self)^.&set := $00000002;
  56464. end;
  56465. function TETH_EMACxCFG2.getLENGTHCK : TBits_1; inline;
  56466. begin
  56467. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56468. end;
  56469. procedure TETH_EMACxCFG2.setHUGEFRM; inline;
  56470. begin
  56471. pTDefRegMap(@Self)^.&set := $00000004;
  56472. end;
  56473. procedure TETH_EMACxCFG2.clearHUGEFRM; inline;
  56474. begin
  56475. pTDefRegMap(@Self)^.clr := $00000004;
  56476. end;
  56477. procedure TETH_EMACxCFG2.setHUGEFRM(thebits : TBits_1); inline;
  56478. begin
  56479. if thebits = 0 then
  56480. pTDefRegMap(@Self)^.clr := $00000004
  56481. else
  56482. pTDefRegMap(@Self)^.&set := $00000004;
  56483. end;
  56484. function TETH_EMACxCFG2.getHUGEFRM : TBits_1; inline;
  56485. begin
  56486. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56487. end;
  56488. procedure TETH_EMACxCFG2.setDELAYCRC; inline;
  56489. begin
  56490. pTDefRegMap(@Self)^.&set := $00000008;
  56491. end;
  56492. procedure TETH_EMACxCFG2.clearDELAYCRC; inline;
  56493. begin
  56494. pTDefRegMap(@Self)^.clr := $00000008;
  56495. end;
  56496. procedure TETH_EMACxCFG2.setDELAYCRC(thebits : TBits_1); inline;
  56497. begin
  56498. if thebits = 0 then
  56499. pTDefRegMap(@Self)^.clr := $00000008
  56500. else
  56501. pTDefRegMap(@Self)^.&set := $00000008;
  56502. end;
  56503. function TETH_EMACxCFG2.getDELAYCRC : TBits_1; inline;
  56504. begin
  56505. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56506. end;
  56507. procedure TETH_EMACxCFG2.setCRCENABLE; inline;
  56508. begin
  56509. pTDefRegMap(@Self)^.&set := $00000010;
  56510. end;
  56511. procedure TETH_EMACxCFG2.clearCRCENABLE; inline;
  56512. begin
  56513. pTDefRegMap(@Self)^.clr := $00000010;
  56514. end;
  56515. procedure TETH_EMACxCFG2.setCRCENABLE(thebits : TBits_1); inline;
  56516. begin
  56517. if thebits = 0 then
  56518. pTDefRegMap(@Self)^.clr := $00000010
  56519. else
  56520. pTDefRegMap(@Self)^.&set := $00000010;
  56521. end;
  56522. function TETH_EMACxCFG2.getCRCENABLE : TBits_1; inline;
  56523. begin
  56524. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56525. end;
  56526. procedure TETH_EMACxCFG2.setPADENABLE; inline;
  56527. begin
  56528. pTDefRegMap(@Self)^.&set := $00000020;
  56529. end;
  56530. procedure TETH_EMACxCFG2.clearPADENABLE; inline;
  56531. begin
  56532. pTDefRegMap(@Self)^.clr := $00000020;
  56533. end;
  56534. procedure TETH_EMACxCFG2.setPADENABLE(thebits : TBits_1); inline;
  56535. begin
  56536. if thebits = 0 then
  56537. pTDefRegMap(@Self)^.clr := $00000020
  56538. else
  56539. pTDefRegMap(@Self)^.&set := $00000020;
  56540. end;
  56541. function TETH_EMACxCFG2.getPADENABLE : TBits_1; inline;
  56542. begin
  56543. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56544. end;
  56545. procedure TETH_EMACxCFG2.setVLANPAD; inline;
  56546. begin
  56547. pTDefRegMap(@Self)^.&set := $00000040;
  56548. end;
  56549. procedure TETH_EMACxCFG2.clearVLANPAD; inline;
  56550. begin
  56551. pTDefRegMap(@Self)^.clr := $00000040;
  56552. end;
  56553. procedure TETH_EMACxCFG2.setVLANPAD(thebits : TBits_1); inline;
  56554. begin
  56555. if thebits = 0 then
  56556. pTDefRegMap(@Self)^.clr := $00000040
  56557. else
  56558. pTDefRegMap(@Self)^.&set := $00000040;
  56559. end;
  56560. function TETH_EMACxCFG2.getVLANPAD : TBits_1; inline;
  56561. begin
  56562. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56563. end;
  56564. procedure TETH_EMACxCFG2.setAUTOPAD; inline;
  56565. begin
  56566. pTDefRegMap(@Self)^.&set := $00000080;
  56567. end;
  56568. procedure TETH_EMACxCFG2.clearAUTOPAD; inline;
  56569. begin
  56570. pTDefRegMap(@Self)^.clr := $00000080;
  56571. end;
  56572. procedure TETH_EMACxCFG2.setAUTOPAD(thebits : TBits_1); inline;
  56573. begin
  56574. if thebits = 0 then
  56575. pTDefRegMap(@Self)^.clr := $00000080
  56576. else
  56577. pTDefRegMap(@Self)^.&set := $00000080;
  56578. end;
  56579. function TETH_EMACxCFG2.getAUTOPAD : TBits_1; inline;
  56580. begin
  56581. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56582. end;
  56583. procedure TETH_EMACxCFG2.setPUREPRE; inline;
  56584. begin
  56585. pTDefRegMap(@Self)^.&set := $00000100;
  56586. end;
  56587. procedure TETH_EMACxCFG2.clearPUREPRE; inline;
  56588. begin
  56589. pTDefRegMap(@Self)^.clr := $00000100;
  56590. end;
  56591. procedure TETH_EMACxCFG2.setPUREPRE(thebits : TBits_1); inline;
  56592. begin
  56593. if thebits = 0 then
  56594. pTDefRegMap(@Self)^.clr := $00000100
  56595. else
  56596. pTDefRegMap(@Self)^.&set := $00000100;
  56597. end;
  56598. function TETH_EMACxCFG2.getPUREPRE : TBits_1; inline;
  56599. begin
  56600. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56601. end;
  56602. procedure TETH_EMACxCFG2.setLONGPRE; inline;
  56603. begin
  56604. pTDefRegMap(@Self)^.&set := $00000200;
  56605. end;
  56606. procedure TETH_EMACxCFG2.clearLONGPRE; inline;
  56607. begin
  56608. pTDefRegMap(@Self)^.clr := $00000200;
  56609. end;
  56610. procedure TETH_EMACxCFG2.setLONGPRE(thebits : TBits_1); inline;
  56611. begin
  56612. if thebits = 0 then
  56613. pTDefRegMap(@Self)^.clr := $00000200
  56614. else
  56615. pTDefRegMap(@Self)^.&set := $00000200;
  56616. end;
  56617. function TETH_EMACxCFG2.getLONGPRE : TBits_1; inline;
  56618. begin
  56619. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56620. end;
  56621. procedure TETH_EMACxCFG2.setNOBKOFF; inline;
  56622. begin
  56623. pTDefRegMap(@Self)^.&set := $00001000;
  56624. end;
  56625. procedure TETH_EMACxCFG2.clearNOBKOFF; inline;
  56626. begin
  56627. pTDefRegMap(@Self)^.clr := $00001000;
  56628. end;
  56629. procedure TETH_EMACxCFG2.setNOBKOFF(thebits : TBits_1); inline;
  56630. begin
  56631. if thebits = 0 then
  56632. pTDefRegMap(@Self)^.clr := $00001000
  56633. else
  56634. pTDefRegMap(@Self)^.&set := $00001000;
  56635. end;
  56636. function TETH_EMACxCFG2.getNOBKOFF : TBits_1; inline;
  56637. begin
  56638. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56639. end;
  56640. procedure TETH_EMACxCFG2.setBPNOBKOFF; inline;
  56641. begin
  56642. pTDefRegMap(@Self)^.&set := $00002000;
  56643. end;
  56644. procedure TETH_EMACxCFG2.clearBPNOBKOFF; inline;
  56645. begin
  56646. pTDefRegMap(@Self)^.clr := $00002000;
  56647. end;
  56648. procedure TETH_EMACxCFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  56649. begin
  56650. if thebits = 0 then
  56651. pTDefRegMap(@Self)^.clr := $00002000
  56652. else
  56653. pTDefRegMap(@Self)^.&set := $00002000;
  56654. end;
  56655. function TETH_EMACxCFG2.getBPNOBKOFF : TBits_1; inline;
  56656. begin
  56657. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56658. end;
  56659. procedure TETH_EMACxCFG2.setEXCESSDFR; inline;
  56660. begin
  56661. pTDefRegMap(@Self)^.&set := $00004000;
  56662. end;
  56663. procedure TETH_EMACxCFG2.clearEXCESSDFR; inline;
  56664. begin
  56665. pTDefRegMap(@Self)^.clr := $00004000;
  56666. end;
  56667. procedure TETH_EMACxCFG2.setEXCESSDFR(thebits : TBits_1); inline;
  56668. begin
  56669. if thebits = 0 then
  56670. pTDefRegMap(@Self)^.clr := $00004000
  56671. else
  56672. pTDefRegMap(@Self)^.&set := $00004000;
  56673. end;
  56674. function TETH_EMACxCFG2.getEXCESSDFR : TBits_1; inline;
  56675. begin
  56676. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56677. end;
  56678. procedure TETH_EMACxCFG2.setw(thebits : TBits_32); inline;
  56679. begin
  56680. pTDefRegMap(@Self)^.val := thebits;
  56681. end;
  56682. function TETH_EMACxCFG2.getw : TBits_32; inline;
  56683. begin
  56684. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56685. end;
  56686. procedure TETH_EMAC1IPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  56687. begin
  56688. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  56689. end;
  56690. function TETH_EMAC1IPGT.getB2BIPKTGP : TBits_7; inline;
  56691. begin
  56692. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  56693. end;
  56694. procedure TETH_EMAC1IPGT.setw(thebits : TBits_32); inline;
  56695. begin
  56696. pTDefRegMap(@Self)^.val := thebits;
  56697. end;
  56698. function TETH_EMAC1IPGT.getw : TBits_32; inline;
  56699. begin
  56700. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56701. end;
  56702. procedure TETH_EMACxIPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  56703. begin
  56704. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  56705. end;
  56706. function TETH_EMACxIPGT.getB2BIPKTGP : TBits_7; inline;
  56707. begin
  56708. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  56709. end;
  56710. procedure TETH_EMACxIPGT.setw(thebits : TBits_32); inline;
  56711. begin
  56712. pTDefRegMap(@Self)^.val := thebits;
  56713. end;
  56714. function TETH_EMACxIPGT.getw : TBits_32; inline;
  56715. begin
  56716. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56717. end;
  56718. procedure TETH_EMAC1IPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  56719. begin
  56720. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  56721. end;
  56722. function TETH_EMAC1IPGR.getNB2BIPKTGP2 : TBits_7; inline;
  56723. begin
  56724. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  56725. end;
  56726. procedure TETH_EMAC1IPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  56727. begin
  56728. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  56729. end;
  56730. function TETH_EMAC1IPGR.getNB2BIPKTGP1 : TBits_7; inline;
  56731. begin
  56732. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  56733. end;
  56734. procedure TETH_EMAC1IPGR.setw(thebits : TBits_32); inline;
  56735. begin
  56736. pTDefRegMap(@Self)^.val := thebits;
  56737. end;
  56738. function TETH_EMAC1IPGR.getw : TBits_32; inline;
  56739. begin
  56740. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56741. end;
  56742. procedure TETH_EMACxIPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  56743. begin
  56744. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  56745. end;
  56746. function TETH_EMACxIPGR.getNB2BIPKTGP2 : TBits_7; inline;
  56747. begin
  56748. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  56749. end;
  56750. procedure TETH_EMACxIPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  56751. begin
  56752. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  56753. end;
  56754. function TETH_EMACxIPGR.getNB2BIPKTGP1 : TBits_7; inline;
  56755. begin
  56756. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  56757. end;
  56758. procedure TETH_EMACxIPGR.setw(thebits : TBits_32); inline;
  56759. begin
  56760. pTDefRegMap(@Self)^.val := thebits;
  56761. end;
  56762. function TETH_EMACxIPGR.getw : TBits_32; inline;
  56763. begin
  56764. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56765. end;
  56766. procedure TETH_EMAC1CLRT.setRETX(thebits : TBits_4); inline;
  56767. begin
  56768. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  56769. end;
  56770. function TETH_EMAC1CLRT.getRETX : TBits_4; inline;
  56771. begin
  56772. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  56773. end;
  56774. procedure TETH_EMAC1CLRT.setCWINDOW(thebits : TBits_6); inline;
  56775. begin
  56776. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  56777. end;
  56778. function TETH_EMAC1CLRT.getCWINDOW : TBits_6; inline;
  56779. begin
  56780. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  56781. end;
  56782. procedure TETH_EMAC1CLRT.setw(thebits : TBits_32); inline;
  56783. begin
  56784. pTDefRegMap(@Self)^.val := thebits;
  56785. end;
  56786. function TETH_EMAC1CLRT.getw : TBits_32; inline;
  56787. begin
  56788. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56789. end;
  56790. procedure TETH_EMACxCLRT.setRETX(thebits : TBits_4); inline;
  56791. begin
  56792. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  56793. end;
  56794. function TETH_EMACxCLRT.getRETX : TBits_4; inline;
  56795. begin
  56796. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  56797. end;
  56798. procedure TETH_EMACxCLRT.setCWINDOW(thebits : TBits_6); inline;
  56799. begin
  56800. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  56801. end;
  56802. function TETH_EMACxCLRT.getCWINDOW : TBits_6; inline;
  56803. begin
  56804. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  56805. end;
  56806. procedure TETH_EMACxCLRT.setw(thebits : TBits_32); inline;
  56807. begin
  56808. pTDefRegMap(@Self)^.val := thebits;
  56809. end;
  56810. function TETH_EMACxCLRT.getw : TBits_32; inline;
  56811. begin
  56812. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56813. end;
  56814. procedure TETH_EMAC1MAXF.setMACMAXF(thebits : TBits_16); inline;
  56815. begin
  56816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  56817. end;
  56818. function TETH_EMAC1MAXF.getMACMAXF : TBits_16; inline;
  56819. begin
  56820. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  56821. end;
  56822. procedure TETH_EMAC1MAXF.setw(thebits : TBits_32); inline;
  56823. begin
  56824. pTDefRegMap(@Self)^.val := thebits;
  56825. end;
  56826. function TETH_EMAC1MAXF.getw : TBits_32; inline;
  56827. begin
  56828. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56829. end;
  56830. procedure TETH_EMACxMAXF.setMACMAXF(thebits : TBits_16); inline;
  56831. begin
  56832. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  56833. end;
  56834. function TETH_EMACxMAXF.getMACMAXF : TBits_16; inline;
  56835. begin
  56836. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  56837. end;
  56838. procedure TETH_EMACxMAXF.setw(thebits : TBits_32); inline;
  56839. begin
  56840. pTDefRegMap(@Self)^.val := thebits;
  56841. end;
  56842. function TETH_EMACxMAXF.getw : TBits_32; inline;
  56843. begin
  56844. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56845. end;
  56846. procedure TETH_EMAC1SUPP.setSPEEDRMII; inline;
  56847. begin
  56848. pTDefRegMap(@Self)^.&set := $00000100;
  56849. end;
  56850. procedure TETH_EMAC1SUPP.clearSPEEDRMII; inline;
  56851. begin
  56852. pTDefRegMap(@Self)^.clr := $00000100;
  56853. end;
  56854. procedure TETH_EMAC1SUPP.setSPEEDRMII(thebits : TBits_1); inline;
  56855. begin
  56856. if thebits = 0 then
  56857. pTDefRegMap(@Self)^.clr := $00000100
  56858. else
  56859. pTDefRegMap(@Self)^.&set := $00000100;
  56860. end;
  56861. function TETH_EMAC1SUPP.getSPEEDRMII : TBits_1; inline;
  56862. begin
  56863. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56864. end;
  56865. procedure TETH_EMAC1SUPP.setRESETRMII; inline;
  56866. begin
  56867. pTDefRegMap(@Self)^.&set := $00000800;
  56868. end;
  56869. procedure TETH_EMAC1SUPP.clearRESETRMII; inline;
  56870. begin
  56871. pTDefRegMap(@Self)^.clr := $00000800;
  56872. end;
  56873. procedure TETH_EMAC1SUPP.setRESETRMII(thebits : TBits_1); inline;
  56874. begin
  56875. if thebits = 0 then
  56876. pTDefRegMap(@Self)^.clr := $00000800
  56877. else
  56878. pTDefRegMap(@Self)^.&set := $00000800;
  56879. end;
  56880. function TETH_EMAC1SUPP.getRESETRMII : TBits_1; inline;
  56881. begin
  56882. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  56883. end;
  56884. procedure TETH_EMAC1SUPP.setw(thebits : TBits_32); inline;
  56885. begin
  56886. pTDefRegMap(@Self)^.val := thebits;
  56887. end;
  56888. function TETH_EMAC1SUPP.getw : TBits_32; inline;
  56889. begin
  56890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56891. end;
  56892. procedure TETH_EMACxSUPP.setSPEEDRMII; inline;
  56893. begin
  56894. pTDefRegMap(@Self)^.&set := $00000100;
  56895. end;
  56896. procedure TETH_EMACxSUPP.clearSPEEDRMII; inline;
  56897. begin
  56898. pTDefRegMap(@Self)^.clr := $00000100;
  56899. end;
  56900. procedure TETH_EMACxSUPP.setSPEEDRMII(thebits : TBits_1); inline;
  56901. begin
  56902. if thebits = 0 then
  56903. pTDefRegMap(@Self)^.clr := $00000100
  56904. else
  56905. pTDefRegMap(@Self)^.&set := $00000100;
  56906. end;
  56907. function TETH_EMACxSUPP.getSPEEDRMII : TBits_1; inline;
  56908. begin
  56909. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56910. end;
  56911. procedure TETH_EMACxSUPP.setRESETRMII; inline;
  56912. begin
  56913. pTDefRegMap(@Self)^.&set := $00000800;
  56914. end;
  56915. procedure TETH_EMACxSUPP.clearRESETRMII; inline;
  56916. begin
  56917. pTDefRegMap(@Self)^.clr := $00000800;
  56918. end;
  56919. procedure TETH_EMACxSUPP.setRESETRMII(thebits : TBits_1); inline;
  56920. begin
  56921. if thebits = 0 then
  56922. pTDefRegMap(@Self)^.clr := $00000800
  56923. else
  56924. pTDefRegMap(@Self)^.&set := $00000800;
  56925. end;
  56926. function TETH_EMACxSUPP.getRESETRMII : TBits_1; inline;
  56927. begin
  56928. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  56929. end;
  56930. procedure TETH_EMACxSUPP.setw(thebits : TBits_32); inline;
  56931. begin
  56932. pTDefRegMap(@Self)^.val := thebits;
  56933. end;
  56934. function TETH_EMACxSUPP.getw : TBits_32; inline;
  56935. begin
  56936. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56937. end;
  56938. procedure TETH_EMAC1TEST.setSHRTQNTA; inline;
  56939. begin
  56940. pTDefRegMap(@Self)^.&set := $00000001;
  56941. end;
  56942. procedure TETH_EMAC1TEST.clearSHRTQNTA; inline;
  56943. begin
  56944. pTDefRegMap(@Self)^.clr := $00000001;
  56945. end;
  56946. procedure TETH_EMAC1TEST.setSHRTQNTA(thebits : TBits_1); inline;
  56947. begin
  56948. if thebits = 0 then
  56949. pTDefRegMap(@Self)^.clr := $00000001
  56950. else
  56951. pTDefRegMap(@Self)^.&set := $00000001;
  56952. end;
  56953. function TETH_EMAC1TEST.getSHRTQNTA : TBits_1; inline;
  56954. begin
  56955. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56956. end;
  56957. procedure TETH_EMAC1TEST.setTESTPAUSE; inline;
  56958. begin
  56959. pTDefRegMap(@Self)^.&set := $00000002;
  56960. end;
  56961. procedure TETH_EMAC1TEST.clearTESTPAUSE; inline;
  56962. begin
  56963. pTDefRegMap(@Self)^.clr := $00000002;
  56964. end;
  56965. procedure TETH_EMAC1TEST.setTESTPAUSE(thebits : TBits_1); inline;
  56966. begin
  56967. if thebits = 0 then
  56968. pTDefRegMap(@Self)^.clr := $00000002
  56969. else
  56970. pTDefRegMap(@Self)^.&set := $00000002;
  56971. end;
  56972. function TETH_EMAC1TEST.getTESTPAUSE : TBits_1; inline;
  56973. begin
  56974. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56975. end;
  56976. procedure TETH_EMAC1TEST.setTESTBP; inline;
  56977. begin
  56978. pTDefRegMap(@Self)^.&set := $00000004;
  56979. end;
  56980. procedure TETH_EMAC1TEST.clearTESTBP; inline;
  56981. begin
  56982. pTDefRegMap(@Self)^.clr := $00000004;
  56983. end;
  56984. procedure TETH_EMAC1TEST.setTESTBP(thebits : TBits_1); inline;
  56985. begin
  56986. if thebits = 0 then
  56987. pTDefRegMap(@Self)^.clr := $00000004
  56988. else
  56989. pTDefRegMap(@Self)^.&set := $00000004;
  56990. end;
  56991. function TETH_EMAC1TEST.getTESTBP : TBits_1; inline;
  56992. begin
  56993. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56994. end;
  56995. procedure TETH_EMAC1TEST.setw(thebits : TBits_32); inline;
  56996. begin
  56997. pTDefRegMap(@Self)^.val := thebits;
  56998. end;
  56999. function TETH_EMAC1TEST.getw : TBits_32; inline;
  57000. begin
  57001. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57002. end;
  57003. procedure TETH_EMACxTEST.setSHRTQNTA; inline;
  57004. begin
  57005. pTDefRegMap(@Self)^.&set := $00000001;
  57006. end;
  57007. procedure TETH_EMACxTEST.clearSHRTQNTA; inline;
  57008. begin
  57009. pTDefRegMap(@Self)^.clr := $00000001;
  57010. end;
  57011. procedure TETH_EMACxTEST.setSHRTQNTA(thebits : TBits_1); inline;
  57012. begin
  57013. if thebits = 0 then
  57014. pTDefRegMap(@Self)^.clr := $00000001
  57015. else
  57016. pTDefRegMap(@Self)^.&set := $00000001;
  57017. end;
  57018. function TETH_EMACxTEST.getSHRTQNTA : TBits_1; inline;
  57019. begin
  57020. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57021. end;
  57022. procedure TETH_EMACxTEST.setTESTPAUSE; inline;
  57023. begin
  57024. pTDefRegMap(@Self)^.&set := $00000002;
  57025. end;
  57026. procedure TETH_EMACxTEST.clearTESTPAUSE; inline;
  57027. begin
  57028. pTDefRegMap(@Self)^.clr := $00000002;
  57029. end;
  57030. procedure TETH_EMACxTEST.setTESTPAUSE(thebits : TBits_1); inline;
  57031. begin
  57032. if thebits = 0 then
  57033. pTDefRegMap(@Self)^.clr := $00000002
  57034. else
  57035. pTDefRegMap(@Self)^.&set := $00000002;
  57036. end;
  57037. function TETH_EMACxTEST.getTESTPAUSE : TBits_1; inline;
  57038. begin
  57039. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57040. end;
  57041. procedure TETH_EMACxTEST.setTESTBP; inline;
  57042. begin
  57043. pTDefRegMap(@Self)^.&set := $00000004;
  57044. end;
  57045. procedure TETH_EMACxTEST.clearTESTBP; inline;
  57046. begin
  57047. pTDefRegMap(@Self)^.clr := $00000004;
  57048. end;
  57049. procedure TETH_EMACxTEST.setTESTBP(thebits : TBits_1); inline;
  57050. begin
  57051. if thebits = 0 then
  57052. pTDefRegMap(@Self)^.clr := $00000004
  57053. else
  57054. pTDefRegMap(@Self)^.&set := $00000004;
  57055. end;
  57056. function TETH_EMACxTEST.getTESTBP : TBits_1; inline;
  57057. begin
  57058. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57059. end;
  57060. procedure TETH_EMACxTEST.setw(thebits : TBits_32); inline;
  57061. begin
  57062. pTDefRegMap(@Self)^.val := thebits;
  57063. end;
  57064. function TETH_EMACxTEST.getw : TBits_32; inline;
  57065. begin
  57066. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57067. end;
  57068. procedure TETH_EMAC1MCFG.setSCANINC; inline;
  57069. begin
  57070. pTDefRegMap(@Self)^.&set := $00000001;
  57071. end;
  57072. procedure TETH_EMAC1MCFG.clearSCANINC; inline;
  57073. begin
  57074. pTDefRegMap(@Self)^.clr := $00000001;
  57075. end;
  57076. procedure TETH_EMAC1MCFG.setSCANINC(thebits : TBits_1); inline;
  57077. begin
  57078. if thebits = 0 then
  57079. pTDefRegMap(@Self)^.clr := $00000001
  57080. else
  57081. pTDefRegMap(@Self)^.&set := $00000001;
  57082. end;
  57083. function TETH_EMAC1MCFG.getSCANINC : TBits_1; inline;
  57084. begin
  57085. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57086. end;
  57087. procedure TETH_EMAC1MCFG.setNOPRE; inline;
  57088. begin
  57089. pTDefRegMap(@Self)^.&set := $00000002;
  57090. end;
  57091. procedure TETH_EMAC1MCFG.clearNOPRE; inline;
  57092. begin
  57093. pTDefRegMap(@Self)^.clr := $00000002;
  57094. end;
  57095. procedure TETH_EMAC1MCFG.setNOPRE(thebits : TBits_1); inline;
  57096. begin
  57097. if thebits = 0 then
  57098. pTDefRegMap(@Self)^.clr := $00000002
  57099. else
  57100. pTDefRegMap(@Self)^.&set := $00000002;
  57101. end;
  57102. function TETH_EMAC1MCFG.getNOPRE : TBits_1; inline;
  57103. begin
  57104. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57105. end;
  57106. procedure TETH_EMAC1MCFG.setCLKSEL(thebits : TBits_4); inline;
  57107. begin
  57108. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  57109. end;
  57110. function TETH_EMAC1MCFG.getCLKSEL : TBits_4; inline;
  57111. begin
  57112. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  57113. end;
  57114. procedure TETH_EMAC1MCFG.setRESETMGMT; inline;
  57115. begin
  57116. pTDefRegMap(@Self)^.&set := $00008000;
  57117. end;
  57118. procedure TETH_EMAC1MCFG.clearRESETMGMT; inline;
  57119. begin
  57120. pTDefRegMap(@Self)^.clr := $00008000;
  57121. end;
  57122. procedure TETH_EMAC1MCFG.setRESETMGMT(thebits : TBits_1); inline;
  57123. begin
  57124. if thebits = 0 then
  57125. pTDefRegMap(@Self)^.clr := $00008000
  57126. else
  57127. pTDefRegMap(@Self)^.&set := $00008000;
  57128. end;
  57129. function TETH_EMAC1MCFG.getRESETMGMT : TBits_1; inline;
  57130. begin
  57131. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57132. end;
  57133. procedure TETH_EMAC1MCFG.setw(thebits : TBits_32); inline;
  57134. begin
  57135. pTDefRegMap(@Self)^.val := thebits;
  57136. end;
  57137. function TETH_EMAC1MCFG.getw : TBits_32; inline;
  57138. begin
  57139. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57140. end;
  57141. procedure TETH_EMACxMCFG.setSCANINC; inline;
  57142. begin
  57143. pTDefRegMap(@Self)^.&set := $00000001;
  57144. end;
  57145. procedure TETH_EMACxMCFG.clearSCANINC; inline;
  57146. begin
  57147. pTDefRegMap(@Self)^.clr := $00000001;
  57148. end;
  57149. procedure TETH_EMACxMCFG.setSCANINC(thebits : TBits_1); inline;
  57150. begin
  57151. if thebits = 0 then
  57152. pTDefRegMap(@Self)^.clr := $00000001
  57153. else
  57154. pTDefRegMap(@Self)^.&set := $00000001;
  57155. end;
  57156. function TETH_EMACxMCFG.getSCANINC : TBits_1; inline;
  57157. begin
  57158. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57159. end;
  57160. procedure TETH_EMACxMCFG.setNOPRE; inline;
  57161. begin
  57162. pTDefRegMap(@Self)^.&set := $00000002;
  57163. end;
  57164. procedure TETH_EMACxMCFG.clearNOPRE; inline;
  57165. begin
  57166. pTDefRegMap(@Self)^.clr := $00000002;
  57167. end;
  57168. procedure TETH_EMACxMCFG.setNOPRE(thebits : TBits_1); inline;
  57169. begin
  57170. if thebits = 0 then
  57171. pTDefRegMap(@Self)^.clr := $00000002
  57172. else
  57173. pTDefRegMap(@Self)^.&set := $00000002;
  57174. end;
  57175. function TETH_EMACxMCFG.getNOPRE : TBits_1; inline;
  57176. begin
  57177. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57178. end;
  57179. procedure TETH_EMACxMCFG.setCLKSEL(thebits : TBits_4); inline;
  57180. begin
  57181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  57182. end;
  57183. function TETH_EMACxMCFG.getCLKSEL : TBits_4; inline;
  57184. begin
  57185. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  57186. end;
  57187. procedure TETH_EMACxMCFG.setRESETMGMT; inline;
  57188. begin
  57189. pTDefRegMap(@Self)^.&set := $00008000;
  57190. end;
  57191. procedure TETH_EMACxMCFG.clearRESETMGMT; inline;
  57192. begin
  57193. pTDefRegMap(@Self)^.clr := $00008000;
  57194. end;
  57195. procedure TETH_EMACxMCFG.setRESETMGMT(thebits : TBits_1); inline;
  57196. begin
  57197. if thebits = 0 then
  57198. pTDefRegMap(@Self)^.clr := $00008000
  57199. else
  57200. pTDefRegMap(@Self)^.&set := $00008000;
  57201. end;
  57202. function TETH_EMACxMCFG.getRESETMGMT : TBits_1; inline;
  57203. begin
  57204. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57205. end;
  57206. procedure TETH_EMACxMCFG.setw(thebits : TBits_32); inline;
  57207. begin
  57208. pTDefRegMap(@Self)^.val := thebits;
  57209. end;
  57210. function TETH_EMACxMCFG.getw : TBits_32; inline;
  57211. begin
  57212. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57213. end;
  57214. procedure TETH_EMAC1MCMD.setREAD; inline;
  57215. begin
  57216. pTDefRegMap(@Self)^.&set := $00000001;
  57217. end;
  57218. procedure TETH_EMAC1MCMD.clearREAD; inline;
  57219. begin
  57220. pTDefRegMap(@Self)^.clr := $00000001;
  57221. end;
  57222. procedure TETH_EMAC1MCMD.setREAD(thebits : TBits_1); inline;
  57223. begin
  57224. if thebits = 0 then
  57225. pTDefRegMap(@Self)^.clr := $00000001
  57226. else
  57227. pTDefRegMap(@Self)^.&set := $00000001;
  57228. end;
  57229. function TETH_EMAC1MCMD.getREAD : TBits_1; inline;
  57230. begin
  57231. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57232. end;
  57233. procedure TETH_EMAC1MCMD.setSCAN; inline;
  57234. begin
  57235. pTDefRegMap(@Self)^.&set := $00000002;
  57236. end;
  57237. procedure TETH_EMAC1MCMD.clearSCAN; inline;
  57238. begin
  57239. pTDefRegMap(@Self)^.clr := $00000002;
  57240. end;
  57241. procedure TETH_EMAC1MCMD.setSCAN(thebits : TBits_1); inline;
  57242. begin
  57243. if thebits = 0 then
  57244. pTDefRegMap(@Self)^.clr := $00000002
  57245. else
  57246. pTDefRegMap(@Self)^.&set := $00000002;
  57247. end;
  57248. function TETH_EMAC1MCMD.getSCAN : TBits_1; inline;
  57249. begin
  57250. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57251. end;
  57252. procedure TETH_EMAC1MCMD.setw(thebits : TBits_32); inline;
  57253. begin
  57254. pTDefRegMap(@Self)^.val := thebits;
  57255. end;
  57256. function TETH_EMAC1MCMD.getw : TBits_32; inline;
  57257. begin
  57258. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57259. end;
  57260. procedure TETH_EMACxMCMD.setREAD; inline;
  57261. begin
  57262. pTDefRegMap(@Self)^.&set := $00000001;
  57263. end;
  57264. procedure TETH_EMACxMCMD.clearREAD; inline;
  57265. begin
  57266. pTDefRegMap(@Self)^.clr := $00000001;
  57267. end;
  57268. procedure TETH_EMACxMCMD.setREAD(thebits : TBits_1); inline;
  57269. begin
  57270. if thebits = 0 then
  57271. pTDefRegMap(@Self)^.clr := $00000001
  57272. else
  57273. pTDefRegMap(@Self)^.&set := $00000001;
  57274. end;
  57275. function TETH_EMACxMCMD.getREAD : TBits_1; inline;
  57276. begin
  57277. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57278. end;
  57279. procedure TETH_EMACxMCMD.setSCAN; inline;
  57280. begin
  57281. pTDefRegMap(@Self)^.&set := $00000002;
  57282. end;
  57283. procedure TETH_EMACxMCMD.clearSCAN; inline;
  57284. begin
  57285. pTDefRegMap(@Self)^.clr := $00000002;
  57286. end;
  57287. procedure TETH_EMACxMCMD.setSCAN(thebits : TBits_1); inline;
  57288. begin
  57289. if thebits = 0 then
  57290. pTDefRegMap(@Self)^.clr := $00000002
  57291. else
  57292. pTDefRegMap(@Self)^.&set := $00000002;
  57293. end;
  57294. function TETH_EMACxMCMD.getSCAN : TBits_1; inline;
  57295. begin
  57296. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57297. end;
  57298. procedure TETH_EMACxMCMD.setw(thebits : TBits_32); inline;
  57299. begin
  57300. pTDefRegMap(@Self)^.val := thebits;
  57301. end;
  57302. function TETH_EMACxMCMD.getw : TBits_32; inline;
  57303. begin
  57304. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57305. end;
  57306. procedure TETH_EMAC1MADR.setREGADDR(thebits : TBits_5); inline;
  57307. begin
  57308. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  57309. end;
  57310. function TETH_EMAC1MADR.getREGADDR : TBits_5; inline;
  57311. begin
  57312. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  57313. end;
  57314. procedure TETH_EMAC1MADR.setPHYADDR(thebits : TBits_5); inline;
  57315. begin
  57316. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  57317. end;
  57318. function TETH_EMAC1MADR.getPHYADDR : TBits_5; inline;
  57319. begin
  57320. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  57321. end;
  57322. procedure TETH_EMAC1MADR.setw(thebits : TBits_32); inline;
  57323. begin
  57324. pTDefRegMap(@Self)^.val := thebits;
  57325. end;
  57326. function TETH_EMAC1MADR.getw : TBits_32; inline;
  57327. begin
  57328. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57329. end;
  57330. procedure TETH_EMACxMADR.setREGADDR(thebits : TBits_5); inline;
  57331. begin
  57332. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  57333. end;
  57334. function TETH_EMACxMADR.getREGADDR : TBits_5; inline;
  57335. begin
  57336. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  57337. end;
  57338. procedure TETH_EMACxMADR.setPHYADDR(thebits : TBits_5); inline;
  57339. begin
  57340. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  57341. end;
  57342. function TETH_EMACxMADR.getPHYADDR : TBits_5; inline;
  57343. begin
  57344. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  57345. end;
  57346. procedure TETH_EMACxMADR.setw(thebits : TBits_32); inline;
  57347. begin
  57348. pTDefRegMap(@Self)^.val := thebits;
  57349. end;
  57350. function TETH_EMACxMADR.getw : TBits_32; inline;
  57351. begin
  57352. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57353. end;
  57354. procedure TETH_EMAC1MWTD.setMWTD(thebits : TBits_16); inline;
  57355. begin
  57356. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  57357. end;
  57358. function TETH_EMAC1MWTD.getMWTD : TBits_16; inline;
  57359. begin
  57360. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  57361. end;
  57362. procedure TETH_EMAC1MWTD.setw(thebits : TBits_32); inline;
  57363. begin
  57364. pTDefRegMap(@Self)^.val := thebits;
  57365. end;
  57366. function TETH_EMAC1MWTD.getw : TBits_32; inline;
  57367. begin
  57368. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57369. end;
  57370. procedure TETH_EMACxMWTD.setMWTD(thebits : TBits_16); inline;
  57371. begin
  57372. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  57373. end;
  57374. function TETH_EMACxMWTD.getMWTD : TBits_16; inline;
  57375. begin
  57376. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  57377. end;
  57378. procedure TETH_EMACxMWTD.setw(thebits : TBits_32); inline;
  57379. begin
  57380. pTDefRegMap(@Self)^.val := thebits;
  57381. end;
  57382. function TETH_EMACxMWTD.getw : TBits_32; inline;
  57383. begin
  57384. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57385. end;
  57386. procedure TETH_EMAC1MRDD.setMRDD(thebits : TBits_16); inline;
  57387. begin
  57388. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  57389. end;
  57390. function TETH_EMAC1MRDD.getMRDD : TBits_16; inline;
  57391. begin
  57392. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  57393. end;
  57394. procedure TETH_EMAC1MRDD.setw(thebits : TBits_32); inline;
  57395. begin
  57396. pTDefRegMap(@Self)^.val := thebits;
  57397. end;
  57398. function TETH_EMAC1MRDD.getw : TBits_32; inline;
  57399. begin
  57400. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57401. end;
  57402. procedure TETH_EMACxMRDD.setMRDD(thebits : TBits_16); inline;
  57403. begin
  57404. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  57405. end;
  57406. function TETH_EMACxMRDD.getMRDD : TBits_16; inline;
  57407. begin
  57408. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  57409. end;
  57410. procedure TETH_EMACxMRDD.setw(thebits : TBits_32); inline;
  57411. begin
  57412. pTDefRegMap(@Self)^.val := thebits;
  57413. end;
  57414. function TETH_EMACxMRDD.getw : TBits_32; inline;
  57415. begin
  57416. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57417. end;
  57418. procedure TETH_EMAC1MIND.setMIIMBUSY; inline;
  57419. begin
  57420. pTDefRegMap(@Self)^.&set := $00000001;
  57421. end;
  57422. procedure TETH_EMAC1MIND.clearMIIMBUSY; inline;
  57423. begin
  57424. pTDefRegMap(@Self)^.clr := $00000001;
  57425. end;
  57426. procedure TETH_EMAC1MIND.setMIIMBUSY(thebits : TBits_1); inline;
  57427. begin
  57428. if thebits = 0 then
  57429. pTDefRegMap(@Self)^.clr := $00000001
  57430. else
  57431. pTDefRegMap(@Self)^.&set := $00000001;
  57432. end;
  57433. function TETH_EMAC1MIND.getMIIMBUSY : TBits_1; inline;
  57434. begin
  57435. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57436. end;
  57437. procedure TETH_EMAC1MIND.setSCAN; inline;
  57438. begin
  57439. pTDefRegMap(@Self)^.&set := $00000002;
  57440. end;
  57441. procedure TETH_EMAC1MIND.clearSCAN; inline;
  57442. begin
  57443. pTDefRegMap(@Self)^.clr := $00000002;
  57444. end;
  57445. procedure TETH_EMAC1MIND.setSCAN(thebits : TBits_1); inline;
  57446. begin
  57447. if thebits = 0 then
  57448. pTDefRegMap(@Self)^.clr := $00000002
  57449. else
  57450. pTDefRegMap(@Self)^.&set := $00000002;
  57451. end;
  57452. function TETH_EMAC1MIND.getSCAN : TBits_1; inline;
  57453. begin
  57454. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57455. end;
  57456. procedure TETH_EMAC1MIND.setNOTVALID; inline;
  57457. begin
  57458. pTDefRegMap(@Self)^.&set := $00000004;
  57459. end;
  57460. procedure TETH_EMAC1MIND.clearNOTVALID; inline;
  57461. begin
  57462. pTDefRegMap(@Self)^.clr := $00000004;
  57463. end;
  57464. procedure TETH_EMAC1MIND.setNOTVALID(thebits : TBits_1); inline;
  57465. begin
  57466. if thebits = 0 then
  57467. pTDefRegMap(@Self)^.clr := $00000004
  57468. else
  57469. pTDefRegMap(@Self)^.&set := $00000004;
  57470. end;
  57471. function TETH_EMAC1MIND.getNOTVALID : TBits_1; inline;
  57472. begin
  57473. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57474. end;
  57475. procedure TETH_EMAC1MIND.setLINKFAIL; inline;
  57476. begin
  57477. pTDefRegMap(@Self)^.&set := $00000008;
  57478. end;
  57479. procedure TETH_EMAC1MIND.clearLINKFAIL; inline;
  57480. begin
  57481. pTDefRegMap(@Self)^.clr := $00000008;
  57482. end;
  57483. procedure TETH_EMAC1MIND.setLINKFAIL(thebits : TBits_1); inline;
  57484. begin
  57485. if thebits = 0 then
  57486. pTDefRegMap(@Self)^.clr := $00000008
  57487. else
  57488. pTDefRegMap(@Self)^.&set := $00000008;
  57489. end;
  57490. function TETH_EMAC1MIND.getLINKFAIL : TBits_1; inline;
  57491. begin
  57492. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57493. end;
  57494. procedure TETH_EMAC1MIND.setw(thebits : TBits_32); inline;
  57495. begin
  57496. pTDefRegMap(@Self)^.val := thebits;
  57497. end;
  57498. function TETH_EMAC1MIND.getw : TBits_32; inline;
  57499. begin
  57500. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57501. end;
  57502. procedure TETH_EMACxMIND.setMIIMBUSY; inline;
  57503. begin
  57504. pTDefRegMap(@Self)^.&set := $00000001;
  57505. end;
  57506. procedure TETH_EMACxMIND.clearMIIMBUSY; inline;
  57507. begin
  57508. pTDefRegMap(@Self)^.clr := $00000001;
  57509. end;
  57510. procedure TETH_EMACxMIND.setMIIMBUSY(thebits : TBits_1); inline;
  57511. begin
  57512. if thebits = 0 then
  57513. pTDefRegMap(@Self)^.clr := $00000001
  57514. else
  57515. pTDefRegMap(@Self)^.&set := $00000001;
  57516. end;
  57517. function TETH_EMACxMIND.getMIIMBUSY : TBits_1; inline;
  57518. begin
  57519. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57520. end;
  57521. procedure TETH_EMACxMIND.setSCAN; inline;
  57522. begin
  57523. pTDefRegMap(@Self)^.&set := $00000002;
  57524. end;
  57525. procedure TETH_EMACxMIND.clearSCAN; inline;
  57526. begin
  57527. pTDefRegMap(@Self)^.clr := $00000002;
  57528. end;
  57529. procedure TETH_EMACxMIND.setSCAN(thebits : TBits_1); inline;
  57530. begin
  57531. if thebits = 0 then
  57532. pTDefRegMap(@Self)^.clr := $00000002
  57533. else
  57534. pTDefRegMap(@Self)^.&set := $00000002;
  57535. end;
  57536. function TETH_EMACxMIND.getSCAN : TBits_1; inline;
  57537. begin
  57538. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57539. end;
  57540. procedure TETH_EMACxMIND.setNOTVALID; inline;
  57541. begin
  57542. pTDefRegMap(@Self)^.&set := $00000004;
  57543. end;
  57544. procedure TETH_EMACxMIND.clearNOTVALID; inline;
  57545. begin
  57546. pTDefRegMap(@Self)^.clr := $00000004;
  57547. end;
  57548. procedure TETH_EMACxMIND.setNOTVALID(thebits : TBits_1); inline;
  57549. begin
  57550. if thebits = 0 then
  57551. pTDefRegMap(@Self)^.clr := $00000004
  57552. else
  57553. pTDefRegMap(@Self)^.&set := $00000004;
  57554. end;
  57555. function TETH_EMACxMIND.getNOTVALID : TBits_1; inline;
  57556. begin
  57557. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57558. end;
  57559. procedure TETH_EMACxMIND.setLINKFAIL; inline;
  57560. begin
  57561. pTDefRegMap(@Self)^.&set := $00000008;
  57562. end;
  57563. procedure TETH_EMACxMIND.clearLINKFAIL; inline;
  57564. begin
  57565. pTDefRegMap(@Self)^.clr := $00000008;
  57566. end;
  57567. procedure TETH_EMACxMIND.setLINKFAIL(thebits : TBits_1); inline;
  57568. begin
  57569. if thebits = 0 then
  57570. pTDefRegMap(@Self)^.clr := $00000008
  57571. else
  57572. pTDefRegMap(@Self)^.&set := $00000008;
  57573. end;
  57574. function TETH_EMACxMIND.getLINKFAIL : TBits_1; inline;
  57575. begin
  57576. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57577. end;
  57578. procedure TETH_EMACxMIND.setw(thebits : TBits_32); inline;
  57579. begin
  57580. pTDefRegMap(@Self)^.val := thebits;
  57581. end;
  57582. function TETH_EMACxMIND.getw : TBits_32; inline;
  57583. begin
  57584. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57585. end;
  57586. procedure TETH_EMAC1SA0.setSTNADDR5(thebits : TBits_8); inline;
  57587. begin
  57588. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  57589. end;
  57590. function TETH_EMAC1SA0.getSTNADDR5 : TBits_8; inline;
  57591. begin
  57592. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  57593. end;
  57594. procedure TETH_EMAC1SA0.setSTNADDR6(thebits : TBits_8); inline;
  57595. begin
  57596. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  57597. end;
  57598. function TETH_EMAC1SA0.getSTNADDR6 : TBits_8; inline;
  57599. begin
  57600. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  57601. end;
  57602. procedure TETH_EMAC1SA0.setw(thebits : TBits_32); inline;
  57603. begin
  57604. pTDefRegMap(@Self)^.val := thebits;
  57605. end;
  57606. function TETH_EMAC1SA0.getw : TBits_32; inline;
  57607. begin
  57608. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57609. end;
  57610. procedure TETH_EMACxSA0.setSTNADDR5(thebits : TBits_8); inline;
  57611. begin
  57612. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  57613. end;
  57614. function TETH_EMACxSA0.getSTNADDR5 : TBits_8; inline;
  57615. begin
  57616. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  57617. end;
  57618. procedure TETH_EMACxSA0.setSTNADDR6(thebits : TBits_8); inline;
  57619. begin
  57620. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  57621. end;
  57622. function TETH_EMACxSA0.getSTNADDR6 : TBits_8; inline;
  57623. begin
  57624. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  57625. end;
  57626. procedure TETH_EMACxSA0.setw(thebits : TBits_32); inline;
  57627. begin
  57628. pTDefRegMap(@Self)^.val := thebits;
  57629. end;
  57630. function TETH_EMACxSA0.getw : TBits_32; inline;
  57631. begin
  57632. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57633. end;
  57634. procedure TETH_EMAC1SA1.setSTNADDR3(thebits : TBits_8); inline;
  57635. begin
  57636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  57637. end;
  57638. function TETH_EMAC1SA1.getSTNADDR3 : TBits_8; inline;
  57639. begin
  57640. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  57641. end;
  57642. procedure TETH_EMAC1SA1.setSTNADDR4(thebits : TBits_8); inline;
  57643. begin
  57644. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  57645. end;
  57646. function TETH_EMAC1SA1.getSTNADDR4 : TBits_8; inline;
  57647. begin
  57648. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  57649. end;
  57650. procedure TETH_EMAC1SA1.setw(thebits : TBits_32); inline;
  57651. begin
  57652. pTDefRegMap(@Self)^.val := thebits;
  57653. end;
  57654. function TETH_EMAC1SA1.getw : TBits_32; inline;
  57655. begin
  57656. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57657. end;
  57658. procedure TETH_EMACxSA1.setSTNADDR3(thebits : TBits_8); inline;
  57659. begin
  57660. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  57661. end;
  57662. function TETH_EMACxSA1.getSTNADDR3 : TBits_8; inline;
  57663. begin
  57664. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  57665. end;
  57666. procedure TETH_EMACxSA1.setSTNADDR4(thebits : TBits_8); inline;
  57667. begin
  57668. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  57669. end;
  57670. function TETH_EMACxSA1.getSTNADDR4 : TBits_8; inline;
  57671. begin
  57672. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  57673. end;
  57674. procedure TETH_EMACxSA1.setw(thebits : TBits_32); inline;
  57675. begin
  57676. pTDefRegMap(@Self)^.val := thebits;
  57677. end;
  57678. function TETH_EMACxSA1.getw : TBits_32; inline;
  57679. begin
  57680. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57681. end;
  57682. procedure TETH_EMAC1SA2.setSTNADDR1(thebits : TBits_8); inline;
  57683. begin
  57684. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  57685. end;
  57686. function TETH_EMAC1SA2.getSTNADDR1 : TBits_8; inline;
  57687. begin
  57688. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  57689. end;
  57690. procedure TETH_EMAC1SA2.setSTNADDR2(thebits : TBits_8); inline;
  57691. begin
  57692. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  57693. end;
  57694. function TETH_EMAC1SA2.getSTNADDR2 : TBits_8; inline;
  57695. begin
  57696. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  57697. end;
  57698. procedure TETH_EMAC1SA2.setw(thebits : TBits_32); inline;
  57699. begin
  57700. pTDefRegMap(@Self)^.val := thebits;
  57701. end;
  57702. function TETH_EMAC1SA2.getw : TBits_32; inline;
  57703. begin
  57704. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57705. end;
  57706. procedure TETH_EMACxSA2.setSTNADDR1(thebits : TBits_8); inline;
  57707. begin
  57708. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  57709. end;
  57710. function TETH_EMACxSA2.getSTNADDR1 : TBits_8; inline;
  57711. begin
  57712. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  57713. end;
  57714. procedure TETH_EMACxSA2.setSTNADDR2(thebits : TBits_8); inline;
  57715. begin
  57716. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  57717. end;
  57718. function TETH_EMACxSA2.getSTNADDR2 : TBits_8; inline;
  57719. begin
  57720. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  57721. end;
  57722. procedure TETH_EMACxSA2.setw(thebits : TBits_32); inline;
  57723. begin
  57724. pTDefRegMap(@Self)^.val := thebits;
  57725. end;
  57726. function TETH_EMACxSA2.getw : TBits_32; inline;
  57727. begin
  57728. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57729. end;
  57730. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  57731. begin
  57732. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  57733. end;
  57734. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  57735. begin
  57736. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  57737. end;
  57738. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  57739. begin
  57740. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  57741. end;
  57742. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  57743. begin
  57744. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  57745. end;
  57746. procedure TDEVCFG_DEVCFG3.setFMIIEN; inline;
  57747. begin
  57748. pTDefRegMap(@Self)^.&set := $01000000;
  57749. end;
  57750. procedure TDEVCFG_DEVCFG3.clearFMIIEN; inline;
  57751. begin
  57752. pTDefRegMap(@Self)^.clr := $01000000;
  57753. end;
  57754. procedure TDEVCFG_DEVCFG3.setFMIIEN(thebits : TBits_1); inline;
  57755. begin
  57756. if thebits = 0 then
  57757. pTDefRegMap(@Self)^.clr := $01000000
  57758. else
  57759. pTDefRegMap(@Self)^.&set := $01000000;
  57760. end;
  57761. function TDEVCFG_DEVCFG3.getFMIIEN : TBits_1; inline;
  57762. begin
  57763. getFMIIEN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  57764. end;
  57765. procedure TDEVCFG_DEVCFG3.setFETHIO; inline;
  57766. begin
  57767. pTDefRegMap(@Self)^.&set := $02000000;
  57768. end;
  57769. procedure TDEVCFG_DEVCFG3.clearFETHIO; inline;
  57770. begin
  57771. pTDefRegMap(@Self)^.clr := $02000000;
  57772. end;
  57773. procedure TDEVCFG_DEVCFG3.setFETHIO(thebits : TBits_1); inline;
  57774. begin
  57775. if thebits = 0 then
  57776. pTDefRegMap(@Self)^.clr := $02000000
  57777. else
  57778. pTDefRegMap(@Self)^.&set := $02000000;
  57779. end;
  57780. function TDEVCFG_DEVCFG3.getFETHIO : TBits_1; inline;
  57781. begin
  57782. getFETHIO := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  57783. end;
  57784. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  57785. begin
  57786. pTDefRegMap(@Self)^.&set := $40000000;
  57787. end;
  57788. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  57789. begin
  57790. pTDefRegMap(@Self)^.clr := $40000000;
  57791. end;
  57792. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  57793. begin
  57794. if thebits = 0 then
  57795. pTDefRegMap(@Self)^.clr := $40000000
  57796. else
  57797. pTDefRegMap(@Self)^.&set := $40000000;
  57798. end;
  57799. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  57800. begin
  57801. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  57802. end;
  57803. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  57804. begin
  57805. pTDefRegMap(@Self)^.&set := $80000000;
  57806. end;
  57807. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  57808. begin
  57809. pTDefRegMap(@Self)^.clr := $80000000;
  57810. end;
  57811. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  57812. begin
  57813. if thebits = 0 then
  57814. pTDefRegMap(@Self)^.clr := $80000000
  57815. else
  57816. pTDefRegMap(@Self)^.&set := $80000000;
  57817. end;
  57818. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  57819. begin
  57820. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  57821. end;
  57822. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  57823. begin
  57824. pTDefRegMap(@Self)^.val := thebits;
  57825. end;
  57826. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  57827. begin
  57828. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57829. end;
  57830. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  57831. begin
  57832. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  57833. end;
  57834. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  57835. begin
  57836. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  57837. end;
  57838. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  57839. begin
  57840. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  57841. end;
  57842. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  57843. begin
  57844. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  57845. end;
  57846. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  57847. begin
  57848. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  57849. end;
  57850. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  57851. begin
  57852. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  57853. end;
  57854. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  57855. begin
  57856. pTDefRegMap(@Self)^.&set := $00008000;
  57857. end;
  57858. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  57859. begin
  57860. pTDefRegMap(@Self)^.clr := $00008000;
  57861. end;
  57862. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  57863. begin
  57864. if thebits = 0 then
  57865. pTDefRegMap(@Self)^.clr := $00008000
  57866. else
  57867. pTDefRegMap(@Self)^.&set := $00008000;
  57868. end;
  57869. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  57870. begin
  57871. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  57872. end;
  57873. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  57874. begin
  57875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  57876. end;
  57877. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  57878. begin
  57879. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  57880. end;
  57881. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  57882. begin
  57883. pTDefRegMap(@Self)^.val := thebits;
  57884. end;
  57885. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  57886. begin
  57887. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57888. end;
  57889. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  57890. begin
  57891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  57892. end;
  57893. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  57894. begin
  57895. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  57896. end;
  57897. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  57898. begin
  57899. pTDefRegMap(@Self)^.&set := $00000020;
  57900. end;
  57901. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  57902. begin
  57903. pTDefRegMap(@Self)^.clr := $00000020;
  57904. end;
  57905. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  57906. begin
  57907. if thebits = 0 then
  57908. pTDefRegMap(@Self)^.clr := $00000020
  57909. else
  57910. pTDefRegMap(@Self)^.&set := $00000020;
  57911. end;
  57912. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  57913. begin
  57914. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57915. end;
  57916. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  57917. begin
  57918. pTDefRegMap(@Self)^.&set := $00000080;
  57919. end;
  57920. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  57921. begin
  57922. pTDefRegMap(@Self)^.clr := $00000080;
  57923. end;
  57924. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  57925. begin
  57926. if thebits = 0 then
  57927. pTDefRegMap(@Self)^.clr := $00000080
  57928. else
  57929. pTDefRegMap(@Self)^.&set := $00000080;
  57930. end;
  57931. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  57932. begin
  57933. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57934. end;
  57935. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  57936. begin
  57937. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  57938. end;
  57939. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  57940. begin
  57941. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  57942. end;
  57943. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  57944. begin
  57945. pTDefRegMap(@Self)^.&set := $00000400;
  57946. end;
  57947. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  57948. begin
  57949. pTDefRegMap(@Self)^.clr := $00000400;
  57950. end;
  57951. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  57952. begin
  57953. if thebits = 0 then
  57954. pTDefRegMap(@Self)^.clr := $00000400
  57955. else
  57956. pTDefRegMap(@Self)^.&set := $00000400;
  57957. end;
  57958. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  57959. begin
  57960. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  57961. end;
  57962. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  57963. begin
  57964. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  57965. end;
  57966. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  57967. begin
  57968. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  57969. end;
  57970. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  57971. begin
  57972. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  57973. end;
  57974. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  57975. begin
  57976. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  57977. end;
  57978. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  57979. begin
  57980. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  57981. end;
  57982. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  57983. begin
  57984. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  57985. end;
  57986. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  57987. begin
  57988. pTDefRegMap(@Self)^.&set := $00800000;
  57989. end;
  57990. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  57991. begin
  57992. pTDefRegMap(@Self)^.clr := $00800000;
  57993. end;
  57994. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  57995. begin
  57996. if thebits = 0 then
  57997. pTDefRegMap(@Self)^.clr := $00800000
  57998. else
  57999. pTDefRegMap(@Self)^.&set := $00800000;
  58000. end;
  58001. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  58002. begin
  58003. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  58004. end;
  58005. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  58006. begin
  58007. pTDefRegMap(@Self)^.val := thebits;
  58008. end;
  58009. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  58010. begin
  58011. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58012. end;
  58013. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  58014. begin
  58015. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  58016. end;
  58017. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  58018. begin
  58019. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  58020. end;
  58021. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  58022. begin
  58023. pTDefRegMap(@Self)^.&set := $00000008;
  58024. end;
  58025. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  58026. begin
  58027. pTDefRegMap(@Self)^.clr := $00000008;
  58028. end;
  58029. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  58030. begin
  58031. if thebits = 0 then
  58032. pTDefRegMap(@Self)^.clr := $00000008
  58033. else
  58034. pTDefRegMap(@Self)^.&set := $00000008;
  58035. end;
  58036. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  58037. begin
  58038. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58039. end;
  58040. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  58041. begin
  58042. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  58043. end;
  58044. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  58045. begin
  58046. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  58047. end;
  58048. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  58049. begin
  58050. pTDefRegMap(@Self)^.&set := $01000000;
  58051. end;
  58052. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  58053. begin
  58054. pTDefRegMap(@Self)^.clr := $01000000;
  58055. end;
  58056. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  58057. begin
  58058. if thebits = 0 then
  58059. pTDefRegMap(@Self)^.clr := $01000000
  58060. else
  58061. pTDefRegMap(@Self)^.&set := $01000000;
  58062. end;
  58063. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  58064. begin
  58065. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  58066. end;
  58067. procedure TDEVCFG_DEVCFG0.setCP; inline;
  58068. begin
  58069. pTDefRegMap(@Self)^.&set := $10000000;
  58070. end;
  58071. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  58072. begin
  58073. pTDefRegMap(@Self)^.clr := $10000000;
  58074. end;
  58075. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  58076. begin
  58077. if thebits = 0 then
  58078. pTDefRegMap(@Self)^.clr := $10000000
  58079. else
  58080. pTDefRegMap(@Self)^.&set := $10000000;
  58081. end;
  58082. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  58083. begin
  58084. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  58085. end;
  58086. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  58087. begin
  58088. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  58089. end;
  58090. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  58091. begin
  58092. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  58093. end;
  58094. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  58095. begin
  58096. pTDefRegMap(@Self)^.val := thebits;
  58097. end;
  58098. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  58099. begin
  58100. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58101. end;
  58102. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  58103. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  58104. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  58105. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  58106. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  58107. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  58108. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  58109. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  58110. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  58111. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  58112. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  58113. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  58114. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  58115. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  58116. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  58117. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  58118. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  58119. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  58120. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  58121. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  58122. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  58123. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  58124. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  58125. procedure _SPI_1A_VECTOR_interrupt; external name '_SPI_1A_VECTOR_interrupt';
  58126. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  58127. procedure _UART_1A_VECTOR_interrupt; external name '_UART_1A_VECTOR_interrupt';
  58128. procedure _I2C_3_VECTOR_interrupt; external name '_I2C_3_VECTOR_interrupt';
  58129. procedure _I2C_1A_VECTOR_interrupt; external name '_I2C_1A_VECTOR_interrupt';
  58130. procedure _SPI_3_VECTOR_interrupt; external name '_SPI_3_VECTOR_interrupt';
  58131. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  58132. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  58133. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  58134. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  58135. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  58136. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  58137. procedure _SPI_2A_VECTOR_interrupt; external name '_SPI_2A_VECTOR_interrupt';
  58138. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  58139. procedure _UART_2A_VECTOR_interrupt; external name '_UART_2A_VECTOR_interrupt';
  58140. procedure _I2C_4_VECTOR_interrupt; external name '_I2C_4_VECTOR_interrupt';
  58141. procedure _I2C_2A_VECTOR_interrupt; external name '_I2C_2A_VECTOR_interrupt';
  58142. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  58143. procedure _SPI_3A_VECTOR_interrupt; external name '_SPI_3A_VECTOR_interrupt';
  58144. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  58145. procedure _UART_3A_VECTOR_interrupt; external name '_UART_3A_VECTOR_interrupt';
  58146. procedure _I2C_5_VECTOR_interrupt; external name '_I2C_5_VECTOR_interrupt';
  58147. procedure _I2C_3A_VECTOR_interrupt; external name '_I2C_3A_VECTOR_interrupt';
  58148. procedure _SPI_4_VECTOR_interrupt; external name '_SPI_4_VECTOR_interrupt';
  58149. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  58150. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  58151. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  58152. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  58153. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  58154. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  58155. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  58156. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  58157. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  58158. procedure _ETH_VECTOR_interrupt; external name '_ETH_VECTOR_interrupt';
  58159. procedure _UART_1B_VECTOR_interrupt; external name '_UART_1B_VECTOR_interrupt';
  58160. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  58161. procedure _UART_2B_VECTOR_interrupt; external name '_UART_2B_VECTOR_interrupt';
  58162. procedure _UART_6_VECTOR_interrupt; external name '_UART_6_VECTOR_interrupt';
  58163. procedure _UART_3B_VECTOR_interrupt; external name '_UART_3B_VECTOR_interrupt';
  58164. procedure _UART_5_VECTOR_interrupt; external name '_UART_5_VECTOR_interrupt';
  58165. procedure Vectors; assembler; nostackframe;
  58166. label interrupt_vectors;
  58167. asm
  58168. .section ".init.interrupt_vectors,\"ax\",@progbits"
  58169. interrupt_vectors:
  58170. j _CORE_TIMER_VECTOR_interrupt
  58171. nop
  58172. nop
  58173. nop
  58174. nop
  58175. nop
  58176. nop
  58177. nop
  58178. j _CORE_SOFTWARE_0_VECTOR_interrupt
  58179. nop
  58180. nop
  58181. nop
  58182. nop
  58183. nop
  58184. nop
  58185. nop
  58186. j _CORE_SOFTWARE_1_VECTOR_interrupt
  58187. nop
  58188. nop
  58189. nop
  58190. nop
  58191. nop
  58192. nop
  58193. nop
  58194. j _EXTERNAL_0_VECTOR_interrupt
  58195. nop
  58196. nop
  58197. nop
  58198. nop
  58199. nop
  58200. nop
  58201. nop
  58202. j _TIMER_1_VECTOR_interrupt
  58203. nop
  58204. nop
  58205. nop
  58206. nop
  58207. nop
  58208. nop
  58209. nop
  58210. j _INPUT_CAPTURE_1_VECTOR_interrupt
  58211. nop
  58212. nop
  58213. nop
  58214. nop
  58215. nop
  58216. nop
  58217. nop
  58218. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  58219. nop
  58220. nop
  58221. nop
  58222. nop
  58223. nop
  58224. nop
  58225. nop
  58226. j _EXTERNAL_1_VECTOR_interrupt
  58227. nop
  58228. nop
  58229. nop
  58230. nop
  58231. nop
  58232. nop
  58233. nop
  58234. j _TIMER_2_VECTOR_interrupt
  58235. nop
  58236. nop
  58237. nop
  58238. nop
  58239. nop
  58240. nop
  58241. nop
  58242. j _INPUT_CAPTURE_2_VECTOR_interrupt
  58243. nop
  58244. nop
  58245. nop
  58246. nop
  58247. nop
  58248. nop
  58249. nop
  58250. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  58251. nop
  58252. nop
  58253. nop
  58254. nop
  58255. nop
  58256. nop
  58257. nop
  58258. j _EXTERNAL_2_VECTOR_interrupt
  58259. nop
  58260. nop
  58261. nop
  58262. nop
  58263. nop
  58264. nop
  58265. nop
  58266. j _TIMER_3_VECTOR_interrupt
  58267. nop
  58268. nop
  58269. nop
  58270. nop
  58271. nop
  58272. nop
  58273. nop
  58274. j _INPUT_CAPTURE_3_VECTOR_interrupt
  58275. nop
  58276. nop
  58277. nop
  58278. nop
  58279. nop
  58280. nop
  58281. nop
  58282. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  58283. nop
  58284. nop
  58285. nop
  58286. nop
  58287. nop
  58288. nop
  58289. nop
  58290. j _EXTERNAL_3_VECTOR_interrupt
  58291. nop
  58292. nop
  58293. nop
  58294. nop
  58295. nop
  58296. nop
  58297. nop
  58298. j _TIMER_4_VECTOR_interrupt
  58299. nop
  58300. nop
  58301. nop
  58302. nop
  58303. nop
  58304. nop
  58305. nop
  58306. j _INPUT_CAPTURE_4_VECTOR_interrupt
  58307. nop
  58308. nop
  58309. nop
  58310. nop
  58311. nop
  58312. nop
  58313. nop
  58314. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  58315. nop
  58316. nop
  58317. nop
  58318. nop
  58319. nop
  58320. nop
  58321. nop
  58322. j _EXTERNAL_4_VECTOR_interrupt
  58323. nop
  58324. nop
  58325. nop
  58326. nop
  58327. nop
  58328. nop
  58329. nop
  58330. j _TIMER_5_VECTOR_interrupt
  58331. nop
  58332. nop
  58333. nop
  58334. nop
  58335. nop
  58336. nop
  58337. nop
  58338. j _INPUT_CAPTURE_5_VECTOR_interrupt
  58339. nop
  58340. nop
  58341. nop
  58342. nop
  58343. nop
  58344. nop
  58345. nop
  58346. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  58347. nop
  58348. nop
  58349. nop
  58350. nop
  58351. nop
  58352. nop
  58353. nop
  58354. nop
  58355. nop
  58356. nop
  58357. nop
  58358. nop
  58359. nop
  58360. nop
  58361. nop
  58362. j _SPI_1A_VECTOR_interrupt
  58363. nop
  58364. nop
  58365. nop
  58366. nop
  58367. nop
  58368. nop
  58369. nop
  58370. j _I2C_1_VECTOR_interrupt
  58371. nop
  58372. nop
  58373. nop
  58374. nop
  58375. nop
  58376. nop
  58377. nop
  58378. j _CHANGE_NOTICE_VECTOR_interrupt
  58379. nop
  58380. nop
  58381. nop
  58382. nop
  58383. nop
  58384. nop
  58385. nop
  58386. j _ADC_VECTOR_interrupt
  58387. nop
  58388. nop
  58389. nop
  58390. nop
  58391. nop
  58392. nop
  58393. nop
  58394. j _PMP_VECTOR_interrupt
  58395. nop
  58396. nop
  58397. nop
  58398. nop
  58399. nop
  58400. nop
  58401. nop
  58402. j _COMPARATOR_1_VECTOR_interrupt
  58403. nop
  58404. nop
  58405. nop
  58406. nop
  58407. nop
  58408. nop
  58409. nop
  58410. j _COMPARATOR_2_VECTOR_interrupt
  58411. nop
  58412. nop
  58413. nop
  58414. nop
  58415. nop
  58416. nop
  58417. nop
  58418. j _SPI_2A_VECTOR_interrupt
  58419. nop
  58420. nop
  58421. nop
  58422. nop
  58423. nop
  58424. nop
  58425. nop
  58426. j _SPI_3A_VECTOR_interrupt
  58427. nop
  58428. nop
  58429. nop
  58430. nop
  58431. nop
  58432. nop
  58433. nop
  58434. j _I2C_2_VECTOR_interrupt
  58435. nop
  58436. nop
  58437. nop
  58438. nop
  58439. nop
  58440. nop
  58441. nop
  58442. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  58443. nop
  58444. nop
  58445. nop
  58446. nop
  58447. nop
  58448. nop
  58449. nop
  58450. j _RTCC_VECTOR_interrupt
  58451. nop
  58452. nop
  58453. nop
  58454. nop
  58455. nop
  58456. nop
  58457. nop
  58458. j _DMA_0_VECTOR_interrupt
  58459. nop
  58460. nop
  58461. nop
  58462. nop
  58463. nop
  58464. nop
  58465. nop
  58466. j _DMA_1_VECTOR_interrupt
  58467. nop
  58468. nop
  58469. nop
  58470. nop
  58471. nop
  58472. nop
  58473. nop
  58474. j _DMA_2_VECTOR_interrupt
  58475. nop
  58476. nop
  58477. nop
  58478. nop
  58479. nop
  58480. nop
  58481. nop
  58482. j _DMA_3_VECTOR_interrupt
  58483. nop
  58484. nop
  58485. nop
  58486. nop
  58487. nop
  58488. nop
  58489. nop
  58490. nop
  58491. nop
  58492. nop
  58493. nop
  58494. nop
  58495. nop
  58496. nop
  58497. nop
  58498. nop
  58499. nop
  58500. nop
  58501. nop
  58502. nop
  58503. nop
  58504. nop
  58505. nop
  58506. nop
  58507. nop
  58508. nop
  58509. nop
  58510. nop
  58511. nop
  58512. nop
  58513. nop
  58514. nop
  58515. nop
  58516. nop
  58517. nop
  58518. nop
  58519. nop
  58520. nop
  58521. nop
  58522. j _FCE_VECTOR_interrupt
  58523. nop
  58524. nop
  58525. nop
  58526. nop
  58527. nop
  58528. nop
  58529. nop
  58530. j _USB_1_VECTOR_interrupt
  58531. nop
  58532. nop
  58533. nop
  58534. nop
  58535. nop
  58536. nop
  58537. nop
  58538. nop
  58539. nop
  58540. nop
  58541. nop
  58542. nop
  58543. nop
  58544. nop
  58545. nop
  58546. nop
  58547. nop
  58548. nop
  58549. nop
  58550. nop
  58551. nop
  58552. nop
  58553. nop
  58554. j _ETH_VECTOR_interrupt
  58555. nop
  58556. nop
  58557. nop
  58558. nop
  58559. nop
  58560. nop
  58561. nop
  58562. j _UART_1B_VECTOR_interrupt
  58563. nop
  58564. nop
  58565. nop
  58566. nop
  58567. nop
  58568. nop
  58569. nop
  58570. j _UART_2B_VECTOR_interrupt
  58571. nop
  58572. nop
  58573. nop
  58574. nop
  58575. nop
  58576. nop
  58577. nop
  58578. j _UART_3B_VECTOR_interrupt
  58579. nop
  58580. nop
  58581. nop
  58582. nop
  58583. nop
  58584. nop
  58585. nop
  58586. .weak _CORE_TIMER_VECTOR_interrupt
  58587. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  58588. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  58589. .weak _EXTERNAL_0_VECTOR_interrupt
  58590. .weak _TIMER_1_VECTOR_interrupt
  58591. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  58592. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  58593. .weak _EXTERNAL_1_VECTOR_interrupt
  58594. .weak _TIMER_2_VECTOR_interrupt
  58595. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  58596. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  58597. .weak _EXTERNAL_2_VECTOR_interrupt
  58598. .weak _TIMER_3_VECTOR_interrupt
  58599. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  58600. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  58601. .weak _EXTERNAL_3_VECTOR_interrupt
  58602. .weak _TIMER_4_VECTOR_interrupt
  58603. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  58604. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  58605. .weak _EXTERNAL_4_VECTOR_interrupt
  58606. .weak _TIMER_5_VECTOR_interrupt
  58607. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  58608. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  58609. .weak _SPI_1A_VECTOR_interrupt
  58610. .weak _UART_1_VECTOR_interrupt
  58611. .weak _UART_1A_VECTOR_interrupt
  58612. .weak _I2C_3_VECTOR_interrupt
  58613. .weak _I2C_1A_VECTOR_interrupt
  58614. .weak _SPI_3_VECTOR_interrupt
  58615. .weak _I2C_1_VECTOR_interrupt
  58616. .weak _CHANGE_NOTICE_VECTOR_interrupt
  58617. .weak _ADC_VECTOR_interrupt
  58618. .weak _PMP_VECTOR_interrupt
  58619. .weak _COMPARATOR_1_VECTOR_interrupt
  58620. .weak _COMPARATOR_2_VECTOR_interrupt
  58621. .weak _SPI_2A_VECTOR_interrupt
  58622. .weak _UART_3_VECTOR_interrupt
  58623. .weak _UART_2A_VECTOR_interrupt
  58624. .weak _I2C_4_VECTOR_interrupt
  58625. .weak _I2C_2A_VECTOR_interrupt
  58626. .weak _SPI_2_VECTOR_interrupt
  58627. .weak _SPI_3A_VECTOR_interrupt
  58628. .weak _UART_2_VECTOR_interrupt
  58629. .weak _UART_3A_VECTOR_interrupt
  58630. .weak _I2C_5_VECTOR_interrupt
  58631. .weak _I2C_3A_VECTOR_interrupt
  58632. .weak _SPI_4_VECTOR_interrupt
  58633. .weak _I2C_2_VECTOR_interrupt
  58634. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  58635. .weak _RTCC_VECTOR_interrupt
  58636. .weak _DMA_0_VECTOR_interrupt
  58637. .weak _DMA_1_VECTOR_interrupt
  58638. .weak _DMA_2_VECTOR_interrupt
  58639. .weak _DMA_3_VECTOR_interrupt
  58640. .weak _FCE_VECTOR_interrupt
  58641. .weak _USB_1_VECTOR_interrupt
  58642. .weak _ETH_VECTOR_interrupt
  58643. .weak _UART_1B_VECTOR_interrupt
  58644. .weak _UART_4_VECTOR_interrupt
  58645. .weak _UART_2B_VECTOR_interrupt
  58646. .weak _UART_6_VECTOR_interrupt
  58647. .weak _UART_3B_VECTOR_interrupt
  58648. .weak _UART_5_VECTOR_interrupt
  58649. .text
  58650. end;
  58651. end.